Enum GanttChartIntervalRepresentation
- java.lang.Object
-
- java.lang.Enum<GanttChartIntervalRepresentation>
-
- com._1c.g5.v8.dt.ganttchart.model.GanttChartIntervalRepresentation
-
- All Implemented Interfaces:
Serializable
,Comparable<GanttChartIntervalRepresentation>
,org.eclipse.emf.common.util.Enumerator
public enum GanttChartIntervalRepresentation extends Enum<GanttChartIntervalRepresentation> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Interval Representation', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAT
The 'Flat' literal object.GRADIENT
The 'Gradient' literal object.RHOMB
The 'Rhomb' literal object.THREE_DIMENSIONAL
The 'Three Dimensional' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
FLAT_VALUE
The 'Flat' literal value.static int
GRADIENT_VALUE
The 'Gradient' literal value.static int
RHOMB_VALUE
The 'Rhomb' literal value.static int
THREE_DIMENSIONAL_VALUE
The 'Three Dimensional' literal value.static List<GanttChartIntervalRepresentation>
VALUES
A public read-only list of all the 'Interval Representation' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GanttChartIntervalRepresentation
get(int value)
Returns the 'Interval Representation' literal with the specified integer value.static GanttChartIntervalRepresentation
get(String literal)
Returns the 'Interval Representation' literal with the specified literal value.static GanttChartIntervalRepresentation
getByName(String name)
Returns the 'Interval Representation' 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 GanttChartIntervalRepresentation
valueOf(String name)
Returns the enum constant of this type with the specified name.static GanttChartIntervalRepresentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLAT
public static final GanttChartIntervalRepresentation FLAT
The 'Flat' literal object.- See Also:
FLAT_VALUE
-
THREE_DIMENSIONAL
public static final GanttChartIntervalRepresentation THREE_DIMENSIONAL
The 'Three Dimensional' literal object.- See Also:
THREE_DIMENSIONAL_VALUE
-
RHOMB
public static final GanttChartIntervalRepresentation RHOMB
The 'Rhomb' literal object.- See Also:
RHOMB_VALUE
-
GRADIENT
public static final GanttChartIntervalRepresentation GRADIENT
The 'Gradient' literal object.- See Also:
GRADIENT_VALUE
-
-
Field Detail
-
FLAT_VALUE
public static final int FLAT_VALUE
The 'Flat' literal value.- See Also:
FLAT
, Constant Field Values
-
THREE_DIMENSIONAL_VALUE
public static final int THREE_DIMENSIONAL_VALUE
The 'Three Dimensional' literal value.- See Also:
THREE_DIMENSIONAL
, Constant Field Values
-
RHOMB_VALUE
public static final int RHOMB_VALUE
The 'Rhomb' literal value.- See Also:
RHOMB
, Constant Field Values
-
GRADIENT_VALUE
public static final int GRADIENT_VALUE
The 'Gradient' literal value.- See Also:
GRADIENT
, Constant Field Values
-
VALUES
public static final List<GanttChartIntervalRepresentation> VALUES
A public read-only list of all the 'Interval Representation' enumerators.
-
-
Method Detail
-
values
public static GanttChartIntervalRepresentation[] 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 (GanttChartIntervalRepresentation c : GanttChartIntervalRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GanttChartIntervalRepresentation 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 GanttChartIntervalRepresentation get(String literal)
Returns the 'Interval Representation' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static GanttChartIntervalRepresentation getByName(String name)
Returns the 'Interval Representation' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static GanttChartIntervalRepresentation get(int value)
Returns the 'Interval Representation' 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<GanttChartIntervalRepresentation>
-
-