Enum Class UserInterfaceElementVisibilityType
java.lang.Object
java.lang.Enum<UserInterfaceElementVisibilityType>
com.evolveum.midpoint.xml.ns._public.common.common_3.UserInterfaceElementVisibilityType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<UserInterfaceElementVisibilityType>
,Constable
public enum UserInterfaceElementVisibilityType
extends Enum<UserInterfaceElementVisibilityType>
implements TypeSafeEnum
Defines, whether a user interface element (form, widget) will be visible or it will be hidden.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe element will be visible if the authorisations of the current user allows to see (at least a part) of the content that the element displays.The element is never visible.The element will not be visible.The element will be always visible (if not hidden). -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns enum value defined as in schema.Returns the enum constant of this class with the specified name.static UserInterfaceElementVisibilityType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
The element will be visible if the authorisations of the current user allows to see (at least a part) of the content that the element displays. -
VISIBLE
The element will be always visible (if not hidden). -
VACANT
The element will not be visible. Not even if the authorizations allow to see its content. But if any other role specifies the element as visible or automatic then it will be visible. This setting is easily overridden. -
HIDDEN
The element is never visible. Even if any other role specifies the element as visible then the element will still remain invisible. This setting cannot be overridden.
-
-
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
-