Interface SnDataProvider<D,​V>

  • Type Parameters:
    D - - The type of the data
    V - - The type of the value
    All Known Implementing Classes:
    BeansSnDataProvider, QualifierTypesSnDataProvider

    public interface SnDataProvider<D,​V>
    Provides data to be used in widgets, editors or actions.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<D> getData​(java.util.Map<java.lang.String,​java.lang.Object> parameters)
      Returns the data.
      java.lang.String getLabel​(D data)
      Returns the label for a data object.
      V getValue​(D data)
      Returns the value for a data object.
    • Method Detail

      • getData

        java.util.List<D> getData​(java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Returns the data.
        Parameters:
        parameters - - the parameters
        Returns:
        the data
      • getValue

        V getValue​(D data)
        Returns the value for a data object.
        Parameters:
        data - - the data object
        parameters - - the parameters
        Returns:
        the value object
      • getLabel

        java.lang.String getLabel​(D data)
        Returns the label for a data object.
        Parameters:
        data - - the data object
        parameters - - the parameters
        Returns:
        the label