public class Or extends java.lang.Object implements UpdateListener, SendableEntityCreator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHILD
Constant of CHILD.
|
NEW, REMOVE, UPDATE| Constructor and Description |
|---|
Or() |
| Modifier and Type | Method and Description |
|---|---|
static Or |
create(UpdateListener... conditions)
Static Method for instance a new Instance of Or Object.
|
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
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.
|
java.lang.String |
toString() |
boolean |
update(java.lang.Object evt)
checks or notify this condition.
|
Or |
with(UpdateListener... conditions)
Add a new UpdateListener to logic
|
public static final java.lang.String CHILD
public static Or create(UpdateListener... conditions)
conditions - All Conditions.public Or with(UpdateListener... conditions)
conditions - All Conditions.public boolean update(java.lang.Object evt)
Conditionpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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