Class EdmAssociationImpl

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

    public class EdmAssociationImpl
    extends EdmNamedImpl
    implements org.apache.olingo.odata2.api.edm.EdmAssociation, org.apache.olingo.odata2.api.edm.EdmAnnotatable
    Objects of this class represent Asociation
    • Constructor Detail

      • EdmAssociationImpl

        public EdmAssociationImpl()
    • Method Detail

      • setDocumentation

        public void setDocumentation​(EdmDocumentation documentation)
      • getNamespace

        public String getNamespace()
                            throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getNamespace in interface org.apache.olingo.odata2.api.edm.EdmType
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • setNamespace

        public void setNamespace​(String namespace)
        Parameters:
        namespace - the namespace to set
      • getKind

        public org.apache.olingo.odata2.api.edm.EdmTypeKind getKind()
        Specified by:
        getKind in interface org.apache.olingo.odata2.api.edm.EdmType
      • getEnd

        public org.apache.olingo.odata2.api.edm.EdmAssociationEnd getEnd​(String role)
                                                                  throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getEnd in interface org.apache.olingo.odata2.api.edm.EdmAssociation
        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
      • getEndMultiplicity

        public org.apache.olingo.odata2.api.edm.EdmMultiplicity getEndMultiplicity​(String role)
                                                                            throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getEnd1

        public EdmMetadataAssociationEnd getEnd1()
                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getEnd1 in interface org.apache.olingo.odata2.api.edm.EdmAssociation
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getEnd2

        public EdmMetadataAssociationEnd getEnd2()
                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getEnd2 in interface org.apache.olingo.odata2.api.edm.EdmAssociation
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getReferentialConstraint

        public org.apache.olingo.odata2.api.edm.EdmReferentialConstraint getReferentialConstraint()
                                                                                           throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getReferentialConstraint in interface org.apache.olingo.odata2.api.edm.EdmAssociation
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • setReferentialConstraint

        public void setReferentialConstraint​(org.apache.olingo.odata2.api.edm.EdmReferentialConstraint referentialConstraint)
      • setAnnotations

        public void setAnnotations​(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)