Class 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 Detail

      • EdmAssociationEndImpl

        public EdmAssociationEndImpl()
    • Method Detail

      • getRole

        public String getRole()
        Specified by:
        getRole in interface org.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:
        getEntityType in interface org.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:
        getMultiplicity in interface org.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:
        getAnnotations in interface org.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)