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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow object to "escape" from the zone of control.Always keep object in the zone of control. -
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneOfControlType
value()
Returns enum value defined as in schema.static ZoneOfControlType
Returns the enum constant of this class with the specified name.static ZoneOfControlType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-