Class ODataFeedValueConverter

    • Method Detail

      • isApplicable

        public boolean isApplicable​(ConversionParameters parameters)
        Description copied from interface: ValueConverter
        Deduce based on the conversion context whether this converter can handle the attribute value or not.
        Parameters:
        parameters - conversion parameters carrying the context for the value conversion.
        Returns:
        true, if this converter is applicable to the provided conversion parameters and can handle the attribute value conversion; false otherwise.
      • getAttributeValue

        protected java.util.Collection<org.apache.olingo.odata2.api.ep.entry.ODataEntry> getAttributeValue​(java.lang.Object value)
        Description copied from class: CollectionValueConverter
        Presents attribute value, that is conceptually a collection but may not be presented so in the ODataEntry, as a Collection
        Specified by:
        getAttributeValue in class CollectionValueConverter
        Parameters:
        value - a value that represents a collection of elements but may not implement one of the Java Collection interfaces.
        Returns:
        same value presented as a Java Collection