jp.ne.mki.wedge.rule.compat10.common.value
クラス V10xIfMatchParamThenCopyValue

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.AbstractBusinessRule
        |
        +--jp.ne.mki.wedge.rule.compat10.common.value.V10xIfMatchParamThenCopyValue
すべての実装インタフェース:
BusinessRuleInterface, RuleEngineInterface
直系の既知のサブクラス:
V10xIfUnMatchParamThenCopyValue

public class V10xIfMatchParamThenCopyValue
extends AbstractBusinessRule

特殊条件のもと、データをコピーする。


Indata(0)のデータが設定したパラメータと合致した場合、
その行のデータを出力する。

このプログラムの性質上、Indata.sizeとOutdata.sizeの数が同じにする必要があり、 また、全てのCOLTEXTデータのCOL数を合わせる必要もある。 比較対照となるデータはInput パラメータの1番目。 出力が0件の場合 USER_ERROR を 設定


[I/O RECORD]

InputRecord OutputRecord
  1. コピー元のCOLTEXT(複数指定可能)
  1. コピー先のCOLTEXT(複数指定可能)

[PARAMETER]

Parameter

バージョン:
1.0
作成者:
mki

クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したフィールド
className, errorMessage, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface から継承したフィールド
CANCEL, ERROR, OK, SKIP, USER_ERROR
 
コンストラクタの概要
V10xIfMatchParamThenCopyValue()
           
 
メソッドの概要
 int execute()
          処理を実行。
 void exit()
          コンストラクタ
 int getIOParameter()
          IOパラメータ取得。
 boolean ifCondition(java.lang.String value)
           
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したメソッド
createErrorMessage, executeRule, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getClientRuleObject, getCodeBase, getComponent, getComponent, getConfig, getConfImagePath, getConnectionId, getConnectionPoolId, getConstantValue, getContentPane, getCurrentComponent, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getExceptionMessage, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecuteType, getExecutions, getExpectNextComponent, getFrame, getHtmlExecution, getHtmlManagerObject, getId, getImageIcon, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getManager, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleType, getRuleTypeName, getServerControlData, getServerData, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getStepParameter, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isApplet, isApplication, isClientTraceMode, isConpiled, isExecutable, isJWS, isServerTraceMode, isWeb, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setControlRecord, setControlRecordVector, setExecuteParameter, setExecuteType, setFocus, setFocus, setFocus, setHtmlExecution, setHtmlManager, setId, setInRecord, setLogicalName, setManager, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerControlData, setServerData, setServerParameter, setStatusBarText, setUserConstant, setWedgeLog, showDocument, showErrorDialog, showErrorDialogAddRuleName, showFrame, showFrame, terminate, writeLog, writeLog, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

V10xIfMatchParamThenCopyValue

public V10xIfMatchParamThenCopyValue()
メソッドの詳細

exit

public void exit()
コンストラクタ
パラメータ:
manager - Object
name - String
label - String

getIOParameter

public int getIOParameter()
インタフェース BusinessRuleInterface の記述:
IOパラメータ取得。execute の前に実行される。
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface からコピーされたタグ:
戻り値:
int int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)

ifCondition

public boolean ifCondition(java.lang.String value)

execute

public int execute()
インタフェース BusinessRuleInterface の記述:
処理を実行。
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface からコピーされたタグ:
戻り値:
int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)、SKIP=次行を実行しない、USER_ERROR=戻り値をユーザ側で任意に設定