| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.query.model.Selector
@Immutable public abstract class Selector

| Constructor Summary | |
|---|---|
| protected  | Selector(SelectorName name)Create a selector with a name. | 
| protected  | Selector(SelectorName name,
         SelectorName alias)Create a selector with the supplied name and alias. | 
| Method Summary | |
|---|---|
|  SelectorName | alias()Get the alias name for this source, if there is one. | 
|  SelectorName | aliasOrName()Get the alias if this selector has one, or the name. | 
|  boolean | hasAlias()Determine if this selector has an alias. | 
|  SelectorName | name()Get the name for this selector. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.modeshape.graph.query.model.Visitable | 
|---|
| accept | 
| Constructor Detail | 
|---|
protected Selector(SelectorName name)
name - the name for this selector
IllegalArgumentException - if the selector name is null
protected 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 SelectorName name()
public SelectorName alias()
public SelectorName aliasOrName()
public boolean hasAlias()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||