Enum DefaultDataLockControlMode
- java.lang.Object
-
- java.lang.Enum<DefaultDataLockControlMode>
-
- com._1c.g5.v8.dt.metadata.mdclass.DefaultDataLockControlMode
-
- All Implemented Interfaces:
Serializable,Comparable<DefaultDataLockControlMode>,org.eclipse.emf.common.util.Enumerator
public enum DefaultDataLockControlMode extends Enum<DefaultDataLockControlMode> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Default Data Lock Control Mode', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATICThe 'Automatic' literal object.AUTOMATIC_AND_MANAGEDThe 'Automatic And Managed' literal object.MANAGEDThe 'Managed' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intAUTOMATIC_AND_MANAGED_VALUEThe 'Automatic And Managed' literal value.static intAUTOMATIC_VALUEThe 'Automatic' literal value.static intMANAGED_VALUEThe 'Managed' literal value.static List<DefaultDataLockControlMode>VALUESA public read-only list of all the 'Default Data Lock Control Mode' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultDataLockControlModeget(int value)Returns the 'Default Data Lock Control Mode' literal with the specified integer value.static DefaultDataLockControlModeget(String literal)Returns the 'Default Data Lock Control Mode' literal with the specified literal value.static DefaultDataLockControlModegetByName(String name)Returns the 'Default Data Lock Control Mode' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static DefaultDataLockControlModevalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultDataLockControlMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final DefaultDataLockControlMode AUTOMATIC
The 'Automatic' literal object.- See Also:
AUTOMATIC_VALUE
-
MANAGED
public static final DefaultDataLockControlMode MANAGED
The 'Managed' literal object.- See Also:
MANAGED_VALUE
-
AUTOMATIC_AND_MANAGED
public static final DefaultDataLockControlMode AUTOMATIC_AND_MANAGED
The 'Automatic And Managed' literal object.- See Also:
AUTOMATIC_AND_MANAGED_VALUE
-
-
Field Detail
-
AUTOMATIC_VALUE
public static final int AUTOMATIC_VALUE
The 'Automatic' literal value.- See Also:
AUTOMATIC, Constant Field Values
-
MANAGED_VALUE
public static final int MANAGED_VALUE
The 'Managed' literal value.- See Also:
MANAGED, Constant Field Values
-
AUTOMATIC_AND_MANAGED_VALUE
public static final int AUTOMATIC_AND_MANAGED_VALUE
The 'Automatic And Managed' literal value.- See Also:
AUTOMATIC_AND_MANAGED, Constant Field Values
-
VALUES
public static final List<DefaultDataLockControlMode> VALUES
A public read-only list of all the 'Default Data Lock Control Mode' enumerators.
-
-
Method Detail
-
values
public static DefaultDataLockControlMode[] 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 (DefaultDataLockControlMode c : DefaultDataLockControlMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultDataLockControlMode 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 DefaultDataLockControlMode get(String literal)
Returns the 'Default Data Lock Control Mode' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static DefaultDataLockControlMode getByName(String name)
Returns the 'Default Data Lock Control Mode' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static DefaultDataLockControlMode get(int value)
Returns the 'Default Data Lock Control Mode' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<DefaultDataLockControlMode>
-
-