Enum Class ZoneOfControlType

java.lang.Object
java.lang.Enum<ZoneOfControlType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ZoneOfControlType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<ZoneOfControlType>, Constable

public enum ZoneOfControlType extends Enum<ZoneOfControlType> implements TypeSafeEnum
Defines how zone of control should be maintained. Zone of control is the set of objects for that particular authorization. E.g. the set of objects that satisfy specified filter, objects that belong to the same tenant and so on. Zone of control is evaluated for each particular authorization separately. Therefore the default setting of "keep" will not allow operation if the object leaves zone of control of one authorization but it enters zone of control of another authorization.
  • Enum Constant Details

    • KEEP

      public static final ZoneOfControlType KEEP
      Always keep object in the zone of control. Do not allow any modifications that could allow object to get out of zone of control of that particular authorization. E.g. modify authorization will not be able to make such object modification that would cause object to become unmodifiable.
    • ALLOW_ESCAPE

      public static final ZoneOfControlType ALLOW_ESCAPE
      Allow object to "escape" from the zone of control. Allow any modifications that could allow object to get out of zone of control of that particular authorization. E.g. modify authorization will be able to make such object modification that would cause object to become unmodifiable.
  • Method Details

    • values

      public static ZoneOfControlType[] 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 ZoneOfControlType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ZoneOfControlType fromValue(String v)