|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DataBaseConstraintType>
org.openxma.dsl.dom.model.DataBaseConstraintType
public enum DataBaseConstraintType
A representation of the literals of the enumeration 'Data Base Constraint Type', and utility methods for working with them.
DomPackage.getDataBaseConstraintType()| Enum Constant Summary | |
|---|---|
INDEX
The 'INDEX' literal object. |
|
NATURAL
The 'NATURAL' literal object. |
|
NULL
The 'NULL' literal object. |
|
PRIMARY
The 'PRIMARY' literal object. |
|
UNIQUE
The 'UNIQUE' literal object. |
|
| Field Summary | |
|---|---|
static int |
INDEX_VALUE
The 'INDEX' literal value. |
static int |
NATURAL_VALUE
The 'NATURAL' literal value. |
static int |
NULL_VALUE
The 'NULL' literal value. |
static int |
PRIMARY_VALUE
The 'PRIMARY' literal value. |
static int |
UNIQUE_VALUE
The 'UNIQUE' literal value. |
static List<DataBaseConstraintType> |
VALUES
A public read-only list of all the 'Data Base Constraint Type' enumerators. |
| Method Summary | |
|---|---|
static DataBaseConstraintType |
get(int value)
Returns the 'Data Base Constraint Type' literal with the specified integer value. |
static DataBaseConstraintType |
get(String literal)
Returns the 'Data Base Constraint Type' literal with the specified literal value. |
static DataBaseConstraintType |
getByName(String name)
Returns the 'Data Base Constraint 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 DataBaseConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataBaseConstraintType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 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 |
| Enum Constant Detail |
|---|
public static final DataBaseConstraintType NULL
NULL_VALUEpublic static final DataBaseConstraintType INDEX
INDEX_VALUEpublic static final DataBaseConstraintType UNIQUE
UNIQUE_VALUEpublic static final DataBaseConstraintType NATURAL
NATURAL_VALUEpublic static final DataBaseConstraintType PRIMARY
PRIMARY_VALUE| Field Detail |
|---|
public static final int NULL_VALUE
If the meaning of 'NULL' literal object isn't clear, there really should be more of a description here...
NULL,
Constant Field Valuespublic static final int INDEX_VALUE
If the meaning of 'INDEX' literal object isn't clear, there really should be more of a description here...
INDEX,
Constant Field Valuespublic static final int UNIQUE_VALUE
If the meaning of 'UNIQUE' literal object isn't clear, there really should be more of a description here...
UNIQUE,
Constant Field Valuespublic static final int NATURAL_VALUE
If the meaning of 'NATURAL' literal object isn't clear, there really should be more of a description here...
NATURAL,
Constant Field Valuespublic static final int PRIMARY_VALUE
If the meaning of 'PRIMARY' literal object isn't clear, there really should be more of a description here...
PRIMARY,
Constant Field Valuespublic static final List<DataBaseConstraintType> VALUES
| Method Detail |
|---|
public static DataBaseConstraintType[] values()
for (DataBaseConstraintType c : DataBaseConstraintType.values()) System.out.println(c);
public static DataBaseConstraintType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static DataBaseConstraintType get(String literal)
public static DataBaseConstraintType getByName(String name)
public static DataBaseConstraintType get(int value)
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<DataBaseConstraintType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||