Package com.evolveum.midpoint.schema
Enum DefinitionProcessingOption
- java.lang.Object
-
- java.lang.Enum<DefinitionProcessingOption>
-
- com.evolveum.midpoint.schema.DefinitionProcessingOption
-
- All Implemented Interfaces:
Serializable
,Comparable<DefinitionProcessingOption>
public enum DefinitionProcessingOption extends Enum<DefinitionProcessingOption>
How should be definitions processed when object is to be retrieved. Currently applies at the model level; but in the future it might be used also elsewhere.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
Full definition processing for the specified item(s) is to be done.NONE
Definition for the specified item(s) is to be excluded from the resulting object, even if the item(s) do exist.ONLY_IF_EXISTS
Full definition processing for the specified item(s) is to be done, but only if the item(s) exist.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefinitionProcessingOption
toDefinitionProcessingOption(DefinitionProcessingOptionType definitionProcessingOptionType)
static DefinitionProcessingOptionType
toDefinitionProcessingOptionType(DefinitionProcessingOption definitionProcessingOption)
static DefinitionProcessingOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefinitionProcessingOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final DefinitionProcessingOption FULL
Full definition processing for the specified item(s) is to be done. This applies recursively also to sub-items.
-
ONLY_IF_EXISTS
public static final DefinitionProcessingOption ONLY_IF_EXISTS
Full definition processing for the specified item(s) is to be done, but only if the item(s) exist. This applies recursively also to sub-items. Currently supported on root level only.
-
NONE
public static final DefinitionProcessingOption NONE
Definition for the specified item(s) is to be excluded from the resulting object, even if the item(s) do exist. NOT IMPLEMENTED YET
-
-
Method Detail
-
values
public static DefinitionProcessingOption[] 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 (DefinitionProcessingOption c : DefinitionProcessingOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefinitionProcessingOption 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
-
toDefinitionProcessingOption
public static DefinitionProcessingOption toDefinitionProcessingOption(DefinitionProcessingOptionType definitionProcessingOptionType)
-
toDefinitionProcessingOptionType
public static DefinitionProcessingOptionType toDefinitionProcessingOptionType(DefinitionProcessingOption definitionProcessingOption)
-
-