public class StoreRule extends LiteralRule
LiteralRule| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
function |
protected java.lang.String |
key |
protected java.lang.String |
modifier |
datatype, format, literal, ODS_DATE_FORMATloggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
StoreRule()
Create an literal rule.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
add(TS_Union union)
Add a TS_Union to the literal.
|
protected java.lang.String |
div(TS_Union union)
Div a TS_Union to the literal.
|
java.lang.String |
getFunction()
Get the function key value of the store.
|
java.lang.String |
getLiteral()
Get the literal string.
|
java.lang.String |
getModifier()
Get the modifier key value of the store.
|
protected java.lang.Object[] |
getParameters(java.lang.reflect.Method m,
java.lang.String[] arr) |
protected static java.lang.Object[] |
getParameters(java.lang.String ruleId,
java.lang.reflect.Method m,
java.lang.String[] arr) |
void |
init()
Initialize the work.
|
protected java.lang.String |
inv(TS_Union union)
Inv a TS_Union to the literal.
|
protected java.lang.String |
modify(java.lang.String l)
The method that modify the literal.
|
static java.lang.String |
modify(XSDContextIF ctx,
java.lang.String ruleId,
java.lang.String l,
java.lang.String modifier)
The method that modify the literal.
|
protected java.lang.String |
mul(TS_Union union)
Mul a TS_Union to the literal.
|
void |
setFunction(java.lang.String function)
Set the function key value of the store.
|
void |
setLiteral(java.lang.String literal)
Set the literal string.
|
void |
setModified(java.lang.String modifier)
Set the modified key value of the store.
|
void |
setValue(NameValueUnit[][] nvuArr)
Get the named value from rule.
|
protected java.lang.String |
sub(TS_Union union)
Sub a TS_Union from the literal.
|
getDataType, getFormat, getValue, setDataType, setFormatexecute, 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, setDescriptorprotected java.lang.String key
protected java.lang.String function
protected java.lang.String modifier
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class LiteralRuleInitializationFailedException - if the initialization fails.public void setFunction(java.lang.String function)
public java.lang.String getFunction()
public void setLiteral(java.lang.String literal)
setLiteral in class LiteralRuleliteral - the literalpublic java.lang.String getLiteral()
getLiteral in class LiteralRulepublic void setModified(java.lang.String modifier)
public java.lang.String getModifier()
public void setValue(NameValueUnit[][] nvuArr)
setValue in interface RuleIFsetValue in class LiteralRulenvuIT - The name value of the rule.protected java.lang.String modify(java.lang.String l)
l - the literal to be modifiedpublic static java.lang.String modify(XSDContextIF ctx, java.lang.String ruleId, java.lang.String l, java.lang.String modifier)
ctx - the contextruleId - the rule id.l - the literal to be modifiedmodifier - the modifiedprotected java.lang.Object[] getParameters(java.lang.reflect.Method m,
java.lang.String[] arr)
protected static java.lang.Object[] getParameters(java.lang.String ruleId,
java.lang.reflect.Method m,
java.lang.String[] arr)
protected java.lang.String add(TS_Union union)
union - the union.protected java.lang.String sub(TS_Union union)
union - the union.protected java.lang.String mul(TS_Union union)
union - the union.protected java.lang.String div(TS_Union union)
union - the union.protected java.lang.String inv(TS_Union union)
union - the union.