|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GenerationType>
org.eclipse.jpt.core.resource.orm.GenerationType
public enum GenerationType
A representation of the literals of the enumeration 'Generation Type', and utility methods for working with them. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
OrmPackage.getGenerationType()
Enum Constant Summary | |
---|---|
AUTO
The 'AUTO' literal object. |
|
IDENTITY
The 'IDENTITY' literal object. |
|
SEQUENCE
The 'SEQUENCE' literal object. |
|
TABLE
The 'TABLE' literal object. |
Field Summary | |
---|---|
static int |
AUTO_VALUE
The 'AUTO' literal value. |
static int |
IDENTITY_VALUE
The 'IDENTITY' literal value. |
static int |
SEQUENCE_VALUE
The 'SEQUENCE' literal value. |
static int |
TABLE_VALUE
The 'TABLE' literal value. |
static java.util.List<GenerationType> |
VALUES
A public read-only list of all the 'Generation Type' enumerators. |
Method Summary | |
---|---|
static GenerationType |
get(int value)
Returns the 'Generation Type' literal with the specified integer value. |
static GenerationType |
get(java.lang.String literal)
Returns the 'Generation Type' literal with the specified literal value. |
static GenerationType |
getByName(java.lang.String name)
Returns the 'Generation Type' literal with the specified name. |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static GenerationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GenerationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GenerationType TABLE
TABLE_VALUE
public static final GenerationType SEQUENCE
SEQUENCE_VALUE
public static final GenerationType IDENTITY
IDENTITY_VALUE
public static final GenerationType AUTO
AUTO_VALUE
Field Detail |
---|
public static final int TABLE_VALUE
If the meaning of 'TABLE' literal object isn't clear, there really should be more of a description here...
TABLE
,
Constant Field Valuespublic static final int SEQUENCE_VALUE
If the meaning of 'SEQUENCE' literal object isn't clear, there really should be more of a description here...
SEQUENCE
,
Constant Field Valuespublic static final int IDENTITY_VALUE
If the meaning of 'IDENTITY' literal object isn't clear, there really should be more of a description here...
IDENTITY
,
Constant Field Valuespublic static final int AUTO_VALUE
If the meaning of 'AUTO' literal object isn't clear, there really should be more of a description here...
AUTO
,
Constant Field Valuespublic static final java.util.List<GenerationType> VALUES
Method Detail |
---|
public static final GenerationType[] values()
for(GenerationType c : GenerationType.values()) System.out.println(c);
public static GenerationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static GenerationType get(java.lang.String literal)
public static GenerationType getByName(java.lang.String name)
public static GenerationType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<GenerationType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |