public class CompareTo extends java.lang.Object implements ObjectCondition, SendableEntityCreator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPARE |
static int |
GREATER |
static int |
LOWER |
static java.lang.String |
VALUE |
NEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor and Description |
|---|
CompareTo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCompare() |
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
java.lang.Comparable<?> |
getValue() |
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 value)
checks or notify this condition.
|
CompareTo |
withCompare(int compare) |
CompareTo |
withValue(java.lang.Comparable<java.lang.Object> value) |
public static final java.lang.String VALUE
public static final java.lang.String COMPARE
public static final int GREATER
public static final int LOWER
public java.lang.Comparable<?> getValue()
public CompareTo withValue(java.lang.Comparable<java.lang.Object> value)
public int getCompare()
public CompareTo withCompare(int compare)
public boolean update(java.lang.Object value)
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