|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataType>
com.sap.sl.sdk.authoring.datafoundation.DataType
public enum DataType
A representation of the literals of the enumeration 'Data Type', and utility methods to work with them.
Enum Constant Summary | |
---|---|
BLOB
The 'Blob' literal object. |
|
BOOLEAN
The 'Boolean' literal object. |
|
CALENDAR_DATE
The 'Calendar Date' literal object. |
|
DATE
The 'Date' literal object. |
|
DATE_TIME
The 'Date Time' literal object. |
|
KEY_STRING
The 'Key String' literal object. |
|
LONG_TEXT
The 'Long Text' literal object. |
|
MEMBER
The 'Member' literal object. |
|
NUMERIC
The 'Numeric' literal object. |
|
PERCENT
The 'Percent' literal object. |
|
STRING
The 'String' literal object. |
|
TIME_SPAN
The 'Time Span' literal object. |
|
UNKNOWN
The 'Unknown' literal object. |
Field Summary | |
---|---|
static int |
BLOB_VALUE
The 'Blob' literal value. |
static int |
BOOLEAN_VALUE
The 'Boolean' literal value. |
static int |
CALENDAR_DATE_VALUE
The 'Calendar Date' literal value. |
static int |
DATE_TIME_VALUE
The 'Date Time' literal value. |
static int |
DATE_VALUE
The 'Date' literal value. |
static int |
KEY_STRING_VALUE
The 'Key String' literal value. |
static int |
LONG_TEXT_VALUE
The 'Long Text' literal value. |
static int |
MEMBER_VALUE
The 'Member' literal value. |
static int |
NUMERIC_VALUE
The 'Numeric' literal value. |
static int |
PERCENT_VALUE
The 'Percent' literal value. |
static int |
STRING_VALUE
The 'String' literal value. |
static int |
TIME_SPAN_VALUE
The 'Time Span' literal value. |
static int |
UNKNOWN_VALUE
The 'Unknown' literal value. |
static java.util.List<DataType> |
VALUES
A public read-only list of all the 'Data Type' enumerators. |
Method Summary | |
---|---|
static DataType |
get(int value)
Returns the 'Data Type' literal with the specified integer value. |
static DataType |
get(java.lang.String literal)
Returns the 'Data Type' literal with the specified literal value. |
static DataType |
getByName(java.lang.String name)
Returns the 'Data Type' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 DataType NUMERIC
NUMERIC_VALUE
public static final DataType STRING
STRING_VALUE
public static final DataType DATE
DATE_VALUE
public static final DataType DATE_TIME
DATE_TIME_VALUE
public static final DataType LONG_TEXT
LONG_TEXT_VALUE
public static final DataType BLOB
BLOB_VALUE
public static final DataType BOOLEAN
BOOLEAN_VALUE
public static final DataType UNKNOWN
UNKNOWN_VALUE
public static final DataType PERCENT
PERCENT_VALUE
public static final DataType MEMBER
MEMBER_VALUE
public static final DataType KEY_STRING
KEY_STRING_VALUE
public static final DataType CALENDAR_DATE
CALENDAR_DATE_VALUE
public static final DataType TIME_SPAN
TIME_SPAN_VALUE
Field Detail |
---|
public static final int NUMERIC_VALUE
NUMERIC
,
Constant Field Valuespublic static final int STRING_VALUE
STRING
,
Constant Field Valuespublic static final int DATE_VALUE
DATE
,
Constant Field Valuespublic static final int DATE_TIME_VALUE
DATE_TIME
,
Constant Field Valuespublic static final int LONG_TEXT_VALUE
LONG_TEXT
,
Constant Field Valuespublic static final int BLOB_VALUE
BLOB
,
Constant Field Valuespublic static final int BOOLEAN_VALUE
BOOLEAN
,
Constant Field Valuespublic static final int UNKNOWN_VALUE
UNKNOWN
,
Constant Field Valuespublic static final int PERCENT_VALUE
PERCENT
,
Constant Field Valuespublic static final int MEMBER_VALUE
MEMBER
,
Constant Field Valuespublic static final int KEY_STRING_VALUE
KEY_STRING
,
Constant Field Valuespublic static final int CALENDAR_DATE_VALUE
CALENDAR_DATE
,
Constant Field Valuespublic static final int TIME_SPAN_VALUE
TIME_SPAN
,
Constant Field Valuespublic static final java.util.List<DataType> VALUES
Method Detail |
---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 name
java.lang.NullPointerException
- if the argument is nullpublic static DataType get(java.lang.String literal)
literal
- A String that represents the data type
DataType
object
public static DataType getByName(java.lang.String name)
name
- The name of the data type
DataType
object
public static DataType get(int value)
value
- The literal integer value
DataType
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<DataType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |