|
|||||||||
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 org.odata4j.edm.EdmNonSimpleType org.odata4j.edm.EdmStructuralType
public abstract class EdmStructuralType
In the Entity Data Model (EDM), structural types are EDM types that have members. Members define the content
of the types derived from the StructuralType class. The StructuralType class has several derived types,
such as the EdmEntityType
and the EdmComplexType
.
The EntityType represents a top-level concept, such as a customer or an order in the EDM.
The ComplexType represents a type that includes a set of properties like an entity type but does not include a key property.
Nested Class Summary | |
---|---|
static class |
EdmStructuralType.Builder<T,TBuilder>
Mutable builder for EdmStructuralType objects. |
Nested classes/interfaces inherited from class org.odata4j.edm.EdmType |
---|
EdmType.DeferredBuilder<T,TBuilder> |
Constructor Summary | |
---|---|
protected |
EdmStructuralType(EdmEntityType baseType,
String namespace,
String name,
List<EdmProperty.Builder> declaredProperties,
EdmDocumentation doc,
ImmutableList<EdmAnnotation<?>> annotations,
Boolean isAbstract)
|
Method Summary | |
---|---|
EdmProperty |
findDeclaredProperty(String name)
Finds a property by name on this structural type not including inherited properties. |
EdmProperty |
findProperty(String name)
Finds a property by name, searching up the type hierarchy if necessary. |
EdmEntityType |
getBaseType()
|
Enumerable<EdmProperty> |
getDeclaredProperties()
Gets the properties defined for this structural type not including inherited properties. |
Boolean |
getIsAbstract()
|
String |
getName()
Gets the name. |
String |
getNamespace()
|
Enumerable<EdmProperty> |
getProperties()
Gets the properties defined for this structural type including inherited properties. |
boolean |
isRootType()
|
Methods inherited from class org.odata4j.edm.EdmNonSimpleType |
---|
isSimple |
Methods inherited from class org.odata4j.edm.EdmType |
---|
equals, getFullyQualifiedTypeName, getInstanceType, getSimple, hashCode, newDeferredBuilder, 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 EdmStructuralType(EdmEntityType baseType, String namespace, String name, List<EdmProperty.Builder> declaredProperties, EdmDocumentation doc, ImmutableList<EdmAnnotation<?>> annotations, Boolean isAbstract)
Method Detail |
---|
public EdmProperty findDeclaredProperty(String name)
public EdmProperty findProperty(String name)
public EdmEntityType getBaseType()
public Enumerable<EdmProperty> getDeclaredProperties()
public Boolean getIsAbstract()
public String getName()
Named
getName
in interface Named
public String getNamespace()
public Enumerable<EdmProperty> getProperties()
public boolean isRootType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |