|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.patterns.EdgePattern
public abstract class EdgePattern
A Pattern over the Edges of a Node.
| Nested Class Summary | |
|---|---|
static class |
EdgePattern.Range
The minimum and maximum number of Edges that may match a given EdgePattern. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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()
protected List<Edge> matchLabels(List<Edge> edges)
public abstract EdgePattern.Range range()
EdgePattern.Range of the pattern.
public abstract String name()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||