Package org.apache.olingo.odata2.api.edm
Interface EdmEntityType
-
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed,EdmStructuralType,EdmType
public interface EdmEntityType extends EdmStructuralType
A CSDL EntityType element.
EdmEntityType holds a set of related information like
EdmSimpleTypeproperties andEdmComplexTypeproperties and in addition to acomplex typeit provides information about key properties, customizable feed mappings andnavigation properties. @org.apache.olingo.odata2.DoNotImplement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmEntityTypegetBaseType()Base types are described in the OData protocol specification.EdmCustomizableFeedMappingsgetCustomizableFeedMappings()Gets the Customizable Feed Mappings of the entity type.List<EdmProperty>getKeyProperties()Get all key properties as list ofEdmProperty.List<String>getKeyPropertyNames()Gets all key property names.List<String>getNavigationPropertyNames()Gets all navigation property names.booleanhasStream()Indicates 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
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMapping
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmStructuralType
getProperty, getPropertyNames
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmType
getKind, getNamespace
-
-
-
-
Method Detail
-
getKeyPropertyNames
List<String> getKeyPropertyNames() throws EdmException
Gets all key property names.- Returns:
- collection of key property names of type List<String>
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getKeyProperties
List<EdmProperty> getKeyProperties() throws EdmException
Get all key properties as list ofEdmProperty.- Returns:
- collection of key properties of type List<EdmProperty>
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
hasStream
boolean hasStream() throws EdmExceptionIndicates 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- Caso ocorra uma exceção EDM
-
getBaseType
EdmEntityType getBaseType() throws EdmException
Description copied from interface:EdmStructuralTypeBase types are described in the OData protocol specification.- Specified by:
getBaseTypein interfaceEdmStructuralType- Returns:
EdmStructuralType- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getCustomizableFeedMappings
EdmCustomizableFeedMappings getCustomizableFeedMappings() throws EdmException
Gets the Customizable Feed Mappings of the entity type.- Returns:
EdmCustomizableFeedMappings- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getNavigationPropertyNames
List<String> getNavigationPropertyNames() throws EdmException
Gets all navigation property names.- Returns:
- collection of navigation properties of type List<String>
- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-