@Override public String toString(){
  StringBuilder sb=new StringBuilder(name);
  if (hasDescription()) {
    sb.append(" (");
    sb.append(description);
    sb.append(")");
  }
  return sb.toString();
}

@ Override public String toString ( ) { StringBuilder sb = new StringBuilder ( name ) ; if ( hasDescription ( ) ) { sb . append ( " (" ) ; sb . append ( description ) ; sb . append ( ")" ) ; } return sb . toString ( ) ; }
gets a string representation of this object .
