Enum UserSupportMode
- java.lang.Object
-
- java.lang.Enum<UserSupportMode>
-
- com._1c.g5.v8.dt.md.distribution.support.UserSupportMode
-
- All Implemented Interfaces:
Serializable
,Comparable<UserSupportMode>
public enum UserSupportMode extends Enum<UserSupportMode>
Set of available mode of Supporting mechanism for 1C:Enterprise Configuration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED
Object is no longer supportedCHANGES_ALLOWED
Object is editable with saving supportCHANGES_NOT_ALLOWED
Object is supported but is not editable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserSupportMode
get(int value)
Gets enum element by integer valueint
getValue()
Gets integer value of enum itemstatic UserSupportMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserSupportMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- 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 valuenull
will be returned
-
getValue
public int getValue()
Gets integer value of enum item- Returns:
- integer value of enum item
-
-