|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.ne.mki.wedge.rule.base.AbstractBase
public abstract class AbstractBase
| フィールドの概要 | |
|---|---|
protected ControlRecordInterface |
controlRecord
コントロールレコード |
protected EngineManagerInterface |
engineManager
実行エンジンのManager |
protected java.lang.String |
errorMessage
エラーメッセージ |
protected int |
executeType
実行時のロジッククラスタイプ :実行時にエンジンにて設定 |
protected java.lang.String |
id
ロジッククラスのID |
protected |
inputRecord
入力レコード |
protected java.lang.String |
logicalName
ロジッククラスの論理名 |
protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate |
logicClassDelegate
ロジッククラス用エンジン委譲クラス |
protected |
outputRecord
出力レコード |
protected java.lang.String |
physicalName
ロジッククラスの物理名 |
protected java.lang.String |
ruleParameter
ロジッククラスパラメータ |
protected int |
ruleType
実行可能なロジッククラスタイプ :初期値は両方で実行可。 |
protected java.lang.String |
serverParameter
実行時サーバーパラメータ |
protected jp.ne.mki.wedge.run.library.UserConstant |
userConstant
User定数 |
| インタフェース 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 |
| コンストラクタの概要 | |
|---|---|
AbstractBase()
|
|
| メソッドの概要 | |
|---|---|
protected void |
callDispose()
|
protected void |
checkDelegate()
Delegateクラスのチェック Delegateが設定されていないときには、実行場所によりDelegateを判断し 設定します。 |
java.lang.String |
createErrorMessage(java.lang.String key,
int ret)
標準エラーメッセージ生成 指定KeyのメッセージをRuleMessageから取得し、以下の情報を引数にマッピングした 文字列を返します。 |
java.util.logging.LogRecord |
createLogicErrorLogRecord(java.util.logging.Level level,
int result,
java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable th)
LogicErrorLogRecordを作成する |
java.util.logging.LogRecord |
createLogicExceptionLogRecord(java.util.logging.Level level,
java.lang.Throwable th,
java.lang.String errorCode)
LogicExceptionLogRecordを作成する |
java.util.logging.LogRecord |
createLogicLogRecord(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
LogicLogRecordを作成する |
void |
dataClearOfOutRecord()
出力アイテムのデータを全て削除します。 |
void |
dataClearOfRecord(java.util.List<DataInterface> itemRecord)
引数で渡されたレコードの 全アイテムを全て削除します。 |
void |
dispose()
オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。 |
int |
executeRule()
ロジッククラス実行 実行エンジンにてCall getIOParameter(),execute(),exit()の順番でメソッドが実行される。 |
java.lang.String |
getAppAccount()
推奨されていません。 getControlRecord().getAppAccount() を使用してください。 |
java.lang.String |
getAppAuthority()
推奨されていません。 getControlRecord().getAppAuthority() を使用してください。 |
java.lang.String |
getAppMenu()
推奨されていません。 getControlRecord().getAppMenu() を使用してください。 |
java.lang.String |
getAppPassword()
推奨されていません。 getControlRecord().getAppPassword() を使用してください。 |
java.lang.String |
getClassErrorName()
推奨されていません。 getControlRecord().getClassErrorName() を使用してください。 |
java.lang.String |
getClientId()
推奨されていません。 getControlRecord().getClientID() を使用してください。 |
java.lang.String |
getConnectionId()
推奨されていません。 getControlRecord().getConnectionId() を使用してください。 |
java.lang.String |
getConnectionPoolId()
推奨されていません。 getControlRecord().getConnectionPoolId() を使用してください。 |
java.util.Set<java.lang.String> |
getConstantKeys()
ユーザ定数に設定されたキーの一覧を取得します。 |
java.lang.String |
getConstantValue(java.lang.String name)
ユーザ定数を取得します。 |
java.lang.String[] |
getConstantValueAsStringArray(java.lang.String name)
ユーザ定数をStringの配列形式で取得します。 |
ControlRecordInterface |
getControlRecord()
ControlRecordの情報を取得する。 |
java.lang.String |
getDbAccessCount()
推奨されていません。 getControlRecord().getDbAccessCount() を使用してください。 |
java.lang.String |
getDbErrorCode()
推奨されていません。 getControlRecord().getDbErrorCode() を使用してください。 |
java.lang.String |
getDbErrorMessage()
推奨されていません。 getControlRecord().getDbErrorMessage() を使用してください。 |
java.lang.String |
getDbStatus()
推奨されていません。 getControlRecord().getDbStatus() を使用してください。 |
java.lang.String |
getDbUpdatedRecordCount()
推奨されていません。 getControlRecord().getDBUpdatedCount() を使用してください。 |
EngineManagerInterface |
getEngineManager()
実行エンジンManagerを取得する |
java.lang.String |
getErrorMessage()
エラーメッセージ取得 |
java.lang.String |
getErrorMessage(java.lang.String key,
java.lang.Object arg)
標準ロジッククラス用エラーメッセージ取得 標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。 |
java.lang.String |
getErrorMessage(java.lang.String key,
java.lang.Object[] args)
標準ロジッククラス用エラーメッセージ取得 標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。 |
java.lang.String |
getExceptionMessage()
推奨されていません。 getControlRecord().getExceptionMessage() を使用してください。 |
int |
getExecuteType()
実行種別 |
java.lang.String |
getId()
ロジッククラスID取得 |
protected java.util.ListIterator<DataInterface> |
getInputRecordIterator()
入力レコードのListIteratorを取得する |
|
getInRecord()
InputRecord取得 |
DataInterface |
getInRecord(int line)
InputRecordのindexによる取得 |
DataInterface |
getInRecord(java.lang.String key)
InputRecordのKey(ID)による取得 |
int |
getInRecordCount()
InputRecordの数取得 |
java.util.List<DataInterface> |
getInRecordList()
InputRecordのListを取得 |
java.lang.String |
getIpAddress_G_Index()
推奨されていません。 getControlRecord().getIpAddress_G() を使用してください。 |
java.lang.String |
getIpAddress_P_Index()
推奨されていません。 getControlRecord().getIpAddress_P() を使用してください。 |
java.lang.String |
getLogicalErrorName()
推奨されていません。 getControlRecord().getLogicalErrorName() を使用してください。 |
java.lang.String |
getLogicalName()
ロジッククラス論理名称取得 |
jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate |
getLogicClassDelegate()
ロジッククラス用実行エンジンの委譲クラスを取得する |
java.lang.String |
getOutputHtml()
推奨されていません。 getControlRecord().getOutputHtml() を使用してください。 |
protected java.util.ListIterator<DataInterface> |
getOutputRecordIterator()
出力レコードのListIteratorを取得する |
|
getOutRecord()
OutputRecord取得 |
DataInterface |
getOutRecord(int line)
OutputRecordの取得 |
DataInterface |
getOutRecord(java.lang.String key)
OutputRecordの取得 |
int |
getOutRecordCount()
OutputRecordの行数取得 |
java.util.List<DataInterface> |
getOutRecordList()
OutputRecordのListを取得 |
java.lang.String |
getPhysicalErrorName()
推奨されていません。 getControlRecord().getPhysicalErrorName() を使用してください。 |
java.lang.String |
getPhysicalName()
ロジッククラス物理名称取得 |
java.lang.String |
getProjectId()
推奨されていません。 getControlRecord().getProjectId() を使用してください。 |
java.lang.String |
getQueryEndLine()
推奨されていません。 getControlRecord().getQueryEndLine() を使用してください。 |
java.lang.String |
getQueryMaxCount()
推奨されていません。 getControlRecord().getQueryMaxCount() を使用してください。 |
java.lang.String |
getQueryPageCount()
推奨されていません。 getControlRecord().getQueryPageCount() を使用してください。 |
java.lang.String |
getQueryStartLine()
推奨されていません。 getControlRecord().getQueryStartLine() を使用してください。 |
java.lang.String |
getReturnString(int ret)
戻り値文字列取得 |
int |
getRowSize(java.util.List<DataInterface> itemRecord)
引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。 |
int |
getRowSizeOfInRecord()
入力レコードの 全アイテムを検索し、行サイズを返します。 |
java.lang.String |
getRuleParameter()
ロジッククラスパラメータ取得 |
java.lang.String[] |
getRuleParameters()
ロジッククラスパラメータ取得 [;]でパラメータを区切り、配列で返す |
java.lang.String[] |
getRuleParameters(char delimiter)
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す |
java.lang.String[] |
getRuleParameters(java.lang.String delimiter)
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す |
int |
getRuleType()
RuleTypeを取得する このロジッククラスの実行可能な実行エンジンの種類を返します。 |
java.lang.String |
getRuleTypeName(int ruleType)
実行種別名称取得 |
java.lang.String |
getServerMessage()
推奨されていません。 getControlRecord().getServerMessage() を使用してください。 |
java.lang.String |
getServerParameter()
推奨されていません。 getControlRecord().getServerParameter() を使用してください。 |
java.lang.String |
getServerStatus()
推奨されていません。 getControlRecord().getServerStatus() を使用してください。 |
java.lang.String |
getServerSubName()
推奨されていません。 getControlRecord().getServerSubName() を使用してください。 |
java.lang.String |
getServerSubRevision()
推奨されていません。 getControlRecord().getServerSubRevision() を使用してください。 |
java.lang.String |
getServerTran()
推奨されていません。 getControlRecord().getServerTran() を使用してください。 |
java.lang.String |
getUpdateErrorLine()
推奨されていません。 getControlRecord().getUpdateErrorLine() を使用してください。 |
java.lang.String |
getUpdateTargetCount()
推奨されていません。 getControlRecord().getUpdateTargetCount() を使用してください。 |
java.lang.String |
getWebServerIpAddress()
推奨されていません。 getControlRecord().getWebServerIpAddress() を使用してください。 |
boolean |
isExecutable()
実行可能かどうかを判定します。 |
static boolean |
isJDK15()
起動しているVMのバージョンが、1.5かをチェックします。 |
void |
log(java.util.logging.LogRecord record)
LogRecordのログ出力 |
void |
logDebug(java.lang.String message)
デバッグの情報に関するメッセージを出力します。 |
void |
logError(java.lang.String message)
エラーメッセージを出力します。 |
void |
logError(java.lang.String message,
java.lang.Throwable th)
エラーメッセージを出力します。 |
void |
logFatal(java.lang.String message)
致命的なエラーに関するメッセージを出力します。 |
void |
logFatal(java.lang.String message,
java.lang.Throwable th)
致命的なエラーに関するメッセージを出力します。 |
void |
logInfo(java.lang.String message)
情報メッセージを出力します。 |
void |
logTrace(java.lang.String message)
詳細なデバッグ情報メッセージを出力します。 |
void |
logWarn(java.lang.String message)
警告メッセージを出力します。 |
void |
logWarn(java.lang.String message,
java.lang.Throwable th)
警告メッセージを出力します。 |
protected int |
loopInOutRecord()
inRecord、outRecordに設定されているItem(Data)数ループを発生させる。 |
protected int |
loopInOutRecordSub(DataInterface inItem,
DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。 |
protected int |
loopInRecord()
inRecordに設定されているItem(Data)数ループを発生させる。 |
protected int |
loopInRecordSub(DataInterface inItem,
int index)
loopInRecord()から呼び出されるメソッドです。 |
protected int |
loopOutRecord()
outRecordに設定されているItem(Data)数ループを発生させる。 |
protected int |
loopOutRecordSub(DataInterface outItem,
int index)
loopOutRecord()から呼び出されるメソッドです。 |
void |
setControlRecord(ControlRecordInterface controlRecord)
コントロールレコードを設定する。 |
void |
setEngineManager(EngineManagerInterface manager)
実行しているエンジンのManagerを設定する |
void |
setErrorMessage(java.lang.String errorMessage)
エラーメッセージ設定 |
void |
setErrorMessageMustInRecord(int mustCount)
入力レコード必須エラー のメッセージを設定します。 |
void |
setErrorMessageMustOutRecord(int mustCount)
出力レコード必須エラー のメッセージを設定します。 |
void |
setErrorMessageMustParamIsNumber()
パラメータが数値でなかったとき のメッセージを設定します。 |
void |
setExecuteType(int type)
このロジッククラスを実行している場所を設定します。 |
protected void |
setFatalError(java.lang.Throwable th)
ロジッククラス内にてExceptionが発生時の処理 ロジッククラスの詳細情報を追加したメッセージを、ログ出力(ダイアログ表示)を行います。 |
void |
setId(java.lang.String id)
IDを設定 実行エンジンから設定されます。 |
void |
setInRecord(
入力レコードを設定 実行エンジンから設定されます。 |
void |
setLogicalName(java.lang.String logicalName)
論理名称を設定 実行エンジンから設定されます。 |
void |
setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
ロジッククラス用実行エンジンの委譲クラスを設定する |
void |
setOutputHtml(java.lang.String value)
推奨されていません。 getControlRecord().setOutputHtml() を使用してください。 |
void |
setOutRecord(
出力レコードを設定 実行エンジンから設定されます。 |
void |
setPhysicalName(java.lang.String physicalName)
物理名称を設定 実行エンジンから設定されます。 |
void |
setPropertyFromEngine(java.lang.String key,
java.lang.Object object)
各エンジンから任意の情報を設定する。 |
void |
setRuleParameter(java.lang.String ruleParameter)
ロジッククラスパラメータを設定 実行エンジンから設定されます。 |
void |
setRuleType(int type)
RuleTypeを設定する このロジッククラスが、特定の実行エンジンのときのみ動作させる仕様の場合、 このRuleTypeに指定しておくことで、実行時にチェックをおこないます。 |
void |
setServerParameter(java.lang.String value)
推奨されていません。 getControlRecord().setServerParameter() を使用してください。 |
void |
setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
ユーザ定数オブジェクトを設定する 実行エンジンから設定されます |
void |
showErrorDialog(java.lang.String message)
エラーダイアログの表示 |
void |
showErrorDialogAddRuleName(java.lang.String message)
エラーダイアログの表示 メッセージの前にロジッククラスの名称を追加します。 |
void |
terminate()
終了処理 実行エンジンにてCallされる |
void |
writeErrorLog(java.lang.String message)
エラーログ出力 |
void |
writeErrorLog(java.lang.String message,
java.lang.Throwable th)
エラーログ出力 |
void |
writeLog(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
エラーログを出力 エラーレベルを指定して出力します。 |
void |
writeLog(java.lang.String message)
推奨されていません。 writeTraceLogを使用する、もしくは その他のlogメソッドをを使用してください。 |
void |
writeLog(java.lang.String message,
java.lang.Throwable th)
推奨されていません。 writeErrorLogを使用する、もしくは その他のlogメソッドをを使用してください。 |
void |
writeTraceLog(java.lang.String message)
トレースログ出力 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承されたメソッド |
|---|
execute, exit, getIOParameter |
| インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface から継承されたメソッド |
|---|
getLogicClassType |
| フィールドの詳細 |
|---|
protected int executeType
protected int ruleType
protected java.lang.String id
protected java.lang.String physicalName
protected java.lang.String logicalName
protected ControlRecordInterface controlRecord
protectedinputRecord
protectedoutputRecord
protected java.lang.String ruleParameter
protected java.lang.String serverParameter
protected java.lang.String errorMessage
protected jp.ne.mki.wedge.run.library.UserConstant userConstant
protected EngineManagerInterface engineManager
protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate
| コンストラクタの詳細 |
|---|
public AbstractBase()
| メソッドの詳細 |
|---|
public int executeRule()
throws java.lang.Throwable
RuleEngineInterface 内の executeRulejava.lang.Throwableprotected void checkDelegate()
public void dispose()
throws java.lang.Throwable
CommonInterface 内の disposejava.lang.Throwableprotected void setFatalError(java.lang.Throwable th)
th - public void terminate()
RuleEngineInterface 内の terminateprotected void callDispose()
public boolean isExecutable()
CommonInterface 内の isExecutablepublic java.lang.String getRuleTypeName(int ruleType)
CommonInterface 内の getRuleTypeName実行種別 -
publicgetInRecord()
CommonInterface 内の getInRecordRuleEngineInterface 内の getInRecordpublic java.util.List<DataInterface> getInRecordList()
public int getInRecordCount()
CommonInterface 内の getInRecordCountpublicgetOutRecord()
CommonInterface 内の getOutRecordRuleEngineInterface 内の getOutRecordpublic java.util.List<DataInterface> getOutRecordList()
public int getOutRecordCount()
CommonInterface 内の getOutRecordCountpublic DataInterface getInRecord(int line)
CommonInterface 内の getInRecordRuleEngineInterface 内の getInRecordint - 行番号
public DataInterface getInRecord(java.lang.String key)
CommonInterface 内の getInRecordString - キー
public DataInterface getOutRecord(int line)
CommonInterface 内の getOutRecordRuleEngineInterface 内の getOutRecordint - 行番号
public DataInterface getOutRecord(java.lang.String key)
CommonInterface 内の getOutRecordString - キー(PHYSICAL_NAME)
public void showErrorDialogAddRuleName(java.lang.String message)
CommonInterface 内の showErrorDialogAddRuleNameString - 表示文字列public void showErrorDialog(java.lang.String message)
CommonInterface 内の showErrorDialogString - 表示文字列public void writeTraceLog(java.lang.String message)
CommonInterface 内の writeTraceLogth - 例外オブジェクトpublic void writeErrorLog(java.lang.String message)
CommonInterface 内の writeErrorLogmessage -
public void writeErrorLog(java.lang.String message,
java.lang.Throwable th)
message -
public void writeLog(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
level - message - th - public final void writeLog(java.lang.String message)
CommonInterface 内の writeLog
public final void writeLog(java.lang.String message,
java.lang.Throwable th)
CommonInterface 内の writeLog
public java.lang.String createErrorMessage(java.lang.String key,
int ret)
key - メッセージのKeyret - 戻り値
public java.lang.String getReturnString(int ret)
CommonInterface 内の getReturnStringRuleEngineInterface 内の getReturnStringret - 戻り値
public java.lang.String getRuleParameter()
CommonInterface 内の getRuleParameterRuleEngineInterface 内の getRuleParameterpublic java.lang.String[] getRuleParameters()
CommonInterface 内の getRuleParameterspublic java.lang.String[] getRuleParameters(char delimiter)
delimiter - パラメータの区切文字列
public java.lang.String[] getRuleParameters(java.lang.String delimiter)
delimiter - パラメータの区切文字列
public java.lang.String getId()
CommonInterface 内の getIdRuleEngineInterface 内の getIdpublic java.lang.String getPhysicalName()
CommonInterface 内の getPhysicalNameRuleEngineInterface 内の getPhysicalNamepublic java.lang.String getLogicalName()
CommonInterface 内の getLogicalNameRuleEngineInterface 内の getLogicalNamepublic int getExecuteType()
CommonInterface 内の getExecuteTypeRuleEngineInterface 内の getExecuteTypepublic java.lang.String getConstantValue(java.lang.String name)
name - Key名称
public java.lang.String[] getConstantValueAsStringArray(java.lang.String name)
name - Key名称
public java.util.Set<java.lang.String> getConstantKeys()
public void setRuleType(int type)
CommonInterface 内の setRuleTypetype - EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVERpublic int getRuleType()
CommonInterface 内の getRuleTypeRuleEngineInterface 内の getRuleTypeint - EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVER
public ControlRecordInterface getControlRecord()
public java.lang.String getClientId()
CommonInterface 内の getClientIdpublic java.lang.String getIpAddress_P_Index()
CommonInterface 内の getIpAddress_P_Indexpublic java.lang.String getIpAddress_G_Index()
CommonInterface 内の getIpAddress_G_Indexpublic java.lang.String getWebServerIpAddress()
CommonInterface 内の getWebServerIpAddresspublic java.lang.String getProjectId()
CommonInterface 内の getProjectIdpublic java.lang.String getConnectionPoolId()
CommonInterface 内の getConnectionPoolIdpublic java.lang.String getConnectionId()
CommonInterface 内の getConnectionIdpublic java.lang.String getServerSubName()
CommonInterface 内の getServerSubNamepublic java.lang.String getServerSubRevision()
CommonInterface 内の getServerSubRevisionpublic java.lang.String getServerTran()
CommonInterface 内の getServerTranpublic java.lang.String getServerStatus()
CommonInterface 内の getServerStatuspublic java.lang.String getServerMessage()
CommonInterface 内の getServerMessagepublic java.lang.String getExceptionMessage()
CommonInterface 内の getExceptionMessagepublic java.lang.String getDbErrorCode()
CommonInterface 内の getDbErrorCodepublic java.lang.String getDbStatus()
CommonInterface 内の getDbStatuspublic java.lang.String getDbErrorMessage()
CommonInterface 内の getDbErrorMessagepublic java.lang.String getUpdateTargetCount()
CommonInterface 内の getUpdateTargetCountpublic java.lang.String getDbUpdatedRecordCount()
public java.lang.String getDbAccessCount()
CommonInterface 内の getDbAccessCountpublic java.lang.String getUpdateErrorLine()
CommonInterface 内の getUpdateErrorLinepublic java.lang.String getPhysicalErrorName()
CommonInterface 内の getPhysicalErrorNamepublic java.lang.String getLogicalErrorName()
CommonInterface 内の getLogicalErrorNamepublic java.lang.String getClassErrorName()
CommonInterface 内の getClassErrorNamepublic java.lang.String getAppAccount()
CommonInterface 内の getAppAccountpublic java.lang.String getAppPassword()
CommonInterface 内の getAppPasswordpublic java.lang.String getAppMenu()
CommonInterface 内の getAppMenupublic java.lang.String getAppAuthority()
CommonInterface 内の getAppAuthoritypublic java.lang.String getQueryStartLine()
CommonInterface 内の getQueryStartLinepublic java.lang.String getQueryEndLine()
CommonInterface 内の getQueryEndLinepublic java.lang.String getQueryPageCount()
CommonInterface 内の getQueryPageCountpublic java.lang.String getQueryMaxCount()
CommonInterface 内の getQueryMaxCountpublic java.lang.String getServerParameter()
CommonInterface 内の getServerParameterpublic void setServerParameter(java.lang.String value)
CommonInterface 内の setServerParameterpublic java.lang.String getOutputHtml()
public void setOutputHtml(java.lang.String value)
protected int loopOutRecord()
loopOutRecord()はループのたびにloopOutRecordSub(DataInterface outItem,int index) を呼び出します。
protected java.util.ListIterator<DataInterface> getInputRecordIterator()
protected java.util.ListIterator<DataInterface> getOutputRecordIterator()
protected int loopOutRecordSub(DataInterface outItem,
int index)
outItem - protected int loopInRecord()
loopInRecord()はループのたびにloopInRecordSub(DataInterface inItem,int index) を呼び出します。
protected int loopInRecordSub(DataInterface inItem,
int index)
intItem - index -
protected int loopInOutRecord()
loopInOutRecord()はループのたびにloopInOutRecordSub (DataInterface inItem,DataInterface outItem,int index)を呼び出します。
protected int loopInOutRecordSub(DataInterface inItem,
DataInterface outItem,
int index)
inItem - outItem - index -
public java.lang.String getErrorMessage(java.lang.String key,
java.lang.Object[] args)
標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。
key - メッセージのKEYargs - メッセージ生成時の引数
public java.lang.String getErrorMessage(java.lang.String key,
java.lang.Object arg)
標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。
key - メッセージのKEYarg - メッセージ生成時の引数
public void setErrorMessageMustInRecord(int mustCount)
必要な数の入力レコード設定が無かったときのエラー のメッセージを生成して設定を行います。
mustCount - 必須であるデータ数public void setErrorMessageMustOutRecord(int mustCount)
必要な数の出力レコード設定が無かったときのエラー のメッセージを生成して設定を行います。
mustCount - 必須であるデータ数public void setErrorMessageMustParamIsNumber()
パラメータが数値前提のロジッククラスの場合で、設定が数値ではなかった場合のエラーメッセージを作成して設定を行います。
public EngineManagerInterface getEngineManager()
CommonInterface 内の getEngineManagerRuleEngineInterface 内の getEngineManagerpublic void setInRecord(inRecord)
実行エンジンから設定されます。
RuleEngineInterface 内の setInRecordinRecord - public void setOutRecord(outRecord)
実行エンジンから設定されます。
RuleEngineInterface 内の setOutRecordoutRecord - public void setId(java.lang.String id)
実行エンジンから設定されます。
このIDは実行エンジンが保持しているユニークIDです。
RuleEngineInterface 内の setIdlogicalName - public void setPhysicalName(java.lang.String physicalName)
実行エンジンから設定されます。
RuleEngineInterface 内の setPhysicalNamelogicalName - public void setLogicalName(java.lang.String logicalName)
実行エンジンから設定されます。
RuleEngineInterface 内の setLogicalNamelogicalName - public void setRuleParameter(java.lang.String ruleParameter)
実行エンジンから設定されます。
RuleEngineInterface 内の setRuleParameterruleParameter - public void setExecuteType(int type)
実行エンジンから設定されます
CommonInterface 内の setExecuteTypeRuleEngineInterface 内の setExecuteTypeint - type "EXECUTE_" から始まる定数public void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
実行エンジンから設定されます
RuleEngineInterface 内の setUserConstantuserConstant - public void setControlRecord(ControlRecordInterface controlRecord)
実行エンジンから設定されます
RuleEngineInterface 内の setControlRecordcontrolRecord - public void setEngineManager(EngineManagerInterface manager)
RuleEngineInterface 内の setEngineManagermanager - 実行しているエンジンのManager
public void setPropertyFromEngine(java.lang.String key,
java.lang.Object object)
RuleEngineInterface 内の setPropertyFromEnginekey - object - public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage - public static boolean isJDK15()
VMのバージョンが1.5である場合は trueを、 そうで無い場合は falseを返します。
public int getRowSizeOfInRecord()
| 引数で与えるリスト | 返り値 |
|---|---|
| 入力レコードがが0件の場合 | 0 |
| 入力レコードが全てTEXTアイテムの場合 | 1 |
| 入力レコードがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合 | COLTEXTの行数 |
| 入力レコードがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合 | RuntimeExceptionを返す |
public int getRowSize(java.util.List<DataInterface> itemRecord)
引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。
| 引数で与えるリスト | 返り値 |
|---|---|
| itemListが0件の場合 | 0 |
| itemListが全てTEXTアイテムの場合 | 1 |
| itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合 | COLTEXTの行数 |
| itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合 | RuntimeExceptionを返す |
itemRecord - 行番号を取得したいアイテムを格納したList
public void dataClearOfOutRecord()
dataClearOfRecord(getOutRecord()) と 同等の処理を行います。
DataInterface.dataClear()public void dataClearOfRecord(java.util.List<DataInterface> itemRecord)
itemRecord - 削除したいアイテムを格納したListDataInterface.dataClear()public final void logFatal(java.lang.String message)
エラーレベルは Level.SEVERE で出力します。
CommonInterface 内の logFatalmessage - メッセージ
public final void logFatal(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.SEVERE で出力します。
CommonInterface 内の logFatalmessage - メッセージth - 例外オブジェクトpublic final void logError(java.lang.String message)
エラーレベルは Level.ERROR で出力します。
CommonInterface 内の logErrormessage - メッセージ
public final void logError(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.ERROR で出力します。
CommonInterface 内の logErrormessage - メッセージth - 例外オブジェクトpublic final void logWarn(java.lang.String message)
エラーレベルは Level.WARNING で出力します。
CommonInterface 内の logWarnmessage - メッセージ
public final void logWarn(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.WARNING で出力します。
CommonInterface 内の logWarnmessage - メッセージth - 例外オブジェクトpublic final void logInfo(java.lang.String message)
エラーレベルは Level.INFO で出力します。
CommonInterface 内の logInfomessage - メッセージpublic final void logDebug(java.lang.String message)
エラーレベルは Level.FINE で出力します。
CommonInterface 内の logDebugmessage - メッセージpublic final void logTrace(java.lang.String message)
エラーレベルは Level.FINER で出力します。
CommonInterface 内の logTracemessage - メッセージpublic final void log(java.util.logging.LogRecord record)
record - public jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()
RuleEngineInterface 内の getLogicClassDelegatepublic void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
RuleEngineInterface 内の setLogicClassDelegatelogicClassDelegate -
public java.util.logging.LogRecord createLogicLogRecord(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
RuleEngineInterface 内の createLogicLogRecordlevel - message - th -
public java.util.logging.LogRecord createLogicErrorLogRecord(java.util.logging.Level level,
int result,
java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable th)
RuleEngineInterface 内の createLogicErrorLogRecordlevel - result - message - errorCode - th -
public java.util.logging.LogRecord createLogicExceptionLogRecord(java.util.logging.Level level,
java.lang.Throwable th,
java.lang.String errorCode)
RuleEngineInterface 内の createLogicExceptionLogRecordlevel - th - errorCode -
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||