Class AssociationSet
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.AssociationSet
Objects of this class represent an association set
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnd1()getEnd2()getName()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the collection ofAnnotationAttributefor thisAssociationSetsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the collection ofAnnotationElementfor thisAssociationSetsetAssociation(FullQualifiedName association) Sets theFullQualifiedNameassociation for thisAssociationSetsetDocumentation(Documentation documentation) Sets theDocumentationfor thisAssociationSetsetEnd1(AssociationSetEnd end1) Sets the firstAssociationSetEndfor thisAssociationSetsetEnd2(AssociationSetEnd end2) Sets the secondAssociationSetEndfor thisAssociationSetSets the name for thisAssociationSet
-
Constructor Details
-
AssociationSet
public AssociationSet()
-
-
Method Details
-
getName
- Returns:
- String name
-
getAssociation
- Returns:
FullQualifiedNameAssociation of thisAssociationSet(namespace and name)
-
getEnd1
- Returns:
AssociationEndend1
-
getEnd2
- Returns:
AssociationEndend2
-
getDocumentation
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- collection of
AnnotationElementannotation elements
-
setName
Sets the name for thisAssociationSet- Parameters:
name-- Returns:
AssociationSetfor method chaining
-
setAssociation
Sets theFullQualifiedNameassociation for thisAssociationSet- Parameters:
association-- Returns:
AssociationSetfor method chaining
-
setEnd1
Sets the firstAssociationSetEndfor thisAssociationSet- Parameters:
end1-- Returns:
AssociationSetfor method chaining
-
setEnd2
Sets the secondAssociationSetEndfor thisAssociationSet- Parameters:
end2-- Returns:
AssociationSetfor method chaining
-
setDocumentation
Sets theDocumentationfor thisAssociationSet- Parameters:
documentation-- Returns:
AssociationSetfor method chaining
-
setAnnotationAttributes
Sets the collection ofAnnotationAttributefor thisAssociationSet- Parameters:
annotationAttributes-- Returns:
AssociationSetfor method chaining
-
setAnnotationElements
Sets the collection ofAnnotationElementfor thisAssociationSet- Parameters:
annotationElements-- Returns:
AssociationSetfor method chaining
-