Package com._1c.g5.v8.dt.chart.model
Enum StockChartUsedPointValue
- java.lang.Object
-
- java.lang.Enum<StockChartUsedPointValue>
-
- com._1c.g5.v8.dt.chart.model.StockChartUsedPointValue
-
- All Implemented Interfaces:
Serializable
,Comparable<StockChartUsedPointValue>
,org.eclipse.emf.common.util.Enumerator
public enum StockChartUsedPointValue extends Enum<StockChartUsedPointValue> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Stock Chart Used Point Value', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
The 'Close' literal object.MAX
The 'Max' literal object.MIN
The 'Min' literal object.OPEN
The 'Open' literal object.OPEN_CLOSE_AVERAGE
The 'Open Close Average' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CLOSE_VALUE
The 'Close' literal value.static int
MAX_VALUE
The 'Max' literal value.static int
MIN_VALUE
The 'Min' literal value.static int
OPEN_CLOSE_AVERAGE_VALUE
The 'Open Close Average' literal value.static int
OPEN_VALUE
The 'Open' literal value.static List<StockChartUsedPointValue>
VALUES
A public read-only list of all the 'Stock Chart Used Point Value' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StockChartUsedPointValue
get(int value)
Returns the 'Stock Chart Used Point Value' literal with the specified integer value.static StockChartUsedPointValue
get(String literal)
Returns the 'Stock Chart Used Point Value' literal with the specified literal value.static StockChartUsedPointValue
getByName(String name)
Returns the 'Stock Chart Used Point Value' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static StockChartUsedPointValue
valueOf(String name)
Returns the enum constant of this type with the specified name.static StockChartUsedPointValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final StockChartUsedPointValue OPEN
The 'Open' literal object.- See Also:
OPEN_VALUE
-
MAX
public static final StockChartUsedPointValue MAX
The 'Max' literal object.- See Also:
MAX_VALUE
-
MIN
public static final StockChartUsedPointValue MIN
The 'Min' literal object.- See Also:
MIN_VALUE
-
CLOSE
public static final StockChartUsedPointValue CLOSE
The 'Close' literal object.- See Also:
CLOSE_VALUE
-
OPEN_CLOSE_AVERAGE
public static final StockChartUsedPointValue OPEN_CLOSE_AVERAGE
The 'Open Close Average' literal object.- See Also:
OPEN_CLOSE_AVERAGE_VALUE
-
-
Field Detail
-
OPEN_VALUE
public static final int OPEN_VALUE
The 'Open' literal value.- See Also:
OPEN
, Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
The 'Max' literal value.- See Also:
MAX
, Constant Field Values
-
MIN_VALUE
public static final int MIN_VALUE
The 'Min' literal value.- See Also:
MIN
, Constant Field Values
-
CLOSE_VALUE
public static final int CLOSE_VALUE
The 'Close' literal value.- See Also:
CLOSE
, Constant Field Values
-
OPEN_CLOSE_AVERAGE_VALUE
public static final int OPEN_CLOSE_AVERAGE_VALUE
The 'Open Close Average' literal value.- See Also:
OPEN_CLOSE_AVERAGE
, Constant Field Values
-
VALUES
public static final List<StockChartUsedPointValue> VALUES
A public read-only list of all the 'Stock Chart Used Point Value' enumerators.
-
-
Method Detail
-
values
public static StockChartUsedPointValue[] 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 (StockChartUsedPointValue c : StockChartUsedPointValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StockChartUsedPointValue 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 StockChartUsedPointValue get(String literal)
Returns the 'Stock Chart Used Point Value' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static StockChartUsedPointValue getByName(String name)
Returns the 'Stock Chart Used Point Value' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static StockChartUsedPointValue get(int value)
Returns the 'Stock Chart Used Point Value' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<StockChartUsedPointValue>
-
-