Class EntityContainerInfo
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
- Direct Known Subclasses:
EntityContainer
Objects of this class represent an entity container
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleansetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the collection ofAnnotationAttributefor thisEntityContainersetAnnotationElements(List<AnnotationElement> annotationElements) Sets the collection ofAnnotationElementfor thisEntityContainersetDefaultEntityContainer(boolean isDefaultEntityContainer) Sets if this is the defaultEntityContainerInfosetExtendz(String extendz) Sets the entity container which is the parent of thisEntityContainerInfoSets the name of thisEntityContainerInfo
-
Constructor Details
-
EntityContainerInfo
public EntityContainerInfo()
-
-
Method Details
-
getName
- Returns:
- String name
-
getExtendz
- Returns:
- String name of the container which is extended by this container
-
isDefaultEntityContainer
public boolean isDefaultEntityContainer()- Returns:
- boolean if this container is the default container
-
setName
Sets the name of thisEntityContainerInfo- Parameters:
name-- Returns:
EntityContainerInfofor method chaining
-
setExtendz
Sets the entity container which is the parent of thisEntityContainerInfo- Parameters:
extendz-- Returns:
EntityContainerInfofor method chaining
-
setDefaultEntityContainer
Sets if this is the defaultEntityContainerInfo- Parameters:
isDefaultEntityContainer-- Returns:
EntityContainerInfofor method chaining
-
getAnnotationAttributes
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
setAnnotationAttributes
Sets the collection ofAnnotationAttributefor thisEntityContainer- Parameters:
annotationAttributes-- Returns:
EntityContainerfor method chaining
-
getAnnotationElements
- Returns:
- collection of
AnnotationElementannotation elements
-
setAnnotationElements
Sets the collection ofAnnotationElementfor thisEntityContainer- Parameters:
annotationElements-- Returns:
EntityContainerfor method chaining
-