|
||||||||||
| 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(java.lang.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()
|
java.lang.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
java.lang.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
java.lang.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(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||