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, getPropertyNames
getMapping
getKind, getNamespace
getAnnotations
List<String> getKeyPropertyNames() throws EdmException
EdmException
List<EdmProperty> getKeyProperties() throws EdmException
EdmProperty
.EdmException
boolean hasStream() throws EdmException
true
if the entity type is a Media Link EntryEdmException
EdmEntityType getBaseType() throws EdmException
EdmStructuralType
getBaseType
in interface EdmStructuralType
EdmStructuralType
EdmException
EdmCustomizableFeedMappings getCustomizableFeedMappings() throws EdmException
EdmCustomizableFeedMappings
EdmException
List<String> getNavigationPropertyNames() throws EdmException
EdmException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.