Class CsdlEntityContainer
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlEntityContainer
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
The type Csdl entity container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionImport
(String name) Gets the first action import with given name.Gets action imports.getActionImports
(String name) Gets all action imports with given name.Returns a list of annotationsgetEntitySet
(String name) Gets entity set.Gets entity sets.Gets extends container.Gets extends container fQN.getFunctionImport
(String name) Gets the first function import with given name.Gets function imports.getFunctionImports
(String name) Gets all function imports with given name.getName()
Gets name.getSingleton
(String name) Gets singleton.Gets singletons.setActionImports
(List<CsdlActionImport> actionImports) Sets action imports.setAnnotations
(List<CsdlAnnotation> annotations) setEntitySets
(List<CsdlEntitySet> entitySets) Sets entity sets.setExtendsContainer
(String extendsContainer) Sets extends container.setFunctionImports
(List<CsdlFunctionImport> functionImports) Sets function imports.Sets name.setSingletons
(List<CsdlSingleton> singletons) Sets singletons.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlEntityContainer
public CsdlEntityContainer()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name. -
setName
Sets name.- Parameters:
name
- the name- Returns:
- the name
-
getExtendsContainer
Gets extends container.- Returns:
- the extends container
-
getExtendsContainerFQN
Gets extends container fQN.- Returns:
- the extends container fQN
-
setExtendsContainer
Sets extends container.- Parameters:
extendsContainer
- the extends container- Returns:
- the extends container
-
getEntitySets
Gets entity sets.- Returns:
- the entity sets
-
getEntitySet
Gets entity set.- Parameters:
name
- the name- Returns:
- the entity set
-
setEntitySets
Sets entity sets.- Parameters:
entitySets
- the entity sets- Returns:
- the entity sets
-
getActionImports
Gets action imports.- Returns:
- the action imports
-
getActionImport
Gets the first action import with given name.- Parameters:
name
- name.- Returns:
- action import.
-
getActionImports
Gets all action imports with given name.- Parameters:
name
- name.- Returns:
- action imports.
-
setActionImports
Sets action imports.- Parameters:
actionImports
- the action imports- Returns:
- the action imports
-
getFunctionImports
Gets function imports.- Returns:
- the function imports
-
getFunctionImport
Gets the first function import with given name.- Parameters:
name
- name.- Returns:
- function import.
-
getFunctionImports
Gets all function imports with given name.- Parameters:
name
- name.- Returns:
- function imports.
-
setFunctionImports
Sets function imports.- Parameters:
functionImports
- the function imports- Returns:
- the function imports
-
getSingletons
Gets singletons.- Returns:
- the singletons
-
getSingleton
Gets singleton.- Parameters:
name
- the name- Returns:
- the singleton
-
setSingletons
Sets singletons.- Parameters:
singletons
- the singletons- Returns:
- the singletons
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
-