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