クラス SetValue

すべての実装されたインタフェース:
CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface

public class SetValue extends AbstractCommon

値を設定(複数指定)


OutRecordに指定された項目にパラメータで指定された値を設定する。


[I/O RECORD]

InputRecord OutputRecord
  1. Parameterの文字列を設定したい項目(複数指定)

[RULE PARAMETER]

Parameter 設定したい文字列
バージョン:
1.0
  • コンストラクタの詳細

    • SetValue

      public SetValue()
  • メソッドの詳細

    • execute

      public int execute()
      パラメータの値を設定する処理を実行。OutRecordに指定されているもの全てを処理します。
      戻り値:
       int BusinessRuleの戻り値を参照
    • loopOutRecordSub

      public int loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
      出力項目に、パラメータの文字列を設定します。
      In/OutRecordの行数分繰り返し処理を行われます。
      オーバーライド:
      loopOutRecordSub クラス内 AbstractBase
      パラメータ:
      outItem -
      戻り値:
       int BusinessRuleの戻り値を参照
    • getIOParameter

      public int getIOParameter()
      IOパラメータ取得。execute の前に実行される。
      戻り値:
      int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)
    • exit

      public void exit()
      終了処理。保持していた変数などを開放する処理を記述します。
      execute の後に実行されます。
      正常終了・異常終了などに関わらず必ず実行されます。