public enum PNType extends Enum<PNType> implements org.eclipse.emf.common.util.Enumerator
HlcorestructurePackage.getPNType()
Enum Constant and Description |
---|
COREMODEL
The 'COREMODEL' literal object
|
HLPN
The 'HLPN' literal object
|
PTNET
The 'PTNET' literal object
|
SYMNET
The 'SYMNET' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
COREMODEL_VALUE
The 'COREMODEL' literal value
|
static int |
HLPN_VALUE
The 'HLPN' literal value
|
static int |
PTNET_VALUE
The 'PTNET' literal value
|
static int |
SYMNET_VALUE
The 'SYMNET' literal value
|
static List<PNType> |
VALUES
A public read-only list of all the 'PN Type' enumerators
|
Modifier and Type | Method and Description |
---|---|
static PNType |
get(int value)
Returns the 'PN Type' literal with the specified integer value
|
static PNType |
get(String literal)
Returns the 'PN Type' literal with the specified literal value
|
static PNType |
getByName(String name)
Returns the 'PN 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 PNType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PNType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PNType SYMNET
SYMNET_VALUE
public static final PNType COREMODEL
COREMODEL_VALUE
public static final PNType PTNET
PTNET_VALUE
public static final PNType HLPN
HLPN_VALUE
public static final int SYMNET_VALUE
If the meaning of 'SYMNET' literal object isn't clear, there really should be more of a description here...
SYMNET
,
Constant Field Valuespublic static final int COREMODEL_VALUE
If the meaning of 'COREMODEL' literal object isn't clear, there really should be more of a description here...
COREMODEL
,
Constant Field Valuespublic static final int PTNET_VALUE
If the meaning of 'PTNET' literal object isn't clear, there really should be more of a description here...
PTNET
,
Constant Field Valuespublic static final int HLPN_VALUE
If the meaning of 'HLPN' literal object isn't clear, there really should be more of a description here...
HLPN
,
Constant Field Valuespublic static PNType[] values()
for (PNType c : PNType.values()) System.out.println(c);
public static PNType 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 PNType get(String literal)
public static PNType getByName(String name)
public static PNType 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.