クラス SetRowCount

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

public class SetRowCount extends AbstractCommon

行数設定(複数指定)


InRecordに指定されたCOLTEXTの行数を取得します。


[I/O RECORD]

InputRecord OutputRecord
  1. COLTEXTの項目(複数指定可能)
  1. 行数値を設定する項目(複数指定可能)

[RULE PARAMETER]

Parameter
バージョン:
1.0
  • コンストラクタの詳細

    • SetRowCount

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

    • execute

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

      protected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
      クラスからコピーされた説明: AbstractBase
      loopInOutRecord()から呼び出されるメソッドです。ユーザが任意に記述をします。
      オーバーライド:
      loopInOutRecordSub クラス内 AbstractBase
      パラメータ:
      inItem -
      outItem -
      index -
      戻り値:
      int
    • getIOParameter

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

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