final ResultsForGetSet result = (ResultsForGetSet)o;
String str = "";
if ( mOptions.mIncludeObjectName )
{
str = "---" + result.getName().toString() + "---";
}
final boolean pretty = mOptions.mDisplayType == Options.DISPLAY_PRETTY;
final Stringifier attrS = new AttributeStringifier();
final Object [] attrList = result.getAttributes().toArray();
if ( pretty )
{
str = str + "\n";
}
if ( attrList.length == 0 )
{
str = str + "<no attributes found>";
}
else
{
String delim;
if ( pretty )
delim = "\n";
else
delim = ",";
str = str + ArrayStringifier.stringify( attrList , delim, attrS );
}
return( str );