jp.ne.mki.wedge.rule.base
クラス AbstractBase

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.base.AbstractBase
すべての実装インタフェース:
CommonInterface, RuleEngineInterface
直系の既知のサブクラス:
AbstractClient, AbstractCommon, AbstractHtmlGateway, AbstractServer

public abstract class AbstractBase
extends java.lang.Object
implements CommonInterface, RuleEngineInterface

ロジッククラス抽象基本クラス


バージョン:
1.0

フィールドの概要
protected  jp.ne.mki.wedge.run.data.ControlRecord controlRecord
           
protected  EngineManagerInterface engineManager
           
protected  java.lang.String errorMessage
           
protected  int executeType
           
protected  java.lang.String id
           
protected  jp.ne.mki.wedge.common.library.HashVector inputRecord
           
protected  java.lang.String logicalName
           
protected  jp.ne.mki.wedge.common.library.HashVector 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
           
 
インタフェース 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()
           
 java.lang.String createErrorMessage(java.lang.String key, int ret)
          標準エラーメッセージ生成 argsに以下の情報が渡されます。
 void dataClearOfOutRecord()
          出力アイテムのデータを全て削除します。
 void dataClearOfRecord(java.util.List itemRecord)
          引数で渡されたレコードの 全アイテムを全て削除します。
 void dispose()
          オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。
 int executeRule()
          ロジッククラス実行 実行エンジンにてCall getIOParameter(),execute(),exit()の順番でメソッドが実行される。
 java.lang.String getAppAccount()
           
 java.lang.String getAppAuthority()
           
 java.lang.String getAppMenu()
           
 java.lang.String getAppPassword()
           
 java.lang.String getClassErrorName()
           
 java.lang.String getClientId()
           
 java.lang.String getConnectionId()
           
 java.lang.String getConnectionPoolId()
           
 java.util.Set getConstantKeys()
          ユーザ定数に設定されたキーの一覧を取得します。
 java.lang.String getConstantValue(java.lang.String name)
          ユーザ定数を取得します。
 java.lang.String[] getConstantValueAsStringArray(java.lang.String name)
          ユーザ定数をStringの配列形式で取得します。
 java.lang.String getDbAccessCount()
           
 java.lang.String getDbErrorCode()
           
 java.lang.String getDbErrorMessage()
           
 java.lang.String getDbStatus()
           
 java.lang.String getDbUpdatedRecordCount()
           
 EngineManagerInterface getEngineManager()
          実行エンジンManagerを取得する
 java.lang.String getErrorMessage()
          エラーメッセージ取得
 java.lang.String getErrorMessage(java.lang.String key, java.lang.Object arg)
          標準ロジッククラス用エラーメッセージ取得
 java.lang.String getErrorMessage(java.lang.String key, java.lang.Object[] args)
          標準ロジッククラス用エラーメッセージ取得
 java.lang.String getExceptionMessage()
           
 int getExecuteType()
          実行種別
 java.lang.String getId()
          ロジッククラスID取得
 jp.ne.mki.wedge.common.library.HashVector getInRecord()
          InputRecord取得
 DataInterface getInRecord(int line)
          InputRecordのindexによる取得
 DataInterface getInRecord(java.lang.String key)
          InputRecordのKey(ID)による取得
 int getInRecordCount()
          InputRecordの数取得
 java.lang.String getIpAddress_G_Index()
           
 java.lang.String getIpAddress_P_Index()
           
 java.lang.String getLogicalErrorName()
           
 java.lang.String getLogicalName()
          ロジッククラス論理名称取得
 java.lang.String getOutputHtml()
           
 jp.ne.mki.wedge.common.library.HashVector getOutRecord()
          OutputRecord取得
 DataInterface getOutRecord(int line)
          OutputRecordの取得
 DataInterface getOutRecord(java.lang.String key)
          OutputRecordの取得
 int getOutRecordCount()
          OutputRecordの行数取得
 java.lang.String getPhysicalErrorName()
           
 java.lang.String getPhysicalName()
          ロジッククラス物理名称取得
 java.lang.String getProjectId()
           
 java.lang.String getQueryEndLine()
           
 java.lang.String getQueryMaxCount()
           
 java.lang.String getQueryPageCount()
           
 java.lang.String getQueryStartLine()
           
 java.lang.String getReturnString(int ret)
          戻り値文字列取得
 int getRowSize(java.util.List 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()
           
 java.lang.String getRuleTypeName(int ruleType)
          実行種別名称取得
 java.lang.String getServerMessage()
           
 java.lang.String getServerParameter()
           
 java.lang.String getServerStatus()
           
 java.lang.String getServerSubName()
           
 java.lang.String getServerSubRevision()
           
 java.lang.String getServerTran()
           
 java.lang.String getUpdateErrorLine()
           
 java.lang.String getUpdateTargetCount()
           
 java.lang.String 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(jp.ne.mki.wedge.run.data.ControlRecord controlRecord)
          コントロールレコードを設定する
 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 setHtmlManager(java.lang.Object manager)
          HTMLGateway Managerオブジェクトを設定する。
 void setId(java.lang.String id)
          IDを設定する
 void setInRecord(jp.ne.mki.wedge.common.library.HashVector inRecord)
          InputRecord設定
 void setLogicalName(java.lang.String logicalName)
          論理名称を設定する
 void setManager(java.lang.Object manager)
          クライアント Managerオブジェクトを設定する
 void setOutputHtml(java.lang.String value)
           
 void setOutRecord(jp.ne.mki.wedge.common.library.HashVector outRecord)
          OutputRecord設定
 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)
           
 void setServerControlData(java.lang.Object serverControlData)
          serverControlData を設定する。
 void setServerParameter(java.lang.String value)
           
 void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
          ユーザ定数を設定する
 void showErrorDialogAddRuleName(java.lang.String message)
          エラーダイアログの表示 メッセージの前にロジッククラスの名称を追加します。
 void terminate()
          終了処理 実行エンジンにてCallされる
 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, showErrorDialog, writeErrorLog, writeLog, writeLog
 
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface から継承したメソッド
execute, exit, getIOParameter, setWedgeLog
 

