public class ValueRule extends AbstractRule implements TypedRuleIF
TypedRuleIF
,
ValuesRule
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
ValueRule()
Create an abstract rule.
|
Modifier and Type | Method and Description |
---|---|
void |
executePreMethods()
Execute pre methods.
|
protected static java.lang.String |
getApplElemDescription(java.lang.String name,
java.lang.String basename,
java.lang.String id) |
java.lang.String |
getAttributeName()
Get the name of the attribute.
|
protected static java.lang.String |
getInstElemDescription(java.lang.String name,
java.lang.String path,
java.lang.String id) |
java.lang.String |
getType()
Get the type of the element.
|
NameValueUnit[][] |
getValue()
Get the named value from rule.
|
void |
init()
Initialize the work.
|
void |
setApplicationStructure(ApplicationStructure asObj)
Set the application structure of this rule.
|
void |
setValue(NameValueUnit[][] nvuArr)
Set the named value from rule.
|
execute, execute, executePostMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, terminate, 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 void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public void setApplicationStructure(ApplicationStructure asObj)
public void executePreMethods() throws ExecutableException
executePreMethods
in interface RuleIF
executePreMethods
in class AbstractRule
ExecutableException
AbstractRule.executePostMethods()
public void setValue(NameValueUnit[][] nvuArr)
public NameValueUnit[][] getValue()
getValue
in interface RuleIF
RuleIF.setValue(NameValueUnit[][] nvu)
public java.lang.String getAttributeName()
public java.lang.String getType()
getType
in interface RuleIF
getType
in interface TypedRuleIF
getType
in class AbstractRule
protected static java.lang.String getApplElemDescription(java.lang.String name, java.lang.String basename, java.lang.String id)
protected static java.lang.String getInstElemDescription(java.lang.String name, java.lang.String path, java.lang.String id)