jp.ne.mki.wedge.rule.compat10.common.check
クラス V10xCheckBigSmallParameter

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.AbstractBusinessRule
        |
        +--jp.ne.mki.wedge.rule.compat10.common.check.V10xSkipRule
              |
              +--jp.ne.mki.wedge.rule.compat10.common.check.V10xCheckBigSmallParameter
すべての実装インタフェース:
BusinessRuleInterface, RuleEngineInterface

public class V10xCheckBigSmallParameter
extends V10xSkipRule

数値の大小比較チェック(演算子パラメータ指定)


InRecordとOutRecordの値の比較を、パラメータの演算子を使用して行います。
パラメータに値が指定された場合は、パラメータとInの値を比較します。
比較式:比較項目1 比較演算子 比較項目2
比較式:比較項目1 比較演算子 パラメータ
・条件成立の場合には、OKを返す。
・条件不成立の場合には、USER_ERRORを返す。

※比較項目1,比較項目2が数値型で無い場合には処理を行わずERRORを返す。
※比較項目が2つ設定されていない場合は、ERRORを返す。
※比較演算子には、= != < > <= >= が使用可能です。以外はERRORを返します。


[I/O RECORD]

InputRecord OutputRecord
  1. 比較項目1
  2. 比較項目2
  3. ※パラメータに値がセットされた場合は、複数項目可能

[RULE PARAMETER]

Parameter
  1. 比較演算子(,数値)

バージョン:
1.0
作成者:
mki

フィールドの概要
(パッケージプライベート)  int iMaxItem
           
(パッケージプライベート)  int iMaxRow
           
(パッケージプライベート)  int iMode
           
(パッケージプライベート)  DataInterface Item1
           
(パッケージプライベート)  DataInterface Item2
           
(パッケージプライベート)  java.lang.String[] sPara
           
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したフィールド
className, errorMessage, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface から継承したフィールド
CANCEL, ERROR, OK, SKIP, USER_ERROR
 
コンストラクタの概要
V10xCheckBigSmallParameter()
           
 
メソッドの概要
 int execute()
          チェック処理を実行します。
 void exit()
          終了処理。
 int getIOParameter()
          IOパラメータ取得。
 
クラス jp.ne.mki.wedge.rule.compat10.common.check.V10xSkipRule から継承したメソッド
executeParameterSkip
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したメソッド
createErrorMessage, executeRule, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getClientRuleObject, getCodeBase, getComponent, getComponent, getConfig, getConfImagePath, getConnectionId, getConnectionPoolId, getConstantValue, getContentPane, getCurrentComponent, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getExceptionMessage, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecuteType, getExecutions, getExpectNextComponent, getFrame, getHtmlExecution, getHtmlManagerObject, getId, getImageIcon, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getManager, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleType, getRuleTypeName, getServerControlData, getServerData, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getStepParameter, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isApplet, isApplication, isClientTraceMode, isConpiled, isExecutable, isJWS, isServerTraceMode, isWeb, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setControlRecord, setControlRecordVector, setExecuteParameter, setExecuteType, setFocus, setFocus, setFocus, setHtmlExecution, setHtmlManager, setId, setInRecord, setLogicalName, setManager, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerControlData, setServerData, setServerParameter, setStatusBarText, setUserConstant, setWedgeLog, showDocument, showErrorDialog, showErrorDialogAddRuleName, showFrame, showFrame, terminate, writeLog, writeLog, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

Item1

DataInterface Item1

Item2

DataInterface Item2

iMode

int iMode

iMaxRow

int iMaxRow

iMaxItem

int iMaxItem

sPara

java.lang.String[] sPara
コンストラクタの詳細

V10xCheckBigSmallParameter

public V10xCheckBigSmallParameter()
メソッドの詳細

getIOParameter

public int getIOParameter()
IOパラメータ取得。execute の前に実行される。
オーバーライド:
クラス V10xSkipRule 内の getIOParameter
戻り値:
int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)

execute

public int execute()
チェック処理を実行します。
オーバーライド:
クラス V10xSkipRule 内の execute
戻り値:
int BusinessRuleの戻り値を参照

exit

public void exit()
終了処理。保持していた変数などを開放する処理を記述します。
execute の後に実行されます。
正常終了・異常終了などに関わらず必ず実行されます。
オーバーライド:
クラス V10xSkipRule 内の exit