Enum Class DefinitionProcessingOption

java.lang.Object
java.lang.Enum<DefinitionProcessingOption>
com.evolveum.midpoint.schema.DefinitionProcessingOption
All Implemented Interfaces:
Serializable, Comparable<DefinitionProcessingOption>, Constable

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 Details

    • 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 Details

    • values

      public static DefinitionProcessingOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefinitionProcessingOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toDefinitionProcessingOption

      public static DefinitionProcessingOption toDefinitionProcessingOption(DefinitionProcessingOptionType definitionProcessingOptionType)
    • toDefinitionProcessingOptionType

      public static DefinitionProcessingOptionType toDefinitionProcessingOptionType(DefinitionProcessingOption definitionProcessingOption)