Class EntitySet
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.EntitySet
Objects of this class represent an entity set
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the collection ofAnnotationAttributefor thisEntitySetsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the collection ofAnnotationElementfor thisEntitySetsetDocumentation(Documentation documentation) Sets theDocumentationsetEntityType(FullQualifiedName entityType) setMapping(Mapping mapping) Sets theMappingSets the name of thisEntitySet
-
Constructor Details
-
EntitySet
public EntitySet()
-
-
Method Details
-
getName
- Returns:
- String> name of this entity set
-
getEntityType
- Returns:
FullQualifiedNameof the entity type of this entity set
-
getMapping
- Returns:
Mappingfor this type
-
getDocumentation
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- collection of
AnnotationElementannotation elements
-
setName
Sets the name of thisEntitySet- Parameters:
name-- Returns:
EntitySetfor method chaining
-
setEntityType
- Parameters:
entityType-- Returns:
EntitySetfor method chaining
-
setMapping
Sets theMapping- Parameters:
mapping-- Returns:
EntitySetfor method chaining
-
setDocumentation
Sets theDocumentation- Parameters:
documentation-- Returns:
EntitySetfor method chaining
-
setAnnotationAttributes
Sets the collection ofAnnotationAttributefor thisEntitySet- Parameters:
annotationAttributes-- Returns:
EntitySetfor method chaining
-
setAnnotationElements
Sets the collection ofAnnotationElementfor thisEntitySet- Parameters:
annotationElements-- Returns:
EntitySetfor method chaining
-