public class Depth extends java.lang.Object implements SendableEntityCreator, UpdateListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEPTH
Constant of Deep.
|
NEW, REMOVE, UPDATE| Constructor and Description |
|---|
Depth() |
| Modifier and Type | Method and Description |
|---|---|
static Depth |
create(int value)
Create a new DeepFilter and return a new Instance
|
int |
getDepth() |
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 evt)
checks or notify this condition.
|
Depth |
withDepth(int value) |
public static final java.lang.String DEPTH
public Depth withDepth(int value)
value - The new Valuepublic int getDepth()
public boolean update(java.lang.Object evt)
Conditionpublic static Depth create(int value)
value - Value of depthpublic 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