| Modifier and Type | Class and Description |
|---|---|
| public static class | PropertyMetadata.MergeInfo
Helper class used for containing information about expected merge information for this property, if merging is expected. |
| Modifier and Type | Field and Description |
|---|---|
| protected Nulls | _contentNulls
Settings regarding handling of incoming `null`s, both for value itself and, for structured types, content values (array/Collection elements, Map values). |
| protected final String | _defaultValue
Optional default value, as String, for property; not used for any functionality by core databind, offered as metadata for extensions. |
| protected final String | _description
Optional human-readable description associated with the property. |
| protected final Integer | _index
Optional index of the property within containing Object. |
| protected final transient PropertyMetadata. | _mergeInfo
Settings regarding merging, if property is determined to possibly be mergeable (possibly since global settings may be omitted for non-mergeable types). |
| protected final Boolean | _required
Three states: required, not required and unknown; unknown represented as null. |
| protected Nulls | _valueNulls
Settings regarding handling of incoming `null`s, both for value itself and, for structured types, content values (array/Collection elements, Map values). |
| private static final long | |
| public static final PropertyMetadata | |
| public static final PropertyMetadata | |
| public static final PropertyMetadata |
| Access | Constructor and Description |
|---|---|
| protected | PropertyMetadata(Boolean req, String desc, Integer index, String def, PropertyMetadata.
|
| Modifier and Type | Method and Description |
|---|---|
| public static PropertyMetadata | |
| public static PropertyMetadata | |
| public Nulls | |
| public String | |
| public String | |
| public Integer | |
| public PropertyMetadata. | |
| public Boolean | |
| public Nulls | |
| public boolean | hasDefaultValue()
Accessor for determining whether property has declared "default value", which may be used by extension modules. |
| public boolean | |
| public boolean | |
| protected Object | readResolve()
Minor optimization: let's canonicalize back to placeholders in cases where there is no real data to consider |
| public PropertyMetadata | |
| public PropertyMetadata | |
| public PropertyMetadata | |
| public PropertyMetadata | |
| public PropertyMetadata | |
| public PropertyMetadata |
| _contentNulls | back to summary |
|---|---|
| protected Nulls _contentNulls Settings regarding handling of incoming `null`s, both for value itself and, for structured types, content values (array/Collection elements, Map values).
| |
| _defaultValue | back to summary |
|---|---|
| protected final String _defaultValue Optional default value, as String, for property; not used for any functionality by core databind, offered as metadata for extensions. | |
| _description | back to summary |
|---|---|
| protected final String _description Optional human-readable description associated with the property. | |
| _index | back to summary |
|---|---|
| protected final Integer _index Optional index of the property within containing Object.
| |
| _mergeInfo | back to summary |
|---|---|
| protected final transient PropertyMetadata. Settings regarding merging, if property is determined to possibly be mergeable (possibly since global settings may be omitted for non-mergeable types). Note transient since it is assumed that this information is only relevant during initial setup and not needed after full initialization. May be changed if this proves necessary.
| |
| _required | back to summary |
|---|---|
| protected final Boolean _required Three states: required, not required and unknown; unknown represented as null. | |
| _valueNulls | back to summary |
|---|---|
| protected Nulls _valueNulls Settings regarding handling of incoming `null`s, both for value itself and, for structured types, content values (array/Collection elements, Map values).
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| STD_OPTIONAL | back to summary |
|---|---|
| public static final PropertyMetadata STD_OPTIONAL | |
| STD_REQUIRED | back to summary |
|---|---|
| public static final PropertyMetadata STD_REQUIRED | |
| STD_REQUIRED_OR_OPTIONAL | back to summary |
|---|---|
| public static final PropertyMetadata STD_REQUIRED_OR_OPTIONAL | |
| PropertyMetadata | back to summary |
|---|---|
protected PropertyMetadata(Boolean req, String desc, Integer index, String def, PropertyMetadata.
| |
| construct | back to summary |
|---|---|
public static PropertyMetadata construct(Boolean req, String desc, Integer index, String defaultValue)
| |
| construct | back to summary |
|---|---|
| public static PropertyMetadata construct(boolean req, String desc, Integer index, String defaultValue)
Deprecated
| |
| getContentNulls | back to summary |
|---|---|
public Nulls getContentNulls()
| |
| getDefaultValue | back to summary |
|---|---|
public String getDefaultValue()
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() | |
| getIndex | back to summary |
|---|---|
public Integer getIndex()
| |
| getMergeInfo | back to summary |
|---|---|
public PropertyMetadata.
| |
| getRequired | back to summary |
|---|---|
| public Boolean getRequired() | |
| getValueNulls | back to summary |
|---|---|
public Nulls getValueNulls()
| |
| hasDefaultValue | back to summary |
|---|---|
| public boolean hasDefaultValue() Accessor for determining whether property has declared "default value", which may be used by extension modules.
| |
| hasIndex | back to summary |
|---|---|
public boolean hasIndex()
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() Minor optimization: let's canonicalize back to placeholders in cases where there is no real data to consider | |
| withDefaultValue | back to summary |
|---|---|
| public PropertyMetadata withDefaultValue(String def) | |
| withDescription | back to summary |
|---|---|
| public PropertyMetadata withDescription(String desc) | |
| withIndex | back to summary |
|---|---|
| public PropertyMetadata withIndex(Integer index) | |
| withMergeInfo | back to summary |
|---|---|
public PropertyMetadata withMergeInfo(PropertyMetadata.
| |
| withNulls | back to summary |
|---|---|
public PropertyMetadata withNulls(Nulls valueNulls, Nulls contentNulls)
| |
| withRequired | back to summary |
|---|---|
| public PropertyMetadata withRequired(Boolean b) | |
| Modifier and Type | Field and Description |
|---|---|
| public final boolean | fromDefaults
Flag that is set if the information came from global defaults, and not from explicit per-property annotations or per-type config overrides. |
| public final AnnotatedMember |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static PropertyMetadata. | |
| public static PropertyMetadata. | |
| public static PropertyMetadata. |
| fromDefaults | back to summary |
|---|---|
| public final boolean fromDefaults Flag that is set if the information came from global defaults, and not from explicit per-property annotations or per-type config overrides. | |
| getter | back to summary |
|---|---|
| public final AnnotatedMember getter | |
| MergeInfo | back to summary |
|---|---|
| protected MergeInfo(AnnotatedMember getter, boolean fromDefaults) | |
| createForDefaults | back to summary |
|---|---|
| public static PropertyMetadata. | |
| createForPropertyOverride | back to summary |
|---|---|
| public static PropertyMetadata. | |
| createForTypeOverride | back to summary |
|---|---|
| public static PropertyMetadata. | |