|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphmatching.AbstractPatternObject<T>
T - either Node or Relationship.
@Deprecated public abstract class AbstractPatternObject<T extends PropertyContainer>
The base class for PatternNode and PatternRelationship.
| Method Summary | |
|---|---|
void |
addPropertyConstraint(String propertyKey,
ValueMatcher matcher)
Deprecated. Add a constraint to the property with the given key on this pattern object. |
T |
getAssociation()
Deprecated. Get the Node or Relationship currently associated with
this pattern object. |
String |
getLabel()
Deprecated. Get the label of this pattern object. |
Iterable<Map.Entry<String,Collection<ValueMatcher>>> |
getPropertyConstraints()
Deprecated. Get all the constraints on the properties of this pattern object. |
void |
setAssociation(T object)
Deprecated. Associate this object with a particular Node or
Relationship. |
void |
setLabel(String label)
Deprecated. Sets the label of this pattern object; |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addPropertyConstraint(String propertyKey,
ValueMatcher matcher)
propertyKey - the key of the property to add a constraint to.matcher - the constraint to add on the property.public void setAssociation(T object)
Node or
Relationship. When a pattern object is associated with an actual
object it will only match that object. Set the association to
null to remove the association.
object - the Node or Relationship to associate this
pattern object with.public T getAssociation()
Node or Relationship currently associated with
this pattern object.
Node or Relationship associated with this
pattern object.public Iterable<Map.Entry<String,Collection<ValueMatcher>>> getPropertyConstraints()
public String getLabel()
public void setLabel(String label)
label - the label of this pattern object;
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||