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.
  • Enum Constant Details

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

    • values

      public static UserInterfaceElementVisibilityType[] 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 UserInterfaceElementVisibilityType 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 UserInterfaceElementVisibilityType fromValue(String v)