Class DoubleAttribute

  • All Implemented Interfaces:
    Attribute<java.lang.Double>

    public class DoubleAttribute
    extends AttributeImpl<java.lang.Double>
    Author:
    Sebastian Menski
    • Method Detail

      • convertXmlValueToModelValue

        protected java.lang.Double convertXmlValueToModelValue​(java.lang.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<java.lang.Double>
        Returns:
        the converted value
      • convertModelValueToXmlValue

        protected java.lang.String convertModelValueToXmlValue​(java.lang.Double 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<java.lang.Double>
        Returns:
        the converted value