Class EdmMappingImpl

  • All Implemented Interfaces:
    org.apache.olingo.odata2.api.edm.EdmMapping

    public class EdmMappingImpl
    extends Object
    implements org.apache.olingo.odata2.api.edm.EdmMapping
    Object of this class represent the mapping of a value to a MIME type.
    • Constructor Detail

      • EdmMappingImpl

        public EdmMappingImpl()
    • Method Detail

      • getInternalName

        public String getInternalName()
        Specified by:
        getInternalName in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • getInternalExpression

        public String getInternalExpression()
        Specified by:
        getInternalExpression in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • getObject

        public Object getObject()
        Specified by:
        getObject in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • isCalculated

        public boolean isCalculated()
        Specified by:
        isCalculated in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • setCalculated

        public void setCalculated​(boolean calculated)
      • getMediaResourceSourceKey

        public String getMediaResourceSourceKey()
        Specified by:
        getMediaResourceSourceKey in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • getMediaResourceMimeTypeKey

        public String getMediaResourceMimeTypeKey()
        Specified by:
        getMediaResourceMimeTypeKey in interface org.apache.olingo.odata2.api.edm.EdmMapping
      • setObject

        public EdmMappingImpl setObject​(Object object)
        Sets an object. This method can be used by a provider to set whatever it wants to associate with this.
        Parameters:
        object - Objeto
        Returns:
        EdmMappingImpl for method chaining
      • setMediaResourceSourceKey

        public EdmMappingImpl setMediaResourceSourceKey​(String mediaResourceSourceKey)
        Sets the key for the resource source key which is used for the lookup in the data map
        Parameters:
        mediaResourceSourceKey - under which the source can be found in the data map
        Returns:
        EdmMappingImpl for method chaining
      • setMediaResourceMimeTypeKey

        public EdmMappingImpl setMediaResourceMimeTypeKey​(String mediaResourceMimeTypeKey)
        Sets the key for the resource mime type key which is used for the lookup in the data map
        Parameters:
        mediaResourceMimeTypeKey - under which the mime type can be found in the data map
        Returns:
        EdmMappingImpl for method chaining