public String toString(){
  StringBuilder result=new StringBuilder();
  result.append("role info name: " + name);
  result.append("; isReadable: " + isReadable);
  result.append("; isWritable: " + isWritable);
  result.append("; description: " + description);
  result.append("; minimum degree: " + minDegree);
  result.append("; maximum degree: " + maxDegree);
  result.append("; MBean class: " + referencedMBeanClassName);
  return result.toString();
}

public String toString ( ) { StringBuilder result = new StringBuilder ( ) ; result . append ( "role info name: " + name ) ; result . append ( "; isReadable: " + isReadable ) ; result . append ( "; isWritable: " + isWritable ) ; result . append ( "; description: " + description ) ; result . append ( "; minimum degree: " + minDegree ) ; result . append ( "; maximum degree: " + maxDegree ) ; result . append ( "; MBean class: " + referencedMBeanClassName ) ; return result . toString ( ) ; }
returns a string describing the role info .
