jp.ne.mki.wedge.run.interfaces
インタフェース RuleEngineInterface

既知のサブインタフェースの一覧:
ClientInterface, CommonInterface
既知の実装クラスの一覧:
AbstractBase, AbstractClient, AbstractCommon, AbstractGet, AbstractGetXmlFromItem, AbstractHttpAccess, AbstractLayoutRule, AbstractPost, AbstractReadXmlFromData, AbstractRposDivide, AbstractXsltFromItem, AddCsvFileFromItem, AddForward, AddForwardDoubleQuote, AddForwardGreaterThanSign, AddForwardLessThanSign, AddForwardReturnCode, AddForwardTabCode, AddForwardYen, AddTabPanel, AddTail, AddTailDoubleQuote, AddTailGreaterThanSign, AddTailLessThanSign, AddTailReturnCode, AddTailTabCode, AddTailYen, AvgColumnText, Base64Decode, Base64Encode, BRTagConvert, CallJavaScript, CallPerlRule, CalParamValue, CapitalLetterConvert, CheckBigSmall, CheckBigSmallParameter, CheckByteLengthParameter, CheckColtextLineNothing, CheckDataType, CheckDate, CheckDate8, CheckEqual, CheckEqualObject, CheckEqualParameter, CheckEqualParameterIgnoreCase, CheckExists, CheckExistsFile, CheckInputRecord, CheckIsDirectory, CheckIsFile, CheckIsVisibleFrame, CheckItemInParameter, CheckNotColtextLineNothing, CheckNotEqual, CheckNotEqualParameter, CheckNotEqualParameterIgnoreCase, CheckNotExists, CheckNotExistsFile, CheckPostNo, CheckRegexMatch, CheckRepetition, CheckSubString, ClearValue, CloseFrame, ColtextAddValue, CompulsionUserError, CopyColumnToColumn, CopyColumnToLine, CopyFile, CopyLineToColumn, CopyValue, CreateXmlFromItemToFile, CutMaxLength, CutRecordSize, DataClear, DataRotate, DateFormatChange, DateFormatChangeSetSourceFormat, DateJoin, DateNext, DatePrev, DateSplit, DateToYYYYAndMMAndDD, DecimalCalcAdd, DecimalCalcAnIndex, DecimalCalcDivide, DecimalCalcMod, DecimalCalcMultiPly, DecimalCalcSubtract, Decode, DecodeByItem, DeleteFile, DetailTableMergeUnion, DivideInsertUpdateDelete, DownloadFileFromURL, Dummy, EmptyRowDelete, EmptyRowThenTableRowDelete, ExecuteAfterEvent, ExecuteAfterTakeOver, ExecuteAfterUntilEmpty, ExecuteBeforeEvent, ExecuteFile, ExecutionControl_Index, ExecutionControl_Parameter, ExtensionFileChooser, FileTransferRule, FolderChooser, ForeachExecuteAfter, FrameHidden, FrameVisible, FullCharConvert, GetAbsoluteValue, GetConstantValue, GetControlRecordValue, GetCurrentComponentValue, GetCurrentTabIndex, GetCurrentTimeMillis, GetFileInfo, GetFileList, GetFrameName, GetIpAddress, GetLineMatch, GetMaxValue, GetMinValue, GetMonthFirstDayAndEndDay, GetNameMatch, GetNCharacterFromHead, GetNextColtextValue, GetOptionalData, GetPageValue, GetParameter, GetSelectedIndex, GetServerParameter, GetSignumValue, GetTableHeaderValue, GetTableSelectedCoordinates, GetTableSelectedValue, GetTerm, GetToday, GetToday_Jpn_YYMMDD, GetURLForOpen, GetUserObjects, GetYobi, GroupIndicate, HalfCharConvert, HiraganaToKatakana, IfLessThanSetParam, IfMatchItemThenCopyValue, IfMatchParamThenCopyValue, IfMatchParamThenTableRowDelete, IfUnMatchItemThenCopyValue, IfUnMatchParamThenCopyValue, InsertValue, JoinColtext, JoinMultiItems, JoinUniqueFont, JWSReadCsvFile, JWSReadFile, JWSWriteCsvFile, JWSWriteFile, KanjiConvert, KatakanaToHiragana, ListClear, LogDebug, LogError, LogFatal, LogInfo, LogTrace, LogWarn, MakeDirectory, MergeDown, MergeSort, MergeUp, MonthNext, MonthPrev, OpenURL, ParamAdd, PostLineMatch, PostNameMatch, PrintFrame, PutOptionalData, QuickSort, QuickSortDown, QuickSortUp, ReadBinaryToItem, ReadCsvFileToItem, ReadFileToItem, ReadXmlFromDataLineMatch, ReadXmlFromDataNameMatch, RearrangeTab, RearrangeTable, RegexReplace, RemoveOptionalData, RemoveTabPanel, RemoveUserObjects, RemoveValue, RenameFile, ReplaceOneChar, ReplaceString, RoundValue, RposDivideForFlag, RposJoin, SampleForHtml, SearchIndexForColtext, SendMail, SetAllDaysForTerm, SetAllValueForRange, SetBackColor, SetBackColorToTableEditor, SetBackColorToTableRenderer, SetBorderLayout, SetCalendarToPanel, SetCaretUpdatePolicy, SetCheckEnum, SetCheckExists, SetCheckFixLength, SetCheckLength, SetCheckMaximum, SetCheckMinimum, SetColtextValue, SetColumnWidth, SetComboHorizontalScrollBar, SetComboMaxRow, SetComboSelectedKey, SetComponentText, SetCurrentTabIndex, SetDefaultFocusComponent, SetDefaultValue, SetDisabledMenu, SetDisabledToolbar, SetDisableItems, SetEditable, SetEditableTableColumn, SetEnabledByInItem, SetEnabledMenu, SetEnabledToolbar, SetEnableItems, SetFocus, SetFocusToTableCell, SetFontToTableAllColumn, SetFontToTableEditor, SetFontToTableRenderer, SetForeColor, SetForeColorToTableEditor, SetForeColorToTableRenderer, SetFrameFunctionKeyListener, SetFrameKeyListenerExtends, SetFrameMaximization, SetFrameMinimization, SetFramePosition, SetFunctionKeyMapToButton, SetFunctionKeyMapToToolbar, SetGridBagLayout, SetGridLayout, SetHeadZero, SetHorizontalAlignment, SetItemToTableComboEditor, SetJpnYYToYYYY, SetKeyMapToButton, SetLabelBorder, SetMaxRowSize, SetNullis0else1, SetOrder, SetRealTimeInputCheck, SetRowCount, SetSelect, SetSelectedIndex, SetSelectedRowChangeListener, SetTabChangeListener, SetTabDisabled, SetTabEnabled, SetTableHeaderClickListener, SetTableHeaderValue, SetTableSelectedValue, SetTextPositionToTableEditor, SetTextPositionToTableRenderer, SetTextToTableEditor, SetTextToTableRenderer, SetTimer, SetUnEditableTableColumn, SetUnVisible, SetUserObjects, SetValue, SetValueAndMapping, SetValueForAnyColtext, SetValueForAnyText, SetValueWhereEmpty, SetVerticalAlignment, SetVisible, SetVisibleByInItem, SetWhere, SetWindowTitle, SetYYYYToJpnYY, ShowDBAccessCountDialog, ShowErrorDialog, ShowFileOpenDialog, ShowFileSaveDialog, ShowFrame, ShowImageByUrl, ShowMessageDialog, ShowServerParameterDialog, ShowTableRowControl, ShowYesNoCancelDialog, ShowYesNoDialog, SkipRule, SmallLetterConvert, SplitColtext, SplitMultiItems, SplitUniqueFont, StartOutsideExecuteFile, StartOutsideExecuteFileWaitFor, StructureIfElse, StructureSetErrorFlag, StructureSwitchCase, StructureTryCatch, SubString, SumColumnText, Summary, SynthesisColtextWhereNotEmpty, SystemOutPrintln, TableRowAddition, TableSelectedRowCopy, TableSelectedRowDelete, TableSelectedRowDown, TableSelectedRowInsert, TableSelectedRowMove, TableSelectedRowUp, TableSort, TabTitleNameChange, TimeJoin, TimeSplit, ToolkitPrintFrame, Trim, UpNumberSet, URLEncode, Wait, WriteBinaryFromItem, WriteCsvFileFromItem, WriteErrorLog, WriteFileFromItem, WriteLog, WriteXmlToData, XM_ImageFileChooser, Xslt, ZeroClear, ZeroSuppress

