public class EdmAssociationEndImpl extends Object implements EdmMetadataAssociationEnd, EdmAnnotatable
Constructor and Description |
---|
EdmAssociationEndImpl() |
Modifier and Type | Method and Description |
---|---|
EdmAnnotations |
getAnnotations()
Get all annotations applied to an EDM element
|
EdmEntityType |
getEntityType() |
EdmMultiplicity |
getMultiplicity()
See
EdmMultiplicity for more information about possible multiplicities. |
EdmOnDelete |
getOnDelete() |
String |
getRole() |
void |
setAnnotations(EdmAnnotations annotations) |
void |
setEdm(EdmImpl edm) |
void |
setMultiplicity(EdmMultiplicity edmMultiplicity) |
void |
setOnDelete(EdmOnDelete onDelete) |
void |
setRole(String role) |
void |
setType(FullQualifiedName associationEndTypeName) |
String |
toString() |
public String getRole()
getRole
in interface EdmAssociationEnd
EdmAssociationEnd
as a String.public void setEdm(EdmImpl edm)
edm
- the edm to setpublic EdmEntityType getEntityType() throws EdmException
getEntityType
in interface EdmAssociationEnd
EdmEntityType
this association end points to.EdmException
public EdmMultiplicity getMultiplicity()
EdmAssociationEnd
EdmMultiplicity
for more information about possible multiplicities.getMultiplicity
in interface EdmAssociationEnd
EdmMultiplicity
public EdmAnnotations getAnnotations() throws EdmException
EdmAnnotatable
getAnnotations
in interface EdmAnnotatable
EdmAnnotations
never nullEdmException
public void setRole(String role)
public void setMultiplicity(EdmMultiplicity edmMultiplicity)
public void setType(FullQualifiedName associationEndTypeName)
public void setAnnotations(EdmAnnotations annotations)
public void setOnDelete(EdmOnDelete onDelete)
public EdmOnDelete getOnDelete()
getOnDelete
in interface EdmMetadataAssociationEnd
OnDelete
on deleteCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.