Class EnumeratedPropertyModule<E>


  • @Deprecated
    public class EnumeratedPropertyModule<E>
    extends Object
    Deprecated.
    Factorises common functionality for enumerated properties.
    Author:
    Clément Fournier
    • Constructor Detail

      • EnumeratedPropertyModule

        public EnumeratedPropertyModule​(Map<String,​E> choicesByLabel,
                                        Class<E> valueType)
        Deprecated.
    • Method Detail

      • getValueType

        public Class<E> getValueType()
        Deprecated.
      • getLabelsByChoice

        public Map<E,​String> getLabelsByChoice()
        Deprecated.
      • getChoicesByLabel

        public Map<String,​E> getChoicesByLabel()
        Deprecated.
      • errorFor

        public String errorFor​(E value)
        Deprecated.
      • choiceFrom

        public E choiceFrom​(String label)
        Deprecated.
      • checkValue

        public void checkValue​(E value)
        Deprecated.