public class MethodAddCondition extends java.lang.Object implements ParserCondition, SendableEntityCreator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CHILD |
ENTER, SPACE, SPLITEND, SPLITSTARTNEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor and Description |
|---|
MethodAddCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(CharacterBuffer buffer,
TemplateParser parser,
LocalisationInterface customTemplate) |
java.lang.String |
getKey() |
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean isExpression)
Gets the sendable instance.
|
java.lang.Object |
getValue(LocalisationInterface variables) |
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
boolean |
isExpression() |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
boolean |
update(java.lang.Object value)
checks or notify this condition.
|
public static final java.lang.String PROPERTY_CHILD
public boolean update(java.lang.Object value)
Conditionpublic java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic java.lang.Object getValue(LocalisationInterface variables)
getValue in interface ParserConditionpublic void create(CharacterBuffer buffer, TemplateParser parser, LocalisationInterface customTemplate)
create in interface ParserConditionpublic boolean isExpression()
isExpression in interface ParserConditionpublic java.lang.String getKey()
getKey in interface ParserConditionpublic java.lang.Object getSendableInstance(boolean isExpression)
SendableEntityCreatorgetSendableInstance in interface ParserConditiongetSendableInstance in interface SendableEntityCreatorisExpression - the prototyp