フィールドの詳細

executeType

protected int executeType

ruleType

protected int ruleType

id

protected java.lang.String id

physicalName

protected java.lang.String physicalName

logicalName

protected java.lang.String logicalName

controlRecord

protected jp.ne.mki.wedge.run.data.ControlRecord controlRecord

inputRecord

protected jp.ne.mki.wedge.common.library.HashVector inputRecord

outputRecord

protected jp.ne.mki.wedge.common.library.HashVector outputRecord

ruleParameter

protected java.lang.String ruleParameter

serverParameter

protected java.lang.String serverParameter

errorMessage

protected java.lang.String errorMessage

userConstant

protected jp.ne.mki.wedge.run.library.UserConstant userConstant

engineManager

protected EngineManagerInterface engineManager
コンストラクタの詳細

AbstractBase

public AbstractBase()
メソッドの詳細

executeRule

public int executeRule()
                throws java.lang.Throwable
ロジッククラス実行 実行エンジンにてCall getIOParameter(),execute(),exit()の順番でメソッドが実行される。
定義:
インタフェース RuleEngineInterface 内の executeRule
戻り値:
int

dispose

public void dispose()
             throws java.lang.Throwable
オブジェクトを破棄 実行エンジンにてオブジェクトを破棄時に実行される。 登録していたListenerの削除などを行う ロジッククラス作成時、メソッドを上書きして使用すること。
定義:
インタフェース CommonInterface 内の dispose

setFatalError

protected void setFatalError(java.lang.Throwable th)
ロジッククラス内にてExceptionが発生時の処理 メッセージをログ出力(ダイアログ表示)を行う
パラメータ:
th -  

terminate

