Class AssociationEnd
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.AssociationEnd
-
public class AssociationEnd extends Object
Objects of this class represent an association end
-
-
Constructor Summary
Constructors Constructor Description AssociationEnd()
-
Method Summary
-
-
-
Method Detail
-
getType
public FullQualifiedName getType()
- Returns:
FullQualifiedNamefull qualified name (namespace and name)
-
getRole
public String getRole()
- Returns:
- String role
-
getMultiplicity
public EdmMultiplicity getMultiplicity()
- Returns:
EdmMultiplicitymultiplicity of this end
-
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
-
setType
public AssociationEnd setType(FullQualifiedName type)
Sets theFullQualifiedNamefor thisAssociationEnd- Parameters:
type- Tipo- Returns:
AssociationEndfor method chaining
-
setRole
public AssociationEnd setRole(String role)
Sets the role for thisAssociationEnd- Parameters:
role- Regra- Returns:
AssociationEndfor method chaining
-
setMultiplicity
public AssociationEnd setMultiplicity(EdmMultiplicity multiplicity)
Sets theEdmMultiplicityfor thisAssociationEnd- Parameters:
multiplicity- Multiplicidade- Returns:
AssociationEndfor method chaining
-
setOnDelete
public AssociationEnd setOnDelete(OnDelete onDelete)
SetsOnDeletefor thisAssociationEnd- Parameters:
onDelete- Ao apagar- Returns:
AssociationEndfor method chaining
-
setDocumentation
public AssociationEnd setDocumentation(Documentation documentation)
Sets theDocumentationfor thisAssociationEnd- Parameters:
documentation- Documentação- Returns:
AssociationEndfor method chaining
-
setAnnotationAttributes
public AssociationEnd setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisAssociationEnd- Parameters:
annotationAttributes- Atributos- Returns:
AssociationEndfor method chaining
-
setAnnotationElements
public AssociationEnd setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisAssociationEnd- Parameters:
annotationElements- Elementos- Returns:
AssociationEndfor method chaining
-
-