public abstract class ConfigOverride extends Object
Class
), but can be further
overridden by annotations attached to the property itself.Modifier and Type | Field and Description |
---|---|
protected JsonFormat.Value |
_format
Definitions of format overrides, if any.
|
protected JsonIgnoreProperties.Value |
_ignorals
Definitions of property ignoral (whether to serialize, deserialize
given logical property) overrides, if any.
|
protected JsonInclude.Value |
_include
Definitions of inclusion defaults to use for properties included in this POJO type.
|
protected JsonInclude.Value |
_includeAsProperty
Definitions of inclusion defaults for properties of this specified type (regardless
of POJO in which they are included).
|
protected Boolean |
_isIgnoredType
Flag that indicates whether "is ignorable type" is specified for this type;
and if so, is it to be ignored (true) or not ignored (false); `null` is
used to indicate "not specified", in which case other configuration (class
annotation) is used.
|
protected Boolean |
_mergeable
Flag that indicates whether properties of this type default to being merged
or not.
|
protected JsonSetter.Value |
_setterInfo
Definitions of setter overrides regarding null handling
|
protected JsonAutoDetect.Value |
_visibility
Overrides for auto-detection visibility rules for this type.
|
Modifier | Constructor and Description |
---|---|
protected |
ConfigOverride() |
protected |
ConfigOverride(ConfigOverride src) |
Modifier and Type | Method and Description |
---|---|
static ConfigOverride |
empty()
Accessor for immutable "empty" instance that has no configuration overrides defined.
|
JsonFormat.Value |
getFormat() |
JsonIgnoreProperties.Value |
getIgnorals() |
JsonInclude.Value |
getInclude() |
JsonInclude.Value |
getIncludeAsProperty() |
Boolean |
getIsIgnoredType() |
Boolean |
getMergeable() |
JsonSetter.Value |
getSetterInfo() |
JsonAutoDetect.Value |
getVisibility() |
protected JsonFormat.Value _format
protected JsonInclude.Value _include
_includeAsProperty
) and per-property overrides (annotations).protected JsonInclude.Value _includeAsProperty
_include
}),
may be overridden by per-property overrides.protected JsonIgnoreProperties.Value _ignorals
protected JsonSetter.Value _setterInfo
protected JsonAutoDetect.Value _visibility
protected Boolean _isIgnoredType
protected Boolean _mergeable
protected ConfigOverride()
protected ConfigOverride(ConfigOverride src)
public static ConfigOverride empty()
public JsonFormat.Value getFormat()
public JsonInclude.Value getInclude()
public JsonInclude.Value getIncludeAsProperty()
public JsonIgnoreProperties.Value getIgnorals()
public Boolean getIsIgnoredType()
public JsonSetter.Value getSetterInfo()
public JsonAutoDetect.Value getVisibility()
public Boolean getMergeable()
Copyright © 2008–2019 FasterXML. All rights reserved.