public interface RuleEngineInterface

ビジネスルール:エンジンからのインターフェース.

実行エンジンからロジッククラスを作成するときに、使用するインターフェースです。


メソッドの概要
 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を作成する
 int execute()
           
 int executeRule()
          ビジネスルールを実行する
 void exit()
           
 EngineManagerInterface getEngineManager()
          実行しているエンジンのManagerを取得する
 int getExecuteType()
          実行タイプを取得する
 java.lang.String getId()
          IDを取得します。
  getInRecord()
          InputRecordを取得
 DataInterface getInRecord(int index)
           
 int getIOParameter()
           
 java.lang.String getLogicalName()
          論理名称を取得する
 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()
          ロジッククラス用実行エンジンの委譲クラスを取得する
 jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()
          ロジッククラスタイプを取得します。
  getOutRecord()
          OutputRecordを取得
 DataInterface getOutRecord(int index)
           
 java.lang.String getPhysicalName()
          物理名称を取得する
 java.lang.String getReturnString(int result)
           
 java.lang.String getRuleParameter()
          ロジッククラスパラメータを取得する
 int getRuleType()
           
 void setControlRecord(ControlRecordInterface controlRecord)
          コントロールレコードを設定する
 void setEngineManager(EngineManagerInterface manager)
          実行しているエンジンのManagerを設定する
 void setExecuteType(int type)
          実行タイプ設定
 void setId(java.lang.String id)
          IDを設定します。
 void setInRecord( inRecord)
          InputRecord設定
 void setLogicalName(java.lang.String name)
          論理名称を設定する
 void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
          ロジッククラス用実行エンジンの委譲クラスを設定する
 void setOutRecord( outRecord)
          OutputRecord設定
 void setPhysicalName(java.lang.String name)
          物理名称を設定する
 void setPropertyFromEngine(java.lang.String key, java.lang.Object object)
          各エンジンから任意の情報を設定する。
 void setRuleParameter(java.lang.String name)
          ルールパラメータを設定する
 void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
          ユーザ定数を設定する
 void terminate()
          オブジェクトを解放する
 

