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

    Modifier and Type
    Method
    Description
    getData(Map<String,Object> parameters)
    Returns the data.
    getLabel(D data)
    Returns the label for a data object.
    getValue(D data)
    Returns the value for a data object.
  • Method Details

    • getData

      List<D> getData(Map<String,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

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