クラス CheckPostNo

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

public class CheckPostNo extends AbstractCommon

郵便番号の正規表現チェック


InRecordの郵便番号をチェックする。


[I/O RECORD]

InputRecord OutputRecord
  1. 郵便番号アイテム

[RULE PARAMETER]

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

    • CheckPostNo

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

    • execute

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

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

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

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