Condition<java.lang.Object>, ObjectCondition, ParserCondition, SendableEntityCreatorpublic class Equals extends java.lang.Object implements ParserCondition, SendableEntityCreator
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PROPERTY_KEY |
Constant of KEY.
|
static java.lang.String |
PROPERTY_POSITION |
Constant of Position.
|
static java.lang.String |
PROPERTY_VALUE |
Constant of StrValue.
|
ENTER, SPACE, SPLITEND, SPLITSTARTNEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor | Description |
|---|---|
Equals() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
create(CharacterBuffer buffer,
TemplateParser parser,
LocalisationInterface customTemplate) |
|
static Equals |
create(java.lang.String key,
java.lang.Object value) |
|
static Equals |
createNullCondition() |
|
java.lang.Object |
getDelta() |
|
java.lang.String |
getKey() |
|
int |
getPosition() |
|
java.lang.String[] |
getProperties() |
Gets the properties.
|
ParserCondition |
getSendableInstance(boolean prototyp) |
Gets the sendable instance.
|
java.lang.Object |
getValue() |
|
java.lang.Object |
getValue(LocalisationInterface value) |
|
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.
|
java.lang.String |
toString() |
|
boolean |
update(java.lang.Object evt) |
checks or notify this condition.
|
Equals |
withDelta(java.lang.Object delta) |
|
Equals |
withKey(java.lang.String key) |
|
Equals |
withLeft(ObjectCondition expression) |
|
Equals |
withPosition(int value) |
|
Equals |
withRight(ObjectCondition expression) |
|
Equals |
withValue(java.lang.Object value) |
|
Equals |
withValue(java.lang.Object value,
java.lang.Object delta) |
public static final java.lang.String PROPERTY_KEY
public static final java.lang.String PROPERTY_VALUE
public static final java.lang.String PROPERTY_POSITION
public boolean update(java.lang.Object evt)
Conditionpublic Equals withPosition(int value)
value - The new Positionpublic int getPosition()
public Equals withValue(java.lang.Object value)
value - The new StringValuepublic Equals withValue(java.lang.Object value, java.lang.Object delta)
public java.lang.Object getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic ParserCondition getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface ParserConditiongetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic java.lang.String getKey()
getKey in interface ParserConditionpublic Equals withKey(java.lang.String key)
public 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 getDelta()
public Equals withDelta(java.lang.Object delta)
public static Equals create(java.lang.String key, java.lang.Object value)
public static Equals createNullCondition()
public Equals withLeft(ObjectCondition expression)
public Equals withRight(ObjectCondition expression)
public boolean isExpression()
isExpression in interface ParserConditionpublic java.lang.Object getValue(LocalisationInterface value)
getValue in interface ParserConditionpublic void create(CharacterBuffer buffer, TemplateParser parser, LocalisationInterface customTemplate)
create in interface ParserCondition