Enum Assignment.AssignmentType
java.lang.Object
java.lang.Enum<Assignment.AssignmentType>
org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
- All Implemented Interfaces:
Serializable,Comparable<Assignment.AssignmentType>,java.lang.constant.Constable
- Enclosing interface:
Assignment
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionassignment is directassignment is mapped (builtin/custom)2 mapping methods (builtin/custom) are applied to get the targetassignment is first mapped (builtin/custom), then the result is type convertedassignment is type convertedassignment is first type converted, and then mapped (builtin/custom) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisDirect()static Assignment.AssignmentTypeReturns the enum constant of this type with the specified name.static Assignment.AssignmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DIRECT
assignment is direct -
TYPE_CONVERTED
assignment is type converted -
MAPPED
assignment is mapped (builtin/custom) -
MAPPED_TWICE
2 mapping methods (builtin/custom) are applied to get the target -
MAPPED_TYPE_CONVERTED
assignment is first mapped (builtin/custom), then the result is type converted -
TYPE_CONVERTED_MAPPED
assignment is first type converted, and then mapped (builtin/custom)
-
-
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
-
isDirect
public boolean isDirect() -
isConverted
public boolean isConverted()
-