Class EntitySet
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.EntitySet
-
public class EntitySet extends Object
Objects of this class represent an entity set
-
-
Constructor Summary
Constructors Constructor Description EntitySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlternativeName()List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()DocumentationgetDocumentation()FullQualifiedNamegetEntityType()MappinggetMapping()StringgetName()voidsetAlternativeName(String alternativeName)EntitySetsetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the collection ofAnnotationAttributefor thisEntitySetEntitySetsetAnnotationElements(List<AnnotationElement> annotationElements)Sets the collection ofAnnotationElementfor thisEntitySetEntitySetsetDocumentation(Documentation documentation)Sets theDocumentationEntitySetsetEntityType(FullQualifiedName entityType)EntitySetsetMapping(Mapping mapping)Sets theMappingEntitySetsetName(String name)Sets the name of thisEntitySetvoidsetShowMetadata(boolean showMetadata)booleanshowMetadata()
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name of this entity set
-
getEntityType
public FullQualifiedName getEntityType()
- Returns:
FullQualifiedNameof the entity type of this entity set
-
getDocumentation
public Documentation getDocumentation()
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- collection of
AnnotationElementannotation elements
-
setName
public EntitySet setName(String name)
Sets the name of thisEntitySet- Parameters:
name- Nome- Returns:
EntitySetfor method chaining
-
setEntityType
public EntitySet setEntityType(FullQualifiedName entityType)
- Parameters:
entityType- Tipo- Returns:
EntitySetfor method chaining
-
setMapping
public EntitySet setMapping(Mapping mapping)
Sets theMapping- Parameters:
mapping- Mapa- Returns:
EntitySetfor method chaining
-
setDocumentation
public EntitySet setDocumentation(Documentation documentation)
Sets theDocumentation- Parameters:
documentation- Documentação- Returns:
EntitySetfor method chaining
-
setAnnotationAttributes
public EntitySet setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisEntitySet- Parameters:
annotationAttributes- Atributos- Returns:
EntitySetfor method chaining
-
setAnnotationElements
public EntitySet setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisEntitySet- Parameters:
annotationElements- Elementos- Returns:
EntitySetfor method chaining
-
showMetadata
public boolean showMetadata()
-
setShowMetadata
public void setShowMetadata(boolean showMetadata)
-
getAlternativeName
public String getAlternativeName()
-
setAlternativeName
public void setAlternativeName(String alternativeName)
-
-