public abstract class EdgePattern extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
EdgePattern.Range
The minimum and maximum number of
Edges that may match a given EdgePattern. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isCondition()
Indicates whether the pattern is to be processed as a condition.
|
QName |
label()
Returns the label.
|
protected List<Edge> |
matchLabels(List<Edge> edges) |
abstract String |
name()
Returns the name of the pattern.
|
Pattern |
pattern()
Returns the target pattern.
|
abstract EdgePattern.Range |
range()
Returns the
EdgePattern.Range of the pattern. |
void |
setAsCondition()
Marks the pattern as a condition.
|
void |
setPattern(Pattern p)
Sets the target pattern.
|
String |
toString() |
void |
unsetAsCondition()
Unmarks the pattern as a condition.
|
public void setAsCondition()
public void unsetAsCondition()
public boolean isCondition()
true if it is, false otherwise.public Pattern pattern()
public void setPattern(Pattern p)
p - the pattern.public QName label()
public abstract EdgePattern.Range range()
EdgePattern.Range of the pattern.public abstract String name()
Copyright © 2018. All Rights Reserved.