Enum Class MappingDiagnostic

java.lang.Object
java.lang.Enum<MappingDiagnostic>
com.kazforge.jsonapi.diagnostic.MappingDiagnostic
All Implemented Interfaces:
Serializable, Comparable<MappingDiagnostic>, Constable

public enum MappingDiagnostic extends Enum<MappingDiagnostic>
Stable semantic codes for mapping, binding, registry, decoration, and representation failures.
  • Enum Constant Details

    • DUPLICATE_ROLE

      public static final MappingDiagnostic DUPLICATE_ROLE
    • NAME_COLLISION

      public static final MappingDiagnostic NAME_COLLISION
    • INVALID_RESOURCE_TYPE

      public static final MappingDiagnostic INVALID_RESOURCE_TYPE
    • INVALID_ATTRIBUTE_NAME

      public static final MappingDiagnostic INVALID_ATTRIBUTE_NAME
    • INVALID_RELATIONSHIP_NAME

      public static final MappingDiagnostic INVALID_RELATIONSHIP_NAME
    • MISSING_ACCESSOR

      public static final MappingDiagnostic MISSING_ACCESSOR
    • MISSING_IDENTIFIER

      public static final MappingDiagnostic MISSING_IDENTIFIER
    • MISSING_RESOURCE_ANNOTATION

      public static final MappingDiagnostic MISSING_RESOURCE_ANNOTATION
    • UNSUPPORTED_ATTRIBUTE_VALUE

      public static final MappingDiagnostic UNSUPPORTED_ATTRIBUTE_VALUE
    • UNSUPPORTED_RELATIONSHIP_VALUE

      public static final MappingDiagnostic UNSUPPORTED_RELATIONSHIP_VALUE
    • UNSUPPORTED_RELATIONSHIP_COLLECTION_TYPE

      public static final MappingDiagnostic UNSUPPORTED_RELATIONSHIP_COLLECTION_TYPE
    • INVALID_INCLUDE_PATH

      public static final MappingDiagnostic INVALID_INCLUDE_PATH
    • DENIED_RELATIONSHIP_INCLUDE

      public static final MappingDiagnostic DENIED_RELATIONSHIP_INCLUDE
    • CONFLICTING_INCLUDED_REPRESENTATION

      public static final MappingDiagnostic CONFLICTING_INCLUDED_REPRESENTATION
    • INCLUDE_DEPTH_EXCEEDED

      public static final MappingDiagnostic INCLUDE_DEPTH_EXCEEDED
    • INCLUDE_COUNT_EXCEEDED

      public static final MappingDiagnostic INCLUDE_COUNT_EXCEEDED
    • RESOURCE_TYPE_MISMATCH

      public static final MappingDiagnostic RESOURCE_TYPE_MISMATCH
    • IDENTIFIER_CONVERSION_FAILED

      public static final MappingDiagnostic IDENTIFIER_CONVERSION_FAILED
    • RELATIONSHIP_CARDINALITY_MISMATCH

      public static final MappingDiagnostic RELATIONSHIP_CARDINALITY_MISMATCH
    • UNSUPPORTED_RELATIONSHIP_TARGET

      public static final MappingDiagnostic UNSUPPORTED_RELATIONSHIP_TARGET
    • LINKAGE_MAPPING_FAILED

      public static final MappingDiagnostic LINKAGE_MAPPING_FAILED
    • MISSING_CREATOR_INPUT

      public static final MappingDiagnostic MISSING_CREATOR_INPUT
    • NON_DESERIALIZABLE_PROPERTY

      public static final MappingDiagnostic NON_DESERIALIZABLE_PROPERTY
    • UNREGISTERED_RESOURCE_TYPE

      public static final MappingDiagnostic UNREGISTERED_RESOURCE_TYPE
    • CONFLICTING_TYPE_REGISTRATION

      public static final MappingDiagnostic CONFLICTING_TYPE_REGISTRATION
    • INVALID_FIELDSET_FIELD

      public static final MappingDiagnostic INVALID_FIELDSET_FIELD
    • DENIED_FIELDSET_FIELD

      public static final MappingDiagnostic DENIED_FIELDSET_FIELD
    • FIELDSETS_REQUIRE_MAPPED_DOCUMENT

      public static final MappingDiagnostic FIELDSETS_REQUIRE_MAPPED_DOCUMENT
    • UNKNOWN_PATCH_MEMBER

      public static final MappingDiagnostic UNKNOWN_PATCH_MEMBER
    • INVALID_PATCH_PROPERTY_TYPE

      public static final MappingDiagnostic INVALID_PATCH_PROPERTY_TYPE
    • INVALID_META_TARGET

      public static final MappingDiagnostic INVALID_META_TARGET
    • INVALID_RELATIONSHIP_META_TARGET

      public static final MappingDiagnostic INVALID_RELATIONSHIP_META_TARGET
    • UNRESOLVED_RELATIONSHIP_META

      public static final MappingDiagnostic UNRESOLVED_RELATIONSHIP_META
    • INVALID_IDENTIFIER_META_TARGET

      public static final MappingDiagnostic INVALID_IDENTIFIER_META_TARGET
    • UNRESOLVED_GENERIC_TYPE

      public static final MappingDiagnostic UNRESOLVED_GENERIC_TYPE
    • INVALID_DECORATION_TARGET

      public static final MappingDiagnostic INVALID_DECORATION_TARGET
    • INVALID_DECORATION_STATE

      public static final MappingDiagnostic INVALID_DECORATION_STATE
  • Method Details

    • values

      public static MappingDiagnostic[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MappingDiagnostic valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null