public String toString(){
  StringBuffer answer=new StringBuffer(attrID + ": ");
  if (values.size() == 0) {
    answer.append("No values");
  }
 else {
    boolean start=true;
    for (Enumeration<Object> e=values.elements(); e.hasMoreElements(); ) {
      if (!start)       answer.append(", ");
      answer.append(e.nextElement());
      start=false;
    }
  }
  return answer.toString();
}

public String toString ( ) { StringBuffer answer = new StringBuffer ( attrID + ": " ) ; if ( values . size ( ) == 0 ) { answer . append ( "No values" ) ; } else { boolean start = true ; for ( Enumeration < Object > e = values . elements ( ) ; e . hasMoreElements ( ) ; ) { if ( ! start ) answer . append ( ", " ) ; answer . append ( e . nextElement ( ) ) ; start = false ; } } return answer . toString ( ) ; }
generates the string representation of this attribute . the string consists of the attribute ' s id and its values . this string is meant for debugging and not meant to be interpreted programmatically .