public void terminate()
終了処理 実行エンジンにてCallされる
定義:
インタフェース RuleEngineInterface 内の terminate
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
例外:
java.lang.Throwable -  

callDispose

protected void callDispose()

isExecutable

public boolean isExecutable()
実行可能かどうか
定義:
インタフェース CommonInterface 内の isExecutable
戻り値:
boolean

getRuleTypeName

public java.lang.String getRuleTypeName(int ruleType)
実行種別名称取得
定義:
インタフェース CommonInterface 内の getRuleTypeName
パラメータ:
実行種別 -  
戻り値:
String

getInRecord

public jp.ne.mki.wedge.common.library.HashVector getInRecord()
InputRecord取得
定義:
インタフェース CommonInterface 内の getInRecord
戻り値:
HashVector

getInRecordCount

public int getInRecordCount()
InputRecordの数取得
定義:
インタフェース CommonInterface 内の getInRecordCount
戻り値:
int

getOutRecord

public jp.ne.mki.wedge.common.library.HashVector getOutRecord()
OutputRecord取得
定義:
インタフェース CommonInterface 内の getOutRecord
戻り値:
HashVector

getOutRecordCount

public int getOutRecordCount()
OutputRecordの行数取得
定義:
インタフェース CommonInterface 内の getOutRecordCount
戻り値:
int

getInRecord

public DataInterface getInRecord(int line)
InputRecordのindexによる取得
定義:
インタフェース CommonInterface 内の getInRecord
パラメータ:
int - 行番号
戻り値:
DataInterface

getInRecord

public DataInterface getInRecord(java.lang.String key)
InputRecordのKey(ID)による取得
定義:
インタフェース CommonInterface 内の getInRecord
パラメータ:
String - キー
戻り値:
DataInterface

getOutRecord

public DataInterface getOutRecord(int line)
OutputRecordの取得
定義:
インタフェース CommonInterface 内の getOutRecord
パラメータ:
int - 行番号
戻り値:
DataInterface

getOutRecord

public DataInterface getOutRecord(java.lang.String key)
OutputRecordの取得
定義:
インタフェース CommonInterface 内の getOutRecord
パラメータ:
String - キー(PHYSICAL_NAME)
戻り値:
DataInterface

showErrorDialogAddRuleName

public void showErrorDialogAddRuleName(java.lang.String message)
エラーダイアログの表示 メッセージの前にロジッククラスの名称を追加します。
定義:
インタフェース CommonInterface 内の showErrorDialogAddRuleName
パラメータ:
String - 表示文字列

writeTraceLog

public void writeTraceLog(java.lang.String message)
ログ出力
定義:
インタフェース CommonInterface 内の writeTraceLog
パラメータ:
th - 例外オブジェクト
戻り値:
object

createErrorMessage

public java.lang.String createErrorMessage(java.lang.String key,
                                           int ret)
標準エラーメッセージ生成 argsに以下の情報が渡されます。 0.任意指定エラーメッセージ 1.クラス名称 2.ロジッククラス論理名 3.ロジッククラス物理名 4.入力引数カウント 5.出力引数カウント 6.ロジッククラスパラメータ
パラメータ:
key - メッセージのKey
ret - 戻り値
戻り値:
String

getReturnString

public java.lang.String getReturnString(int ret)
戻り値文字列取得
定義:
インタフェース CommonInterface 内の getReturnString
パラメータ:
ret - 戻り値
戻り値:
String

getRuleParameter

public java.lang.String getRuleParameter()
ロジッククラスパラメータ取得
定義:
インタフェース CommonInterface 内の getRuleParameter
戻り値:
String ロジッククラスパラメータ

getRuleParameters

public java.lang.String[] getRuleParameters()
ロジッククラスパラメータ取得 [;]でパラメータを区切り、配列で返す
定義:
インタフェース CommonInterface 内の getRuleParameters
戻り値:
String[] ロジッククラスパラメータの配列

getRuleParameters

