Condition<java.lang.Object>, ObjectCondition, SendableEntityCreatorpublic class Between extends java.lang.Object implements ObjectCondition, SendableEntityCreator
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
BORDER |
|
static java.lang.String |
FROM |
|
static java.lang.String |
TO |
NEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor | Description |
|---|---|
Between() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getFrom() |
|
java.lang.String[] |
getProperties() |
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp) |
Gets the sendable instance.
|
double |
getTo() |
|
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute) |
Gets the value.
|
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 evt) |
checks or notify this condition.
|
Between |
withFrom(double from) |
|
Between |
withRange(double from,
double to) |
|
Between |
withTo(double to) |
public static final java.lang.String FROM
public static final java.lang.String TO
public static final java.lang.String BORDER
public Between withRange(double from, double to)
public Between withFrom(double from)
public Between withTo(double to)
public double getFrom()
public double getTo()
public boolean update(java.lang.Object evt)
Conditionpublic java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic 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 operation