メソッドの詳細

executeRule

int executeRule()
                throws java.lang.Throwable
ビジネスルールを実行する

戻り値:
例外:
java.lang.Throwable

terminate

void terminate()
               throws java.lang.Throwable
オブジェクトを解放する

例外:
java.lang.Throwable

setInRecord

void setInRecord( inRecord)
InputRecord設定

パラメータ:
{@link - HashVector} 入力レコード

getInRecord

 getInRecord()
InputRecordを取得

戻り値:
HashVector 出力レコード

setOutRecord

void setOutRecord( outRecord)
OutputRecord設定

パラメータ:
{@link - HashVector} 出力レコード

getOutRecord

 getOutRecord()
OutputRecordを取得

戻り値:
HashVector 出力レコード

setId

void setId(java.lang.String id)
IDを設定します。 このIDはリポジトリに格納されているIDになります。

パラメータ:
id - ID

getId

java.lang.String getId()
IDを取得します。

戻り値:

setPhysicalName

void setPhysicalName(java.lang.String name)
物理名称を設定する

パラメータ:
name - 物理名称

getPhysicalName

java.lang.String getPhysicalName()
物理名称を取得する

戻り値:
String 物理名称

setLogicalName

void setLogicalName(java.lang.String name)
論理名称を設定する

パラメータ:
name - 論理名称

