|
||||||||||
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
@Immutable public class NamedSelector
Constructor Summary | |
---|---|
NamedSelector(SelectorName name)
Create a selector with a name. |
|
NamedSelector(SelectorName name,
SelectorName alias)
Create a selector with the supplied 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)
|
int |
hashCode()
|
String |
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 NamedSelector(SelectorName name)
name
- the name for this selector
IllegalArgumentException
- if the selector name is nullpublic NamedSelector(SelectorName name, SelectorName alias)
name
- the name for this selectoralias
- the alias for this selector; may be null
IllegalArgumentException
- if the selector name is nullMethod Detail |
---|
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public void accept(Visitor visitor)
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 |