Package com.kazforge.jsonapi.diagnostic
Enum Class MappingDiagnostic
- All Implemented Interfaces:
Serializable,Comparable<MappingDiagnostic>,Constable
Stable semantic codes for mapping, binding, registry, decoration, and representation failures.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingDiagnosticReturns the enum constant of this class with the specified name.static MappingDiagnostic[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DUPLICATE_ROLE
-
NAME_COLLISION
-
INVALID_RESOURCE_TYPE
-
INVALID_ATTRIBUTE_NAME
-
INVALID_RELATIONSHIP_NAME
-
MISSING_ACCESSOR
-
MISSING_IDENTIFIER
-
MISSING_RESOURCE_ANNOTATION
-
UNSUPPORTED_ATTRIBUTE_VALUE
-
UNSUPPORTED_RELATIONSHIP_VALUE
-
UNSUPPORTED_RELATIONSHIP_COLLECTION_TYPE
-
INVALID_INCLUDE_PATH
-
DENIED_RELATIONSHIP_INCLUDE
-
CONFLICTING_INCLUDED_REPRESENTATION
-
INCLUDE_DEPTH_EXCEEDED
-
INCLUDE_COUNT_EXCEEDED
-
RESOURCE_TYPE_MISMATCH
-
IDENTIFIER_CONVERSION_FAILED
-
RELATIONSHIP_CARDINALITY_MISMATCH
-
UNSUPPORTED_RELATIONSHIP_TARGET
-
LINKAGE_MAPPING_FAILED
-
MISSING_CREATOR_INPUT
-
NON_DESERIALIZABLE_PROPERTY
-
UNREGISTERED_RESOURCE_TYPE
-
CONFLICTING_TYPE_REGISTRATION
-
INVALID_FIELDSET_FIELD
-
DENIED_FIELDSET_FIELD
-
FIELDSETS_REQUIRE_MAPPED_DOCUMENT
-
UNKNOWN_PATCH_MEMBER
-
INVALID_PATCH_PROPERTY_TYPE
-
INVALID_META_TARGET
-
INVALID_RELATIONSHIP_META_TARGET
-
UNRESOLVED_RELATIONSHIP_META
-
INVALID_IDENTIFIER_META_TARGET
-
UNRESOLVED_GENERIC_TYPE
-
INVALID_DECORATION_TARGET
-
INVALID_DECORATION_STATE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-