Class PropertyBool

  • All Implemented Interfaces:
    Property, java.io.Serializable

    public class PropertyBool
    extends java.lang.Object
    implements Property, java.io.Serializable
    A Boolean property value.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyBool​(boolean value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      boolean getValue()  
      int hashCode()  
      java.lang.String toString()  
      void toString​(java.lang.StringBuffer buffer, java.lang.String indentation)
      Fills the given StringBuffer with a clear String-representation of all (possibly nested) property values of this Property object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PropertyBool

        public PropertyBool​(boolean value)
        Parameters:
        value - the actual boolean value represented by this property.
    • Method Detail

      • getValue

        public boolean getValue()
        Returns:
        the boolean value represented by this property.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public void toString​(java.lang.StringBuffer buffer,
                             java.lang.String indentation)
        Description copied from interface: Property
        Fills the given StringBuffer with a clear String-representation of all (possibly nested) property values of this Property object.

        For that, the given String indentation is used initially and each additional element is shifted by additional whitespaces.

        Specified by:
        toString in interface Property
        Parameters:
        buffer - buffer to append the property to
        indentation - String representing the current indentation.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object