Enum MappingType
- All Implemented Interfaces:
Serializable
,Comparable<MappingType>
,Constable
Defines possible mapping types.
- Since:
- 2.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the mapping type used when two or more source fields are aggregated to one target field.Specifies the mapping type used when the mapping between the source and target fields is directly executed; the target value is equal to the source value.Specifies the mapping type used when the source field is split into two or more target fields.Specifies an unidentified type. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static MappingType
static MappingType
Returns the enum constant of this type with the specified name.static MappingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AGGREGATION
Specifies the mapping type used when two or more source fields are aggregated to one target field. -
DIRECT
Specifies the mapping type used when the mapping between the source and target fields is directly executed; the target value is equal to the source value. There is no aggregation and/or split of fields values. -
SPLIT
Specifies the mapping type used when the source field is split into two or more target fields. -
UNKNOWN
Specifies an unidentified type.
-
-
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 nameNullPointerException
- if the argument is null
-
parse
-
getValue
-