org.skyscreamer.yoga.selector
Class FieldSelector
java.lang.Object
org.skyscreamer.yoga.selector.FieldSelector
- All Implemented Interfaces:
- Selector
public class FieldSelector
- extends Object
- implements Selector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subSelectors
protected Map<String,FieldSelector> subSelectors
FieldSelector
public FieldSelector()
getChildSelector
public FieldSelector getChildSelector(Class<?> instanceType,
String fieldName)
- Specified by:
getChildSelector in interface Selector
getSelector
public FieldSelector getSelector(String fieldName)
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
containsField
public boolean containsField(String property)
getFieldCount
public int getFieldCount()
register
public void register(String fieldName,
FieldSelector subSelector)
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.