クラス AbstractBase
- すべての実装されたインタフェース:
CommonInterface,jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
- 直系の既知のサブクラス:
AbstractClient,AbstractCommon,AbstractHtmlGateway,AbstractServer
ロジッククラス抽象基本クラス
- バージョン:
- 1.0
-
フィールドの概要
フィールド修飾子とタイプフィールド説明protected jp.ne.mki.wedge.run.interfaces.ControlRecordInterfaceコントロールレコードprotected jp.ne.mki.wedge.run.interfaces.EngineManagerInterface実行エンジンのManagerprotected Stringエラーメッセージprotected int実行時のロジッククラスタイプ :実行時にエンジンにて設定protected StringロジッククラスのIDprotected jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> 入力レコードprotected Stringロジッククラスの論理名protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegateロジッククラス用エンジン委譲クラスprotected jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> 出力レコードprotected Stringロジッククラスの物理名protected Stringロジッククラスパラメータprotected int実行可能なロジッククラスタイプ :初期値は両方で実行可。protected String実行時サーバーパラメータprotected jp.ne.mki.wedge.run.library.UserConstantUser定数インタフェースから継承されたフィールド 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 -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voidprotected voidDelegateクラスのチェック
Delegateが設定されていないときには、実行場所によりDelegateを判断し 設定します。createErrorMessage(String key, int ret) 標準エラーメッセージ生成
指定KeyのメッセージをRuleMessageから取得し、以下の情報を引数にマッピングした 文字列を返します。createLogicErrorLogRecord(Level level, int result, String message, String errorCode, Throwable th) LogicErrorLogRecordを作成するcreateLogicExceptionLogRecord(Level level, Throwable th, String errorCode) LogicExceptionLogRecordを作成するcreateLogicLogRecord(Level level, String message, Throwable th) LogicLogRecordを作成するvoid出力アイテムのデータを全て削除します。voiddataClearOfRecord(List<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord) 引数で渡されたレコードの 全アイテムを全て削除します。voiddispose()オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。intロジッククラス実行 実行エンジンにてCall getIOParameter(),execute(),exit()の順番でメソッドが実行される。推奨されていません。getControlRecord().getAppAccount() を使用してください。推奨されていません。getControlRecord().getAppAuthority() を使用してください。推奨されていません。getControlRecord().getAppMenu() を使用してください。推奨されていません。getControlRecord().getAppPassword() を使用してください。推奨されていません。getControlRecord().getClassErrorName() を使用してください。推奨されていません。getControlRecord().getClientID() を使用してください。推奨されていません。getControlRecord().getConnectionId() を使用してください。推奨されていません。getControlRecord().getConnectionPoolId() を使用してください。ユーザ定数に設定されたキーの一覧を取得します。getConstantValue(String name) ユーザ定数を取得します。String[]ユーザ定数をStringの配列形式で取得します。jp.ne.mki.wedge.run.interfaces.ControlRecordInterfaceControlRecordの情報を取得する。推奨されていません。getControlRecord().getDbAccessCount() を使用してください。推奨されていません。getControlRecord().getDbErrorCode() を使用してください。推奨されていません。getControlRecord().getDbErrorMessage() を使用してください。推奨されていません。getControlRecord().getDbStatus() を使用してください。推奨されていません。getControlRecord().getDBUpdatedCount() を使用してください。jp.ne.mki.wedge.run.interfaces.EngineManagerInterface実行エンジンManagerを取得するエラーメッセージ取得getErrorMessage(String key, Object arg) 標準ロジッククラス用エラーメッセージ取得getErrorMessage(String key, Object[] args) 標準ロジッククラス用エラーメッセージ取得推奨されていません。getControlRecord().getExceptionMessage() を使用してください。int実行種別getId()ロジッククラスID取得protected ListIterator<jp.ne.mki.wedge.run.interfaces.DataInterface> 入力レコードのListIteratorを取得するjp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> InputRecord取得jp.ne.mki.wedge.run.interfaces.DataInterfacegetInRecord(int line) InputRecordのindexによる取得jp.ne.mki.wedge.run.interfaces.DataInterfacegetInRecord(String key) InputRecordのKey(ID)による取得intInputRecordの数取得List<jp.ne.mki.wedge.run.interfaces.DataInterface> InputRecordのListを取得推奨されていません。getControlRecord().getIpAddress_G() を使用してください。推奨されていません。getControlRecord().getIpAddress_P() を使用してください。推奨されていません。getControlRecord().getLogicalErrorName() を使用してください。ロジッククラス論理名称取得jp.ne.mki.wedge.run.interfaces.ILogicClassDelegateロジッククラス用実行エンジンの委譲クラスを取得する推奨されていません。getControlRecord().getOutputHtml() を使用してください。protected ListIterator<jp.ne.mki.wedge.run.interfaces.DataInterface> 出力レコードのListIteratorを取得するjp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> OutputRecord取得jp.ne.mki.wedge.run.interfaces.DataInterfacegetOutRecord(int line) OutputRecordの取得jp.ne.mki.wedge.run.interfaces.DataInterfacegetOutRecord(String key) OutputRecordの取得intOutputRecordの行数取得List<jp.ne.mki.wedge.run.interfaces.DataInterface> OutputRecordのListを取得推奨されていません。getControlRecord().getPhysicalErrorName() を使用してください。ロジッククラス物理名称取得推奨されていません。getControlRecord().getProjectId() を使用してください。推奨されていません。getControlRecord().getQueryEndLine() を使用してください。推奨されていません。getControlRecord().getQueryMaxCount() を使用してください。推奨されていません。getControlRecord().getQueryPageCount() を使用してください。推奨されていません。getControlRecord().getQueryStartLine() を使用してください。getReturnString(int ret) 戻り値文字列取得intgetRowSize(List<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord) 引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。int入力レコードの 全アイテムを検索し、行サイズを返します。ロジッククラスパラメータ取得String[]ロジッククラスパラメータ取得 [;]でパラメータを区切り、配列で返すString[]getRuleParameters(char delimiter) ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返すString[]getRuleParameters(String delimiter) ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返すintRuleTypeを取得するgetRuleTypeName(int ruleType) 実行種別名称取得推奨されていません。getControlRecord().getServerMessage() を使用してください。推奨されていません。getControlRecord().getServerParameter() を使用してください。推奨されていません。getControlRecord().getServerStatus() を使用してください。推奨されていません。getControlRecord().getServerSubName() を使用してください。推奨されていません。getControlRecord().getServerSubRevision() を使用してください。推奨されていません。getControlRecord().getServerTran() を使用してください。推奨されていません。getControlRecord().getUpdateErrorLine() を使用してください。推奨されていません。getControlRecord().getUpdateTargetCount() を使用してください。推奨されていません。getControlRecord().getWebServerIpAddress() を使用してください。boolean実行可能かどうかを判定します。static booleanisJDK15()起動しているVMのバージョンが、1.5かをチェックします。final voidLogRecordのログ出力final voidデバッグの情報に関するメッセージを出力します。final voidエラーメッセージを出力します。final voidエラーメッセージを出力します。final void致命的なエラーに関するメッセージを出力します。final void致命的なエラーに関するメッセージを出力します。final void情報メッセージを出力します。final void詳細なデバッグ情報メッセージを出力します。final void警告メッセージを出力します。final void警告メッセージを出力します。protected intinRecord、outRecordに設定されているItem(Data)数ループを発生させる。protected intloopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index) loopInOutRecord()から呼び出されるメソッドです。protected intinRecordに設定されているItem(Data)数ループを発生させる。protected intloopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index) loopInRecord()から呼び出されるメソッドです。protected intoutRecordに設定されているItem(Data)数ループを発生させる。protected intloopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index) loopOutRecord()から呼び出されるメソッドです。voidsetControlRecord(jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecord) コントロールレコードを設定する。voidsetEngineManager(jp.ne.mki.wedge.run.interfaces.EngineManagerInterface manager) 実行しているエンジンのManagerを設定するvoidsetErrorMessage(String errorMessage) エラーメッセージ設定voidsetErrorMessageMustInRecord(int mustCount) 入力レコード必須エラー のメッセージを設定します。voidsetErrorMessageMustOutRecord(int mustCount) 出力レコード必須エラー のメッセージを設定します。voidパラメータが数値でなかったとき のメッセージを設定します。voidsetExecuteType(int type) このロジッククラスを実行している場所を設定します。protected voidロジッククラス内にてExceptionが発生時の処理
ロジッククラスの詳細情報を追加したメッセージを、ログ出力(ダイアログ表示)を行います。voidIDを設定voidsetInRecord(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> inRecord) 入力レコードを設定voidsetLogicalName(String logicalName) 論理名称を設定voidsetLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate) ロジッククラス用実行エンジンの委譲クラスを設定するvoidsetOutputHtml(String value) 推奨されていません。getControlRecord().setOutputHtml() を使用してください。voidsetOutRecord(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> outRecord) 出力レコードを設定voidsetPhysicalName(String physicalName) 物理名称を設定voidsetPropertyFromEngine(String key, Object object) 各エンジンから任意の情報を設定する。voidsetRuleParameter(String ruleParameter) ロジッククラスパラメータを設定voidsetRuleType(int type) RuleTypeを設定するvoidsetServerParameter(String value) 推奨されていません。getControlRecord().setServerParameter() を使用してください。voidsetUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant) ユーザ定数オブジェクトを設定するvoidshowErrorDialog(String message) エラーダイアログの表示voidshowErrorDialogAddRuleName(String message) エラーダイアログの表示
メッセージの前にロジッククラスの名称を追加します。void終了処理 実行エンジンにてCallされるvoidwriteErrorLog(String message) エラーログ出力voidwriteErrorLog(String message, Throwable th) エラーログ出力final void推奨されていません。writeTraceLogを使用する、もしくは その他のlogメソッドをを使用してください。final void推奨されていません。writeErrorLogを使用する、もしくは その他のlogメソッドをを使用してください。voidエラーログを出力 エラーレベルを指定して出力します。voidwriteTraceLog(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
-
フィールド詳細
-
executeType
protected int executeType実行時のロジッククラスタイプ :実行時にエンジンにて設定 -
ruleType
protected int ruleType実行可能なロジッククラスタイプ :初期値は両方で実行可。 -
id
ロジッククラスのID -
physicalName
ロジッククラスの物理名 -
logicalName
ロジッククラスの論理名 -
controlRecord
protected jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecordコントロールレコード -
inputRecord
protected jp.ne.mki.wedge.common.library.HashVector<String,jp.ne.mki.wedge.run.interfaces.DataInterface> inputRecord入力レコード -
outputRecord
protected jp.ne.mki.wedge.common.library.HashVector<String,jp.ne.mki.wedge.run.interfaces.DataInterface> outputRecord出力レコード -
ruleParameter
ロジッククラスパラメータ -
serverParameter
実行時サーバーパラメータ -
errorMessage
エラーメッセージ -
userConstant
protected jp.ne.mki.wedge.run.library.UserConstant userConstantUser定数 -
engineManager
protected jp.ne.mki.wedge.run.interfaces.EngineManagerInterface engineManager実行エンジンのManager -
logicClassDelegate
protected jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegateロジッククラス用エンジン委譲クラス
-
-
コンストラクタの詳細
-
AbstractBase
public AbstractBase()
-
-
メソッドの詳細
-
executeRule
ロジッククラス実行 実行エンジンにてCall getIOParameter(),execute(),exit()の順番でメソッドが実行される。- 定義:
executeRuleインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int
- 例外:
Throwable
-
checkDelegate
protected void checkDelegate()Delegateクラスのチェック
Delegateが設定されていないときには、実行場所によりDelegateを判断し 設定します。- 導入されたバージョン:
- ver1.3.0
-
dispose
オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。 登録していたListenerの削除などを行う ロジッククラス作成時、メソッドを上書きして使用すること。- 定義:
disposeインタフェース内CommonInterface- 例外:
Throwable
-
setFatalError
ロジッククラス内にてExceptionが発生時の処理
ロジッククラスの詳細情報を追加したメッセージを、ログ出力(ダイアログ表示)を行います。- パラメータ:
th-
-
terminate
public void terminate()終了処理 実行エンジンにてCallされる- 定義:
terminateインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
-
callDispose
protected void callDispose() -
isExecutable
public boolean isExecutable()実行可能かどうかを判定します。
ルールにて設定された ruleType と 現在実行している場所 executeType を 参照して、このルールが実行可能かどうかを判断します。- 定義:
isExecutableインタフェース内CommonInterface- 戻り値:
- boolean
-
getRuleTypeName
実行種別名称取得- 定義:
getRuleTypeNameインタフェース内CommonInterface- パラメータ:
実行種別-- 戻り値:
- String
-
getInRecord
public jp.ne.mki.wedge.common.library.HashVector<String,jp.ne.mki.wedge.run.interfaces.DataInterface> getInRecord()InputRecord取得- 定義:
getInRecordインタフェース内CommonInterface- 定義:
getInRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- HashVector
-
getInRecordList
InputRecordのListを取得- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-
getInRecordCount
public int getInRecordCount()InputRecordの数取得- 定義:
getInRecordCountインタフェース内CommonInterface- 戻り値:
- int
-
getOutRecord
public jp.ne.mki.wedge.common.library.HashVector<String,jp.ne.mki.wedge.run.interfaces.DataInterface> getOutRecord()OutputRecord取得- 定義:
getOutRecordインタフェース内CommonInterface- 定義:
getOutRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- HashVector
-
getOutRecordList
OutputRecordのListを取得- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-
getOutRecordCount
public int getOutRecordCount()OutputRecordの行数取得- 定義:
getOutRecordCountインタフェース内CommonInterface- 戻り値:
- int
-
getInRecord
public jp.ne.mki.wedge.run.interfaces.DataInterface getInRecord(int line) InputRecordのindexによる取得- 定義:
getInRecordインタフェース内CommonInterface- 定義:
getInRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
line-int- 行番号- 戻り値:
- DataInterface
-
getInRecord
InputRecordのKey(ID)による取得- 定義:
getInRecordインタフェース内CommonInterface- パラメータ:
String- キー- 戻り値:
- DataInterface
-
getOutRecord
public jp.ne.mki.wedge.run.interfaces.DataInterface getOutRecord(int line) OutputRecordの取得- 定義:
getOutRecordインタフェース内CommonInterface- 定義:
getOutRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
line-int- 行番号- 戻り値:
- DataInterface
-
getOutRecord
OutputRecordの取得- 定義:
getOutRecordインタフェース内CommonInterface- パラメータ:
String- キー(PHYSICAL_NAME)- 戻り値:
- DataInterface
-
showErrorDialogAddRuleName
エラーダイアログの表示
メッセージの前にロジッククラスの名称を追加します。- 定義:
showErrorDialogAddRuleNameインタフェース内CommonInterface- パラメータ:
String- 表示文字列
-
showErrorDialog
エラーダイアログの表示- 定義:
showErrorDialogインタフェース内CommonInterface- パラメータ:
String- 表示文字列
-
writeTraceLog
トレースログ出力- 定義:
writeTraceLogインタフェース内CommonInterface- パラメータ:
th- 例外オブジェクト
-
writeErrorLog
エラーログ出力- 定義:
writeErrorLogインタフェース内CommonInterface- パラメータ:
message-
-
writeErrorLog
エラーログ出力- パラメータ:
message-
-
writeLog
エラーログを出力 エラーレベルを指定して出力します。- パラメータ:
level-message-th-- 導入されたバージョン:
- ver1.2.0
-
writeLog
推奨されていません。writeTraceLogを使用する、もしくは その他のlogメソッドをを使用してください。- 定義:
writeLogインタフェース内CommonInterface
-
writeLog
推奨されていません。writeErrorLogを使用する、もしくは その他のlogメソッドをを使用してください。- 定義:
writeLogインタフェース内CommonInterface
-
createErrorMessage
標準エラーメッセージ生成
指定KeyのメッセージをRuleMessageから取得し、以下の情報を引数にマッピングした 文字列を返します。- 任意指定エラーメッセージ
- クラス名称
- ロジッククラス論理名
- ロジッククラス物理名
- 入力引数カウント
- 出力引数カウント
- ロジッククラスパラメータ
- パラメータ:
key- メッセージのKeyret- 戻り値- 戻り値:
- String 生成したメッセージ
-
getReturnString
戻り値文字列取得- 定義:
getReturnStringインタフェース内CommonInterface- 定義:
getReturnStringインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
ret- 戻り値- 戻り値:
- String
-
getRuleParameter
ロジッククラスパラメータ取得- 定義:
getRuleParameterインタフェース内CommonInterface- 定義:
getRuleParameterインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- String ロジッククラスパラメータ
-
getRuleParameters
ロジッククラスパラメータ取得 [;]でパラメータを区切り、配列で返す- 定義:
getRuleParametersインタフェース内CommonInterface- 戻り値:
- String[] ロジッククラスパラメータの配列
-
getRuleParameters
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す- パラメータ:
delimiter- パラメータの区切文字列- 戻り値:
- String[] ロジッククラスパラメータの配列
-
getRuleParameters
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す- パラメータ:
delimiter- パラメータの区切文字列- 戻り値:
- String[] ロジッククラスパラメータの配列
-
getId
ロジッククラスID取得- 定義:
getIdインタフェース内CommonInterface- 定義:
getIdインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- String ロジッククラスID
-
getPhysicalName
ロジッククラス物理名称取得- 定義:
getPhysicalNameインタフェース内CommonInterface- 定義:
getPhysicalNameインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- String ロジッククラス物理名称
-
getLogicalName
ロジッククラス論理名称取得- 定義:
getLogicalNameインタフェース内CommonInterface- 定義:
getLogicalNameインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- String ロジッククラス論理名称
-
getExecuteType
public int getExecuteType()実行種別- 定義:
getExecuteTypeインタフェース内CommonInterface- 定義:
getExecuteTypeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int
-
getConstantValue
ユーザ定数を取得します。 Constants.wdgファイルにTEXT形式でデータを記述している場合は、 その値を返します。
COLTEXT形式でデータを記述している場合は、 最初の一件目のデータを返します。
Constants.wdg内にKEYが存在しない場合は、 nullを返します。- パラメータ:
name- Key名称- 戻り値:
- String 値
-
getConstantValueAsStringArray
ユーザ定数をStringの配列形式で取得します。 Constants.wdgファイルにTEXT形式でデータを記述している場合は、 サイズが1のString配列を作成し、その中データを格納して返します。
COLTEXT形式でデータを記述している場合は、 そのデータをそのまま返します。
Constants.wdg内にKEYが存在しない場合は、 nullを返します。- パラメータ:
name- Key名称- 戻り値:
- 値
-
getConstantKeys
ユーザ定数に設定されたキーの一覧を取得します。- 戻り値:
- ユーザ定数の一覧に格納されたKeyの一覧
-
setRuleType
public void setRuleType(int type) RuleTypeを設定する
このロジッククラスが、特定の実行エンジンのときのみ動作させる仕様の場合、 このRuleTypeに指定しておくことで、実行時にチェックをおこないます。- 定義:
setRuleTypeインタフェース内CommonInterface- パラメータ:
type- EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVER
-
getRuleType
public int getRuleType()RuleTypeを取得する
このロジッククラスの実行可能な実行エンジンの種類を返します。- 定義:
getRuleTypeインタフェース内CommonInterface- 定義:
getRuleTypeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
int- EXECUTE_BOTH|EXECUTE_CLIENT|EXECUTE_SERVER- 戻り値:
-
getControlRecord
public jp.ne.mki.wedge.run.interfaces.ControlRecordInterface getControlRecord()ControlRecordの情報を取得する。- 戻り値:
- ControlRecordInterface
- 導入されたバージョン:
- ver1.3.0
-
getClientId
推奨されていません。getControlRecord().getClientID() を使用してください。- 定義:
getClientIdインタフェース内CommonInterface
-
getIpAddress_P_Index
推奨されていません。getControlRecord().getIpAddress_P() を使用してください。- 定義:
getIpAddress_P_Indexインタフェース内CommonInterface
-
getIpAddress_G_Index
推奨されていません。getControlRecord().getIpAddress_G() を使用してください。- 定義:
getIpAddress_G_Indexインタフェース内CommonInterface
-
getWebServerIpAddress
推奨されていません。getControlRecord().getWebServerIpAddress() を使用してください。- 定義:
getWebServerIpAddressインタフェース内CommonInterface
-
getProjectId
推奨されていません。getControlRecord().getProjectId() を使用してください。- 定義:
getProjectIdインタフェース内CommonInterface
-
getConnectionPoolId
推奨されていません。getControlRecord().getConnectionPoolId() を使用してください。- 定義:
getConnectionPoolIdインタフェース内CommonInterface
-
getConnectionId
推奨されていません。getControlRecord().getConnectionId() を使用してください。- 定義:
getConnectionIdインタフェース内CommonInterface
-
getServerSubName
推奨されていません。getControlRecord().getServerSubName() を使用してください。- 定義:
getServerSubNameインタフェース内CommonInterface
-
getServerSubRevision
推奨されていません。getControlRecord().getServerSubRevision() を使用してください。- 定義:
getServerSubRevisionインタフェース内CommonInterface
-
getServerTran
推奨されていません。getControlRecord().getServerTran() を使用してください。- 定義:
getServerTranインタフェース内CommonInterface
-
getServerStatus
推奨されていません。getControlRecord().getServerStatus() を使用してください。- 定義:
getServerStatusインタフェース内CommonInterface
-
getServerMessage
推奨されていません。getControlRecord().getServerMessage() を使用してください。- 定義:
getServerMessageインタフェース内CommonInterface
-
getExceptionMessage
推奨されていません。getControlRecord().getExceptionMessage() を使用してください。- 定義:
getExceptionMessageインタフェース内CommonInterface
-
getDbErrorCode
推奨されていません。getControlRecord().getDbErrorCode() を使用してください。- 定義:
getDbErrorCodeインタフェース内CommonInterface
-
getDbStatus
推奨されていません。getControlRecord().getDbStatus() を使用してください。- 定義:
getDbStatusインタフェース内CommonInterface
-
getDbErrorMessage
推奨されていません。getControlRecord().getDbErrorMessage() を使用してください。- 定義:
getDbErrorMessageインタフェース内CommonInterface
-
getUpdateTargetCount
推奨されていません。getControlRecord().getUpdateTargetCount() を使用してください。- 定義:
getUpdateTargetCountインタフェース内CommonInterface
-
getDbUpdatedRecordCount
推奨されていません。getControlRecord().getDBUpdatedCount() を使用してください。 -
getDbAccessCount
推奨されていません。getControlRecord().getDbAccessCount() を使用してください。- 定義:
getDbAccessCountインタフェース内CommonInterface
-
getUpdateErrorLine
推奨されていません。getControlRecord().getUpdateErrorLine() を使用してください。- 定義:
getUpdateErrorLineインタフェース内CommonInterface
-
getPhysicalErrorName
推奨されていません。getControlRecord().getPhysicalErrorName() を使用してください。- 定義:
getPhysicalErrorNameインタフェース内CommonInterface
-
getLogicalErrorName
推奨されていません。getControlRecord().getLogicalErrorName() を使用してください。- 定義:
getLogicalErrorNameインタフェース内CommonInterface
-
getClassErrorName
推奨されていません。getControlRecord().getClassErrorName() を使用してください。- 定義:
getClassErrorNameインタフェース内CommonInterface
-
getAppAccount
推奨されていません。getControlRecord().getAppAccount() を使用してください。- 定義:
getAppAccountインタフェース内CommonInterface
-
getAppPassword
推奨されていません。getControlRecord().getAppPassword() を使用してください。- 定義:
getAppPasswordインタフェース内CommonInterface
-
getAppMenu
推奨されていません。getControlRecord().getAppMenu() を使用してください。- 定義:
getAppMenuインタフェース内CommonInterface
-
getAppAuthority
推奨されていません。getControlRecord().getAppAuthority() を使用してください。- 定義:
getAppAuthorityインタフェース内CommonInterface
-
getQueryStartLine
推奨されていません。getControlRecord().getQueryStartLine() を使用してください。- 定義:
getQueryStartLineインタフェース内CommonInterface
-
getQueryEndLine
推奨されていません。getControlRecord().getQueryEndLine() を使用してください。- 定義:
getQueryEndLineインタフェース内CommonInterface
-
getQueryPageCount
推奨されていません。getControlRecord().getQueryPageCount() を使用してください。- 定義:
getQueryPageCountインタフェース内CommonInterface
-
getQueryMaxCount
推奨されていません。getControlRecord().getQueryMaxCount() を使用してください。- 定義:
getQueryMaxCountインタフェース内CommonInterface
-
getServerParameter
推奨されていません。getControlRecord().getServerParameter() を使用してください。- 定義:
getServerParameterインタフェース内CommonInterface
-
setServerParameter
推奨されていません。getControlRecord().setServerParameter() を使用してください。- 定義:
setServerParameterインタフェース内CommonInterface
-
getOutputHtml
推奨されていません。getControlRecord().getOutputHtml() を使用してください。 -
setOutputHtml
推奨されていません。getControlRecord().setOutputHtml() を使用してください。 -
loopOutRecord
protected int loopOutRecord()outRecordに設定されているItem(Data)数ループを発生させる。loopOutRecord()はループのたびにloopOutRecordSub(DataInterface outItem,int index) を呼び出します。
-
getInputRecordIterator
入力レコードのListIteratorを取得する- 戻り値:
- ListIterator
-
getOutputRecordIterator
出力レコードのListIteratorを取得する- 戻り値:
- ListIterator
-
loopOutRecordSub
protected int loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index) loopOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。- パラメータ:
outItem-
-
loopInRecord
protected int loopInRecord()inRecordに設定されているItem(Data)数ループを発生させる。loopInRecord()はループのたびにloopInRecordSub(DataInterface inItem,int index) を呼び出します。
- 戻り値:
- int
-
loopInRecordSub
protected int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index) loopInRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。- パラメータ:
index-intItem-- 戻り値:
- int 結果
-
loopInOutRecord
protected int loopInOutRecord()inRecord、outRecordに設定されているItem(Data)数ループを発生させる。loopInOutRecord()はループのたびにloopInOutRecordSub (DataInterface inItem,DataInterface outItem,int index)を呼び出します。
- 戻り値:
- int
-
loopInOutRecordSub
protected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index) loopInOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。- パラメータ:
inItem-outItem-index-- 戻り値:
- int
-
getErrorMessage
標準ロジッククラス用エラーメッセージ取得標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。
- パラメータ:
key- メッセージのKEYargs- メッセージ生成時の引数- 戻り値:
- String 生成されたメッセージ
-
getErrorMessage
標準ロジッククラス用エラーメッセージ取得標準ロジッククラス用に設定されたメッセージリソースから、指定Key,引数の文字列を取得します。
- パラメータ:
key- メッセージのKEYarg- メッセージ生成時の引数- 戻り値:
- String 生成されたメッセージ
-
setErrorMessageMustInRecord
public void setErrorMessageMustInRecord(int mustCount) 入力レコード必須エラー のメッセージを設定します。必要な数の入力レコード設定が無かったときのエラー のメッセージを生成して設定を行います。
- パラメータ:
mustCount- 必須であるデータ数
-
setErrorMessageMustOutRecord
public void setErrorMessageMustOutRecord(int mustCount) 出力レコード必須エラー のメッセージを設定します。必要な数の出力レコード設定が無かったときのエラー のメッセージを生成して設定を行います。
- パラメータ:
mustCount- 必須であるデータ数
-
setErrorMessageMustParamIsNumber
public void setErrorMessageMustParamIsNumber()パラメータが数値でなかったとき のメッセージを設定します。パラメータが数値前提のロジッククラスの場合で、設定が数値ではなかった場合のエラーメッセージを作成して設定を行います。
-
getEngineManager
public jp.ne.mki.wedge.run.interfaces.EngineManagerInterface getEngineManager()実行エンジンManagerを取得する- 定義:
getEngineManagerインタフェース内CommonInterface- 定義:
getEngineManagerインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- 導入されたバージョン:
- ver1.2
-
setInRecord
public void setInRecord(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> inRecord) 入力レコードを設定実行エンジンから設定されます。
- 定義:
setInRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
inRecord-
-
setOutRecord
public void setOutRecord(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> outRecord) 出力レコードを設定実行エンジンから設定されます。
- 定義:
setOutRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
outRecord-
-
setId
IDを設定実行エンジンから設定されます。
このIDは実行エンジンが保持しているユニークIDです。- 定義:
setIdインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
id- IDlogicalName-
-
setPhysicalName
物理名称を設定実行エンジンから設定されます。
- 定義:
setPhysicalNameインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
physicalName- 物理名称logicalName-
-
setLogicalName
論理名称を設定実行エンジンから設定されます。
- 定義:
setLogicalNameインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
logicalName-
-
setRuleParameter
ロジッククラスパラメータを設定実行エンジンから設定されます。
- 定義:
setRuleParameterインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
ruleParameter-
-
setExecuteType
public void setExecuteType(int type) このロジッククラスを実行している場所を設定します。実行エンジンから設定されます
- 定義:
setExecuteTypeインタフェース内CommonInterface- 定義:
setExecuteTypeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
int- type "EXECUTE_" から始まる定数
-
setUserConstant
public void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant) ユーザ定数オブジェクトを設定する実行エンジンから設定されます
- 定義:
setUserConstantインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
userConstant-
-
setControlRecord
public void setControlRecord(jp.ne.mki.wedge.run.interfaces.ControlRecordInterface controlRecord) コントロールレコードを設定する。実行エンジンから設定されます
- 定義:
setControlRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
controlRecord-
-
setEngineManager
public void setEngineManager(jp.ne.mki.wedge.run.interfaces.EngineManagerInterface manager) 実行しているエンジンのManagerを設定する- 定義:
setEngineManagerインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
manager- 実行しているエンジンのManager- 導入されたバージョン:
- ver1.3.0
-
setPropertyFromEngine
各エンジンから任意の情報を設定する。- 定義:
setPropertyFromEngineインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
key-object-
-
getErrorMessage
エラーメッセージ取得- 戻り値:
-
setErrorMessage
エラーメッセージ設定- パラメータ:
errorMessage-
-
isJDK15
public static boolean isJDK15()起動しているVMのバージョンが、1.5かをチェックします。VMのバージョンが1.5である場合は trueを、 そうで無い場合は falseを返します。
- 戻り値:
- 起動中のVMのバージョンが 1.5 であれば true
-
getRowSizeOfInRecord
public int getRowSizeOfInRecord()入力レコードの 全アイテムを検索し、行サイズを返します。
getRowSize(getInRecord()) と 同等の処理を行います。
引数で与えるリスト 返り値 入力レコードがが0件の場合 0 入力レコードが全てTEXTアイテムの場合 1 入力レコードがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合 COLTEXTの行数 入力レコードがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合 RuntimeExceptionを返す - 戻り値:
- 行サイズ
-
getRowSize
引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。
引数で与えるリスト 返り値 itemListが0件の場合 0 itemListが全てTEXTアイテムの場合 1 itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合 COLTEXTの行数 itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合 RuntimeExceptionを返す - パラメータ:
itemRecord- 行番号を取得したいアイテムを格納したList- 戻り値:
- 行サイズ
-
dataClearOfOutRecord
public void dataClearOfOutRecord()出力アイテムのデータを全て削除します。dataClearOfRecord(getOutRecord()) と 同等の処理を行います。
- 関連項目:
-
dataClearOfRecord
引数で渡されたレコードの 全アイテムを全て削除します。- パラメータ:
itemRecord- 削除したいアイテムを格納したList- 関連項目:
-
logFatal
致命的なエラーに関するメッセージを出力します。エラーレベルは Level.SEVERE で出力します。
- 定義:
logFatalインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
logFatal
致命的なエラーに関するメッセージを出力します。エラーレベルは Level.SEVERE で出力します。
- 定義:
logFatalインタフェース内CommonInterface- パラメータ:
message- メッセージth- 例外オブジェクト- 導入されたバージョン:
- ver1.2
-
logError
エラーメッセージを出力します。エラーレベルは Level.ERROR で出力します。
- 定義:
logErrorインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
logError
エラーメッセージを出力します。エラーレベルは Level.ERROR で出力します。
- 定義:
logErrorインタフェース内CommonInterface- パラメータ:
message- メッセージth- 例外オブジェクト
-
logWarn
警告メッセージを出力します。エラーレベルは Level.WARNING で出力します。
- 定義:
logWarnインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
logWarn
警告メッセージを出力します。エラーレベルは Level.WARNING で出力します。
- 定義:
logWarnインタフェース内CommonInterface- パラメータ:
message- メッセージth- 例外オブジェクト- 導入されたバージョン:
- ver1.2
-
logInfo
情報メッセージを出力します。エラーレベルは Level.INFO で出力します。
- 定義:
logInfoインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
logDebug
デバッグの情報に関するメッセージを出力します。エラーレベルは Level.FINE で出力します。
- 定義:
logDebugインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
logTrace
詳細なデバッグ情報メッセージを出力します。エラーレベルは Level.FINER で出力します。
- 定義:
logTraceインタフェース内CommonInterface- パラメータ:
message- メッセージ- 導入されたバージョン:
- ver1.2
-
log
LogRecordのログ出力- パラメータ:
record-- 導入されたバージョン:
- ver1.2
-
getLogicClassDelegate
public jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()ロジッククラス用実行エンジンの委譲クラスを取得する- 定義:
getLogicClassDelegateインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-
setLogicClassDelegate
public void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate) ロジッククラス用実行エンジンの委譲クラスを設定する- 定義:
setLogicClassDelegateインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
logicClassDelegate-- 導入されたバージョン:
- ver1.3.0
-
createLogicLogRecord
LogicLogRecordを作成する- 定義:
createLogicLogRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
level-message-th-- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-
createLogicErrorLogRecord
public LogRecord createLogicErrorLogRecord(Level level, int result, String message, String errorCode, Throwable th) LogicErrorLogRecordを作成する- 定義:
createLogicErrorLogRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
level-result-message-errorCode-th-- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-
createLogicExceptionLogRecord
LogicExceptionLogRecordを作成する- 定義:
createLogicExceptionLogRecordインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- パラメータ:
level-th-errorCode-- 戻り値:
- 導入されたバージョン:
- ver1.3.0
-