クラス EmptyRowDelete

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

public class EmptyRowDelete extends AbstractCommon

空行の削除


InputRecord に指定された項目を順に参照し、全て空の場合はその行を削除する。 ※Inのアイテム数とOutのアイテム数は、一致しなければいけない。 ※データが全く存在しない場合はERRORを返します。


[I/O RECORD]

InputRecord OutputRecord
  1. 対象項目(複数指定可能)
  1. 削除後項目(Inのアイテム数と一致)

[RULE PARAMETER]

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

    • inItem

      jp.ne.mki.wedge.run.interfaces.DataInterface inItem
    • outItem

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

    • EmptyRowDelete

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

    • exit

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

      public int getIOParameter()
      処理に必要なITEMをI/ORecordより取得。execute の前に実行される。
      入力がNullの場合はERRORを返します。
      戻り値:
      int OK=処理続行、ERROR=異常終了
    • execute

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