Enum UserSupportMode

    • Enum Constant Detail

      • CHANGES_NOT_ALLOWED

        public static final UserSupportMode CHANGES_NOT_ALLOWED
        Object is supported but is not editable
      • CHANGES_ALLOWED

        public static final UserSupportMode CHANGES_ALLOWED
        Object is editable with saving support
      • CANCELLED

        public static final UserSupportMode CANCELLED
        Object is no longer supported
    • Method Detail

      • values

        public static UserSupportMode[] 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 (UserSupportMode c : UserSupportMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserSupportMode 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 name
        NullPointerException - if the argument is null
      • get

        public static UserSupportMode get​(int value)
        Gets enum element by integer value
        Parameters:
        value - integer value of the enum item
        Returns:
        enum element, never null, if there is no enum element with getting integer value null will be returned
      • getValue

        public int getValue()
        Gets integer value of enum item
        Returns:
        integer value of enum item