Package com._1c.g5.v8.dt.moxel
Enum DrawingType
- java.lang.Object
-
- java.lang.Enum<DrawingType>
-
- com._1c.g5.v8.dt.moxel.DrawingType
-
- All Implemented Interfaces:
Serializable
,Comparable<DrawingType>
,org.eclipse.emf.common.util.Enumerator
public enum DrawingType extends Enum<DrawingType> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Drawing Type', and utility methods for working with them.- See Also:
MoxelPackage.getDrawingType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHART
The 'Chart' literal object.COMMENT
The 'Comment' literal object.CONTROL
The 'Control' literal object.DENDROGRAM
The 'Dendrogram' literal object.ELLIPSE
The 'Ellipse' literal object.GANTT_CHART
The 'Gantt Chart' literal object.GEOGRAPHICAL_SCHEMA
The 'Geographical Schema' literal object.GROUP
The 'Group' literal object.LINE
The 'Line' literal object.OBJECT
The 'Object' literal object.PICTURE
The 'Picture' literal object.PIVOT_CHART
The 'Pivot Chart' literal object.RECTANGLE
The 'Rectangle' literal object.TEXT
The 'Text' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
CHART_VALUE
The 'Chart' literal value.static int
COMMENT_VALUE
The 'Comment' literal value.static int
CONTROL_VALUE
The 'Control' literal value.static int
DENDROGRAM_VALUE
The 'Dendrogram' literal value.static int
ELLIPSE_VALUE
The 'Ellipse' literal value.static int
GANTT_CHART_VALUE
The 'Gantt Chart' literal value.static int
GEOGRAPHICAL_SCHEMA_VALUE
The 'Geographical Schema' literal value.static int
GROUP_VALUE
The 'Group' literal value.static int
LINE_VALUE
The 'Line' literal value.static int
OBJECT_VALUE
The 'Object' literal value.static int
PICTURE_VALUE
The 'Picture' literal value.static int
PIVOT_CHART_VALUE
The 'Pivot Chart' literal value.static int
RECTANGLE_VALUE
The 'Rectangle' literal value.static int
TEXT_VALUE
The 'Text' literal value.static List<DrawingType>
VALUES
A public read-only list of all the 'Drawing Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DrawingType
get(int value)
Returns the 'Drawing Type' literal with the specified integer value.static DrawingType
get(String literal)
Returns the 'Drawing Type' literal with the specified literal value.static DrawingType
getByName(String name)
Returns the 'Drawing Type' 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 DrawingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DrawingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE
public static final DrawingType LINE
The 'Line' literal object.- See Also:
LINE_VALUE
-
RECTANGLE
public static final DrawingType RECTANGLE
The 'Rectangle' literal object.- See Also:
RECTANGLE_VALUE
-
TEXT
public static final DrawingType TEXT
The 'Text' literal object.- See Also:
TEXT_VALUE
-
ELLIPSE
public static final DrawingType ELLIPSE
The 'Ellipse' literal object.- See Also:
ELLIPSE_VALUE
-
PICTURE
public static final DrawingType PICTURE
The 'Picture' literal object.- See Also:
PICTURE_VALUE
-
OBJECT
public static final DrawingType OBJECT
The 'Object' literal object.- See Also:
OBJECT_VALUE
-
GROUP
public static final DrawingType GROUP
The 'Group' literal object.- See Also:
GROUP_VALUE
-
CHART
public static final DrawingType CHART
The 'Chart' literal object.- See Also:
CHART_VALUE
-
GANTT_CHART
public static final DrawingType GANTT_CHART
The 'Gantt Chart' literal object.- See Also:
GANTT_CHART_VALUE
-
PIVOT_CHART
public static final DrawingType PIVOT_CHART
The 'Pivot Chart' literal object.- See Also:
PIVOT_CHART_VALUE
-
DENDROGRAM
public static final DrawingType DENDROGRAM
The 'Dendrogram' literal object.- See Also:
DENDROGRAM_VALUE
-
GEOGRAPHICAL_SCHEMA
public static final DrawingType GEOGRAPHICAL_SCHEMA
The 'Geographical Schema' literal object.- See Also:
GEOGRAPHICAL_SCHEMA_VALUE
-
CONTROL
public static final DrawingType CONTROL
The 'Control' literal object.- See Also:
CONTROL_VALUE
-
COMMENT
public static final DrawingType COMMENT
The 'Comment' literal object.- See Also:
COMMENT_VALUE
-
-
Field Detail
-
LINE_VALUE
public static final int LINE_VALUE
The 'Line' literal value.- See Also:
LINE
, Constant Field Values
-
RECTANGLE_VALUE
public static final int RECTANGLE_VALUE
The 'Rectangle' literal value.- See Also:
RECTANGLE
, Constant Field Values
-
TEXT_VALUE
public static final int TEXT_VALUE
The 'Text' literal value.- See Also:
TEXT
, Constant Field Values
-
ELLIPSE_VALUE
public static final int ELLIPSE_VALUE
The 'Ellipse' literal value.- See Also:
ELLIPSE
, Constant Field Values
-
PICTURE_VALUE
public static final int PICTURE_VALUE
The 'Picture' literal value.- See Also:
PICTURE
, Constant Field Values
-
OBJECT_VALUE
public static final int OBJECT_VALUE
The 'Object' literal value.- See Also:
OBJECT
, Constant Field Values
-
GROUP_VALUE
public static final int GROUP_VALUE
The 'Group' literal value.- See Also:
GROUP
, Constant Field Values
-
CHART_VALUE
public static final int CHART_VALUE
The 'Chart' literal value.- See Also:
CHART
, Constant Field Values
-
GANTT_CHART_VALUE
public static final int GANTT_CHART_VALUE
The 'Gantt Chart' literal value.- See Also:
GANTT_CHART
, Constant Field Values
-
PIVOT_CHART_VALUE
public static final int PIVOT_CHART_VALUE
The 'Pivot Chart' literal value.- See Also:
PIVOT_CHART
, Constant Field Values
-
DENDROGRAM_VALUE
public static final int DENDROGRAM_VALUE
The 'Dendrogram' literal value.- See Also:
DENDROGRAM
, Constant Field Values
-
GEOGRAPHICAL_SCHEMA_VALUE
public static final int GEOGRAPHICAL_SCHEMA_VALUE
The 'Geographical Schema' literal value.- See Also:
GEOGRAPHICAL_SCHEMA
, Constant Field Values
-
CONTROL_VALUE
public static final int CONTROL_VALUE
The 'Control' literal value.- See Also:
CONTROL
, Constant Field Values
-
COMMENT_VALUE
public static final int COMMENT_VALUE
The 'Comment' literal value.- See Also:
COMMENT
, Constant Field Values
-
VALUES
public static final List<DrawingType> VALUES
A public read-only list of all the 'Drawing Type' enumerators.
-
-
Method Detail
-
values
public static DrawingType[] 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 (DrawingType c : DrawingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DrawingType 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 DrawingType get(String literal)
Returns the 'Drawing Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static DrawingType getByName(String name)
Returns the 'Drawing Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static DrawingType get(int value)
Returns the 'Drawing Type' 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<DrawingType>
-
-