クラス SplitMultiItems

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

public class SplitMultiItems extends AbstractCommon

文字列分解


InputRecord に指定された項目を分解し OutputRecord に指定された 項目にセットする。パラメータにセパレータを指定する。


[I/O RECORD]

InputRecord OutputRecord
  1. 分解元文字列
  1. 分解した個々の文字列(複数指定)

[RULE PARAMETER]

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

    • SplitMultiItems

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

    • exit

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

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

      public int execute()
      文字結合を行う
      戻り値:
      int
    • loopOutRecordSub

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