BeanProperty class shared by concrete readable- and
writable property implementations for sharing common functionality.
| Modifier and Type | Field and Description |
|---|---|
| protected transient List | |
| protected final PropertyMetadata | _metadata
Additional information about property |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public List | findAliases(MapperConfig<?> config)
Implements com. Method for accessing set of possible alternate names that are accepted during deserialization. |
| public final JsonFormat. | findFormatOverrides(AnnotationIntrospector intr)
Implements com.
Deprecated
Convenience method that is roughly equivalent to return intr.findFormat(getMember()); |
| public JsonFormat. | findPropertyFormat(MapperConfig<?> config, Class<?> baseType)
Implements com. Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settings |
| public JsonInclude. | findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)
Implements com. Convenience method that is roughly equivalent to return config.getAnnotationIntrospector().findPropertyInclusion(getMember()); |
| public PropertyMetadata | getMetadata()
Implements com. Accessor for additional optional information about property. |
| public boolean | isRequired()
Implements com. Whether value for property is marked as required using annotations or associated schema. |
| public boolean | isVirtual()
Implements com. Accessor for checking whether there is an actual physical property behind this property abstraction or not. |
| _aliases | back to summary |
|---|---|
protected transient List<PropertyName> _aliases
| |
| _metadata | back to summary |
|---|---|
| protected final PropertyMetadata _metadata Additional information about property
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConcreteBeanPropertyBase | back to summary |
|---|---|
| protected ConcreteBeanPropertyBase(PropertyMetadata md) | |
| ConcreteBeanPropertyBase | back to summary |
|---|---|
| protected ConcreteBeanPropertyBase(ConcreteBeanPropertyBase src) | |
| findAliases | back to summary |
|---|---|
| public List Implements com. Doc from com. Method for accessing set of possible alternate names that are accepted during deserialization.
| |
| findFormatOverrides | back to summary |
|---|---|
| public final JsonFormat. Implements com. Doc from com. Deprecated
Convenience method that is roughly equivalent to return intr.findFormat(getMember());and specifically does NOT try to find per-type format defaults to merge; use findPropertyFormat if such defaults would be useful.
| |
| findPropertyFormat | back to summary |
|---|---|
| public JsonFormat. Implements com. Doc from com. Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settings
| |
| findPropertyInclusion | back to summary |
|---|---|
| public JsonInclude. Implements com. Doc from com. Convenience method that is roughly equivalent to return config.getAnnotationIntrospector().findPropertyInclusion(getMember());but also considers global default settings for inclusion
| |
| getMetadata | back to summary |
|---|---|
| public PropertyMetadata getMetadata() Implements com. Doc from com. Accessor for additional optional information about property.
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Implements com. Doc from com. Whether value for property is marked as required using
annotations or associated schema.
Equivalent to:
| |
| isVirtual | back to summary |
|---|---|
| public boolean isVirtual() Implements com. Doc from com. Accessor for checking whether there is an actual physical property behind this property abstraction or not.
| |