public class CheckItemInParameter extends AbstractCommon
InRecordの値がParameterの値(複数)と一致しているかチェックします。
InRecordにCOLTEXTや、複数のアイテムが設定された場合は、その全てを検索し、
いずれか一つでも パラメータに存在しない値があった場合はUSER_ERRORを返します。
例)
In(0) : [3]
パラメータ : "1,3,5,7,9"
結果 → OK
例2)
In(0) : [3]
パラメータ : "0,2,4,6,8"
結果 → USER_ERROR
例3)
In(0) : [3]
In(1) : [1],[9],[3],[7]
In(2) : [5],[1]
パラメータ : "1,3,5,7,9"
結果 → OK
例4)
In(0):[2]
In(0):[8],[6],[5],[4],[2]
In(0):[0]
パラメータ:"0,2,4,6,8"
結果 → USER_ERROR
InputRecord | OutputRecord |
---|---|
|
Parameter | 値(,値・・・) |
---|
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
コンストラクタと説明 |
---|
CheckItemInParameter() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
check(java.lang.String value) |
int |
execute()
処理を実行。
|
void |
exit()
終了処理。
|
int |
getIOParameter()
IOパラメータ取得。
|
int |
loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
int index)
loopInRecord()から呼び出されるメソッドです。
|
getLogicClassType, getManager, terminate
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopOutRecord, loopOutRecordSub, setControlRecord, setEngineManager, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLog
public int execute()
CommonInterface
public int check(java.lang.String value)
public int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index)
AbstractBase
loopInRecordSub
クラス内 AbstractBase
AbstractBase.loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface, int)
public int getIOParameter()
CommonInterface
execute
の前に実行される。CommonInterface.getIOParameter()
public void exit()
CommonInterface
CommonInterface.exit()