public static class JsonIncludeProperties.Value extends java.lang.Object implements JacksonAnnotationValue<JsonIncludeProperties>, java.io.Serializable
JsonIncludeProperties
annotation, as well as to provide possible overrides from non-annotation sources.| Modifier and Type | Method and Description |
|---|---|
static JsonIncludeProperties.Value |
all() |
boolean |
equals(java.lang.Object o) |
static JsonIncludeProperties.Value |
from(JsonIncludeProperties src) |
java.util.Set<java.lang.String> |
getIncluded() |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.Class<JsonIncludeProperties> |
valueFor()
Introspection method that may be used to find actual annotation that may be used
as the source for value instance.
|
JsonIncludeProperties.Value |
withOverrides(JsonIncludeProperties.Value overrides)
Mutant factory method to override the current value with an another,
merging the included fields so that only entries that exist in both original
and override set are included, taking into account that "undefined"
JsonIncludeProperties.Values
do not count ("undefined" meaning that getIncluded() returns null). |
public static JsonIncludeProperties.Value from(JsonIncludeProperties src)
public static JsonIncludeProperties.Value all()
public java.lang.Class<JsonIncludeProperties> valueFor()
JacksonAnnotationValuevalueFor in interface JacksonAnnotationValue<JsonIncludeProperties>public java.util.Set<java.lang.String> getIncluded()
null for "not defined"public JsonIncludeProperties.Value withOverrides(JsonIncludeProperties.Value overrides)
JsonIncludeProperties.Values
do not count ("undefined" meaning that getIncluded() returns null).
So: overriding with "undefined" returns original Value as-is; overriding an
"undefined" Value returns override Value as-is.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved