public enum SocketConnectorType extends Enum<SocketConnectorType> implements org.eclipse.emf.common.util.Enumerator
CoffeePackage.getSocketConnectorType()
Enum Constant and Description |
---|
A1T
The 'A1T' literal object.
|
Z51
The 'Z51' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
A1T_VALUE
The 'A1T' literal value.
|
static List<SocketConnectorType> |
VALUES
A public read-only list of all the 'Socket Connector Type' enumerators.
|
static int |
Z51_VALUE
The 'Z51' literal value.
|
Modifier and Type | Method and Description |
---|---|
static SocketConnectorType |
get(int value)
Returns the 'Socket Connector Type' literal with the specified integer value.
|
static SocketConnectorType |
get(String literal)
Returns the 'Socket Connector Type' literal with the specified literal value.
|
static SocketConnectorType |
getByName(String name)
Returns the 'Socket Connector 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 SocketConnectorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketConnectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketConnectorType A1T
A1T_VALUE
public static final SocketConnectorType Z51
Z51_VALUE
public static final int A1T_VALUE
If the meaning of 'A1T' literal object isn't clear, there really should be more of a description here...
A1T
,
Constant Field Valuespublic static final int Z51_VALUE
If the meaning of 'Z51' literal object isn't clear, there really should be more of a description here...
Z51
,
Constant Field Valuespublic static final List<SocketConnectorType> VALUES
public static SocketConnectorType[] values()
for (SocketConnectorType c : SocketConnectorType.values()) System.out.println(c);
public static SocketConnectorType 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 SocketConnectorType get(String literal)
literal
- the literal.null
.public static SocketConnectorType getByName(String name)
name
- the name.null
.public static SocketConnectorType get(int value)
value
- the integer value.null
.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
public String toString()
toString
in class Enum<SocketConnectorType>
Copyright © 2019. All rights reserved.