Condition<java.lang.Object>, ObjectCondition, SendableEntityCreatorpublic class GraphPatternMatch extends java.lang.Object implements ObjectCondition, SendableEntityCreator
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ITEM |
Constant for ITEM.
|
static java.lang.String |
MATCHES |
|
static java.lang.String |
PROPERTY |
NEW, REMOVE, REMOVE_YOU, SIMPLE, UPDATE| Constructor | Description |
|---|---|
GraphPatternMatch() |
| Modifier and Type | Method | Description |
|---|---|---|
static GraphPatternMatch |
create(java.lang.String property,
java.lang.Object item) |
|
java.lang.Object |
getItem() |
|
java.util.Set<ObjectCondition> |
getMatches() |
|
java.lang.String[] |
getProperties() |
Gets the properties.
|
java.lang.String |
getProperty() |
|
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.
|
int |
size() |
|
boolean |
update(java.lang.Object evt) |
checks or notify this condition.
|
GraphPatternMatch |
with(ObjectCondition... value) |
|
GraphPatternMatch |
withItem(java.lang.Object value) |
|
GraphPatternMatch |
withProperty(java.lang.String value) |
public static final java.lang.String ITEM
public static final java.lang.String MATCHES
public static final java.lang.String PROPERTY
public boolean update(java.lang.Object evt)
Conditionpublic java.lang.Object getItem()
public GraphPatternMatch withItem(java.lang.Object value)
value - for new Conditionpublic GraphPatternMatch with(ObjectCondition... value)
value - for new Conditionpublic java.util.Set<ObjectCondition> getMatches()
public GraphPatternMatch withProperty(java.lang.String value)
value - for Propertypublic java.lang.String getProperty()
public 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 operationpublic static GraphPatternMatch create(java.lang.String property, java.lang.Object item)
public int size()