|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OdaScalarDataType>
org.eclipse.datatools.connectivity.oda.design.OdaScalarDataType
public enum OdaScalarDataType
A representation of the literals of the enumeration 'Oda Scalar Data Type', and utility methods for working with them. ODA scalar data types.
DesignPackage.getOdaScalarDataType()
Enum Constant Summary | |
---|---|
BLOB_LITERAL
The 'Blob' literal object. |
|
BOOLEAN_LITERAL
The 'Boolean' literal object. |
|
CLOB_LITERAL
The 'Clob' literal object. |
|
DATE_LITERAL
The 'Date' literal object. |
|
DECIMAL_LITERAL
The 'Decimal' literal object. |
|
DOUBLE_LITERAL
The 'Double' literal object. |
|
INTEGER_LITERAL
The 'Integer' literal object. |
|
JAVA_OBJECT_LITERAL
The 'Java Object' literal object. |
|
STRING_LITERAL
The 'String' literal object. |
|
TIME_LITERAL
The 'Time' literal object. |
|
TIMESTAMP_LITERAL
The 'Timestamp' literal object. |
Field Summary | |
---|---|
static int |
BLOB
The 'Blob' literal value. |
static int |
BOOLEAN
The 'Boolean' literal value. |
static int |
CLOB
The 'Clob' literal value. |
static java.lang.String |
copyright
|
static int |
DATE
The 'Date' literal value. |
static int |
DECIMAL
The 'Decimal' literal value. |
static int |
DOUBLE
The 'Double' literal value. |
static int |
INTEGER
The 'Integer' literal value. |
static int |
JAVA_OBJECT
The 'Java Object' literal value. |
static int |
STRING
The 'String' literal value. |
static int |
TIME
The 'Time' literal value. |
static int |
TIMESTAMP
The 'Timestamp' literal value. |
static java.util.List<OdaScalarDataType> |
VALUES
A public read-only list of all the 'Oda Scalar Data Type' enumerators. |
Method Summary | |
---|---|
static OdaScalarDataType |
get(int value)
Returns the 'Oda Scalar Data Type' literal with the specified integer value. |
static OdaScalarDataType |
get(java.lang.String literal)
Returns the 'Oda Scalar Data Type' literal with the specified literal value. |
static OdaScalarDataType |
getByName(java.lang.String name)
Returns the 'Oda Scalar Data 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 OdaScalarDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OdaScalarDataType[] |
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 OdaScalarDataType DATE_LITERAL
DATE
public static final OdaScalarDataType DOUBLE_LITERAL
DOUBLE
public static final OdaScalarDataType INTEGER_LITERAL
INTEGER
public static final OdaScalarDataType STRING_LITERAL
STRING
public static final OdaScalarDataType TIME_LITERAL
TIME
public static final OdaScalarDataType TIMESTAMP_LITERAL
TIMESTAMP
public static final OdaScalarDataType DECIMAL_LITERAL
DECIMAL
public static final OdaScalarDataType BLOB_LITERAL
BLOB
public static final OdaScalarDataType CLOB_LITERAL
CLOB
public static final OdaScalarDataType BOOLEAN_LITERAL
BOOLEAN
public static final OdaScalarDataType JAVA_OBJECT_LITERAL
JAVA_OBJECT
Field Detail |
---|
public static final java.lang.String copyright
public static final int DATE
DATE_LITERAL
,
Constant Field Valuespublic static final int DOUBLE
DOUBLE_LITERAL
,
Constant Field Valuespublic static final int INTEGER
INTEGER_LITERAL
,
Constant Field Valuespublic static final int STRING
STRING_LITERAL
,
Constant Field Valuespublic static final int TIME
TIME_LITERAL
,
Constant Field Valuespublic static final int TIMESTAMP
TIMESTAMP_LITERAL
,
Constant Field Valuespublic static final int DECIMAL
DECIMAL_LITERAL
,
Constant Field Valuespublic static final int BLOB
BLOB_LITERAL
,
Constant Field Valuespublic static final int CLOB
CLOB_LITERAL
,
Constant Field Valuespublic static final int BOOLEAN
If the meaning of 'Boolean' literal object isn't clear, there really should be more of a description here...
BOOLEAN_LITERAL
,
Constant Field Valuespublic static final int JAVA_OBJECT
If the meaning of 'Java Object' literal object isn't clear, there really should be more of a description here...
JAVA_OBJECT_LITERAL
,
Constant Field Valuespublic static final java.util.List<OdaScalarDataType> VALUES
Method Detail |
---|
public static final OdaScalarDataType[] values()
for(OdaScalarDataType c : OdaScalarDataType.values()) System.out.println(c);
public static OdaScalarDataType 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 OdaScalarDataType get(java.lang.String literal)
public static OdaScalarDataType getByName(java.lang.String name)
public static OdaScalarDataType 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<OdaScalarDataType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |