public class OptionalPropertyFinder<T> extends PropertyFinder<Optional<T>>
PropertyFinder.DefaultPropertyFinderProbe, PropertyFinder.FoundProperty<T>, PropertyFinder.MatchingProperties<T>, PropertyFinder.PropertyFinderProbe, PropertyFinder.PropertyFinderTransformer
IDENTITY_TRANSFORMER, propertyFilter
Constructor and Description |
---|
OptionalPropertyFinder(OptionalClassMeta<T> optionalClassMeta,
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) |
findProperty, findProperty, getPropertyFilter, manualMatch, selfScoreFullName
public OptionalPropertyFinder(OptionalClassMeta<T> optionalClassMeta, 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)
lookForProperties
in class PropertyFinder<Optional<T>>
public List<InstantiatorDefinition> getEligibleInstantiatorDefinitions()
getEligibleInstantiatorDefinitions
in class PropertyFinder<Optional<T>>
public PropertyFinder<?> getSubPropertyFinder(PropertyMeta<?,?> owner)
getSubPropertyFinder
in class PropertyFinder<Optional<T>>
public PropertyFinder<?> getOrCreateSubPropertyFinder(SubPropertyMeta<?,?,?> subPropertyMeta)
getOrCreateSubPropertyFinder
in class PropertyFinder<Optional<T>>
public Type getOwnerType()
getOwnerType
in class PropertyFinder<Optional<T>>
Copyright © 2018. All rights reserved.