Enum BaseContextClassificationUseType
- java.lang.Object
-
- java.lang.Enum<BaseContextClassificationUseType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.BaseContextClassificationUseType
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseContextClassificationUseType>
public enum BaseContextClassificationUseType extends Enum<BaseContextClassificationUseType>
How should be the base context in the delineation used for the classification?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IF_APPLICABLE
If the base context is not applicable, it is used.IGNORED
The base context is not used for classification.REQUIRED
The base context must be used (if it's present in the delineation).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BaseContextClassificationUseType
fromValue(String v)
String
value()
static BaseContextClassificationUseType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseContextClassificationUseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final BaseContextClassificationUseType REQUIRED
The base context must be used (if it's present in the delineation). If it cannot be applied, the delineation is considered as non-matching.
-
IF_APPLICABLE
public static final BaseContextClassificationUseType IF_APPLICABLE
If the base context is not applicable, it is used. Otherwise, it is ignored. This is the default setting.
-
IGNORED
public static final BaseContextClassificationUseType IGNORED
The base context is not used for classification.
-
-
Method Detail
-
values
public static BaseContextClassificationUseType[] 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 (BaseContextClassificationUseType c : BaseContextClassificationUseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseContextClassificationUseType 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
-
value
public String value()
-
fromValue
public static BaseContextClassificationUseType fromValue(String v)
-
-