final StringBuffer buf = new StringBuffer();
buf.append( "Composite data:\n" );
final CompositeData data = (CompositeData)o;
final CompositeType type = data.getCompositeType();
final Set keySet = type.keySet();
final Iterator iter = keySet.iterator();
while ( iter.hasNext() )
{
final String key = (String)iter.next();
final Object item = data.get( key );
final String s = SmartStringifier.toString( item );
buf.append( key + "=" + s + "\n" );
}
return( buf.toString() );