クラス IfEmptyThenTransactionBreak
java.lang.Object
jp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractServer
jp.ne.mki.wedge.rule.server.control.IfEmptyThenTransactionBreak
- すべての実装されたインタフェース:
CommonInterface,ServerInterface,jp.ne.mki.wedge.run.interfaces.RuleEngineInterface,jp.ne.mki.wedge.run.interfaces.ServerRuleInterface
public class IfEmptyThenTransactionBreak
extends AbstractServer
implements jp.ne.mki.wedge.run.interfaces.ServerRuleInterface
項目が空ならトランザクションブレイク
inRecordの項目を調べ、TEXTデータであれば値がnullか空文字列だった時Transactionを抜ける。
COLTEXTデータであれば件数が0件だった時、Transactionの処理を抜ける。
複数の項目を入力レコードに設定した場合は、何れかが空のときにTransactionの処理を抜ける。
[I/O RECORD]
| InputRecord | OutputRecord |
|---|---|
|
[RULE PARAMETER]
| Parameter |
|---|
- バージョン:
- 1.0
-
フィールドの概要
クラスから継承されたフィールド jp.ne.mki.wedge.rule.base.AbstractServer
serverControlDataクラスから継承されたフィールド jp.ne.mki.wedge.rule.base.AbstractBase
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstantインタフェースから継承されたフィールド jp.ne.mki.wedge.rule.base.interfaces.CommonInterface
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インタフェースから継承されたフィールド jp.ne.mki.wedge.run.interfaces.ServerRuleInterface
DTBREAK, DTTYPEBREAK, EXECUTESKIP, EXIT -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明intexecute()処理を実行。voidexit()終了処理。intIOパラメータ取得。protected intloopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index) loopInRecord()から呼び出されるメソッドです。クラスから継承されたメソッド jp.ne.mki.wedge.rule.base.AbstractServer
errorFixed, executeCallStran, executeDecisionTable, executeDecisionTable, executeRule, executeServerDc, executeServerDcChangeConnection, executeServerDcChangeSql, executeServerDcChangeSqlConnection, executeServerRule, getBatchStatus, getExecuteParameter, getJobParameter, getLogicClassType, getServerControlData, getSkipNumber, getStepParameter, getStepParameter, getTransactionArea, setBatchStatus, setEngineManager, setExecuteParameter, setServerStatus, setSkipNumber, setSkipNumber, setThisRuleType, showErrorDialog, terminate, writeErrorLog, writeErrorLog, writeTraceLog, writeTraceLogクラスから継承されたメソッド jp.ne.mki.wedge.rule.base.AbstractBase
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, 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, 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クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド jp.ne.mki.wedge.rule.base.interfaces.CommonInterface
dispose, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getEngineManager, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, setExecuteType, setRuleType, setServerParameter, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeLog, writeLog, writeTraceLogインタフェースから継承されたメソッド jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, getLogicClassDelegate, setControlRecord, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setUserConstant
-
コンストラクタの詳細
-
IfEmptyThenTransactionBreak
public IfEmptyThenTransactionBreak()
-
-
メソッドの詳細
-
getIOParameter
public int getIOParameter()IOパラメータ取得。executeの前に実行される。- 定義:
getIOParameterインタフェース内CommonInterface- 定義:
getIOParameterインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)
-
execute
public int execute()インタフェースからコピーされた説明:CommonInterface処理を実行。- 定義:
executeインタフェース内CommonInterface- 定義:
executeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)、SKIP=次行を実行しない、USER_ERROR=戻り値をユーザ側で任意に設定
-
loopInRecordSub
protected int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index) クラスからコピーされた説明:AbstractBaseloopInRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。- オーバーライド:
loopInRecordSubクラス内AbstractBase- パラメータ:
index-- 戻り値:
- int 結果
-
exit
public void exit()- 定義:
exitインタフェース内CommonInterface- 定義:
exitインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
-