- java.lang.Object
-
- java.lang.Enum<MappingOperation>
-
- com.remondis.remap.MappingOperation
-
- All Implemented Interfaces:
Serializable,Comparable<MappingOperation>
public enum MappingOperation extends Enum<MappingOperation>
Specifies how the mapping result should be used.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MappingOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static MappingOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP
public static final MappingOperation SKIP
The mapping does not produce a value. Used to distinguish anull-value from "mapping has no result".
-
VALUE
public static final MappingOperation VALUE
Signals that the value should be used as mapping result. If value istnull,nullshould be used as mapping result value.
-
-
Method Detail
-
values
public static MappingOperation[] 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 (MappingOperation c : MappingOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MappingOperation 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
-
-