|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.model.source.Source
org.xcmis.search.model.source.Selector
public class Selector
Created by The eXo Platform SAS.
| Constructor Summary | |
|---|---|
Selector(SelectorName name)
Create a selector with a name. |
|
Selector(SelectorName name,
SelectorName alias)
Create a selector with the supplied name and alias. |
|
| Method Summary | |
|---|---|
void |
accept(QueryObjectModelVisitor visitor)
Accepts a visitor and calls the appropriate visit method
depending on the type of this QOM node. |
boolean |
equals(Object obj)
|
SelectorName |
getAlias()
Get the alias name for this source, if there is one. |
SelectorName |
getAliasOrName()
Get the alias if this selector has one, or the name. |
SelectorName |
getName()
Get the name for this selector. |
boolean |
hasAlias()
Determine if this selector has an alias. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Selector(SelectorName name)
name - the name for this selector
IllegalArgumentException - if the selector name is null
public Selector(SelectorName name,
SelectorName alias)
name - the name for this selectoralias - the alias for this selector; may be null
IllegalArgumentException - if the selector name is null| Method Detail |
|---|
public void accept(QueryObjectModelVisitor visitor)
throws VisitException
visitor and calls the appropriate visit method
depending on the type of this QOM node.
visitor - the visitor.
VisitExceptionpublic SelectorName getAlias()
public SelectorName getAliasOrName()
public SelectorName getName()
public boolean hasAlias()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||