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