Class EdmAssociationEndImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmAssociationEndImpl
-
- All Implemented Interfaces:
org.apache.olingo.odata2.api.edm.EdmAnnotatable,org.apache.olingo.odata2.api.edm.EdmAssociationEnd,EdmMetadataAssociationEnd
public class EdmAssociationEndImpl extends Object implements EdmMetadataAssociationEnd, org.apache.olingo.odata2.api.edm.EdmAnnotatable
Objects of this class represent AssociationEnds
-
-
Constructor Summary
Constructors Constructor Description EdmAssociationEndImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.odata2.api.edm.EdmAnnotationsgetAnnotations()org.apache.olingo.odata2.api.edm.EdmEntityTypegetEntityType()org.apache.olingo.odata2.api.edm.EdmMultiplicitygetMultiplicity()EdmOnDeletegetOnDelete()StringgetRole()voidsetAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)voidsetEdm(EdmImpl edm)voidsetMultiplicity(org.apache.olingo.odata2.api.edm.EdmMultiplicity edmMultiplicity)voidsetOnDelete(EdmOnDelete onDelete)voidsetRole(String role)voidsetType(org.apache.olingo.odata2.api.edm.FullQualifiedName associationEndTypeName)StringtoString()
-
-
-
Method Detail
-
getRole
public String getRole()
- Specified by:
getRolein interfaceorg.apache.olingo.odata2.api.edm.EdmAssociationEnd
-
setEdm
public void setEdm(EdmImpl edm)
- Parameters:
edm- the edm to set
-
getEntityType
public org.apache.olingo.odata2.api.edm.EdmEntityType getEntityType() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getEntityTypein interfaceorg.apache.olingo.odata2.api.edm.EdmAssociationEnd- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getMultiplicity
public org.apache.olingo.odata2.api.edm.EdmMultiplicity getMultiplicity()
- Specified by:
getMultiplicityin interfaceorg.apache.olingo.odata2.api.edm.EdmAssociationEnd
-
getAnnotations
public org.apache.olingo.odata2.api.edm.EdmAnnotations getAnnotations() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getAnnotationsin interfaceorg.apache.olingo.odata2.api.edm.EdmAnnotatable- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
setRole
public void setRole(String role)
-
setMultiplicity
public void setMultiplicity(org.apache.olingo.odata2.api.edm.EdmMultiplicity edmMultiplicity)
-
setType
public void setType(org.apache.olingo.odata2.api.edm.FullQualifiedName associationEndTypeName)
-
setAnnotations
public void setAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)
-
setOnDelete
public void setOnDelete(EdmOnDelete onDelete)
-
getOnDelete
public EdmOnDelete getOnDelete()
- Specified by:
getOnDeletein interfaceEdmMetadataAssociationEnd- Returns:
- OnDelete on delete
-
-