public enum ResourceType extends java.lang.Enum<ResourceType> implements org.eclipse.emf.common.util.Enumerator
SimuPackage.getResourceType()| Enum Constant and Description |
|---|
CUSTOM_FORMAT
The 'Custom Format' literal object.
|
ECLIPSE_EMF
The 'Eclipse EMF' literal object.
|
EDITOR_JGRAPH
The 'Editor JGraph' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_FORMAT_VALUE
The 'Custom Format' literal value.
|
static int |
ECLIPSE_EMF_VALUE
The 'Eclipse EMF' literal value.
|
static int |
EDITOR_JGRAPH_VALUE
The 'Editor JGraph' literal value.
|
static java.util.List<ResourceType> |
VALUES
A public read-only list of all the 'Resource Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
get(int value)
Returns the 'Resource Type' literal with the specified integer value.
|
static ResourceType |
get(java.lang.String literal)
Returns the 'Resource Type' literal with the specified literal value.
|
static ResourceType |
getByName(java.lang.String name)
Returns the 'Resource Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType ECLIPSE_EMF
ECLIPSE_EMF_VALUEpublic static final ResourceType EDITOR_JGRAPH
EDITOR_JGRAPH_VALUEpublic static final ResourceType CUSTOM_FORMAT
CUSTOM_FORMAT_VALUEpublic static final int ECLIPSE_EMF_VALUE
If the meaning of 'Eclipse EMF' literal object isn't clear, there really should be more of a description here...
ECLIPSE_EMF,
Constant Field Valuespublic static final int EDITOR_JGRAPH_VALUE
If the meaning of 'Editor JGraph' literal object isn't clear, there really should be more of a description here...
EDITOR_JGRAPH,
Constant Field Valuespublic static final int CUSTOM_FORMAT_VALUE
If the meaning of 'Custom Format' literal object isn't clear, there really should be more of a description here...
CUSTOM_FORMAT,
Constant Field Valuespublic static final java.util.List<ResourceType> VALUES
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ResourceType get(java.lang.String literal)
literal - the literal.null.public static ResourceType getByName(java.lang.String name)
name - the name.null.public static ResourceType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<ResourceType>