public java.lang.String[] getRuleParameters(char delimiter)
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す
パラメータ:
delimiter - パラメータの区切文字列
戻り値:
String[] ロジッククラスパラメータの配列

getRuleParameters

public java.lang.String[] getRuleParameters(java.lang.String delimiter)
ロジッククラスパラメータ取得 引数の文字列でパラメータを区切り、配列で返す
パラメータ:
delimiter - パラメータの区切文字列
戻り値:
String[] ロジッククラスパラメータの配列

getId

public java.lang.String getId()
ロジッククラスID取得
定義:
インタフェース CommonInterface 内の getId
戻り値:
String ロジッククラスID

getPhysicalName

public java.lang.String getPhysicalName()
ロジッククラス物理名称取得
定義:
インタフェース CommonInterface 内の getPhysicalName
戻り値:
String ロジッククラス物理名称

getLogicalName

public java.lang.String getLogicalName()
ロジッククラス論理名称取得
定義:
インタフェース CommonInterface 内の getLogicalName
戻り値:
String ロジッククラス論理名称

getExecuteType

public int getExecuteType()
実行種別
定義:
インタフェース CommonInterface 内の getExecuteType
戻り値:
int

getConstantValue

public java.lang.String getConstantValue(java.lang.String name)
ユーザ定数を取得します。 Constants.wdgファイルにTEXT形式でデータを記述している場合は、 その値を返します。
COLTEXT形式でデータを記述している場合は、 最初の一件目のデータを返します。
Constants.wdg内にKEYが存在しない場合は、 nullを返します。
パラメータ:
name - Key名称
戻り値:
String 値

getConstantValueAsStringArray

public java.lang.String[] getConstantValueAsStringArray(java.lang.String name)
ユーザ定数をStringの配列形式で取得します。 Constants.wdgファイルにTEXT形式でデータを記述している場合は、 サイズが1のString配列を作成し、その中データを格納して返します。
COLTEXT形式でデータを記述している場合は、 そのデータをそのまま返します。
Constants.wdg内にKEYが存在しない場合は、 nullを返します。
パラメータ:
name - Key名称
戻り値:

getConstantKeys

public java.util.Set getConstantKeys()
ユーザ定数に設定されたキーの一覧を取得します。
戻り値:
ユーザ定数の一覧に格納されたKeyの一覧

setRuleType

public void setRuleType(int type)
定義:
インタフェース CommonInterface 内の setRuleType

getRuleType

public int getRuleType()
定義:
インタフェース CommonInterface 内の getRuleType

getClientId

public java.lang.String getClientId()
定義:
インタフェース CommonInterface 内の getClientId

getIpAddress_P_Index

public java.lang.String getIpAddress_P_Index()
定義:
インタフェース CommonInterface 内の getIpAddress_P_Index

getIpAddress_G_Index

public java.lang.String getIpAddress_G_Index()
定義:
インタフェース CommonInterface 内の getIpAddress_G_Index

getWebServerIpAddress

public java.lang.String getWebServerIpAddress()
定義:
インタフェース CommonInterface 内の getWebServerIpAddress

getProjectId

public java.lang.String getProjectId()
定義:
インタフェース CommonInterface 内の getProjectId

getConnectionPoolId

public java.lang.String getConnectionPoolId()
定義:
インタフェース CommonInterface 内の getConnectionPoolId

getConnectionId

public java.lang.String getConnectionId()
定義:
インタフェース CommonInterface 内の getConnectionId

getServerSubName

public java.lang.String getServerSubName()
定義:
インタフェース CommonInterface 内の getServerSubName

getServerSubRevision

public java.lang.String getServerSubRevision()
定義:
インタフェース CommonInterface 内の getServerSubRevision

getServerTran

public java.lang.String getServerTran()
定義:
インタフェース CommonInterface 内の getServerTran

getServerStatus

public java.lang.String getServerStatus()
定義:
インタフェース CommonInterface 内の getServerStatus

