クラス CheckBigSmall

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

public class CheckBigSmall extends AbstractCommon

大小比較チェック


InRecord(0)とInRecord(1)の値の比較を行います。
InRecord(0)>InRecord(1)は可
InRecord(0)<=InRecord(1)は不可
になります。不可の場合には、USER_ERRORを返します。
InRecord(0),InRecord(1)には数値の格納されたアイテムを設定して下さい。
また、InRecordには必ず二つの項目を設定して下さい。


[I/O RECORD]

InputRecord OutputRecord
  1. 大数値項目
  2. 小数値項目

[RULE PARAMETER]

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

    • big

      jp.ne.mki.wedge.run.interfaces.DataInterface big
    • small

      jp.ne.mki.wedge.run.interfaces.DataInterface small
  • コンストラクタの詳細

    • CheckBigSmall

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

    • getIOParameter

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

      public int execute()
      チェック処理を実行します。
      戻り値:
       int BusinessRuleの戻り値を参照
    • exit

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