Enum Class MappingFlag
- All Implemented Interfaces:
Serializable, Comparable<MappingFlag>, Constable
Flags a
MappingVisitor may provide to inform the caller about certain requirements.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRequirement that destination field descriptors have to be supplied.Requirement that destination method descriptors have to be supplied.Requirement that an element has to be visited only once within a pass.Requirement that metadata has to be provided in the header.Requirement that only one metadata visit per property key can happen within a given pass.Indication that the visitor may require multiple passes.Requirement that source field descriptors have to be supplied.Requirement that source method descriptors have to be supplied. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingFlagReturns the enum constant of this class with the specified name.static MappingFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEEDS_MULTIPLE_PASSES
Indication that the visitor may require multiple passes. -
NEEDS_HEADER_METADATA
Requirement that metadata has to be provided in the header. -
NEEDS_METADATA_UNIQUENESS
Requirement that only one metadata visit per property key can happen within a given pass. The property value passed via this visit has to be the latest one associated with the given key. -
NEEDS_ELEMENT_UNIQUENESS
Requirement that an element has to be visited only once within a pass.This means that e.g. all members and properties of a class have to be visited after the same single visitClass invocation and no other visitClass invocation with the same srcName may occur.
-
NEEDS_SRC_FIELD_DESC
Requirement that source field descriptors have to be supplied. -
NEEDS_SRC_METHOD_DESC
Requirement that source method descriptors have to be supplied. -
NEEDS_DST_FIELD_DESC
Requirement that destination field descriptors have to be supplied. -
NEEDS_DST_METHOD_DESC
Requirement that destination method descriptors have to be supplied.
-
-
Field Details
-
NONE
-
-
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
-