getServerMessage

public java.lang.String getServerMessage()
定義:
インタフェース CommonInterface 内の getServerMessage

getExceptionMessage

public java.lang.String getExceptionMessage()
定義:
インタフェース CommonInterface 内の getExceptionMessage

getDbErrorCode

public java.lang.String getDbErrorCode()
定義:
インタフェース CommonInterface 内の getDbErrorCode

getDbStatus

public java.lang.String getDbStatus()
定義:
インタフェース CommonInterface 内の getDbStatus

getDbErrorMessage

public java.lang.String getDbErrorMessage()
定義:
インタフェース CommonInterface 内の getDbErrorMessage

getUpdateTargetCount

public java.lang.String getUpdateTargetCount()
定義:
インタフェース CommonInterface 内の getUpdateTargetCount

getDbUpdatedRecordCount

public java.lang.String getDbUpdatedRecordCount()

getDbAccessCount

public java.lang.String getDbAccessCount()
定義:
インタフェース CommonInterface 内の getDbAccessCount

getUpdateErrorLine

public java.lang.String getUpdateErrorLine()
定義:
インタフェース CommonInterface 内の getUpdateErrorLine

getPhysicalErrorName

public java.lang.String getPhysicalErrorName()
定義:
インタフェース CommonInterface 内の getPhysicalErrorName

getLogicalErrorName

public java.lang.String getLogicalErrorName()
定義:
インタフェース CommonInterface 内の getLogicalErrorName

getClassErrorName

public java.lang.String getClassErrorName()
定義:
インタフェース CommonInterface 内の getClassErrorName

getAppAccount

public java.lang.String getAppAccount()
定義:
インタフェース CommonInterface 内の getAppAccount

getAppPassword

public java.lang.String getAppPassword()
定義:
インタフェース CommonInterface 内の getAppPassword

getAppMenu

public java.lang.String getAppMenu()
定義:
インタフェース CommonInterface 内の getAppMenu

getAppAuthority

public java.lang.String getAppAuthority()
定義:
インタフェース CommonInterface 内の getAppAuthority

getQueryStartLine

public java.lang.String getQueryStartLine()
定義:
インタフェース CommonInterface 内の getQueryStartLine

getQueryEndLine

public java.lang.String getQueryEndLine()
定義:
インタフェース CommonInterface 内の getQueryEndLine

getQueryPageCount

public java.lang.String getQueryPageCount()
定義:
インタフェース CommonInterface 内の getQueryPageCount

getQueryMaxCount

public java.lang.String getQueryMaxCount()
定義:
インタフェース CommonInterface 内の getQueryMaxCount

getServerParameter

public java.lang.String getServerParameter()
定義:
インタフェース CommonInterface 内の getServerParameter

setServerParameter

public void setServerParameter(java.lang.String value)
定義:
インタフェース CommonInterface 内の setServerParameter

getOutputHtml

public java.lang.String getOutputHtml()

setOutputHtml

public void setOutputHtml(java.lang.String value)

loopOutRecord

protected int loopOutRecord()
outRecordに設定されているItem(Data)数ループを発生させる。 loopOutRecord()はループのたびにloopOutRecordSub(DataInterface outItem,int index)を呼び出します。

loopOutRecordSub

protected int loopOutRecordSub(DataInterface outItem,
                               int index)
loopOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。

loopInRecord

protected int loopInRecord()
inRecordに設定されているItem(Data)数ループを発生させる。 loopInRecord()はループのたびにloopInRecordSub(DataInterface inItem,int index)を呼び出します。

loopInRecordSub

protected int loopInRecordSub(DataInterface inItem,
                              int index)
loopInRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。

loopInOutRecord

protected int loopInOutRecord()
inRecord、outRecordに設定されているItem(Data)数ループを発生させる。 loopInOutRecord()はループのたびにloopInOutRecordSub(DataInterface inItem,DataInterface outItem,int index)を呼び出します。

