public enum LineShape extends Enum<LineShape> implements org.eclipse.emf.common.util.Enumerator
PtnetPackage.getLineShape()
Enum Constant and Description |
---|
CURVE
The 'CURVE' literal object
|
LINE
The 'LINE' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
CURVE_VALUE
The 'CURVE' literal value
|
static int |
LINE_VALUE
The 'LINE' literal value
|
static List<LineShape> |
VALUES
A public read-only list of all the 'Line Shape' enumerators
|
Modifier and Type | Method and Description |
---|---|
static LineShape |
get(int value)
Returns the 'Line Shape' literal with the specified integer value
|
static LineShape |
get(String literal)
Returns the 'Line Shape' literal with the specified literal value
|
static LineShape |
getByName(String name)
Returns the 'Line Shape' 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 LineShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineShape LINE
LINE_VALUE
public static final LineShape CURVE
CURVE_VALUE
public static final int LINE_VALUE
If the meaning of 'LINE' literal object isn't clear, there really should be more of a description here...
LINE
,
Constant Field Valuespublic static final int CURVE_VALUE
If the meaning of 'CURVE' literal object isn't clear, there really should be more of a description here...
CURVE
,
Constant Field Valuespublic static LineShape[] values()
for (LineShape c : LineShape.values()) System.out.println(c);
public static LineShape valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LineShape get(String literal)
public static LineShape getByName(String name)
public static LineShape get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.