Class EdmStructuralTypeImpl

  • 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.EdmStructuralType, org.apache.olingo.odata2.api.edm.EdmType
    Direct Known Subclasses:
    EdmComplexTypeImpl, EdmEntityTypeImpl

    public abstract class EdmStructuralTypeImpl
    extends EdmNamedImpl
    implements org.apache.olingo.odata2.api.edm.EdmStructuralType, org.apache.olingo.odata2.api.edm.EdmAnnotatable
    Objects of this class represent structural type of the entity
    • Field Detail

      • edmBaseType

        protected org.apache.olingo.odata2.api.edm.EdmStructuralType edmBaseType
      • structuralType

        protected org.apache.olingo.odata2.api.edm.EdmComplexType structuralType
      • namespace

        protected String namespace
    • Constructor Detail

      • EdmStructuralTypeImpl

        public EdmStructuralTypeImpl()
    • Method Detail

      • getEdmBaseType

        public org.apache.olingo.odata2.api.edm.EdmStructuralType getEdmBaseType()
      • setEdmBaseType

        public void setEdmBaseType​(org.apache.olingo.odata2.api.edm.EdmStructuralType edmBaseType)
      • getStructuralType

        public org.apache.olingo.odata2.api.edm.EdmComplexType getStructuralType()
      • setStructuralType

        public void setStructuralType​(org.apache.olingo.odata2.api.edm.EdmComplexType structuralType)
      • getEdmTypeKind

        public org.apache.olingo.odata2.api.edm.EdmTypeKind getEdmTypeKind()
      • setEdmTypeKind

        public void setEdmTypeKind​(org.apache.olingo.odata2.api.edm.EdmTypeKind edmTypeKind)
      • setEdmPropertyNames

        public void setEdmPropertyNames​(List<String> edmPropertyNames)
      • setNamespace

        public void setNamespace​(String namespace)
      • setAnnotations

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

        public List<org.apache.olingo.odata2.api.edm.EdmProperty> getProperties()
      • setProperties

        public void setProperties​(List<org.apache.olingo.odata2.api.edm.EdmProperty> properties)
      • 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
      • getProperty

        public org.apache.olingo.odata2.api.edm.EdmTyped getProperty​(String name)
                                                              throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getProperty in interface org.apache.olingo.odata2.api.edm.EdmStructuralType
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getPropertyNames

        public List<String> getPropertyNames()
                                      throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getPropertyNames in interface org.apache.olingo.odata2.api.edm.EdmStructuralType
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getBaseType

        public org.apache.olingo.odata2.api.edm.EdmStructuralType getBaseType()
                                                                       throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        getBaseType in interface org.apache.olingo.odata2.api.edm.EdmStructuralType
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getKind

        public org.apache.olingo.odata2.api.edm.EdmTypeKind getKind()
        Specified by:
        getKind in interface org.apache.olingo.odata2.api.edm.EdmType
      • 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
      • getPropertyInternal

        protected org.apache.olingo.odata2.api.edm.EdmTyped getPropertyInternal​(String name)
                                                                         throws org.apache.olingo.odata2.api.edm.EdmException
        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