Interface ISourceData

  • All Superinterfaces:
    java.util.Map<java.lang.String,​java.lang.Object>
    All Known Implementing Classes:
    AbstractSourceData, SourceData, TabularData

    @StableMinor(version="17.0",
                 sinceVersion="4.0")
    public interface ISourceData
    extends java.util.Map<java.lang.String,​java.lang.Object>
    Interface to access a source's data. It is a map of the data identification to the data value.
    Since:
    4.0.4
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T get​(java.lang.Object key, java.lang.Class<T> expectedClass)
      Returns a data value, converted to the expected class.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • get

        <T> T get​(java.lang.Object key,
                  java.lang.Class<T> expectedClass)
        Returns a data value, converted to the expected class.
        Type Parameters:
        T - the expected class.
        Parameters:
        key - the data entry key.
        expectedClass - the expected class.
        Returns:
        the converted data value.
        Since:
        4.0.4