public enum Persistence extends Enum<Persistence> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getPersistence()| Enum Constant and Description |
|---|
LAZY
The 'LAZY' literal object.
|
NONE
The 'NONE' literal object.
|
REQUIRED
The 'REQUIRED' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
LAZY_VALUE
The 'LAZY' literal value.
|
static int |
NONE_VALUE
The 'NONE' literal value.
|
static int |
REQUIRED_VALUE
The 'REQUIRED' literal value.
|
static List<Persistence> |
VALUES
A public read-only list of all the 'Persistence' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Persistence |
get(int value)
Returns the 'Persistence' literal with the specified integer value.
|
static Persistence |
get(String literal)
Returns the 'Persistence' literal with the specified literal value.
|
static Persistence |
getByName(String name)
Returns the 'Persistence' 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 Persistence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Persistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Persistence NONE
NONE_VALUEpublic static final Persistence LAZY
LAZY_VALUEpublic static final Persistence REQUIRED
REQUIRED_VALUEpublic static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE,
Constant Field Valuespublic static final int LAZY_VALUE
If the meaning of 'LAZY' literal object isn't clear, there really should be more of a description here...
LAZY,
Constant Field Valuespublic static final int REQUIRED_VALUE
If the meaning of 'REQUIRED' literal object isn't clear, there really should be more of a description here...
REQUIRED,
Constant Field Valuespublic static final List<Persistence> VALUES
public static Persistence[] values()
for (Persistence c : Persistence.values()) System.out.println(c);
public static Persistence 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 Persistence get(String literal)
literal - the literal.null.public static Persistence getByName(String name)
name - the name.null.public static Persistence get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<Persistence>