O - the type of the property ownerP - the type of the propertyArrayElementPropertyMeta, ConstructorPropertyMeta, MapElementPropertyMeta, MapKeyValueElementPropertyMeta, ObjectPropertyMeta, SelfPropertyMeta, SubPropertyMetapublic abstract class PropertyMeta<O,P> extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ReflectionService |
reflectService |
| Constructor | Description |
|---|---|
PropertyMeta(String name,
Type ownerType,
ReflectionService reflectService) |
| Modifier and Type | Method | Description |
|---|---|---|
Object[] |
getDefinedProperties() |
|
abstract Getter<? super O,? extends P> |
getGetter() |
|
String |
getName() |
|
Type |
getOwnerType() |
|
abstract String |
getPath() |
|
ClassMeta<P> |
getPropertyClassMeta() |
|
org.simpleflatmapper.util.Supplier<ClassMeta<P>> |
getPropertyClassMetaSupplier() |
|
abstract Type |
getPropertyType() |
|
ReflectionService |
getReflectService() |
|
abstract Setter<? super O,? super P> |
getSetter() |
|
boolean |
isConstructorProperty() |
|
boolean |
isSelf() |
|
boolean |
isSubProperty() |
|
boolean |
isValid() |
|
protected ClassMeta<P> |
newPropertyClassMeta() |
|
int |
typeAffinityScore(PropertyFinder.TypeAffinityScorer typeAffinityScorer) |
|
abstract PropertyMeta<O,P> |
withReflectionService(ReflectionService reflectionService) |
protected final ReflectionService reflectService
public PropertyMeta(String name, Type ownerType, ReflectionService reflectService)
public final String getName()
public abstract Type getPropertyType()
public Type getOwnerType()
public boolean isConstructorProperty()
public abstract String getPath()
public boolean isSubProperty()
public boolean isSelf()
public boolean isValid()
public final ReflectionService getReflectService()
public org.simpleflatmapper.util.Supplier<ClassMeta<P>> getPropertyClassMetaSupplier()
public Object[] getDefinedProperties()
public abstract PropertyMeta<O,P> withReflectionService(ReflectionService reflectionService)
public int typeAffinityScore(PropertyFinder.TypeAffinityScorer typeAffinityScorer)
Copyright © 2019. All rights reserved.