org.skyscreamer.yoga.selector
Class CoreSelector
java.lang.Object
org.skyscreamer.yoga.selector.CoreSelector
- All Implemented Interfaces:
- Selector
public class CoreSelector
- extends Object
- implements Selector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coreFields
protected ConcurrentHashMap<Class,Map> coreFields
allFields
protected ConcurrentHashMap<Class,Map> allFields
CoreSelector
public CoreSelector(EntityConfigurationRegistry entityConfigurationRegistry)
CoreSelector
public CoreSelector()
setEntityConfigurationRegistry
public void setEntityConfigurationRegistry(EntityConfigurationRegistry entityConfigurationRegistry)
getEntityConfigurationRegistry
public EntityConfigurationRegistry getEntityConfigurationRegistry()
getProperty
public <T> Property<T> getProperty(Class<T> instanceType,
String fieldName)
- Specified by:
getProperty in interface Selector
createProperty
protected <T> Property<T> createProperty(Collection<Property<T>> properties,
Class<T> instanceType,
PropertyDescriptor desc)
getAllPossibleFieldMap
public <T> Map<String,Property<T>> getAllPossibleFieldMap(Class<T> instanceType)
- Specified by:
getAllPossibleFieldMap in interface Selector
createAllFieldMap
protected <T> Map<String,Property<T>> createAllFieldMap(Class<T> instanceType)
getSelectedFields
public <T> Collection<Property<T>> getSelectedFields(Class<T> instanceType)
- Specified by:
getSelectedFields in interface Selector
containsField
public boolean containsField(Class<?> instanceType,
String fieldName)
- Specified by:
containsField in interface Selector
isInfluencedExternally
public boolean isInfluencedExternally()
- Specified by:
isInfluencedExternally in interface Selector
getChildSelector
public Selector getChildSelector(Class<?> instanceType,
String fieldName)
- Specified by:
getChildSelector in interface Selector
Copyright © 2013. All Rights Reserved.