Class EntityContainer
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
-
- org.apache.olingo.odata2.api.edm.provider.EntityContainer
-
public class EntityContainer extends EntityContainerInfo
Objects of this class represent an entity container including its child elements
-
-
Constructor Summary
Constructors Constructor Description EntityContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AssociationSet>getAssociationSets()DocumentationgetDocumentation()List<EntitySet>getEntitySets()List<FunctionImport>getFunctionImports()EntityContainersetAssociationSets(List<AssociationSet> associationSets)Sets the association sets of thisEntityContainerEntityContainersetDefaultEntityContainer(boolean isDefaultEntityContainer)Sets if this is the defaultEntityContainerEntityContainersetDocumentation(Documentation documentation)Sets theDocumentationEntityContainersetEntitySets(List<EntitySet> entitySets)Sets the entity sets of thisEntityContainerEntityContainersetExtendz(String extendz)Sets the entity container which is the parent of thisEntityContainerEntityContainersetFunctionImports(List<FunctionImport> functionImports)Sets the function imports of thisEntityContainerEntityContainersetName(String name)Sets the name of thisEntityContainer-
Methods inherited from class org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
getAnnotationAttributes, getAnnotationElements, getExtendz, getName, isDefaultEntityContainer, setAnnotationAttributes, setAnnotationElements
-
-
-
-
Method Detail
-
getEntitySets
public List<EntitySet> getEntitySets()
- Returns:
- List of all entity sets of the entity container
-
setEntitySets
public EntityContainer setEntitySets(List<EntitySet> entitySets)
Sets the entity sets of thisEntityContainer- Parameters:
entitySets- Entidades- Returns:
EntityContainerInfofor method chaining
-
getAssociationSets
public List<AssociationSet> getAssociationSets()
- Returns:
- List of all association sets of the entity container
-
setAssociationSets
public EntityContainer setAssociationSets(List<AssociationSet> associationSets)
Sets the association sets of thisEntityContainer- Parameters:
associationSets- Associações- Returns:
EntityContainerInfofor method chaining
-
getFunctionImports
public List<FunctionImport> getFunctionImports()
- Returns:
- List of all function imports of the entity container
-
setFunctionImports
public EntityContainer setFunctionImports(List<FunctionImport> functionImports)
Sets the function imports of thisEntityContainer- Parameters:
functionImports- Funções- Returns:
EntityContainerInfofor method chaining
-
setName
public EntityContainer setName(String name)
Sets the name of thisEntityContainer- Overrides:
setNamein classEntityContainerInfo- Parameters:
name- Nome- Returns:
EntityContainerfor method chaining
-
setExtendz
public EntityContainer setExtendz(String extendz)
Sets the entity container which is the parent of thisEntityContainer- Overrides:
setExtendzin classEntityContainerInfo- Parameters:
extendz- Extendz- Returns:
EntityContainerfor method chaining
-
setDefaultEntityContainer
public EntityContainer setDefaultEntityContainer(boolean isDefaultEntityContainer)
Sets if this is the defaultEntityContainer- Overrides:
setDefaultEntityContainerin classEntityContainerInfo- Parameters:
isDefaultEntityContainer- Se padrão- Returns:
EntityContainerfor method chaining
-
getDocumentation
public Documentation getDocumentation()
- Returns:
Documentationdocumentation
-
setDocumentation
public EntityContainer setDocumentation(Documentation documentation)
Sets theDocumentation- Parameters:
documentation- Documentação- Returns:
EntityContainerfor method chaining
-
-