Class FloatAttribute

    • Constructor Detail

      • FloatAttribute

        public FloatAttribute()
        Constructor.
    • Method Detail

      • setDefault

        public final void setDefault​(java.lang.Double value)
        A default value for this attribute. Example:
        
             attributes:
               title: !float
                 default: 4.2
        Specified by:
        setDefault in class PrimitiveAttribute<java.lang.Double>
        Parameters:
        value - The default value.
      • getValueType

        public java.lang.Class getValueType()
        Description copied from interface: Attribute
        Get the class of the value.
        Returns:
        the value class