クラス 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.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
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected void
protected void
Delegateクラスのチェック
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
出力アイテムのデータを全て削除します。void
dataClearOfRecord
(List<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord) 引数で渡されたレコードの 全アイテムを全て削除します。void
dispose()
オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。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.ControlRecordInterface
ControlRecordの情報を取得する。推奨されていません。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.DataInterface
getInRecord
(int line) InputRecordのindexによる取得jp.ne.mki.wedge.run.interfaces.DataInterface
getInRecord
(String key) InputRecordのKey(ID)による取得int
InputRecordの数取得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.DataInterface
getOutRecord
(int line) OutputRecordの取得jp.ne.mki.wedge.run.interfaces.DataInterface
getOutRecord
(String key) OutputRecordの取得int
OutputRecordの行数取得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) 戻り値文字列取得int
getRowSize
(List<jp.ne.mki.wedge.run.interfaces.DataInterface> itemRecord) 引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。int
入力レコードの 全アイテムを検索し、行サイズを返します。ロジッククラスパラメータ取得String[]
ロジッククラスパラメータ取得 [;]でパラメータを区切り、配列で返すString[]
getRuleParameters
(char delimiter) ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返すString[]
getRuleParameters
(String delimiter) ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返すint
RuleTypeを取得するgetRuleTypeName
(int ruleType) 実行種別名称取得推奨されていません。getControlRecord().getServerMessage() を使用してください。推奨されていません。getControlRecord().getServerParameter() を使用してください。推奨されていません。getControlRecord().getServerStatus() を使用してください。推奨されていません。getControlRecord().getServerSubName() を使用してください。推奨されていません。getControlRecord().getServerSubRevision() を使用してください。推奨されていません。getControlRecord().getServerTran() を使用してください。推奨されていません。getControlRecord().getUpdateErrorLine() を使用してください。推奨されていません。getControlRecord().getUpdateTargetCount() を使用してください。推奨されていません。getControlRecord().getWebServerIpAddress() を使用してください。boolean
実行可能かどうかを判定します。static boolean
isJDK15()
起動しているVMのバージョンが、1.5かをチェックします。final void
LogRecordのログ出力final void
デバッグの情報に関するメッセージを出力します。final void
エラーメッセージを出力します。final void
エラーメッセージを出力します。final void
致命的なエラーに関するメッセージを出力します。final void
致命的なエラーに関するメッセージを出力します。final void
情報メッセージを出力します。final void
詳細なデバッグ情報メッセージを出力します。final void
警告メッセージを出力します。final void
警告メッセージを出力します。protected int
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
inRecordに設定されているItem(Data)数ループを発生させる。protected int
loopInRecordSub
(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, int index) loopInRecord()から呼び出されるメソッドです。protected int
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
(String errorMessage) エラーメッセージ設定void
setErrorMessageMustInRecord
(int mustCount) 入力レコード必須エラー のメッセージを設定します。void
setErrorMessageMustOutRecord
(int mustCount) 出力レコード必須エラー のメッセージを設定します。void
パラメータが数値でなかったとき のメッセージを設定します。void
setExecuteType
(int type) このロジッククラスを実行している場所を設定します。protected void
ロジッククラス内にてExceptionが発生時の処理
ロジッククラスの詳細情報を追加したメッセージを、ログ出力(ダイアログ表示)を行います。void
IDを設定void
setInRecord
(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> inRecord) 入力レコードを設定void
setLogicalName
(String logicalName) 論理名称を設定void
setLogicClassDelegate
(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate) ロジッククラス用実行エンジンの委譲クラスを設定するvoid
setOutputHtml
(String value) 推奨されていません。getControlRecord().setOutputHtml() を使用してください。void
setOutRecord
(jp.ne.mki.wedge.common.library.HashVector<String, jp.ne.mki.wedge.run.interfaces.DataInterface> outRecord) 出力レコードを設定void
setPhysicalName
(String physicalName) 物理名称を設定void
setPropertyFromEngine
(String key, Object object) 各エンジンから任意の情報を設定する。void
setRuleParameter
(String ruleParameter) ロジッククラスパラメータを設定void
setRuleType
(int type) RuleTypeを設定するvoid
setServerParameter
(String value) 推奨されていません。getControlRecord().setServerParameter() を使用してください。void
setUserConstant
(jp.ne.mki.wedge.run.library.UserConstant userConstant) ユーザ定数オブジェクトを設定するvoid
showErrorDialog
(String message) エラーダイアログの表示void
showErrorDialogAddRuleName
(String message) エラーダイアログの表示
メッセージの前にロジッククラスの名称を追加します。void
終了処理 実行エンジンにてCallされるvoid
writeErrorLog
(String message) エラーログ出力void
writeErrorLog
(String message, Throwable th) エラーログ出力final void
推奨されていません。writeTraceLogを使用する、もしくは その他のlogメソッドをを使用してください。final void
推奨されていません。writeErrorLogを使用する、もしくは その他のlogメソッドをを使用してください。void
エラーログを出力 エラーレベルを指定して出力します。void
writeTraceLog
(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
-