public class LiteralRule extends AbstractRule
AbstractRule| Modifier and Type | Field and Description | 
|---|---|
| protected DataType | datatype | 
| protected java.lang.String | format | 
| protected java.lang.String | literal | 
| static java.lang.String | ODS_DATE_FORMAT | 
loggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description | 
|---|
| LiteralRule()Create an literal rule. | 
| Modifier and Type | Method and Description | 
|---|---|
| DataType | getDataType()Get the literal string. | 
| java.lang.String | getFormat()Get the format string. | 
| java.lang.String | getLiteral()Get the literal string. | 
| NameValueUnit[][] | getValue()Get the named value from rule. | 
| void | init()Initialize the work. | 
| void | setDataType(DataType datatype)Set the datatype of th literal. | 
| void | setFormat(java.lang.String format)Set the format string. | 
| void | setLiteral(java.lang.String literal)Set the literal string. | 
| void | setValue(NameValueUnit[][] nvuArr)Set the named value to rule. | 
execute, execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, terminate, 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 static final java.lang.String ODS_DATE_FORMAT
protected DataType datatype
protected java.lang.String literal
protected java.lang.String format
public void init()
          throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.public void setFormat(java.lang.String format)
format - the literalpublic java.lang.String getFormat()
public void setLiteral(java.lang.String literal)
literal - the literalpublic java.lang.String getLiteral()
public void setDataType(DataType datatype)
datatype - the datatypepublic DataType getDataType()
public void setValue(NameValueUnit[][] nvuArr)
nvu - The name value of the rule.public NameValueUnit[][] getValue()
RuleIF.setValue(NameValueUnit[][] nvu)