Package org.apache.olingo.odata2.api.edm
Interface EdmEntityContainer
- All Superinterfaces:
EdmAnnotatable,EdmNamed
- All Known Implementing Classes:
EdmEntityContainerImplProv
-
Method Summary
Modifier and TypeMethodDescriptiongetAssociationSet(EdmEntitySet sourceEntitySet, EdmNavigationProperty navigationProperty) Get contained AssociationSet by providing the source entity set and the navigation propertyATTENTION: This method does not support LAZY LOADING.getEntitySet(String name) Get contained EntitySet by nameATTENTION: This method does not support LAZY LOADING.getFunctionImport(String name) Get contained FunctionImport by namebooleanMethods inherited from interface org.apache.olingo.odata2.api.edm.EdmAnnotatable
getAnnotations
-
Method Details
-
isDefaultEntityContainer
boolean isDefaultEntityContainer()- Returns:
- boolean true if this is the default container
-
getNamespace
- Returns:
- String namepspace of the container
- Throws:
EdmException
-
getEntitySet
Get contained EntitySet by name- Parameters:
name-- Returns:
EdmEntitySet- Throws:
EdmException
-
getEntitySets
ATTENTION: This method does not support LAZY LOADING.
Get list of all contained EntitySets.- Returns:
- with all contained
EdmEntitySet - Throws:
EdmException
-
getFunctionImport
Get contained FunctionImport by name- Parameters:
name-- Returns:
EdmFunctionImport- Throws:
EdmException
-
getAssociationSets
ATTENTION: This method does not support LAZY LOADING.
Get list of all contained AssociationSets- Returns:
- list with all contained
EdmAssociationSet - Throws:
EdmException
-