static PersistenceType |
get(int value)
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NON_PERSISTENT_LITERAL
public static final PersistenceType NON_PERSISTENT_LITERAL
- The 'Non Persistent' literal object.
- See Also:
NON_PERSISTENT
PERSISTENT_LITERAL
public static final PersistenceType PERSISTENT_LITERAL
- The 'Persistent' literal object.
- See Also:
PERSISTENT
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
$sccsid
public static final java.lang.String $sccsid
- See Also:
- Constant Field Values
NON_PERSISTENT
public static final int NON_PERSISTENT
- The 'Non Persistent' literal value.
- See Also:
NON_PERSISTENT ,
Constant Field Values
PERSISTENT
public static final int PERSISTENT
- The 'Persistent' literal value.
- See Also:
PERSISTENT ,
Constant Field Values
VALUES
public static final java.util.List<PersistenceType> VALUES
- A public read-only list of all the 'Persistence Type' enumerators.
values
public static PersistenceType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PersistenceType c : PersistenceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PersistenceType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
get
public static PersistenceType get(java.lang.String literal)
- Returns the 'Persistence Type' literal with the specified name.
getByName
public static PersistenceType getByName(java.lang.String name)
- Returns the 'Persistence Type' literal with the specified name.
get
public static PersistenceType get(int value)
- Returns the 'Persistence Type' literal with the specified value.
getValue
public int getValue()
-
- Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
getName
public java.lang.String getName()
-
- Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
getLiteral
public java.lang.String getLiteral()
-
- Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
toString
public java.lang.String toString()
- Returns the literal value of the enumerator, which is its string representation.
- Overrides:
toString in class java.lang.Enum<PersistenceType>
|