|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ElementNullability>
org.eclipse.datatools.connectivity.oda.design.ElementNullability
public enum ElementNullability
A representation of the literals of the enumeration 'Element Nullability', and utility methods for working with them. Indicates whether a data element's value can be null.
DesignPackage.getElementNullability()| Enum Constant Summary | |
|---|---|
NOT_NULLABLE_LITERAL
The 'Not Nullable' literal object. |
|
NULLABLE_LITERAL
The 'Nullable' literal object. |
|
UNKNOWN_LITERAL
The 'Unknown' literal object. |
|
| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
static int |
NOT_NULLABLE
The 'Not Nullable' literal value. |
static int |
NULLABLE
The 'Nullable' literal value. |
static int |
UNKNOWN
The 'Unknown' literal value. |
static java.util.List<ElementNullability> |
VALUES
A public read-only list of all the 'Element Nullability' enumerators. |
| Method Summary | |
|---|---|
static ElementNullability |
get(int value)
Returns the 'Element Nullability' literal with the specified integer value. |
static ElementNullability |
get(java.lang.String literal)
Returns the 'Element Nullability' literal with the specified literal value. |
static ElementNullability |
getByName(java.lang.String name)
Returns the 'Element Nullability' 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 ElementNullability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ElementNullability[] |
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 ElementNullability UNKNOWN_LITERAL
UNKNOWNpublic static final ElementNullability NULLABLE_LITERAL
NULLABLEpublic static final ElementNullability NOT_NULLABLE_LITERAL
NOT_NULLABLE| Field Detail |
|---|
public static final java.lang.String copyright
public static final int UNKNOWN
UNKNOWN_LITERAL,
Constant Field Valuespublic static final int NULLABLE
NULLABLE_LITERAL,
Constant Field Valuespublic static final int NOT_NULLABLE
NOT_NULLABLE_LITERAL,
Constant Field Valuespublic static final java.util.List<ElementNullability> VALUES
| Method Detail |
|---|
public static final ElementNullability[] values()
for(ElementNullability c : ElementNullability.values())
System.out.println(c);
public static ElementNullability 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 ElementNullability get(java.lang.String literal)
public static ElementNullability getByName(java.lang.String name)
public static ElementNullability get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<ElementNullability>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||