Class EdmNavigationPropertyImpl

  • All Implemented Interfaces:
    org.apache.olingo.odata2.api.edm.EdmAnnotatable, org.apache.olingo.odata2.api.edm.EdmMappable, org.apache.olingo.odata2.api.edm.EdmNamed, org.apache.olingo.odata2.api.edm.EdmNavigationProperty, org.apache.olingo.odata2.api.edm.EdmTyped

    public class EdmNavigationPropertyImpl
    extends EdmTypedImpl
    implements org.apache.olingo.odata2.api.edm.EdmNavigationProperty, org.apache.olingo.odata2.api.edm.EdmAnnotatable
    Objects of this class represent EdmNavigationProperty
    • Constructor Detail

      • EdmNavigationPropertyImpl

        public EdmNavigationPropertyImpl()
    • Method Detail

      • setDocumentation

        public void setDocumentation​(EdmDocumentation documentation)
      • setMapping

        public void setMapping​(org.apache.olingo.odata2.api.edm.provider.Mapping mapping)
      • setAnnotations

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

        public void setFromRole​(String fromRole)
      • setToRole

        public void setToRole​(String toRole)
      • getType

        public org.apache.olingo.odata2.api.edm.EdmType getType()
                                                         throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getType in interface org.apache.olingo.odata2.api.edm.EdmTyped
        Overrides:
        getType in class EdmTypedImpl
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getMultiplicity

        public org.apache.olingo.odata2.api.edm.EdmMultiplicity getMultiplicity()
                                                                         throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getMultiplicity in interface org.apache.olingo.odata2.api.edm.EdmTyped
        Overrides:
        getMultiplicity in class EdmTypedImpl
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getRelationship

        public org.apache.olingo.odata2.api.edm.EdmAssociation getRelationship()
                                                                        throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getRelationship in interface org.apache.olingo.odata2.api.edm.EdmNavigationProperty
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getRelationshipName

        public org.apache.olingo.odata2.api.edm.FullQualifiedName getRelationshipName()
                                                                               throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • setRelationshipName

        public void setRelationshipName​(org.apache.olingo.odata2.api.edm.FullQualifiedName relationship)
      • getFromRole

        public String getFromRole()
                           throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getFromRole in interface org.apache.olingo.odata2.api.edm.EdmNavigationProperty
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getToRole

        public String getToRole()
                         throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getToRole in interface org.apache.olingo.odata2.api.edm.EdmNavigationProperty
        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
      • getMapping

        public org.apache.olingo.odata2.api.edm.EdmMapping getMapping()
                                                               throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getMapping in interface org.apache.olingo.odata2.api.edm.EdmMappable
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException