Class AssociationSet
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.AssociationSet
-
public class AssociationSet extends Object
Objects of this class represent an association set
-
-
Constructor Summary
Constructors Constructor Description AssociationSet()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name
-
getAssociation
public FullQualifiedName getAssociation()
- Returns:
FullQualifiedNameAssociation of thisAssociationSet(namespace and name)
-
getEnd1
public AssociationSetEnd getEnd1()
- Returns:
AssociationEndend1
-
getEnd2
public AssociationSetEnd getEnd2()
- Returns:
AssociationEndend2
-
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 AssociationSet setName(String name)
Sets the name for thisAssociationSet- Parameters:
name- Nome- Returns:
AssociationSetfor method chaining
-
setAssociation
public AssociationSet setAssociation(FullQualifiedName association)
Sets theFullQualifiedNameassociation for thisAssociationSet- Parameters:
association- Associação- Returns:
AssociationSetfor method chaining
-
setEnd1
public AssociationSet setEnd1(AssociationSetEnd end1)
Sets the firstAssociationSetEndfor thisAssociationSet- Parameters:
end1- Final1- Returns:
AssociationSetfor method chaining
-
setEnd2
public AssociationSet setEnd2(AssociationSetEnd end2)
Sets the secondAssociationSetEndfor thisAssociationSet- Parameters:
end2- Final2- Returns:
AssociationSetfor method chaining
-
setDocumentation
public AssociationSet setDocumentation(Documentation documentation)
Sets theDocumentationfor thisAssociationSet- Parameters:
documentation- Documentação- Returns:
AssociationSetfor method chaining
-
setAnnotationAttributes
public AssociationSet setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisAssociationSet- Parameters:
annotationAttributes- Atributos- Returns:
AssociationSetfor method chaining
-
setAnnotationElements
public AssociationSet setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisAssociationSet- Parameters:
annotationElements- Elementos- Returns:
AssociationSetfor method chaining
-
-