getLogicalName

java.lang.String getLogicalName()
論理名称を取得する

戻り値:
String 論理名称

setRuleParameter

void setRuleParameter(java.lang.String name)
ルールパラメータを設定する

パラメータ:
name - ロジッククラスのパラメータ

getRuleParameter

java.lang.String getRuleParameter()
ロジッククラスパラメータを取得する

戻り値:
ロジッククラスのパラメータ

setControlRecord

void setControlRecord(ControlRecordInterface controlRecord)
コントロールレコードを設定する

パラメータ:
controlRecord -

setExecuteType

void setExecuteType(int type)
実行タイプ設定

パラメータ:
int - 実行タイプ

getExecuteType

int getExecuteType()
実行タイプを取得する

戻り値:

setUserConstant

void setUserConstant(jp.ne.mki.wedge.run.library.UserConstant userConstant)
ユーザ定数を設定する

パラメータ:
userConstant -

setEngineManager

void setEngineManager(EngineManagerInterface manager)
実行しているエンジンのManagerを設定する

パラメータ:
manager - 実行しているエンジンのManager
導入されたバージョン:
ver1.3.0

getEngineManager

EngineManagerInterface getEngineManager()
実行しているエンジンのManagerを取得する

戻り値:
manager 実行しているエンジンのManager
導入されたバージョン:
ver1.3.0

setPropertyFromEngine

void setPropertyFromEngine(java.lang.String key,
                           java.lang.Object object)
各エンジンから任意の情報を設定する。 Console毎に特異なObjectを渡したい場合にはこのメソッドを経由して 引渡しして下さい。 KEYの値は任意に設定してください。

パラメータ:
key -
object -

getRuleType

int getRuleType()
戻り値:

getIOParameter

int getIOParameter()
                   throws java.lang.Throwable
戻り値:
例外:
java.lang.Throwable

getReturnString

java.lang.String getReturnString(int result)
パラメータ:
result -
戻り値:

execute

int execute()
            throws java.lang.Throwable
戻り値:
例外:
java.lang.Throwable

exit

void exit()
          throws java.lang.Throwable
例外:
java.lang.Throwable

getInRecord

DataInterface getInRecord(int index)
パラメータ:
index -
戻り値:

getOutRecord

DataInterface getOutRecord(int index)
パラメータ:
index -
戻り値:

getLogicClassDelegate

jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate getLogicClassDelegate()
ロジッククラス用実行エンジンの委譲クラスを取得する

戻り値:
導入されたバージョン:
ver1.3.0

setLogicClassDelegate

void setLogicClassDelegate(jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate logicClassDelegate)
ロジッククラス用実行エンジンの委譲クラスを設定する

パラメータ:
logicClassDelegate -
導入されたバージョン:
ver1.3.0

createLogicLogRecord

java.util.logging.LogRecord createLogicLogRecord(java.util.logging.Level level,
                                                 java.lang.String message,
                                                 java.lang.Throwable th)
LogicLogRecordを作成する

パラメータ:
level -
message -
th -
戻り値:
導入されたバージョン:
ver1.3.0

createLogicErrorLogRecord

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を作成する

パラメータ:
level -
result -
message -
errorCode -
th -
戻り値:
導入されたバージョン:
ver1.3.0

createLogicExceptionLogRecord

java.util.logging.LogRecord createLogicExceptionLogRecord(java.util.logging.Level level,
                                                          java.lang.Throwable th,
                                                          java.lang.String errorCode)
LogicExceptionLogRecordを作成する

パラメータ:
level -
th -
errorCode -
戻り値:
導入されたバージョン:
ver1.3.0

getLogicClassType

jp.ne.mki.wedge.run.enums.LogicClassType getLogicClassType()
ロジッククラスタイプを取得します。 getRuleType()はexecuteRule()を実行するまでの間はBothとして認識されてしまうのに対し、 このメソッドはインスタンス直後から固定のロジッククラスタイプを返します。

戻り値:
導入されたバージョン:
1.3.0-03