public class MapPropertyFinder<T extends Map<K,V>,K,V> extends PropertyFinder<T>
PropertyFinder.DefaultPropertyFinderProbe, PropertyFinder.FoundProperty<T>, PropertyFinder.MatchingProperties<T>, PropertyFinder.PropertyFinderProbe, PropertyFinder.PropertyFinderTransformer, PropertyFinder.TypeAffinityScorer
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_AS_KEY |
static int |
KEY_VALUE |
static int |
NONE |
IDENTITY_TRANSFORMER, propertyFilter
Constructor and Description |
---|
MapPropertyFinder(ClassMeta<T> mapMeta,
ClassMeta<V> valueMetaData,
org.simpleflatmapper.converter.Converter<? super CharSequence,? extends K> keyConverter,
org.simpleflatmapper.util.Predicate<PropertyMeta<?,?>> propertyFilter,
boolean selfScoreFullName) |
Modifier and Type | Method and Description |
---|---|
List<InstantiatorDefinition> |
getEligibleInstantiatorDefinitions() |
PropertyFinder<?> |
getOrCreateSubPropertyFinder(SubPropertyMeta<?,?,?> subPropertyMeta) |
Type |
getOwnerType() |
PropertyFinder<?> |
getSubPropertyFinder(PropertyMeta<?,?> owner) |
void |
lookForProperties(PropertyNameMatcher propertyNameMatcher,
Object[] properties,
PropertyFinder.FoundProperty matchingProperties,
PropertyMatchingScore score,
boolean allowSelfReference,
PropertyFinder.PropertyFinderTransformer propertyFinderTransformer,
PropertyFinder.TypeAffinityScorer typeAffinityScorer) |
findProperty, findProperty, findProperty, findProperty, getPropertyFilter, manualMatch, selfScoreFullName
public static int NONE
public static int COLUMN_AS_KEY
public static int KEY_VALUE
public MapPropertyFinder(ClassMeta<T> mapMeta, ClassMeta<V> valueMetaData, org.simpleflatmapper.converter.Converter<? super CharSequence,? extends K> keyConverter, org.simpleflatmapper.util.Predicate<PropertyMeta<?,?>> propertyFilter, boolean selfScoreFullName)
public void lookForProperties(PropertyNameMatcher propertyNameMatcher, Object[] properties, PropertyFinder.FoundProperty matchingProperties, PropertyMatchingScore score, boolean allowSelfReference, PropertyFinder.PropertyFinderTransformer propertyFinderTransformer, PropertyFinder.TypeAffinityScorer typeAffinityScorer)
lookForProperties
in class PropertyFinder<T extends Map<K,V>>
public List<InstantiatorDefinition> getEligibleInstantiatorDefinitions()
getEligibleInstantiatorDefinitions
in class PropertyFinder<T extends Map<K,V>>
public PropertyFinder<?> getSubPropertyFinder(PropertyMeta<?,?> owner)
getSubPropertyFinder
in class PropertyFinder<T extends Map<K,V>>
public PropertyFinder<?> getOrCreateSubPropertyFinder(SubPropertyMeta<?,?,?> subPropertyMeta)
getOrCreateSubPropertyFinder
in class PropertyFinder<T extends Map<K,V>>
public Type getOwnerType()
getOwnerType
in class PropertyFinder<T extends Map<K,V>>
Copyright © 2018. All rights reserved.