Class AssociationSetEnd
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.AssociationSetEnd
-
public class AssociationSetEnd extends Object
Objects of this class represent an association set end
-
-
Constructor Summary
Constructors Constructor Description AssociationSetEnd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()DocumentationgetDocumentation()StringgetEntitySet()StringgetRole()AssociationSetEndsetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the collection ofAnnotationAttributefor thisAssociationSetEndAssociationSetEndsetAnnotationElements(List<AnnotationElement> annotationElements)Sets the collection ofAnnotationElementfor thisAssociationSetEndAssociationSetEndsetDocumentation(Documentation documentation)Sets theDocumentationof thisAssociationSetEndAssociationSetEndsetEntitySet(String entitySet)Sets the target entity set of thisAssociationSetEndAssociationSetEndsetRole(String role)Sets the role of thisAssociationSetEnd
-
-
-
Method Detail
-
getRole
public String getRole()
- Returns:
- String role
-
getEntitySet
public String getEntitySet()
- Returns:
- String name of the target 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
-
setRole
public AssociationSetEnd setRole(String role)
Sets the role of thisAssociationSetEnd- Parameters:
role- Regra- Returns:
AssociationSetEndfor method chaining
-
setEntitySet
public AssociationSetEnd setEntitySet(String entitySet)
Sets the target entity set of thisAssociationSetEnd- Parameters:
entitySet- Entidades- Returns:
AssociationSetEndfor method chaining
-
setDocumentation
public AssociationSetEnd setDocumentation(Documentation documentation)
Sets theDocumentationof thisAssociationSetEnd- Parameters:
documentation- Documentação- Returns:
AssociationSetEndfor method chaining
-
setAnnotationAttributes
public AssociationSetEnd setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisAssociationSetEnd- Parameters:
annotationAttributes- Atributos- Returns:
AssociationSetEndfor method chaining
-
setAnnotationElements
public AssociationSetEnd setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisAssociationSetEnd- Parameters:
annotationElements- Elementos- Returns:
AssociationSetEndfor method chaining
-
-