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 EdmAssociationEndEdmAssociationEnd as a String.public void setEdm(EdmImpl edm)
edm - the edm to setpublic EdmEntityType getEntityType() throws EdmException
getEntityType in interface EdmAssociationEndEdmEntityType this association end points to.EdmExceptionpublic EdmMultiplicity getMultiplicity()
EdmAssociationEndEdmMultiplicity for more information about possible multiplicities.getMultiplicity in interface EdmAssociationEndEdmMultiplicitypublic EdmAnnotations getAnnotations() throws EdmException
EdmAnnotatablegetAnnotations in interface EdmAnnotatableEdmAnnotations never nullEdmExceptionpublic 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 EdmMetadataAssociationEndOnDelete on deleteCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.