BeanProperty
instances are created, i.e. they are used earlier in the process
flow, and are typically use to construct actual
BeanProperty instances.
| Modifier and Type | Field and Description |
|---|---|
| protected static final JsonInclude. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public abstract JsonInclude. | findInclusion()
Method used to check if this property has specific inclusion override associated with it or not. |
| public ObjectIdInfo | findObjectIdInfo()
Method used to check whether this logical property indicates that value POJOs should be written using additional Object Identifier (or, when multiple references exist, all but first AS Object Identifier). |
| public String | |
| public AnnotationIntrospector. | |
| public Class | |
| public AnnotatedMember | getAccessor()
Method used to find accessor (getter, field to access) to use for accessing value of the property. |
| public abstract AnnotatedParameter | |
| public Iterator | getConstructorParameters()
Additional method that may be called instead of |
| public abstract AnnotatedField | |
| public abstract PropertyName | |
| public abstract AnnotatedMethod | |
| public abstract String | getInternalName()
Accessor that can be used to determine implicit name from underlying element(s) before possible renaming. |
| public abstract PropertyMetadata | |
| public AnnotatedMember | getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for changing value of the property. |
| public abstract String | getName()
Redeclares com. |
| public AnnotatedMember | |
| public abstract AnnotatedMember | getPrimaryMember()
Method used to find the property member (getter, setter, field) that has the highest precedence in current context (getter method when serializing, if available, and so forth), if any. |
| public abstract JavaType | |
| public abstract Class | |
| public abstract AnnotatedMethod | |
| public abstract PropertyName | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean | |
| public boolean | |
| public abstract boolean | |
| public abstract boolean | Returns: True if property was explicitly included (usually by having one of components being annotated); false if inclusion was purely due to naming or visibility definitions (that is, implicit)Accessor that can be called to check whether property was included due to an explicit marker (usually annotation), or just by naming convention. |
| public boolean | isExplicitlyNamed()
Accessor that can be called to check whether property name was due to an explicit marker (usually annotation), or just by naming convention or use of "use-default-name" marker (annotation). |
| public boolean | isRequired()
Method used to check if this property is expected to have a value; and if none found, should either be considered invalid (and most likely fail deserialization), or handled by other means (by providing default value) |
| public boolean | isTypeId()
Method used to check whether this logical property has a marker to indicate it should be used as the type id for polymorphic type handling. |
| public abstract BeanPropertyDefinition | withName(PropertyName newName)
Method that can be used to create a definition with
same settings as this one, but with different
(external) name; that is, one for which
|
| public abstract BeanPropertyDefinition | withSimpleName(String newSimpleName)
Alternate "mutant factory" that will only change simple name, but leave other optional parts (like namespace) as is. |
| EMPTY_INCLUDE | back to summary |
|---|---|
| protected static final JsonInclude. | |
| BeanPropertyDefinition | back to summary |
|---|---|
| public BeanPropertyDefinition() | |
| couldDeserialize | back to summary |
|---|---|
| public boolean couldDeserialize() | |
| couldSerialize | back to summary |
|---|---|
| public boolean couldSerialize() | |
| findInclusion | back to summary |
|---|---|
| public abstract JsonInclude. Method used to check if this property has specific inclusion override associated with it or not. It should NOT check for any default settings (global, per-type, or containing POJO settings)
| |
| findObjectIdInfo | back to summary |
|---|---|
| public ObjectIdInfo findObjectIdInfo() Method used to check whether this logical property indicates that value POJOs should be written using additional Object Identifier (or, when multiple references exist, all but first AS Object Identifier). | |
| findReferenceName | back to summary |
|---|---|
public String findReferenceName()
| |
| findReferenceType | back to summary |
|---|---|
| public AnnotationIntrospector. Method used to find whether property is part of a bi-directional reference. | |
| findViews | back to summary |
|---|---|
| public Class Method used to find View-inclusion definitions for the property. | |
| getAccessor | back to summary |
|---|---|
| public AnnotatedMember getAccessor() Method used to find accessor (getter, field to access) to use for accessing value of the property. Null if no such member exists. | |
| getConstructorParameter | back to summary |
|---|---|
| public abstract AnnotatedParameter getConstructorParameter() | |
| getConstructorParameters | back to summary |
|---|---|
| public Iterator Additional method that may be called instead of
| |
| getField | back to summary |
|---|---|
| public abstract AnnotatedField getField() | |
| getFullName | back to summary |
|---|---|
| public abstract PropertyName getFullName() | |
| getGetter | back to summary |
|---|---|
| public abstract AnnotatedMethod getGetter() | |
| getInternalName | back to summary |
|---|---|
| public abstract String getInternalName() Accessor that can be used to determine implicit name from underlying element(s) before possible renaming. This is the "internal" name derived from accessor ("x" from "getX"), and is not based on annotations or naming strategy. | |
| getMetadata | back to summary |
|---|---|
| public abstract PropertyMetadata getMetadata() Method for accessing additional metadata. Note will never return null, so de-referencing return value is safe.
| |
| getMutator | back to summary |
|---|---|
| public AnnotatedMember getMutator() Method used to find mutator (constructor parameter, setter, field) to use for changing value of the property. Null if no such member exists. | |
| getName | back to summary |
|---|---|
| public abstract String getName() Redeclares com. Accessor for name used for external representation (in JSON).
| |
| getNonConstructorMutator | back to summary |
|---|---|
public AnnotatedMember getNonConstructorMutator()
| |
| getPrimaryMember | back to summary |
|---|---|
| public abstract AnnotatedMember getPrimaryMember() Method used to find the property member (getter, setter, field) that has the highest precedence in current context (getter method when serializing, if available, and so forth), if any. Note may throw Note abstract since 2.5
| |
| getPrimaryType | back to summary |
|---|---|
public abstract JavaType getPrimaryType()
| |
| getRawPrimaryType | back to summary |
|---|---|
public abstract Class
| |
| getSetter | back to summary |
|---|---|
| public abstract AnnotatedMethod getSetter() | |
| getWrapperName | back to summary |
|---|---|
| public abstract PropertyName getWrapperName() Accessor for finding wrapper name to use for property (if any).
| |
| hasConstructorParameter | back to summary |
|---|---|
| public abstract boolean hasConstructorParameter() | |
| hasField | back to summary |
|---|---|
| public abstract boolean hasField() | |
| hasGetter | back to summary |
|---|---|
| public abstract boolean hasGetter() | |
| hasName | back to summary |
|---|---|
public boolean hasName(PropertyName name)
| |
| hasSetter | back to summary |
|---|---|
| public abstract boolean hasSetter() | |
| isExplicitlyIncluded | back to summary |
|---|---|
| public 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.
| |
| isExplicitlyNamed | back to summary |
|---|---|
| public boolean isExplicitlyNamed() Accessor that can be called to check whether property name was due to an explicit marker (usually annotation), or just by naming convention or use of "use-default-name" marker (annotation).
Note that entries that return true from this method will always
return true for
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Method used to check if this property is expected to have a value; and if none found, should either be considered invalid (and most likely fail deserialization), or handled by other means (by providing default value) | |
| isTypeId | back to summary |
|---|---|
| public boolean isTypeId() Method used to check whether this logical property has a marker to indicate it should be used as the type id for polymorphic type handling. | |
| withName | back to summary |
|---|---|
| public abstract BeanPropertyDefinition withName(PropertyName newName) Method that can be used to create a definition with
same settings as this one, but with different
(external) name; that is, one for which
| |
| withSimpleName | back to summary |
|---|---|
| public abstract BeanPropertyDefinition withSimpleName(String newSimpleName) Alternate "mutant factory" that will only change simple name, but leave other optional parts (like namespace) as is.
| |