org.alfresco.repo.search.impl.querymodel.impl
Class BaseSelector

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseSelector
All Implemented Interfaces:
Selector, Source
Direct Known Subclasses:
LuceneSelector

public class BaseSelector
extends java.lang.Object
implements Selector


Constructor Summary
BaseSelector(QName type, java.lang.String alias)
           
 
Method Summary
 java.lang.String getAlias()
          The alias or name for the selector This must be unique across all selectors in the query
 Selector getSelector(java.lang.String name)
           
 java.util.List getSelectorGroups(FunctionEvaluationContext functionContext)
           
 java.util.Map getSelectors()
           
 QName getType()
          The qname of the type or aspect to select
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseSelector

public BaseSelector(QName type,
                    java.lang.String alias)
Method Detail

getAlias

public java.lang.String getAlias()
Description copied from interface: Selector
The alias or name for the selector This must be unique across all selectors in the query

Specified by:
getAlias in interface Selector
Returns:

getType

public QName getType()
Description copied from interface: Selector
The qname of the type or aspect to select

Specified by:
getType in interface Selector
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSelectors

public java.util.Map getSelectors()
Specified by:
getSelectors in interface Source

getSelector

public Selector getSelector(java.lang.String name)
Specified by:
getSelector in interface Source

getSelectorGroups

public java.util.List getSelectorGroups(FunctionEvaluationContext functionContext)
Specified by:
getSelectorGroups in interface Source


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.