jp.ne.mki.wedge.rule.common.value
$B%/%i%9(B ReplaceOneChar

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.base.AbstractBase
        |
        +--jp.ne.mki.wedge.rule.base.AbstractCommon
              |
              +--jp.ne.mki.wedge.rule.common.value.ReplaceOneChar
$B$9$Y$F$N
CommonInterface, RuleEngineInterface

public class ReplaceOneChar
extends AbstractCommon

1$BJ8;zJQ49(B($BJ#?t;XDj(B)


$B%Q%i%a!<%?$G@_Dj$5$l$?JQ99A0J8;z(B(char)$B$HJQ998eJ8;z(B(char)$B$rJQ49$7$^$9!#(B
$B!V(Ba$B!W$r!V(Bb$B!W$KJQ49$9$k>l9g$K$O!"%Q%i%a!<%?$K!V(Ba,b$B!W$H@_Dj$7$F2<$5$$!#(B


[I/O RECORD]

InputRecord OutputRecord
  1. $BJQ99A0$NJ8;zNs$r4^$s$@9`L\(B($BJ#?t;XDj2DG=(B)
  1. $BJQ998e$NJ8;zNs$r@_Dj$9$k9`L\(B($BJ#?t;XDj2DG=(B)

[RULE PARAMETER]

Parameter $BJQ49A0J8;z(B+(I"(B,(I#(B+$BJQ498eJ8;z(B

$B%P!<%8%g%s(B:
1.0
$B:n@.
mki

$B%U%#!<%k%I$N35MW(B
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  char[] param
           
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  DataInterface to
           
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%U%#!<%k%I(B
controlRecord, errorMessage, executeType, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
$B%$%s%?%U%'!<%9(B jp.ne.mki.wedge.rule.base.interfaces.CommonInterface $B$+$i7Q>5$7$?%U%#!<%k%I(B
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
 
$B%3%s%9%H%i%/%?$N35MW(B
ReplaceOneChar()
           
 
$B%a%=%C%I$N35MW(B
 int execute()
          $BJQ49=hM}$r
 void exit()
          $B=*N;=hM}!#(B
 int getIOParameter()
          IO$B%Q%i%a!<%?
protected  int loopInOutRecordSub(DataInterface inItem, DataInterface outItem, int index)
          $B=PNO9`L\$K!"F~NO9`L\$NJQ498eJ8;zNs$r@_Dj$7$^$9!#(B
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractCommon $B$+$i7Q>5$7$?%a%=%C%I(B
setHtmlManager, setManager, setServerControlData, setWedgeLog, showErrorDialog, terminate, writeErrorLog, writeLog, writeLog
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%a%=%C%I(B
callDispose, createErrorMessage, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantValue, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutputHtml, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, loopInOutRecord, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog
 
$B%/%i%9(B java.lang.Object $B$+$i7Q>5$7$?%a%=%C%I(B
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

$B%U%#!<%k%I$N>\:Y(B

to

DataInterface to

param

char[] param
$B%3%s%9%H%i%/%?$N>\:Y(B

ReplaceOneChar

public ReplaceOneChar()
$B%a%=%C%I$N>\:Y(B

execute

public int execute()
$BJQ49=hM}$r
$BLa$jCM(B:
int BusinessRule$B$NLa$jCM$r;2>H(B

loopInOutRecordSub

protected int loopInOutRecordSub(DataInterface inItem,
                                 DataInterface outItem,
                                 int index)
$B=PNO9`L\$K!"F~NO9`L\$NJQ498eJ8;zNs$r@_Dj$7$^$9!#(B
In/OutRecord$B$N9T?tJ,7+$jJV$7=hM}$r9T$o$l$^$9!#(B
$B%*!<%P!<%i%$%I(B:
$B%/%i%9(B AbstractBase $BFb$N(B loopInOutRecordSub
$BLa$jCM(B:
int BusinessRule$B$NLa$jCM$r;2>H(B

getIOParameter

public int getIOParameter()
IO$B%Q%i%a!<%?execute $B$NA0$K
$BLa$jCM(B:
int OK=$B=hM}B39T!"(BERROR=$B0[>o=*N;!"(BCANCEL=$B=hM}$rCfCG(B($B@5>o=*N;(B)

exit

public void exit()
$B=*N;=hM}!#J];}$7$F$$$?JQ?t$J$I$r3+J|$9$k=hM}$r5-=R$7$^$9!#(B
execute $B$N8e$K$B@5>o=*N;!&0[>o=*N;$J$I$K4X$o$i$:I,$: