public abstract class BeanPropertyDefinition extends Object implements Named
BeanProperty
instances are created, i.e. they are used earlier in the process
flow.构造器和说明 |
---|
BeanPropertyDefinition() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
couldDeserialize() |
boolean |
couldSerialize() |
abstract AnnotatedMember |
getAccessor()
Method used to find accessor (getter, field to access) to use for accessing
value of the property.
|
abstract AnnotatedParameter |
getConstructorParameter() |
abstract AnnotatedField |
getField() |
abstract AnnotatedMethod |
getGetter() |
abstract String |
getInternalName()
Accessor that can be used to determine implicit name from underlying
element(s) before possible renaming.
|
abstract AnnotatedMember |
getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for
changing value of the property.
|
abstract String |
getName()
Accessor for name used for external representation (in JSON).
|
abstract AnnotatedMethod |
getSetter() |
abstract boolean |
hasConstructorParameter() |
abstract boolean |
hasField() |
abstract boolean |
hasGetter() |
abstract boolean |
hasSetter() |
abstract boolean |
isExplicitlyIncluded()
Accessor that can be called to check whether property was included
due to an explicit marker (usually annotation), or just by naming
convention.
|
public abstract String getName()
public abstract String getInternalName()
public abstract boolean isExplicitlyIncluded()
public abstract boolean hasGetter()
public abstract boolean hasSetter()
public abstract boolean hasField()
public abstract boolean hasConstructorParameter()
public boolean couldDeserialize()
public boolean couldSerialize()
public abstract AnnotatedMethod getGetter()
public abstract AnnotatedMethod getSetter()
public abstract AnnotatedField getField()
public abstract AnnotatedParameter getConstructorParameter()
public abstract AnnotatedMember getAccessor()
public abstract AnnotatedMember getMutator()