public static enum AnnotationIntrospector.ReferenceProperty.Type extends Enum<AnnotationIntrospector.ReferenceProperty.Type>
Enum Constant and Description |
---|
BACK_REFERENCE |
MANAGED_REFERENCE
Reference property that Jackson manages and that is serialized normally (by serializing
reference object), but is used for resolving back references during
deserialization.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationIntrospector.ReferenceProperty.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationIntrospector.ReferenceProperty.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationIntrospector.ReferenceProperty.Type MANAGED_REFERENCE
JsonManagedReference
public static final AnnotationIntrospector.ReferenceProperty.Type BACK_REFERENCE
public static AnnotationIntrospector.ReferenceProperty.Type[] values()
for (AnnotationIntrospector.ReferenceProperty.Type c : AnnotationIntrospector.ReferenceProperty.Type.values()) System.out.println(c);
public static AnnotationIntrospector.ReferenceProperty.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 JBoss by Red Hat. All rights reserved.