Class BooledAttribute

java.lang.Object
org.graffiti.plugins.inspectors.defaults.BooledAttribute

public class BooledAttribute
extends Object
Class that encapsulates an Attribute and a boolean value.
Author:
ph
  • Constructor Details

    • BooledAttribute

      public BooledAttribute​(Attribute attr, boolean bool)
      Constructor for BooledAttribute.
      Parameters:
      attr - DOCUMENT ME!
      bool - DOCUMENT ME!
  • Method Details

    • setAttribute

      public void setAttribute​(Attribute attribute)
      Sets the attribute.
      Parameters:
      attribute - The attribute to set
    • getAttribute

      public Attribute getAttribute()
      Returns the attribute.
      Returns:
      Attribute
    • setBool

      public void setBool​(boolean bool)
      Sets the bool.
      Parameters:
      bool - The bool to set
    • getBool

      public boolean getBool()
      Returns the bool.
      Returns:
      boolean
    • toString

      public String toString()
      Returns the ID of the contained attribute.
      Overrides:
      toString in class Object
      Returns:
      DOCUMENT ME!