Enum SelectionCriteria.Type
- java.lang.Object
-
- java.lang.Enum<SelectionCriteria.Type>
-
- org.mapstruct.ap.internal.model.source.selector.SelectionCriteria.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<SelectionCriteria.Type>
- Enclosing class:
- SelectionCriteria
public static enum SelectionCriteria.Type extends Enum<SelectionCriteria.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIFECYCLE_CALLBACK
OBJECT_FACTORY
PREFER_UPDATE_MAPPING
PRESENCE_CHECK
SELF_NOT_ALLOWED
SOURCE_PARAMETER_CHECK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionCriteria.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SelectionCriteria.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREFER_UPDATE_MAPPING
public static final SelectionCriteria.Type PREFER_UPDATE_MAPPING
-
OBJECT_FACTORY
public static final SelectionCriteria.Type OBJECT_FACTORY
-
LIFECYCLE_CALLBACK
public static final SelectionCriteria.Type LIFECYCLE_CALLBACK
-
PRESENCE_CHECK
public static final SelectionCriteria.Type PRESENCE_CHECK
-
SOURCE_PARAMETER_CHECK
public static final SelectionCriteria.Type SOURCE_PARAMETER_CHECK
-
SELF_NOT_ALLOWED
public static final SelectionCriteria.Type SELF_NOT_ALLOWED
-
-
Method Detail
-
values
public static SelectionCriteria.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SelectionCriteria.Type c : SelectionCriteria.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectionCriteria.Type valueOf(String name)
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
-
-