org.skyscreamer.yoga.selector
Class CompositeSelector

java.lang.Object
  extended by org.skyscreamer.yoga.selector.CompositeSelector
All Implemented Interfaces:
Selector

public class CompositeSelector
extends Object
implements Selector


Constructor Summary
CompositeSelector(Selector coreSelector, Selector fieldSelector)
           
 
Method Summary
 boolean containsField(Class<?> instanceType, String property)
           
<T> Map<String,Property<T>>
getAllPossibleFieldMap(Class<T> instanceType)
           
 Selector getChildSelector(Class<?> instanceType, String fieldName)
           
<T> Property<T>
getProperty(Class<T> instanceType, String fieldName)
           
<T> Collection<Property<T>>
getSelectedFields(Class<T> instanceType)
           
 boolean isInfluencedExternally()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeSelector

public CompositeSelector(Selector coreSelector,
                         Selector fieldSelector)
Method Detail

getChildSelector

public Selector getChildSelector(Class<?> instanceType,
                                 String fieldName)
Specified by:
getChildSelector in interface Selector

containsField

public boolean containsField(Class<?> instanceType,
                             String property)
Specified by:
containsField in interface Selector

getProperty

public <T> Property<T> getProperty(Class<T> instanceType,
                                   String fieldName)
Specified by:
getProperty in interface Selector

getSelectedFields

public <T> Collection<Property<T>> getSelectedFields(Class<T> instanceType)
Specified by:
getSelectedFields in interface Selector

getAllPossibleFieldMap

public <T> Map<String,Property<T>> getAllPossibleFieldMap(Class<T> instanceType)
Specified by:
getAllPossibleFieldMap in interface Selector

isInfluencedExternally

public boolean isInfluencedExternally()
Specified by:
isInfluencedExternally in interface Selector


Copyright © 2013. All Rights Reserved.