Class EntityContainer
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
org.apache.olingo.odata2.api.edm.provider.EntityContainer
Objects of this class represent an entity container including its child elements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetAssociationSets(List<AssociationSet> associationSets) Sets the association sets of thisEntityContainersetDefaultEntityContainer(boolean isDefaultEntityContainer) Sets if this is the defaultEntityContainersetDocumentation(Documentation documentation) Sets theDocumentationsetEntitySets(List<EntitySet> entitySets) Sets the entity sets of thisEntityContainersetExtendz(String extendz) Sets the entity container which is the parent of thisEntityContainersetFunctionImports(List<FunctionImport> functionImports) Sets the function imports of thisEntityContainerSets the name of thisEntityContainerMethods inherited from class org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
getAnnotationAttributes, getAnnotationElements, getExtendz, getName, isDefaultEntityContainer, setAnnotationAttributes, setAnnotationElements
-
Constructor Details
-
EntityContainer
public EntityContainer()
-
-
Method Details
-
getEntitySets
- Returns:
- List of all entity sets of the entity container
-
setEntitySets
Sets the entity sets of thisEntityContainer- Parameters:
entitySets-- Returns:
EntityContainerInfofor method chaining
-
getAssociationSets
- Returns:
- List of all association sets of the entity container
-
setAssociationSets
Sets the association sets of thisEntityContainer- Parameters:
associationSets-- Returns:
EntityContainerInfofor method chaining
-
getFunctionImports
- Returns:
- List of all function imports of the entity container
-
setFunctionImports
Sets the function imports of thisEntityContainer- Parameters:
functionImports-- Returns:
EntityContainerInfofor method chaining
-
setName
Sets the name of thisEntityContainer- Overrides:
setNamein classEntityContainerInfo- Parameters:
name-- Returns:
EntityContainerfor method chaining
-
setExtendz
Sets the entity container which is the parent of thisEntityContainer- Overrides:
setExtendzin classEntityContainerInfo- Parameters:
extendz-- Returns:
EntityContainerfor method chaining
-
setDefaultEntityContainer
Sets if this is the defaultEntityContainer- Overrides:
setDefaultEntityContainerin classEntityContainerInfo- Parameters:
isDefaultEntityContainer-- Returns:
EntityContainerfor method chaining
-
getDocumentation
- Returns:
Documentationdocumentation
-
setDocumentation
Sets theDocumentation- Parameters:
documentation-- Returns:
EntityContainerfor method chaining
-