public class RoundValue extends AbstractCommon
InRecordの小数点を丸め込む。
カンマ区切りで [少数点x位] と[丸め方]を指定します。
例)
InputRecord | OutputRecord |
---|---|
|
|
Parameter |
カンマ区切りで 少数点x位,丸め方を指定。 (3と指定をすると、 A.BCという形になる(小数点3桁目を処理)) 丸め方は下記のとおりです。
|
---|
修飾子とタイプ | フィールドと説明 |
---|---|
(package private) int |
round |
(package private) int |
scale |
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
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
コンストラクタと説明 |
---|
RoundValue() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
execute()
パラメータの値を設定する処理を実行。
|
void |
exit()
終了処理。
|
int |
getIOParameter()
IOパラメータ取得。
|
protected int |
loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem,
jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopInOutRecord()から呼び出されるメソッドです。
|
protected int |
loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem,
int index)
loopOutRecord()から呼び出されるメソッドです。
|
getLogicClassType, getManager, terminate
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInRecord, loopInRecordSub, loopOutRecord, setControlRecord, setEngineManager, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLog
public int execute()
protected int loopOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
AbstractBase
loopOutRecordSub
クラス内 AbstractBase
protected int loopInOutRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inItem, jp.ne.mki.wedge.run.interfaces.DataInterface outItem, int index)
AbstractBase
loopInOutRecordSub
クラス内 AbstractBase
public int getIOParameter()
execute
の前に実行される。public void exit()