Class BooleanAttribute

    • Constructor Detail

      • BooleanAttribute

        public BooleanAttribute()
        Constructor.
    • Method Detail

      • setDefault

        public final void setDefault​(java.lang.Boolean value)
        A default value for this attribute. Example:
        
             attributes:
               title: !boolean
                 default: True
        Specified by:
        setDefault in class PrimitiveAttribute<java.lang.Boolean>
        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