public abstract class AbstractCommon extends AbstractBase
ロジッククラスを作成するには、このクラスを継承して作成して下さい。
実装の必要があるメソッドは以下の3つで、この順番で順に実行されます。
1. public int getIOParameter()
2. public int execute()
3. public void exit()
1.では、Input/OutputRecordのチェックや、変数への格納処理を行ってください。
2.では、実際の処理内容を記述してください。上位クラスにてエラーをCatchするので、TryCatchはする必要はありません。
3.では、変数の解放処理などを行ってください。3.は異常終了などした場合でも必ず実行されます。
●InputRecordの数でLOOPする
execute()の処理の中で、loopInRecord()を記述します。処理はloopInRecordSub()の関数を上書きして下さい。
●OutputRecordの数でLOOPする
execute()の処理の中で、loopOutRecord()を記述します。処理はloopOutRecordSub()の関数を上書きして下さい。
●OutputRecordとInputRecordで、少ない方の数でLOOPする
execute()の処理の中で、loopInOutRecord()を記述します。処理はloopInOutRecordSub()の関数を上書きして下さい。
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
コンストラクタと説明 |
---|
AbstractCommon() |
修飾子とタイプ | メソッドと説明 |
---|---|
jp.ne.mki.wedge.run.enums.LogicClassType |
getLogicClassType()
ロジッククラスタイプを取得します。
|
jp.ne.mki.wedge.run.interfaces.EngineManagerInterface |
getManager()
実行中の実行エンジンの参照を返す
|
void |
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, loopInRecordSub, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, exit, getIOParameter
public void terminate()
terminate
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
terminate
クラス内 AbstractBase
public jp.ne.mki.wedge.run.interfaces.EngineManagerInterface getManager()
EngineManagerInterface
public jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()