public enum EdmType extends 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 and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.