Class AssociationEnd
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.AssociationEnd
Objects of this class represent an association end
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRole()getType()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the collection ofAnnotationAttributefor thisAssociationEndsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the collection ofAnnotationElementfor thisAssociationEndsetDocumentation(Documentation documentation) Sets theDocumentationfor thisAssociationEndsetMultiplicity(EdmMultiplicity multiplicity) Sets theEdmMultiplicityfor thisAssociationEndsetOnDelete(OnDelete onDelete) SetsOnDeletefor thisAssociationEndSets the role for thisAssociationEndsetType(FullQualifiedName type) Sets theFullQualifiedNamefor thisAssociationEnd
-
Constructor Details
-
AssociationEnd
public AssociationEnd()
-
-
Method Details
-
getType
- Returns:
FullQualifiedNamefull qualified name (namespace and name)
-
getRole
- Returns:
- String role
-
getMultiplicity
- Returns:
EdmMultiplicitymultiplicity of this end
-
getOnDelete
- Returns:
OnDeleteon delete
-
getDocumentation
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- collection of
AnnotationElementannotation elements
-
setType
Sets theFullQualifiedNamefor thisAssociationEnd- Parameters:
type-- Returns:
AssociationEndfor method chaining
-
setRole
Sets the role for thisAssociationEnd- Parameters:
role-- Returns:
AssociationEndfor method chaining
-
setMultiplicity
Sets theEdmMultiplicityfor thisAssociationEnd- Parameters:
multiplicity-- Returns:
AssociationEndfor method chaining
-
setOnDelete
SetsOnDeletefor thisAssociationEnd- Parameters:
onDelete-- Returns:
AssociationEndfor method chaining
-
setDocumentation
Sets theDocumentationfor thisAssociationEnd- Parameters:
documentation-- Returns:
AssociationEndfor method chaining
-
setAnnotationAttributes
Sets the collection ofAnnotationAttributefor thisAssociationEnd- Parameters:
annotationAttributes-- Returns:
AssociationEndfor method chaining
-
setAnnotationElements
Sets the collection ofAnnotationElementfor thisAssociationEnd- Parameters:
annotationElements-- Returns:
AssociationEndfor method chaining
-