Package org.apache.olingo.odata2.api.edm
Interface EdmEntityType
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed,EdmStructuralType,EdmType
- All Known Implementing Classes:
EdmEntityTypeImplProv
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.
-
Method Summary
Modifier and TypeMethodDescriptionBase types are described in the OData protocol specification.Gets the Customizable Feed Mappings of the entity type.Get all key properties as list ofEdmProperty.Gets all key property names.Gets all navigation property names.booleanIndicates if the entity type is treated as Media Link Entry with associated Media Resource.Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotationsMethods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMappingMethods inherited from interface org.apache.olingo.odata2.api.edm.EdmStructuralType
getProperty, getPropertyNamesMethods inherited from interface org.apache.olingo.odata2.api.edm.EdmType
getKind, getNamespace
-
Method Details
-
getKeyPropertyNames
Gets all key property names.- Returns:
- collection of key property names of type List
- Throws:
EdmException
-
getKeyProperties
Get all key properties as list ofEdmProperty.- Returns:
- collection of key properties of type List
- Throws:
EdmException
-
hasStream
Indicates if the entity type is treated as Media Link Entry with associated Media Resource.- Returns:
trueif the entity type is a Media Link Entry- Throws:
EdmException
-
getBaseType
Description copied from interface:EdmStructuralTypeBase types are described in the OData protocol specification.- Specified by:
getBaseTypein interfaceEdmStructuralType- Returns:
EdmStructuralType- Throws:
EdmException
-
getCustomizableFeedMappings
Gets the Customizable Feed Mappings of the entity type.- Returns:
EdmCustomizableFeedMappings- Throws:
EdmException
-