|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EdmType>
org.apache.olingo.odata2.api.annotation.edm.EdmType
public enum EdmType
The EdmTypes which can be used for property definition in the EDM.
The available values are based onEdmSimpleTypeKind
values with the additional type
COMPLEX
which can be used to explicit define a EdmProperty as complex.
Enum Constant Summary | |
---|---|
BINARY
|
|
BOOLEAN
|
|
BYTE
|
|
COMPLEX
Only for explicit definition of a complex property. |
|
DATE_TIME
|
|
DATE_TIME_OFFSET
|
|
DECIMAL
|
|
DOUBLE
|
|
GUID
|
|
INT16
|
|
INT32
|
|
INT64
|
|
NULL
|
|
SBYTE
|
|
SINGLE
|
|
STRING
|
|
TIME
|
Method Summary | |
---|---|
static EdmType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EdmType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EdmType BINARY
public static final EdmType BOOLEAN
public static final EdmType BYTE
public static final EdmType DATE_TIME
public static final EdmType DATE_TIME_OFFSET
public static final EdmType DECIMAL
public static final EdmType DOUBLE
public static final EdmType GUID
public static final EdmType INT16
public static final EdmType INT32
public static final EdmType INT64
public static final EdmType SBYTE
public static final EdmType SINGLE
public static final EdmType STRING
public static final EdmType TIME
public static final EdmType NULL
public static final EdmType COMPLEX
EdmSimpleTypeKind
Method Detail |
---|
public static EdmType[] values()
for (EdmType c : EdmType.values()) System.out.println(c);
public static EdmType 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |