|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractCommon
jp.ne.mki.wedge.rule.common.value.RemoveValue
public class RemoveValue
OutRecordに指定された項目の中から特定行の項目を削除する。
削除行の指定はInRecord、又はパラメータにて指定をする。
削除行の指定にはInRecordに複数項目を指定することも可能。
パラメータに指定するときにはカンマ区切りで複数項目を指定することも可能。
対象行が存在しない場合、USER_ERRORを返します。
| InputRecord | OutputRecord |
|---|---|
|
|
| Parameter | 削除行番号(入力レコード省略時) |
|---|
| フィールドの概要 | |
|---|---|
(package private) int |
outLoopMode
|
(package private) java.util.ArrayList<java.lang.Integer> |
removeLineVector
|
| クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承されたフィールド |
|---|
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant |
| インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承されたフィールド |
|---|
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR |
| コンストラクタの概要 | |
|---|---|
RemoveValue()
|
|
| メソッドの概要 | |
|---|---|
int |
execute()
処理を実行。 |
void |
exit()
終了処理。 |
int |
getIOParameter()
IOパラメータ取得。 |
protected int |
loopInRecordSub(DataInterface inItem,
int index)
InRecordに設定された削除対象行の一覧を抽出する |
protected int |
loopOutRecordSub(DataInterface outItem,
int index)
このメソッドはロジッククラスから二回呼び出されます。 |
protected int |
valueCheck(DataInterface outItem)
削除行が 存在するかチェックを行います。 |
protected int |
valueRemove(DataInterface outItem)
outItemからデータを削除します。 |
| クラス jp.ne.mki.wedge.rule.base.AbstractCommon から継承されたメソッド |
|---|
getLogicClassType, getManager, terminate |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
java.util.ArrayList<java.lang.Integer> removeLineVector
int outLoopMode
| コンストラクタの詳細 |
|---|
public RemoveValue()
| メソッドの詳細 |
|---|
public int execute()
CommonInterface の記述:
protected int loopInRecordSub(DataInterface inItem,
int index)
AbstractBase 内の loopInRecordSubAbstractBase.loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface, int)
protected int loopOutRecordSub(DataInterface outItem,
int index)
AbstractBase 内の loopOutRecordSubAbstractBase.loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface, int)protected int valueCheck(DataInterface outItem)
outItem -
protected int valueRemove(DataInterface outItem)
outItem -
public int getIOParameter()
execute の前に実行される。
public void exit()
execute の後に実行されます。
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||