public enum ScStanderd extends java.lang.Enum<ScStanderd> implements org.eclipse.emf.common.util.Enumerator
DistPackage.getScStanderd()
Enum Constant and Description |
---|
ANSI
The 'ANSI' literal object.
|
GENERIC
The 'Generic' literal object.
|
IEC
The 'IEC' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ANSI_VALUE
The 'ANSI' literal value.
|
static int |
GENERIC_VALUE
The 'Generic' literal value.
|
static int |
IEC_VALUE
The 'IEC' literal value.
|
static java.util.List<ScStanderd> |
VALUES
A public read-only list of all the 'Sc Standerd' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ScStanderd |
get(int value)
Returns the 'Sc Standerd' literal with the specified integer value.
|
static ScStanderd |
get(java.lang.String literal)
Returns the 'Sc Standerd' literal with the specified literal value.
|
static ScStanderd |
getByName(java.lang.String name)
Returns the 'Sc Standerd' 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 ScStanderd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScStanderd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScStanderd GENERIC
GENERIC_VALUE
public static final ScStanderd ANSI
ANSI_VALUE
public static final ScStanderd IEC
IEC_VALUE
public static final int GENERIC_VALUE
If the meaning of 'Generic' literal object isn't clear, there really should be more of a description here...
GENERIC
,
Constant Field Valuespublic static final int ANSI_VALUE
If the meaning of 'ANSI' literal object isn't clear, there really should be more of a description here...
ANSI
,
Constant Field Valuespublic static final int IEC_VALUE
If the meaning of 'IEC' literal object isn't clear, there really should be more of a description here...
IEC
,
Constant Field Valuespublic static final java.util.List<ScStanderd> VALUES
public static ScStanderd[] values()
for (ScStanderd c : ScStanderd.values()) System.out.println(c);
public static ScStanderd 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 ScStanderd get(java.lang.String literal)
literal
- the literal.null
.public static ScStanderd getByName(java.lang.String name)
name
- the name.null
.public static ScStanderd get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<ScStanderd>