Package com.sap.cds
Enum CdsDataProcessor.Mode
- java.lang.Object
-
- java.lang.Enum<CdsDataProcessor.Mode>
-
- com.sap.cds.CdsDataProcessor.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<CdsDataProcessor.Mode>
- Enclosing interface:
- CdsDataProcessor
public static enum CdsDataProcessor.Mode extends Enum<CdsDataProcessor.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
Include all declared elements for which the data mapcontains
a value.DECLARED
Include all declared elements.NOT_NULL
Include all declared elements for which the data mapcontains
a non-null value.NULL
Include all declared elements that are mapped to null, or don't have an associated value in the data map, in this caseCdsDataProcessor.ABSENT
is used as a placeholder value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CdsDataProcessor.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CdsDataProcessor.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECLARED
public static final CdsDataProcessor.Mode DECLARED
Include all declared elements. For elements that don't have an associated value in the data map,CdsDataProcessor.ABSENT
is used as a placeholder value.
-
CONTAINS
public static final CdsDataProcessor.Mode CONTAINS
Include all declared elements for which the data mapcontains
a value.
-
NOT_NULL
public static final CdsDataProcessor.Mode NOT_NULL
Include all declared elements for which the data mapcontains
a non-null value.
-
NULL
public static final CdsDataProcessor.Mode NULL
Include all declared elements that are mapped to null, or don't have an associated value in the data map, in this caseCdsDataProcessor.ABSENT
is used as a placeholder value.
-
-
Method Detail
-
values
public static CdsDataProcessor.Mode[] 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 (CdsDataProcessor.Mode c : CdsDataProcessor.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdsDataProcessor.Mode 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
-
-