Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.introspect

public abstract Class ConcreteBeanPropertyBase

extends Object
implements BeanProperty, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, com.fasterxml.jackson.databind.BeanProperty, com.fasterxml.jackson.databind.util.Named
Known Direct Subclasses
com.fasterxml.jackson.databind.deser.SettableBeanProperty, com.fasterxml.jackson.databind.ser.PropertyWriter
Imports
java.util.Collections, .List, com.fasterxml.jackson.annotation.JsonFormat, .JsonInclude, com.fasterxml.jackson.databind.AnnotationIntrospector, .BeanProperty, .PropertyMetadata, .PropertyName, com.fasterxml.jackson.databind.cfg.MapperConfig

Intermediate BeanProperty class shared by concrete readable- and writable property implementations for sharing common functionality.
Since
2.7

Field Summary

Modifier and TypeField and Description
protected transient List<PropertyName>
protected final PropertyMetadata
_metadata

Additional information about property

private static final long

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public List<PropertyName>
findAliases(MapperConfig<?> config)

Implements com.fasterxml.jackson.databind.BeanProperty.findAliases.

Method for accessing set of possible alternate names that are accepted during deserialization.
public final JsonFormat.Value
findFormatOverrides(AnnotationIntrospector intr)

Implements com.fasterxml.jackson.databind.BeanProperty.findFormatOverrides.

Deprecated
Convenience method that is roughly equivalent to
   return intr.findFormat(getMember());
public JsonFormat.Value
findPropertyFormat(MapperConfig<?> config, Class<?> baseType)

Implements com.fasterxml.jackson.databind.BeanProperty.findPropertyFormat.

Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settings
public JsonInclude.Value
findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)

Implements com.fasterxml.jackson.databind.BeanProperty.findPropertyInclusion.

Convenience method that is roughly equivalent to
   return config.getAnnotationIntrospector().findPropertyInclusion(getMember());
public PropertyMetadata
getMetadata()

Implements com.fasterxml.jackson.databind.BeanProperty.getMetadata.

Accessor for additional optional information about property.
public boolean
isRequired()

Implements com.fasterxml.jackson.databind.BeanProperty.isRequired.

Whether value for property is marked as required using annotations or associated schema.
public boolean
isVirtual()

Implements com.fasterxml.jackson.databind.BeanProperty.isVirtual.

Accessor for checking whether there is an actual physical property behind this property abstraction or not.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_aliasesback to summary
protected transient List<PropertyName> _aliases
Since
2.9
_metadataback to summary
protected final PropertyMetadata _metadata

Additional information about property

Since
2.3
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

ConcreteBeanPropertyBaseback to summary
protected ConcreteBeanPropertyBase(PropertyMetadata md)
ConcreteBeanPropertyBaseback to summary
protected ConcreteBeanPropertyBase(ConcreteBeanPropertyBase src)

Method Detail

findAliasesback to summary
public List<PropertyName> findAliases(MapperConfig<?> config)

Implements com.fasterxml.jackson.databind.BeanProperty.findAliases.

Doc from com.fasterxml.jackson.databind.BeanProperty.findAliases.

Method for accessing set of possible alternate names that are accepted during deserialization.

Returns:List<PropertyName>

List (possibly empty) of alternate names; never null

Annotations
@Override
findFormatOverridesback to summary
public final JsonFormat.Value findFormatOverrides(AnnotationIntrospector intr)

Implements com.fasterxml.jackson.databind.BeanProperty.findFormatOverrides.

Doc from com.fasterxml.jackson.databind.BeanProperty.findFormatOverrides.

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.
Annotations
@Override
@Deprecated
findPropertyFormatback to summary
public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType)

Implements com.fasterxml.jackson.databind.BeanProperty.findPropertyFormat.

Doc from com.fasterxml.jackson.databind.BeanProperty.findPropertyFormat.

Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settings

Annotations
@Override
findPropertyInclusionback to summary
public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)

Implements com.fasterxml.jackson.databind.BeanProperty.findPropertyInclusion.

Doc from com.fasterxml.jackson.databind.BeanProperty.findPropertyInclusion.

Convenience method that is roughly equivalent to

   return config.getAnnotationIntrospector().findPropertyInclusion(getMember());
but also considers global default settings for inclusion
Annotations
@Override
getMetadataback to summary
public PropertyMetadata getMetadata()

Implements com.fasterxml.jackson.databind.BeanProperty.getMetadata.

Doc from com.fasterxml.jackson.databind.BeanProperty.getMetadata.

Accessor for additional optional information about property.

Returns:PropertyMetadata

Metadata about property; never null.

Annotations
@Override
isRequiredback to summary
public boolean isRequired()

Implements com.fasterxml.jackson.databind.BeanProperty.isRequired.

Doc from com.fasterxml.jackson.databind.BeanProperty.isRequired.

Whether value for property is marked as required using annotations or associated schema. Equivalent to: getMetadata().isRequired()

Annotations
@Override
isVirtualback to summary
public boolean isVirtual()

Implements com.fasterxml.jackson.databind.BeanProperty.isVirtual.

Doc from com.fasterxml.jackson.databind.BeanProperty.isVirtual.

Accessor for checking whether there is an actual physical property behind this property abstraction or not.

Annotations
@Override