クラス GetCurrentComponentValue

java.lang.Object
jp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractClient
jp.ne.mki.wedge.rule.client.component.GetCurrentComponentValue
すべての実装されたインタフェース:
ClientInterface, CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface

public class GetCurrentComponentValue extends AbstractClient

現在実行されているアイテムの値を取得します

現在実行されているアイテムの値を取得します。入力引数には設定が要りません。出力引数に取得した値を格納するITEMを一つ設定してください。 テーブルなど複数行対応のコンポーネントに対しては現在処理中の行の値が設定されます。つまり出力には常にTEXT(1行)の値が設定されます。


[I/O RECORD]

InputRecord OutputRecord
結果の値を設定するアイテム

[RULE PARAMETER]

Parameter
バージョン:
1.0
  • フィールド詳細

    • out

      jp.ne.mki.wedge.run.client.data.Item out
  • コンストラクタの詳細

    • GetCurrentComponentValue

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

    • getIOParameter

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

      public int execute() throws Throwable
      表示不可に変更する処理を実行。OutputRecordに指定されているもの全てを処理する。
      戻り値:
       int BusinessRuleの戻り値を参照
      例外:
      Throwable
    • exit

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