public class FunctionBase extends Object implements FunctionIntf
| Modifier and Type | Field and Description |
|---|---|
protected DataProcessConfigIntf |
dataProcessConfigIntf |
protected DataProcessEngine |
dataProcessEngine |
protected DateUtil |
dateUtil |
protected boolean |
skipDateFormat |
| Constructor and Description |
|---|
FunctionBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
doColumnMath(DataProcessField aField,
String aPriorValue,
String aSign,
String aValue) |
String |
doFunction(String aValue,
String aFunction,
DataProcessField aField) |
protected Date |
getCurrentDate(String aValue,
DataProcessField aField) |
int |
getDefError() |
void |
init(DataProcessConfigIntf aConfig,
DataProcessEngine anEngine) |
boolean |
isSkipDateFormat() |
protected String |
replaceValues(String aInStr,
boolean aIncludeApos) |
protected String |
setFunctionValue(String aValue) |
void |
shutdown() |
protected DataProcessConfigIntf dataProcessConfigIntf
protected DataProcessEngine dataProcessEngine
protected DateUtil dateUtil
protected boolean skipDateFormat
public void init(DataProcessConfigIntf aConfig, DataProcessEngine anEngine) throws Exception
init in interface FunctionIntfExceptionpublic String doFunction(String aValue, String aFunction, DataProcessField aField) throws Exception
doFunction in interface FunctionIntfExceptionpublic String doColumnMath(DataProcessField aField, String aPriorValue, String aSign, String aValue) throws Exception
doColumnMath in interface FunctionIntfExceptionpublic void shutdown()
throws Exception
shutdown in interface FunctionIntfExceptionprotected Date getCurrentDate(String aValue, DataProcessField aField) throws Exception
Exceptionpublic boolean isSkipDateFormat()
isSkipDateFormat in interface FunctionIntfpublic int getDefError()
Copyright © 2020. All rights reserved.