|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 null
public JcrNamedSelector(SelectorName nodeTypeName,
SelectorName selectorName)
nodeTypeName - the name of the required node type; may not be nullselectorName - the selector name; may not be null| Method Detail |
|---|
public String getNodeTypeName()
getNodeTypeName in interface javax.jcr.query.qom.SelectorSelector.getNodeTypeName()public String getSelectorName()
getSelectorName in interface javax.jcr.query.qom.SelectorSelector.getSelectorName()public int hashCode()
hashCode in class NamedSelectorObject.hashCode()public boolean equals(Object obj)
equals in class NamedSelectorObject.equals(java.lang.Object)public void accept(Visitor visitor)
accept in interface Visitableaccept in class NamedSelectorvisitor - 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 | |||||||||