Package com._1c.g5.v8.dt.chart.model
Enum ChartValueEditState
- java.lang.Object
-
- java.lang.Enum<ChartValueEditState>
-
- com._1c.g5.v8.dt.chart.model.ChartValueEditState
-
- All Implemented Interfaces:
Serializable,Comparable<ChartValueEditState>,org.eclipse.emf.common.util.Enumerator
public enum ChartValueEditState extends Enum<ChartValueEditState> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Value Edit State', and utility methods for working with them.- See Also:
ChartPackage.getChartValueEditState()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELEDThe 'Canceled' literal object.COMPLETEDThe 'Completed' literal object.IN_PROGRESSThe 'In Progress' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intCANCELED_VALUEThe 'Canceled' literal value.static intCOMPLETED_VALUEThe 'Completed' literal value.static intIN_PROGRESS_VALUEThe 'In Progress' literal value.static List<ChartValueEditState>VALUESA public read-only list of all the 'Value Edit State' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChartValueEditStateget(int value)Returns the 'Value Edit State' literal with the specified integer value.static ChartValueEditStateget(String literal)Returns the 'Value Edit State' literal with the specified literal value.static ChartValueEditStategetByName(String name)Returns the 'Value Edit State' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ChartValueEditStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ChartValueEditState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final ChartValueEditState IN_PROGRESS
The 'In Progress' literal object.- See Also:
IN_PROGRESS_VALUE
-
COMPLETED
public static final ChartValueEditState COMPLETED
The 'Completed' literal object.- See Also:
COMPLETED_VALUE
-
CANCELED
public static final ChartValueEditState CANCELED
The 'Canceled' literal object.- See Also:
CANCELED_VALUE
-
-
Field Detail
-
IN_PROGRESS_VALUE
public static final int IN_PROGRESS_VALUE
The 'In Progress' literal value.- See Also:
IN_PROGRESS, Constant Field Values
-
COMPLETED_VALUE
public static final int COMPLETED_VALUE
The 'Completed' literal value.- See Also:
COMPLETED, Constant Field Values
-
CANCELED_VALUE
public static final int CANCELED_VALUE
The 'Canceled' literal value.- See Also:
CANCELED, Constant Field Values
-
VALUES
public static final List<ChartValueEditState> VALUES
A public read-only list of all the 'Value Edit State' enumerators.
-
-
Method Detail
-
values
public static ChartValueEditState[] 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 (ChartValueEditState c : ChartValueEditState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartValueEditState 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 ChartValueEditState get(String literal)
Returns the 'Value Edit State' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static ChartValueEditState getByName(String name)
Returns the 'Value Edit State' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static ChartValueEditState get(int value)
Returns the 'Value Edit State' 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<ChartValueEditState>
-
-