Class EdmTypedImpl

  • All Implemented Interfaces:
    org.apache.olingo.odata2.api.edm.EdmNamed, org.apache.olingo.odata2.api.edm.EdmTyped
    Direct Known Subclasses:
    EdmElementImpl, EdmNavigationPropertyImpl

    public class EdmTypedImpl
    extends EdmNamedImpl
    implements org.apache.olingo.odata2.api.edm.EdmTyped
    Objects of this class represent type of the entity
    • Field Detail

      • edmType

        protected org.apache.olingo.odata2.api.edm.EdmType edmType
      • typeName

        protected org.apache.olingo.odata2.api.edm.FullQualifiedName typeName
      • multiplicity

        protected org.apache.olingo.odata2.api.edm.EdmMultiplicity multiplicity
    • Constructor Detail

      • EdmTypedImpl

        public EdmTypedImpl()
    • Method Detail

      • setEdmType

        public void setEdmType​(org.apache.olingo.odata2.api.edm.EdmType edmType)
      • setTypeName

        public EdmTypedImpl setTypeName​(org.apache.olingo.odata2.api.edm.FullQualifiedName typeName)
      • setMultiplicity

        public EdmTypedImpl setMultiplicity​(org.apache.olingo.odata2.api.edm.EdmMultiplicity multiplicity)
      • 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
        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
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException