Interface EdmEntityContainer
- All Superinterfaces:
EdmAnnotatable
,EdmNamed
A CSDL EntityContainer element.
EdmEntityContainer hold the information of EntitySets, Singletons, ActionImports and FunctionImports contained
EdmEntityContainer hold the information of EntitySets, Singletons, ActionImports and FunctionImports contained
-
Method Summary
Modifier and TypeMethodDescriptiongetActionImport
(String name) Get contained ActionImport by name.This method DOES NOT support lazy loadinggetEntitySet
(String name) Get contained EntitySet by name.This method DOES NOT support lazy loadingThis method DOES NOT support lazy loadinggetFunctionImport
(String name) Get contained FunctionImport by name.This method DOES NOT support lazy loadinggetSingleton
(String name) Get contained Singleton by name.This method DOES NOT support lazy loadingMethods inherited from interface org.apache.olingo.commons.api.edm.EdmAnnotatable
getAnnotation, getAnnotations
-
Method Details
-
getNamespace
String getNamespace()- Returns:
- namespace of this entity container
-
getFullQualifiedName
FullQualifiedName getFullQualifiedName()- Returns:
- full qualified name of this entity container
-
getSingleton
Get contained Singleton by name.- Parameters:
name
- name of contained Singleton- Returns:
EdmSingleton
-
getEntitySet
Get contained EntitySet by name.- Parameters:
name
- name of contained EntitySet- Returns:
EdmEntitySet
-
getActionImport
Get contained ActionImport by name.- Parameters:
name
- name of contained ActionImport- Returns:
EdmActionImport
-
getFunctionImport
Get contained FunctionImport by name.- Parameters:
name
- name of contained FunctionImport- Returns:
EdmFunctionImport
-
getEntitySets
List<EdmEntitySet> getEntitySets()This method DOES NOT support lazy loading- Returns:
- returns all entity sets for this container.
-
getEntitySetsWithAnnotations
List<EdmEntitySet> getEntitySetsWithAnnotations()This method DOES NOT support lazy loading- Returns:
- returns all entity sets for this container with annotations defined in external file.
-
getFunctionImports
List<EdmFunctionImport> getFunctionImports()This method DOES NOT support lazy loading- Returns:
- returns all function imports for this container.
-
getSingletons
List<EdmSingleton> getSingletons()This method DOES NOT support lazy loading- Returns:
- returns all singletons for this container.
-
getActionImports
List<EdmActionImport> getActionImports()This method DOES NOT support lazy loading- Returns:
- returns all action imports for this container.
-
getParentContainerName
FullQualifiedName getParentContainerName()- Returns:
- the
FullQualifiedName
of the parentContainer or null if no parent is specified
-