loopInOutRecordSub

protected int loopInOutRecordSub(DataInterface inItem,
                                 DataInterface outItem,
                                 int index)
loopInOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。

getErrorMessage

public java.lang.String getErrorMessage(java.lang.String key,
                                        java.lang.Object[] args)
標準ロジッククラス用エラーメッセージ取得

getErrorMessage

public java.lang.String getErrorMessage(java.lang.String key,
                                        java.lang.Object arg)
標準ロジッククラス用エラーメッセージ取得

setErrorMessageMustInRecord

public void setErrorMessageMustInRecord(int mustCount)
入力レコードが必須だが設定が無かったときのエラー エラーメッセージに設定まで行います。
パラメータ:
mustCount - 必須であるデータ数

setErrorMessageMustOutRecord

public void setErrorMessageMustOutRecord(int mustCount)
出力レコードが必須だが設定が無かったときのエラー エラーメッセージに設定まで行います。 エラーメッセージに設定まで行います。
パラメータ:
mustCount - 必須であるデータ数

setErrorMessageMustParamIsNumber

public void setErrorMessageMustParamIsNumber()
出力レコードが必須だが設定が無かったときのエラー エラーメッセージに設定まで行います。 エラーメッセージに設定まで行います。
パラメータ:
mustCount - 必須であるデータ数

setInRecord

public void setInRecord(jp.ne.mki.wedge.common.library.HashVector inRecord)
インタフェース RuleEngineInterface の記述:
InputRecord設定
定義:
インタフェース RuleEngineInterface 内の setInRecord
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
HashVector - 入力レコード

setOutRecord

public void setOutRecord(jp.ne.mki.wedge.common.library.HashVector outRecord)
インタフェース RuleEngineInterface の記述:
OutputRecord設定
定義:
インタフェース RuleEngineInterface 内の setOutRecord
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
HashVector - 出力レコード

setId

public void setId(java.lang.String id)
インタフェース RuleEngineInterface の記述:
IDを設定する
定義:
インタフェース RuleEngineInterface 内の setId

setPhysicalName

public void setPhysicalName(java.lang.String physicalName)
インタフェース RuleEngineInterface の記述:
物理名称を設定する
定義:
インタフェース RuleEngineInterface 内の setPhysicalName
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
name -  

setLogicalName

public void setLogicalName(java.lang.String logicalName)
インタフェース RuleEngineInterface の記述:
論理名称を設定する
定義:
インタフェース RuleEngineInterface 内の setLogicalName
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
name -  

setRuleParameter

public void setRuleParameter(java.lang.String ruleParameter)
インタフェース RuleEngineInterface の記述:
ルールパラメータを設定する
定義:
インタフェース RuleEngineInterface 内の setRuleParameter
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
name -  

setExecuteType

public void setExecuteType(int type)
インタフェース CommonInterface の記述:
実行タイプ設定
定義:
インタフェース CommonInterface 内の setExecuteType
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface からコピーされたタグ:
パラメータ:
int - 実行タイプ

setUserConstant

public void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
インタフェース RuleEngineInterface の記述:
ユーザ定数を設定する
定義:
インタフェース RuleEngineInterface 内の setUserConstant
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
userConstant -  

setControlRecord

public void setControlRecord(jp.ne.mki.wedge.run.data.ControlRecord controlRecord)
インタフェース RuleEngineInterface の記述:
コントロールレコードを設定する
定義:
インタフェース RuleEngineInterface 内の setControlRecord
インタフェース jp.ne.mki.wedge.run.interfaces.RuleEngineInterface からコピーされたタグ:
パラメータ:
controlRecord -  

setManager

public void setManager(java.lang.Object manager)
クライアント Managerオブジェクトを設定する
定義:
インタフェース RuleEngineInterface 内の setManager
パラメータ:
manager -  

setHtmlManager

