public class UnitAliasesMapping extends AbstractImplementation implements MappingValueIF
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
aliasMap |
protected java.lang.String |
encoding |
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
UnitAliasesMapping() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the program.
|
void |
init()
Initialize the work.
|
TS_Value |
map(TS_Value toMap,
java.lang.String attrName,
int lineNo)
Map the value, the TS_Value is return with possible a modified value.
|
void |
terminate()
Terminate the execution.
|
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected java.lang.String encoding
protected java.util.HashMap<java.lang.String,java.lang.String> aliasMap
public void init() throws InitializationFailedException
AbstractImplementation
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public void execute() throws ExecutableException
ExecutableIF
execute
in interface ExecutableIF
ExecutableException
- if execution fails.public void terminate() throws TerminationException
ExecutableIF
terminate
in interface ExecutableIF
TerminationException
- if termination fails.public TS_Value map(TS_Value toMap, java.lang.String attrName, int lineNo) throws RuleException
map
in interface MappingValueIF
toMap
- value to map, the null nothing will be done.attrName
- attribute name (not used)lineNo
- line number i data set (not used)RuleException
- not used.