public class UseTargetQuantityDatatype extends AbstractMeasurementRule
dumpFilePath, ignoreMissingValues, measurementHolderRef, resultRef
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
UseTargetQuantityDatatype() |
Modifier and Type | Method and Description |
---|---|
void |
changeDatatype(NameValueUnit[][] nvu,
java.lang.String nameAttr,
java.lang.String dtAttr)
Change the data type.
|
void |
execute()
Execute the program.
|
NameValueUnit[][] |
getValue()
call execute()
|
void |
init()
The init method, get and check the arguments
|
void |
terminate()
The terminate method reset the private variables.
|
void |
updateLcDatatype(NameValueUnit[][] nvu,
java.lang.String nameAttr,
java.lang.String dtAttr)
Change the data type.
|
getDumpFilePath, getMeasurementHolder, setValue, storeResult
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
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, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public NameValueUnit[][] getValue() throws RuleException
getValue
in interface RuleIF
getValue
in class AbstractMeasurementRule
RuleException
RuleIF.setValue(NameValueUnit[][] nvu)
public void updateLcDatatype(NameValueUnit[][] nvu, java.lang.String nameAttr, java.lang.String dtAttr) throws ExecutableException
nvu
- The NameValueUnit[][] that holds the instances ant attributesnameAttr
- The name of the attribute containing the namedtAttr
- The name of the attribute containing the data typeExecutableException
public void execute() throws ExecutableException
AbstractRule
execute
in interface ExecutableIF
execute
in class AbstractMeasurementRule
ExecutableException
- if execution fails.public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractMeasurementRule
InitializationFailedException
- if the initialization fails.AbstractImplementation.init()
public void terminate() throws TerminationException
terminate
in interface ExecutableIF
terminate
in class AbstractRule
TerminationException
- if termination fails.AbstractSequencerRule.terminate()
public void changeDatatype(NameValueUnit[][] nvu, java.lang.String nameAttr, java.lang.String dtAttr) throws ExecutableException
nvu
- The NameValueUnit[][] that holds the instances ant attributesnameAttr
- The name of the attribute containing the namedtAttr
- The name of the attribute containing the data typeExecutableException