Module org.simpleflatmapper.reflect
Class AbstractIndexPropertyFinder<T>
java.lang.Object
org.simpleflatmapper.reflect.meta.PropertyFinder<T>
org.simpleflatmapper.reflect.meta.AbstractIndexPropertyFinder<T>
- Direct Known Subclasses:
ArrayPropertyFinder,TuplePropertyFinder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.simpleflatmapper.reflect.meta.PropertyFinder
PropertyFinder.DefaultPropertyFinderProbe, PropertyFinder.FoundProperty<T>, PropertyFinder.MatchedProperty<T,P extends PropertyMeta<T, ?>>, PropertyFinder.MatchingProperties<T>, PropertyFinder.PropertyFilter, PropertyFinder.PropertyFinderProbe, PropertyFinder.PropertyFinderTransformer, PropertyFinder.TypeAffinityScorer -
Field Summary
FieldsFields inherited from class org.simpleflatmapper.reflect.meta.PropertyFinder
IDENTITY_TRANSFORMER -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIndexPropertyFinder(ClassMeta<T> classMeta) AbstractIndexPropertyFinder(ClassMeta<T> classMeta, boolean selfScoreFullName) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidextrapolateIndex(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty<T> foundProperty, PropertyMatchingScore score, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) protected abstract <E> IndexedElement<T,?> getIndexedElement(IndexedColumn indexedColumn) getOrCreateSubPropertyFinder(SubPropertyMeta<?, ?, ?> subPropertyMeta) getSubPropertyFinder(PropertyMeta<?, ?> owner) protected abstract booleanindexMatches(PropertyMeta<T, ?> propertyMeta, PropertyMeta<?, ?> owner) protected abstract booleanisValidIndex(IndexedColumn indexedColumn) protected voidlookForAgainstColumn(IndexedColumn indexedColumn, Object[] properties, PropertyFinder.FoundProperty<T> matchingProperties, PropertyMatchingScore score, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) voidlookForProperties(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty<T> matchingProperties, PropertyMatchingScore score, boolean allowSelfReference, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) protected abstract PropertyFinder<?>registerProperty(SubPropertyMeta<?, ?, ?> subPropertyMeta) protected booleanMethods inherited from class org.simpleflatmapper.reflect.meta.PropertyFinder
findProperty, findProperty, findProperty, findProperty, findProperty, lookForProperties, manualMatch, selfScoreFullName
-
Field Details
-
classMeta
-
elements
-
-
Constructor Details
-
AbstractIndexPropertyFinder
-
AbstractIndexPropertyFinder
-
-
Method Details
-
lookForProperties
public void lookForProperties(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty<T> matchingProperties, PropertyMatchingScore score, boolean allowSelfReference, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) - Specified by:
lookForPropertiesin classPropertyFinder<T>
-
scoreFullName
protected boolean scoreFullName() -
lookForAgainstColumn
protected void lookForAgainstColumn(IndexedColumn indexedColumn, Object[] properties, PropertyFinder.FoundProperty<T> matchingProperties, PropertyMatchingScore score, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) -
isValidIndex
-
getIndexedElement
-
extrapolateIndex
protected abstract void extrapolateIndex(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty<T> foundProperty, PropertyMatchingScore score, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer, PropertyFinder.PropertyFilter propertyFilter, ShortCircuiter shortCircuiter) -
getEligibleInstantiatorDefinitions
- Specified by:
getEligibleInstantiatorDefinitionsin classPropertyFinder<T>
-
getOwnerType
- Specified by:
getOwnerTypein classPropertyFinder<T>
-
getSubPropertyFinder
- Specified by:
getSubPropertyFinderin classPropertyFinder<T>
-
indexMatches
-
getOrCreateSubPropertyFinder
- Specified by:
getOrCreateSubPropertyFinderin classPropertyFinder<T>
-
registerProperty
-