public class StoreRule extends 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_FORMAT
aoSession, engine
Constructor and Description |
---|
StoreRule(RuleEngine engine,
AoSession aoSession)
Create an literal rule.
|
StoreRule(RuleEngine engine,
AoSession aoSession,
java.util.Collection<StoreRule> collection)
Create an literal rule and initialize the child list with the given collection elements.
|
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 |
getKey()
Get the 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(Transformer transformer,
java.lang.reflect.Method m,
java.lang.String[] arr) |
NameValueUnit |
getValue()
Get the named value from rule.
|
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.
|
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 |
setKey(java.lang.String key)
Set the 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 nvu)
Get the named value from rule.
|
protected java.lang.String |
sub(TS_Union union)
Sub a TS_Union from the literal.
|
add, getDataType, getFormat, set, setDataType, setFormat
add, executePostMethods, executePreMethods, get, getEngine, getId, getMessenger, getPointTo, getSession, getTransformer, isPedantic, remove, set, setId, setMethods, setMethods, setPedantic, setPointTo, size, toString
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
protected java.lang.String key
protected java.lang.String function
protected java.lang.String modifier
public StoreRule(RuleEngine engine, AoSession aoSession)
public StoreRule(RuleEngine engine, AoSession aoSession, java.util.Collection<StoreRule> collection)
collection
- the initial chil list.public void setKey(java.lang.String key)
public java.lang.String getKey()
public void setFunction(java.lang.String function)
public java.lang.String getFunction()
public void setModified(java.lang.String modifier)
public java.lang.String getModifier()
public void setLiteral(java.lang.String literal)
setLiteral
in class LiteralRule
literal
- the literalpublic java.lang.String getLiteral()
getLiteral
in class LiteralRule
public NameValueUnit getValue()
getValue
in class LiteralRule
public void setValue(NameValueUnit nvu)
setValue
in class LiteralRule
nvu
- The name value of the rule.protected java.lang.String modify(java.lang.String l)
l
- the literal to be modifiedprotected java.lang.Object[] getParameters(Transformer transformer, java.lang.reflect.Method m, java.lang.String[] arr)
protected java.lang.String add(TS_Union union)
u
- the union.protected java.lang.String sub(TS_Union union)
u
- the union.protected java.lang.String mul(TS_Union union)
u
- the union.protected java.lang.String div(TS_Union union)
u
- the union.protected java.lang.String inv(TS_Union union)
u
- the union.