Class EntityContainerInfo
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.EntityContainerInfo
-
- Direct Known Subclasses:
EntityContainer
public class EntityContainerInfo extends Object
Objects of this class represent an entity container
-
-
Constructor Summary
Constructors Constructor Description EntityContainerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()StringgetExtendz()StringgetName()booleanisDefaultEntityContainer()EntityContainerInfosetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the collection ofAnnotationAttributefor thisEntityContainerEntityContainerInfosetAnnotationElements(List<AnnotationElement> annotationElements)Sets the collection ofAnnotationElementfor thisEntityContainerEntityContainerInfosetDefaultEntityContainer(boolean isDefaultEntityContainer)Sets if this is the defaultEntityContainerInfoEntityContainerInfosetExtendz(String extendz)Sets the entity container which is the parent of thisEntityContainerInfoEntityContainerInfosetName(String name)Sets the name of thisEntityContainerInfo
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name
-
getExtendz
public String 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
public EntityContainerInfo setName(String name)
Sets the name of thisEntityContainerInfo- Parameters:
name- Nome- Returns:
EntityContainerInfofor method chaining
-
setExtendz
public EntityContainerInfo setExtendz(String extendz)
Sets the entity container which is the parent of thisEntityContainerInfo- Parameters:
extendz- extendz- Returns:
EntityContainerInfofor method chaining
-
setDefaultEntityContainer
public EntityContainerInfo setDefaultEntityContainer(boolean isDefaultEntityContainer)
Sets if this is the defaultEntityContainerInfo- Parameters:
isDefaultEntityContainer- se padrĂ£o- Returns:
EntityContainerInfofor method chaining
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
setAnnotationAttributes
public EntityContainerInfo setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisEntityContainer- Parameters:
annotationAttributes- Atributos- Returns:
EntityContainerfor method chaining
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- collection of
AnnotationElementannotation elements
-
setAnnotationElements
public EntityContainerInfo setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisEntityContainer- Parameters:
annotationElements- Elementos- Returns:
EntityContainerfor method chaining
-
-