Enum UserInterfaceElementVisibilityType
- java.lang.Object
-
- java.lang.Enum<UserInterfaceElementVisibilityType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.UserInterfaceElementVisibilityType
-
- All Implemented Interfaces:
Serializable
,Comparable<UserInterfaceElementVisibilityType>
public enum UserInterfaceElementVisibilityType extends Enum<UserInterfaceElementVisibilityType>
Java class for UserInterfaceElementVisibilityType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="UserInterfaceElementVisibilityType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="automatic"/> <enumeration value="visible"/> <enumeration value="vacant"/> <enumeration value="hidden"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.HIDDEN
The element is never visible.VACANT
The element will not be visible.VISIBLE
The element will be always visible (if not hidden).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserInterfaceElementVisibilityType
fromValue(String v)
String
value()
static UserInterfaceElementVisibilityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserInterfaceElementVisibilityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final UserInterfaceElementVisibilityType 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
public static final UserInterfaceElementVisibilityType VISIBLE
The element will be always visible (if not hidden).
-
VACANT
public static final UserInterfaceElementVisibilityType 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
public static final UserInterfaceElementVisibilityType 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 Detail
-
values
public static UserInterfaceElementVisibilityType[] 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 (UserInterfaceElementVisibilityType c : UserInterfaceElementVisibilityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserInterfaceElementVisibilityType 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
-
value
public String value()
-
fromValue
public static UserInterfaceElementVisibilityType fromValue(String v)
-
-