Package org.apache.olingo.odata2.api.edm
Interface EdmEntitySet
-
- All Superinterfaces:
EdmAnnotatable,EdmMappable,EdmNamed
public interface EdmEntitySet extends EdmMappable, EdmNamed, EdmAnnotatable
@org.apache.olingo.odata2.DoNotImplement A CSDL EntitySet elementEdmEntitySet is the container for entity type instances as described in the OData protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmEntityContainergetEntityContainer()Get the entity container the entity set is contained inEdmEntityTypegetEntityType()Get the entity typeEdmEntitySetgetRelatedEntitySet(EdmNavigationProperty navigationProperty)Get the related entity set by providing the navigation property-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Methods inherited from interface org.apache.olingo.odata2.api.edm.EdmMappable
getMapping
-
-
-
-
Method Detail
-
getEntityType
EdmEntityType getEntityType() throws EdmException
Get the entity type- Returns:
EdmEntityType- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getRelatedEntitySet
EdmEntitySet getRelatedEntitySet(EdmNavigationProperty navigationProperty) throws EdmException
Get the related entity set by providing the navigation property- Parameters:
navigationProperty- of typeEdmNavigationProperty- Returns:
EdmEntitySet- Throws:
EdmException- Caso ocorra uma exceção EDM
-
getEntityContainer
EdmEntityContainer getEntityContainer() throws EdmException
Get the entity container the entity set is contained in- Returns:
EdmEntityContainer- Throws:
EdmException- Caso ocorra uma exceção EDM
-
-