/** * Returns a string representation of the object. * * @return a string representation of the object. */ public String toString() { return super.toString() + this.internalString(); }
/** * Creates a string representing the properties of the instance. * * @return a string representing the properties of the instance. */ private String internalString() { final StringBuffer buf = new StringBuffer( 500 ).append( '{' ). append( this.internalString( this ) ). append( ", name=" ).append( this.name ). append( ", version=" ).append( this.version ). append( ", properties=" ).append( this.properties ). append( ", messages=" ).append( this.messages ). append( ", specifications=" ).append( this.getSpecifications() ). append( ", implementations=" ).append( this.getImplementations() ); buf.append( '}' ).toString(); return buf.toString(); }