public void setHtmlManager(java.lang.Object manager)
HTMLGateway Managerオブジェクトを設定する。
定義:
インタフェース RuleEngineInterface 内の setHtmlManager
パラメータ:
manager -  

setServerControlData

public void setServerControlData(java.lang.Object serverControlData)
serverControlData を設定する。
定義:
インタフェース RuleEngineInterface 内の setServerControlData
パラメータ:
controlRecord -  

setPropertyFromEngine

public void setPropertyFromEngine(java.lang.String key,
                                  java.lang.Object object)
各エンジンから任意の情報を設定する。
定義:
インタフェース RuleEngineInterface 内の setPropertyFromEngine
パラメータ:
key -  
object -  

getErrorMessage

public java.lang.String getErrorMessage()
エラーメッセージ取得
戻り値:
 

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)
エラーメッセージ設定
パラメータ:
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

public int getRowSize(java.util.List itemRecord)
引数で渡されたレコードの 全アイテムを検索し、行サイズを返します。

引数で与えるリスト返り値
itemListが0件の場合0
itemListが全てTEXTアイテムの場合1
itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致する場合COLTEXTの行数
itemListがCOLTEXTアイテムを含んでおり、全てのCOLTEXTアイテムの行数が一致しない場合RuntimeExceptionを返す
パラメータ:
itemRecord - 行番号を取得したいアイテムを格納したList
戻り値:
行サイズ

dataClearOfOutRecord

public void dataClearOfOutRecord()
出力アイテムのデータを全て削除します。
dataClearOfRecord(getOutRecord())
と 同等の処理を行います。

dataClearOfRecord

public void dataClearOfRecord(java.util.List itemRecord)
引数で渡されたレコードの 全アイテムを全て削除します。
パラメータ:
itemRecord - 削除したいアイテムを格納したList

getEngineManager

public EngineManagerInterface getEngineManager()
実行エンジンManagerを取得する
定義:
インタフェース CommonInterface 内の getEngineManager
戻り値:
 
導入されたバージョン:
ver1.2

logFatal

public void logFatal(java.lang.String message)
致命的なエラーに関するメッセージを出力します。
定義:
インタフェース CommonInterface 内の logFatal
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

logFatal

public void logFatal(java.lang.String message,
                     java.lang.Throwable th)
致命的なエラーに関するメッセージを出力します。
定義:
インタフェース CommonInterface 内の logFatal
パラメータ:
message - メッセージ
th - 例外オブジェクト
導入されたバージョン:
ver1.2

logError

public void logError(java.lang.String message)
エラーメッセージを出力します。
定義:
インタフェース CommonInterface 内の logError
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

logError

public void logError(java.lang.String message,
                     java.lang.Throwable th)
エラーメッセージを出力します。
定義:
インタフェース CommonInterface 内の logError
パラメータ:
message - メッセージ
th - 例外オブジェクト

logWarn

public void logWarn(java.lang.String message)
警告メッセージを出力します。
定義:
インタフェース CommonInterface 内の logWarn
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

logWarn

public void logWarn(java.lang.String message,
                    java.lang.Throwable th)
警告メッセージを出力します。
定義:
インタフェース CommonInterface 内の logWarn
パラメータ:
message - メッセージ
th - 例外オブジェクト
導入されたバージョン:
ver1.2

logInfo

public void logInfo(java.lang.String message)
情報メッセージを出力します。
定義:
インタフェース CommonInterface 内の logInfo
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

logDebug

public void logDebug(java.lang.String message)
デバッグの情報に関するメッセージを出力します。
定義:
インタフェース CommonInterface 内の logDebug
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

logTrace

public void logTrace(java.lang.String message)
詳細なデバッグ情報メッセージを出力します。
定義:
インタフェース CommonInterface 内の logTrace
パラメータ:
message - メッセージ
導入されたバージョン:
ver1.2

log

public void log(java.util.logging.LogRecord record)
LogRecordのログ出力
パラメータ:
record -  
導入されたバージョン:
ver1.2