|
|||||||||
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 org.odata4j.edm.EdmEntityType
public class EdmEntityType
A CSDL EntityType element.
The EntityType element represents the structure of a top-level concept, such as a customer or order, in a conceptual model. An entity type is a template for instances of entity types in an application. Each template contains the following information:
In an application, an instance of an entity type represents a specific object (such as a specific customer or order). Each instance of an entity type must have a unique entity key within an entity set.
Two entity type instances are considered equal only if they are of the same type and the values of their entity keys are the same.
Nested Class Summary | |
---|---|
static class |
EdmEntityType.Builder
Mutable builder for EdmEntityType objects. |
Nested classes/interfaces inherited from class org.odata4j.edm.EdmType |
---|
EdmType.DeferredBuilder<T,TBuilder> |
Method Summary | |
---|---|
EdmNavigationProperty |
findDeclaredNavigationProperty(String name)
Finds a navigation property by name on this entity type not including inherited properties. |
EdmNavigationProperty |
findNavigationProperty(String name)
Finds a navigation property by name, searching up the type hierarchy if necessary. |
String |
getAlias()
|
Enumerable<EdmNavigationProperty> |
getDeclaredNavigationProperties()
Gets the navigation properties defined for this entity type not including inherited properties. |
String |
getFQAliasName()
|
Boolean |
getHasStream()
|
List<String> |
getKeys()
Gets the keys for this EdmEntityType. |
Enumerable<EdmNavigationProperty> |
getNavigationProperties()
Gets the navigation properties defined for this entity type including inherited properties. |
static EdmEntityType.Builder |
newBuilder()
|
static EdmEntityType.Builder |
newBuilder(EdmEntityType entityType,
org.odata4j.edm.EdmItem.BuilderContext context)
|
String |
toString()
|
Methods inherited from class org.odata4j.edm.EdmStructuralType |
---|
findDeclaredProperty, findProperty, getBaseType, getDeclaredProperties, getIsAbstract, getName, getNamespace, getProperties, isRootType |
Methods inherited from class org.odata4j.edm.EdmNonSimpleType |
---|
isSimple |
Methods inherited from class org.odata4j.edm.EdmType |
---|
equals, getFullyQualifiedTypeName, getInstanceType, getSimple, hashCode, newDeferredBuilder |
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 |
Method Detail |
---|
public EdmNavigationProperty findDeclaredNavigationProperty(String name)
public EdmNavigationProperty findNavigationProperty(String name)
public String getAlias()
public Enumerable<EdmNavigationProperty> getDeclaredNavigationProperties()
public String getFQAliasName()
public Boolean getHasStream()
public List<String> getKeys()
public Enumerable<EdmNavigationProperty> getNavigationProperties()
public static EdmEntityType.Builder newBuilder()
public static EdmEntityType.Builder newBuilder(EdmEntityType entityType, org.odata4j.edm.EdmItem.BuilderContext context)
public String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |