|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odata4j.edm.EdmType
public class EdmType
A type in the EDM type system. Simple types are exposed as constants and associated with one or more java-types.
Field Summary | |
---|---|
static EdmType |
BINARY
|
static EdmType |
BOOLEAN
|
static EdmType |
BYTE
|
static EdmType |
DATETIME
|
static EdmType |
DATETIMEOFFSET
|
static EdmType |
DECIMAL
|
static EdmType |
DOUBLE
|
static EdmType |
GUID
|
static EdmType |
INT16
|
static EdmType |
INT32
|
static EdmType |
INT64
|
static Set<EdmType> |
SIMPLE
Set of all edm simple types. |
static EdmType |
SINGLE
|
static EdmType |
STRING
|
static EdmType |
TIME
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
static EdmType |
forJavaType(Class<?> javaType)
Finds the edm simple type for a given java-type. |
static EdmType |
get(String typeString)
Gets the edm-type for a given type name. |
Set<Class<?>> |
getJavaTypes()
Gets the java-types associated with this edm-type. |
int |
hashCode()
|
boolean |
isSimple()
Whether or not this is an edm simple type. |
String |
toString()
|
String |
toTypeString()
Gets the fully-qualified type name for this edm-type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final EdmType BINARY
public static final EdmType BOOLEAN
public static final EdmType BYTE
public static final EdmType DATETIME
public static final EdmType DATETIMEOFFSET
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 Set<EdmType> SIMPLE
public static final EdmType SINGLE
public static final EdmType STRING
public static final EdmType TIME
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public static EdmType forJavaType(Class<?> javaType)
javaType
- the java-type
public static EdmType get(String typeString)
typeString
- the fully-qualified type name
public Set<Class<?>> getJavaTypes()
public int hashCode()
hashCode
in class Object
public boolean isSimple()
public String toString()
toString
in class Object
public String toTypeString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |