Class EdmAssociationSetImpl

  • All Implemented Interfaces:
    org.apache.olingo.odata2.api.edm.EdmAnnotatable, org.apache.olingo.odata2.api.edm.EdmAssociationSet, org.apache.olingo.odata2.api.edm.EdmNamed

    public class EdmAssociationSetImpl
    extends EdmNamedImpl
    implements org.apache.olingo.odata2.api.edm.EdmAssociationSet, org.apache.olingo.odata2.api.edm.EdmAnnotatable
    Objects of this class represent AssociationSet
    • Constructor Detail

      • EdmAssociationSetImpl

        public EdmAssociationSetImpl()
    • Method Detail

      • getAssociationSetFQName

        public org.apache.olingo.odata2.api.edm.FullQualifiedName getAssociationSetFQName()
      • setDocumentation

        public void setDocumentation​(EdmDocumentation documentation)
      • getAssociation

        public org.apache.olingo.odata2.api.edm.EdmAssociation getAssociation()
                                                                       throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getAssociation in interface org.apache.olingo.odata2.api.edm.EdmAssociationSet
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • setAnnotations

        public void setAnnotations​(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)
        Parameters:
        annotations - the annotations to set
      • setEdmEntityContainer

        public void setEdmEntityContainer​(org.apache.olingo.odata2.api.edm.EdmEntityContainer edmEntityContainer)
        Parameters:
        edmEntityContainer - the edmEntityContainer to set
      • getEnd

        public org.apache.olingo.odata2.api.edm.EdmAssociationSetEnd getEnd​(String role)
                                                                     throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getEnd in interface org.apache.olingo.odata2.api.edm.EdmAssociationSet
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getEntityContainer

        public org.apache.olingo.odata2.api.edm.EdmEntityContainer getEntityContainer()
                                                                               throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getEntityContainer in interface org.apache.olingo.odata2.api.edm.EdmAssociationSet
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • 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
      • setAssociation

        public void setAssociation​(org.apache.olingo.odata2.api.edm.FullQualifiedName associationSetFQName)
      • setEnd1

        public void setEnd1​(org.apache.olingo.odata2.api.edm.EdmAssociationSetEnd end1)
      • setEnd2

        public void setEnd2​(org.apache.olingo.odata2.api.edm.EdmAssociationSetEnd end2)
      • getEnd2

        public org.apache.olingo.odata2.api.edm.EdmAssociationSetEnd getEnd2()
        Returns:
        the end2
      • getEnd1

        public org.apache.olingo.odata2.api.edm.EdmAssociationSetEnd getEnd1()
        Returns:
        the end1