public class WhiteListCondition extends java.lang.Object implements ObjectCondition, SendableEntityCreator
NEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor and Description |
|---|
WhiteListCondition() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
update(java.lang.Object value)
checks or notify this condition.
|
WhiteListCondition |
with(java.lang.Class<?> className,
java.lang.String... attributes) |
WhiteListCondition |
with(java.lang.String className,
java.lang.String... attributes) |
WhiteListCondition |
withPrimititve(boolean value) |
public java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic WhiteListCondition withPrimititve(boolean value)
public boolean update(java.lang.Object value)
Conditionpublic WhiteListCondition with(java.lang.Class<?> className, java.lang.String... attributes)
public WhiteListCondition with(java.lang.String className, java.lang.String... attributes)
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 operation