Enum AnnotationIntrospector.ReferenceProperty.Type

java.lang.Object
java.lang.Enum<AnnotationIntrospector.ReferenceProperty.Type>
com.fasterxml.jackson.databind.AnnotationIntrospector.ReferenceProperty.Type
All Implemented Interfaces:
Serializable, Comparable<AnnotationIntrospector.ReferenceProperty.Type>, java.lang.constant.Constable
Enclosing class:
AnnotationIntrospector.ReferenceProperty

public static enum AnnotationIntrospector.ReferenceProperty.Type extends Enum<AnnotationIntrospector.ReferenceProperty.Type>
  • Enum Constant Details

    • MANAGED_REFERENCE

      public static final AnnotationIntrospector.ReferenceProperty.Type 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. Usually this can be defined by using JsonManagedReference
    • BACK_REFERENCE

      public static final AnnotationIntrospector.ReferenceProperty.Type BACK_REFERENCE
      Reference property that Jackson manages by suppressing it during serialization, and reconstructing during deserialization. Usually this can be defined by using JsonBackReference
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null