code: public void addAttribute(String attribute)
      {
          if(this.attributes == null)
              this.attributes = new ArrayList<String>();
          this.attributes.add(attribute);
      }
docs: Adds an attribute to the dashboard filter.
  @param attribute The attribute to add to the dashboard filter