Enum Class GanttChartIntervalRepresentation
java.lang.Object
java.lang.Enum<GanttChartIntervalRepresentation>
com._1c.g5.v8.dt.ganttchart.model.GanttChartIntervalRepresentation
- All Implemented Interfaces:
Serializable
,Comparable<GanttChartIntervalRepresentation>
,Constable
,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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Flat' literal object.The 'Gradient' literal object.The 'Rhomb' literal object.The 'Three Dimensional' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'Flat' literal value.static final int
The 'Gradient' literal value.static final int
The 'Rhomb' literal value.static final int
The 'Three Dimensional' literal value.static final List<GanttChartIntervalRepresentation>
A public read-only list of all the 'Interval Representation' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionget
(int value) Returns the 'Interval Representation' literal with the specified integer value.Returns the 'Interval Representation' literal with the specified literal value.Returns the 'Interval Representation' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.Returns the enum constant of this class with the specified name.static GanttChartIntervalRepresentation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLAT
The 'Flat' literal object.- See Also:
-
THREE_DIMENSIONAL
The 'Three Dimensional' literal object.- See Also:
-
RHOMB
The 'Rhomb' literal object.- See Also:
-
GRADIENT
The 'Gradient' literal object.- See Also:
-
-
Field Details
-
FLAT_VALUE
public static final int FLAT_VALUEThe 'Flat' literal value.- See Also:
-
THREE_DIMENSIONAL_VALUE
public static final int THREE_DIMENSIONAL_VALUEThe 'Three Dimensional' literal value.- See Also:
-
RHOMB_VALUE
public static final int RHOMB_VALUEThe 'Rhomb' literal value.- See Also:
-
GRADIENT_VALUE
public static final int GRADIENT_VALUEThe 'Gradient' literal value.- See Also:
-
VALUES
A public read-only list of all the 'Interval Representation' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Interval Representation' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Interval Representation' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
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
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<GanttChartIntervalRepresentation>
-