クラス GetAbsoluteValue

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

public class GetAbsoluteValue extends AbstractCommon

絶対値取得


InRecordに指定された値の絶対値を取得します。


[I/O RECORD]

InputRecord OutputRecord
  1. 対象の項目(複数指定)
  1. Inで設定した値の絶対値(複数指定)

[RULE PARAMETER]

Parameter
導入されたバージョン:
1.2.0
  • コンストラクタの詳細

    • GetAbsoluteValue

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

    • getIOParameter

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

      public int execute()
      処理実行
      戻り値:
      int
    • loopInOutRecordSub

      public int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
      カラムの項目を足し算します
      In/OutRecordの行数分繰り返し処理を行われます。
      オーバーライド:
      loopInOutRecordSub クラス内 AbstractBase
      パラメータ:
      inItem -
      outItem -
      index -
      戻り値:
       int BusinessRuleの戻り値を参照
    • exit

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