com.ibm.workplace.wcm.api.query
Class CompoundSelector

java.lang.Object
  extended by com.ibm.workplace.wcm.api.query.CompoundSelector
All Implemented Interfaces:
QueryElement, Selector, java.io.Serializable
Direct Known Subclasses:
Association

public abstract class CompoundSelector
extends java.lang.Object
implements Selector

This class simply implements the QueryElement interface for conditions which can be decomposed into other conditions. For example, Associations

Since:
7.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.workplace.wcm.api.query.Selector
NULL_SELECTOR
 
Constructor Summary
CompoundSelector()
           
 
Method Summary
 java.util.List<? extends QueryElement> getElements()
           
abstract  java.util.List<Selector> getSelectors()
           
 boolean hasElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundSelector

public CompoundSelector()
Method Detail

getSelectors

public abstract java.util.List<Selector> getSelectors()
Returns:
the selectors which comprise this CompoundSelector

getElements

public java.util.List<? extends QueryElement> getElements()
Specified by:
getElements in interface QueryElement
Returns:
the selectors which comprise this CompoundSelector as QueryElements

hasElements

public boolean hasElements()
Specified by:
hasElements in interface QueryElement
Returns:
true if this QueryElement contains other QueryElements