|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.graph.query.model.Selector org.modeshape.graph.query.model.NamedSelector org.modeshape.jcr.query.qom.JcrNamedSelector
public class JcrNamedSelector
Implementation of the (named) selector for the JCR Query Object Model and the Graph API.
Constructor Summary | |
---|---|
JcrNamedSelector(NamedSelector selector)
Create a selector with the supplied selector. |
|
JcrNamedSelector(SelectorName nodeTypeName,
SelectorName selectorName)
Create a selector with the supplied node type name and alias. |
Method Summary | |
---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation. |
boolean |
equals(Object obj)
|
String |
getNodeTypeName()
|
String |
getSelectorName()
|
int |
hashCode()
|
Methods inherited from class org.modeshape.graph.query.model.NamedSelector |
---|
toString |
Methods inherited from class org.modeshape.graph.query.model.Selector |
---|
alias, aliasOrName, hasAlias, name |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JcrNamedSelector(NamedSelector selector)
selector
- the selector; may not be nullpublic JcrNamedSelector(SelectorName nodeTypeName, SelectorName selectorName)
nodeTypeName
- the name of the required node type; may not be nullselectorName
- the selector name; may not be nullMethod Detail |
---|
public String getNodeTypeName()
getNodeTypeName
in interface Selector
Selector.getNodeTypeName()
public String getSelectorName()
getSelectorName
in interface Selector
Selector.getSelectorName()
public int hashCode()
hashCode
in class NamedSelector
Object.hashCode()
public boolean equals(Object obj)
equals
in class NamedSelector
Object.equals(java.lang.Object)
public void accept(Visitor visitor)
accept
in interface Visitable
accept
in class NamedSelector
visitor
- the visitor; never nullVisitable.accept(org.modeshape.graph.query.model.Visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |