public class UseTargetQuantityDatatype extends AbstractMeasurementRule
dumpFilePath, ignoreMissingValues, measurementHolderRef, resultRefloggerName, postMethods, preMethods, sessionRefarguments, 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, storeResultexecute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toStringaddAttributesToNameValueUnitArray, 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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorpublic NameValueUnit[][] getValue() throws RuleException
getValue in interface RuleIFgetValue in class AbstractMeasurementRuleRuleExceptionRuleIF.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 typeExecutableExceptionpublic void execute()
throws ExecutableException
AbstractRuleexecute in interface ExecutableIFexecute in class AbstractMeasurementRuleExecutableException - if execution fails.public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractMeasurementRuleInitializationFailedException - if the initialization fails.AbstractImplementation.init()public void terminate()
throws TerminationException
terminate in interface ExecutableIFterminate in class AbstractRuleTerminationException - 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