Class NamedEnumAttribute<T extends Enum<T>>

    • Field Detail

    • Constructor Detail

    • Method Detail

      • convertXmlValueToModelValue

        protected T convertXmlValueToModelValue​(String rawValue)
        Description copied from class: AttributeImpl
        to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model
        Specified by:
        convertXmlValueToModelValue in class AttributeImpl<T extends Enum<T>>
        Returns:
        the converted value
      • convertModelValueToXmlValue

        protected String convertModelValueToXmlValue​(T modelValue)
        Description copied from class: AttributeImpl
        to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model
        Specified by:
        convertModelValueToXmlValue in class AttributeImpl<T extends Enum<T>>
        Returns:
        the converted value