Interface EnumeratedPropertyDescriptor<E,​T>

  • Type Parameters:
    E - The type of the values
    T - The type of default values the descriptor can take (can be a List)
    All Superinterfaces:
    Comparable<PropertyDescriptor<?>>, PropertyDescriptor<T>
    All Known Implementing Classes:
    EnumeratedMultiProperty, EnumeratedProperty

    @Deprecated
    public interface EnumeratedPropertyDescriptor<E,​T>
    extends PropertyDescriptor<T>
    Deprecated.
    Will be removed with 7.0.0. In the future this interface won't exist, but enumerated properties will still be around
    Interface defining an enumerated property descriptor.
    Since:
    6.0.0
    Author:
    Clément Fournier
    • Method Detail

      • mappings

        Map<String,​E> mappings()
        Deprecated.
        Returns an immutable map of the label - value mappings defined by this descriptor.
        Returns:
        an immutable map of the label - value mappings defined by this descriptor.