|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.edm.EdmItem org.odata4j.edm.EdmType
public abstract class EdmType
A type in the EDM type system.
Nested Class Summary | |
---|---|
static class |
EdmType.Builder<T,TBuilder>
Mutable builder for EdmType objects. |
static class |
EdmType.DeferredBuilder<T,TBuilder>
Mutable builder for EdmType objects with deferred resolution. |
Constructor Summary | |
---|---|
protected |
EdmType(String fullyQualifiedTypeName)
|
protected |
EdmType(String fullyQualifiedTypeName,
EdmDocumentation documentation,
ImmutableList<EdmAnnotation<?>> annotations)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
String |
getFullyQualifiedTypeName()
Gets the fully-qualified type name for this edm-type. |
static Class<? extends OObject> |
getInstanceType(EdmType edmType)
Gets the corresponding instance type of a given edm type. |
static EdmSimpleType<?> |
getSimple(String fullyQualifiedTypeName)
Gets an edm-type for a given type name. |
int |
hashCode()
|
abstract boolean |
isSimple()
|
static EdmType.DeferredBuilder<?,?> |
newDeferredBuilder(String fqTypeName,
EdmDataServices.Builder dataServices)
|
String |
toString()
|
Methods inherited from class org.odata4j.edm.EdmItem |
---|
findAnnotation, getAnnotations, getDocumentation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected EdmType(String fullyQualifiedTypeName)
protected EdmType(String fullyQualifiedTypeName, EdmDocumentation documentation, ImmutableList<EdmAnnotation<?>> annotations)
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public String getFullyQualifiedTypeName()
public static Class<? extends OObject> getInstanceType(EdmType edmType)
OEntity
for EdmEntityType
public static EdmSimpleType<?> getSimple(String fullyQualifiedTypeName)
fullyQualifiedTypeName
- the fully-qualified type name
public int hashCode()
hashCode
in class Object
public abstract boolean isSimple()
public static EdmType.DeferredBuilder<?,?> newDeferredBuilder(String fqTypeName, EdmDataServices.Builder dataServices)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |