public abstract class AbstractBase extends java.lang.Object implements CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected jp.ne.mki.wedge.run.interfaces.ControlRecordInterface |
controlRecord
コントロールレコード
|
protected jp.ne.mki.wedge.run.interfaces.EngineManagerInterface |
engineManager
実行エンジンのManager
|
protected java.lang.String |
errorMessage
エラーメッセージ
|
protected int |
executeType
実行時のロジッククラスタイプ :実行時にエンジンにて設定
|
protected java.lang.String |
id
ロジッククラスのID
|
protected <any> |
inputRecord
入力レコード
|
protected java.lang.String |
logicalName
ロジッククラスの論理名
|
protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate |
logicClassDelegate
ロジッククラス用エンジン委譲クラス
|
protected <any> |
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定数
|
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<jp.ne.mki.wedge.run.interfaces.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の配列形式で取得します。
|
jp.ne.mki.wedge.run.interfaces.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() を使用してください。
|
jp.ne.mki.wedge.run.interfaces.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<jp.ne.mki.wedge.run.interfaces.DataInterface> |
getInputRecordIterator()
入力レコードのListIteratorを取得する
|
<any> |
getInRecord()
InputRecord取得
|
jp.ne.mki.wedge.run.interfaces.DataInterface |
getInRecord(int line)
InputRecordのindexによる取得
|
jp.ne.mki.wedge.run.interfaces.DataInterface |
getInRecord(java.lang.String key)
InputRecordのKey(ID)による取得
|
int |
getInRecordCount()
InputRecordの数取得
|
java.util.List<jp.ne.mki.wedge.run.interfaces.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<jp.ne.mki.wedge.run.interfaces.DataInterface> |
getOutputRecordIterator()
出力レコードのListIteratorを取得する
|
<any> |
getOutRecord()
OutputRecord取得
|
jp.ne.mki.wedge.run.interfaces.DataInterface |
getOutRecord(int line)
OutputRecordの取得
|
jp.ne.mki.wedge.run.interfaces.DataInterface |
getOutRecord(java.lang.String key)
OutputRecordの取得
|
int |
getOutRecordCount()
OutputRecordの行数取得
|
java.util.List<jp.ne.mki.wedge.run.interfaces.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<jp.ne.mki.wedge.run.interfaces.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(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。
|
protected int |
loopInRecord()
inRecordに設定されているItem(Data)数ループを発生させる。
|
protected int |
loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
int index)
loopInRecord()から呼び出されるメソッドです。
|
protected int |
loopOutRecord()
outRecordに設定されているItem(Data)数ループを発生させる。
|
protected int |
loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopOutRecord()から呼び出されるメソッドです。
|
void |
setControlRecord(jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecord)
コントロールレコードを設定する。
|
void |
setEngineManager(jp.ne.mki.wedge.run.interfaces.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(<any> inRecord)
入力レコードを設定
実行エンジンから設定されます。
|
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(<any> outRecord)
出力レコードを設定
実行エンジンから設定されます。
|
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)
トレースログ出力
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, exit, getIOParameterprotected int executeType
protected int ruleType
protected java.lang.String id
protected java.lang.String physicalName
protected java.lang.String logicalName
protected jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecord
protected <any> inputRecord
protected <any> outputRecord
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 jp.ne.mki.wedge.run.interfaces.EngineManagerInterface engineManager
protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate
public int executeRule()
throws java.lang.Throwable
executeRule インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacejava.lang.Throwableprotected void checkDelegate()
public void dispose()
throws java.lang.Throwable
dispose インタフェース内 CommonInterfacejava.lang.Throwableprotected void setFatalError(java.lang.Throwable th)
th - public void terminate()
terminate インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceprotected void callDispose()
public boolean isExecutable()
isExecutable インタフェース内 CommonInterfacepublic java.lang.String getRuleTypeName(int ruleType)
getRuleTypeName インタフェース内 CommonInterface実行種別 - public <any> getInRecord()
getInRecord インタフェース内 CommonInterfacegetInRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.util.List<jp.ne.mki.wedge.run.interfaces.DataInterface> getInRecordList()
public int getInRecordCount()
getInRecordCount インタフェース内 CommonInterfacepublic <any> getOutRecord()
getOutRecord インタフェース内 CommonInterfacegetOutRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.util.List<jp.ne.mki.wedge.run.interfaces.DataInterface> getOutRecordList()
public int getOutRecordCount()
getOutRecordCount インタフェース内 CommonInterfacepublic jp.ne.mki.wedge.run.interfaces.DataInterface getInRecord(int line)
getInRecord インタフェース内 CommonInterfacegetInRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceint - 行番号public jp.ne.mki.wedge.run.interfaces.DataInterface getInRecord(java.lang.String key)
getInRecord インタフェース内 CommonInterfaceString - キーpublic jp.ne.mki.wedge.run.interfaces.DataInterface getOutRecord(int line)
getOutRecord インタフェース内 CommonInterfacegetOutRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceint - 行番号public jp.ne.mki.wedge.run.interfaces.DataInterface getOutRecord(java.lang.String key)
getOutRecord インタフェース内 CommonInterfaceString - キー(PHYSICAL_NAME)public void showErrorDialogAddRuleName(java.lang.String message)
showErrorDialogAddRuleName インタフェース内 CommonInterfaceString - 表示文字列public void showErrorDialog(java.lang.String message)
showErrorDialog インタフェース内 CommonInterfaceString - 表示文字列public void writeTraceLog(java.lang.String message)
writeTraceLog インタフェース内 CommonInterfaceth - 例外オブジェクトpublic void writeErrorLog(java.lang.String message)
writeErrorLog インタフェース内 CommonInterfacemessage - 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)
writeLog インタフェース内 CommonInterfacepublic final void writeLog(java.lang.String message,
java.lang.Throwable th)
writeLog インタフェース内 CommonInterfacepublic java.lang.String createErrorMessage(java.lang.String key,
int ret)
key - メッセージのKeyret - 戻り値public java.lang.String getReturnString(int ret)
getReturnString インタフェース内 CommonInterfacegetReturnString インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceret - 戻り値public java.lang.String getRuleParameter()
getRuleParameter インタフェース内 CommonInterfacegetRuleParameter インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.lang.String[] getRuleParameters()
getRuleParameters インタフェース内 CommonInterfacepublic java.lang.String[] getRuleParameters(char delimiter)
delimiter - パラメータの区切文字列public java.lang.String[] getRuleParameters(java.lang.String delimiter)
delimiter - パラメータの区切文字列public java.lang.String getId()
getId インタフェース内 CommonInterfacegetId インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.lang.String getPhysicalName()
getPhysicalName インタフェース内 CommonInterfacegetPhysicalName インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.lang.String getLogicalName()
getLogicalName インタフェース内 CommonInterfacegetLogicalName インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic int getExecuteType()
getExecuteType インタフェース内 CommonInterfacegetExecuteType インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic 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)
setRuleType インタフェース内 CommonInterfacetype - EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVERpublic int getRuleType()
getRuleType インタフェース内 CommonInterfacegetRuleType インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceint - EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVERpublic jp.ne.mki.wedge.run.interfaces.ControlRecordInterface getControlRecord()
public java.lang.String getClientId()
getClientId インタフェース内 CommonInterfacepublic java.lang.String getIpAddress_P_Index()
getIpAddress_P_Index インタフェース内 CommonInterfacepublic java.lang.String getIpAddress_G_Index()
getIpAddress_G_Index インタフェース内 CommonInterfacepublic java.lang.String getWebServerIpAddress()
getWebServerIpAddress インタフェース内 CommonInterfacepublic java.lang.String getProjectId()
getProjectId インタフェース内 CommonInterfacepublic java.lang.String getConnectionPoolId()
getConnectionPoolId インタフェース内 CommonInterfacepublic java.lang.String getConnectionId()
getConnectionId インタフェース内 CommonInterfacepublic java.lang.String getServerSubName()
getServerSubName インタフェース内 CommonInterfacepublic java.lang.String getServerSubRevision()
getServerSubRevision インタフェース内 CommonInterfacepublic java.lang.String getServerTran()
getServerTran インタフェース内 CommonInterfacepublic java.lang.String getServerStatus()
getServerStatus インタフェース内 CommonInterfacepublic java.lang.String getServerMessage()
getServerMessage インタフェース内 CommonInterfacepublic java.lang.String getExceptionMessage()
getExceptionMessage インタフェース内 CommonInterfacepublic java.lang.String getDbErrorCode()
getDbErrorCode インタフェース内 CommonInterfacepublic java.lang.String getDbStatus()
getDbStatus インタフェース内 CommonInterfacepublic java.lang.String getDbErrorMessage()
getDbErrorMessage インタフェース内 CommonInterfacepublic java.lang.String getUpdateTargetCount()
getUpdateTargetCount インタフェース内 CommonInterfacepublic java.lang.String getDbUpdatedRecordCount()
public java.lang.String getDbAccessCount()
getDbAccessCount インタフェース内 CommonInterfacepublic java.lang.String getUpdateErrorLine()
getUpdateErrorLine インタフェース内 CommonInterfacepublic java.lang.String getPhysicalErrorName()
getPhysicalErrorName インタフェース内 CommonInterfacepublic java.lang.String getLogicalErrorName()
getLogicalErrorName インタフェース内 CommonInterfacepublic java.lang.String getClassErrorName()
getClassErrorName インタフェース内 CommonInterfacepublic java.lang.String getAppAccount()
getAppAccount インタフェース内 CommonInterfacepublic java.lang.String getAppPassword()
getAppPassword インタフェース内 CommonInterfacepublic java.lang.String getAppMenu()
getAppMenu インタフェース内 CommonInterfacepublic java.lang.String getAppAuthority()
getAppAuthority インタフェース内 CommonInterfacepublic java.lang.String getQueryStartLine()
getQueryStartLine インタフェース内 CommonInterfacepublic java.lang.String getQueryEndLine()
getQueryEndLine インタフェース内 CommonInterfacepublic java.lang.String getQueryPageCount()
getQueryPageCount インタフェース内 CommonInterfacepublic java.lang.String getQueryMaxCount()
getQueryMaxCount インタフェース内 CommonInterfacepublic java.lang.String getServerParameter()
getServerParameter インタフェース内 CommonInterfacepublic void setServerParameter(java.lang.String value)
setServerParameter インタフェース内 CommonInterfacepublic java.lang.String getOutputHtml()
public void setOutputHtml(java.lang.String value)
protected int loopOutRecord()
loopOutRecord()はループのたびにloopOutRecordSub(DataInterface outItem,int index) を呼び出します。
protected java.util.ListIterator<jp.ne.mki.wedge.run.interfaces.DataInterface> getInputRecordIterator()
protected java.util.ListIterator<jp.ne.mki.wedge.run.interfaces.DataInterface> getOutputRecordIterator()
protected int loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
outItem - protected int loopInRecord()
loopInRecord()はループのたびにloopInRecordSub(DataInterface inItem,int index) を呼び出します。
protected int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
int index)
intItem - index - protected int loopInOutRecord()
loopInOutRecord()はループのたびにloopInOutRecordSub (DataInterface inItem,DataInterface outItem,int index)を呼び出します。
protected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.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 jp.ne.mki.wedge.run.interfaces.EngineManagerInterface getEngineManager()
getEngineManager インタフェース内 CommonInterfacegetEngineManager インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic void setInRecord(<any> inRecord)
実行エンジンから設定されます。
setInRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceinRecord - public void setOutRecord(<any> outRecord)
実行エンジンから設定されます。
setOutRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceoutRecord - public void setId(java.lang.String id)
実行エンジンから設定されます。
このIDは実行エンジンが保持しているユニークIDです。
setId インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelogicalName - public void setPhysicalName(java.lang.String physicalName)
実行エンジンから設定されます。
setPhysicalName インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelogicalName - public void setLogicalName(java.lang.String logicalName)
実行エンジンから設定されます。
setLogicalName インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelogicalName - public void setRuleParameter(java.lang.String ruleParameter)
実行エンジンから設定されます。
setRuleParameter インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceruleParameter - public void setExecuteType(int type)
実行エンジンから設定されます
setExecuteType インタフェース内 CommonInterfacesetExecuteType インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceint - type "EXECUTE_" から始まる定数public void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
実行エンジンから設定されます
setUserConstant インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfaceuserConstant - public void setControlRecord(jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecord)
実行エンジンから設定されます
setControlRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacecontrolRecord - public void setEngineManager(jp.ne.mki.wedge.run.interfaces.EngineManagerInterface manager)
setEngineManager インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacemanager - 実行しているエンジンのManagerpublic void setPropertyFromEngine(java.lang.String key,
java.lang.Object object)
setPropertyFromEngine インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacekey - 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<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord)
引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。
| 引数で与えるリスト | 返り値 |
|---|---|
| itemListが0件の場合 | 0 |
| itemListが全てTEXTアイテムの場合 | 1 |
| itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合 | COLTEXTの行数 |
| itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合 | RuntimeExceptionを返す |
itemRecord - 行番号を取得したいアイテムを格納したListpublic void dataClearOfOutRecord()
dataClearOfRecord(getOutRecord()) と 同等の処理を行います。
DataInterface.dataClear()public void dataClearOfRecord(java.util.List<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord)
itemRecord - 削除したいアイテムを格納したListDataInterface.dataClear()public final void logFatal(java.lang.String message)
エラーレベルは Level.SEVERE で出力します。
logFatal インタフェース内 CommonInterfacemessage - メッセージpublic final void logFatal(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.SEVERE で出力します。
logFatal インタフェース内 CommonInterfacemessage - メッセージth - 例外オブジェクトpublic final void logError(java.lang.String message)
エラーレベルは Level.ERROR で出力します。
logError インタフェース内 CommonInterfacemessage - メッセージpublic final void logError(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.ERROR で出力します。
logError インタフェース内 CommonInterfacemessage - メッセージth - 例外オブジェクトpublic final void logWarn(java.lang.String message)
エラーレベルは Level.WARNING で出力します。
logWarn インタフェース内 CommonInterfacemessage - メッセージpublic final void logWarn(java.lang.String message,
java.lang.Throwable th)
エラーレベルは Level.WARNING で出力します。
logWarn インタフェース内 CommonInterfacemessage - メッセージth - 例外オブジェクトpublic final void logInfo(java.lang.String message)
エラーレベルは Level.INFO で出力します。
logInfo インタフェース内 CommonInterfacemessage - メッセージpublic final void logDebug(java.lang.String message)
エラーレベルは Level.FINE で出力します。
logDebug インタフェース内 CommonInterfacemessage - メッセージpublic final void logTrace(java.lang.String message)
エラーレベルは Level.FINER で出力します。
logTrace インタフェース内 CommonInterfacemessage - メッセージpublic final void log(java.util.logging.LogRecord record)
record - public jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()
getLogicClassDelegate インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
setLogicClassDelegate インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelogicClassDelegate - public java.util.logging.LogRecord createLogicLogRecord(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable th)
createLogicLogRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelevel - 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)
createLogicErrorLogRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelevel - result - message - errorCode - th - public java.util.logging.LogRecord createLogicExceptionLogRecord(java.util.logging.Level level,
java.lang.Throwable th,
java.lang.String errorCode)
createLogicExceptionLogRecord インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacelevel - th - errorCode -