Interface IValueDescriptor<TData extends Serializable>

  • Type Parameters:
    TData - The type of the value.
    All Superinterfaces:
    Serializable

    public interface IValueDescriptor<TData extends Serializable>
    extends Serializable
    Interface for a value descriptor. A value descriptor is a class that holds a value and a display label for that value.
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getDisplayLabel

        String getDisplayLabel​(Locale locale)
        Returns the display label of the descriptor.
        Parameters:
        locale - The locale for which to get the display label.
        Returns:
        The display label of the descriptor.
      • getValue

        TData getValue()
        Returns the value of the descriptor.
        Returns:
        The value of the descriptor.