public interface EdmEntityType extends EdmStructuralType
A CSDL EntityType element.
EdmEntityType holds a set of related information like EdmSimpleType properties and EdmComplexType
properties and in addition to a complex type it provides information about key properties,
customizable feed mappings and navigation properties.
| Modifier and Type | Method and Description |
|---|---|
EdmEntityType |
getBaseType()
Base types are described in the OData protocol specification.
|
EdmCustomizableFeedMappings |
getCustomizableFeedMappings()
Gets the Customizable Feed Mappings of the entity type.
|
List<EdmProperty> |
getKeyProperties()
Get all key properties as list of
EdmProperty. |
List<String> |
getKeyPropertyNames()
Gets all key property names.
|
List<String> |
getNavigationPropertyNames()
Gets all navigation property names.
|
boolean |
hasStream()
Indicates if the entity type is treated as Media Link Entry
with associated Media Resource.
|
getProperty, getPropertyNamesgetMappinggetKind, getNamespacegetAnnotationsList<String> getKeyPropertyNames() throws EdmException
EdmExceptionList<EdmProperty> getKeyProperties() throws EdmException
EdmProperty.EdmExceptionboolean hasStream()
throws EdmException
true if the entity type is a Media Link EntryEdmExceptionEdmEntityType getBaseType() throws EdmException
EdmStructuralTypegetBaseType in interface EdmStructuralTypeEdmStructuralTypeEdmExceptionEdmCustomizableFeedMappings getCustomizableFeedMappings() throws EdmException
EdmCustomizableFeedMappingsEdmExceptionList<String> getNavigationPropertyNames() throws EdmException
EdmExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.