buf.append( "\n" ); buf.append( "alt = '" ); buf.append( getAlt() ); buf.append( "'" ); buf.append( "\n" );
/** * Method equals. * * @param other * @return boolean */ public boolean equals( Object other ) { if ( this == other ) { return true; } if ( !( other instanceof Banner ) ) { return false; } Banner that = (Banner) other; boolean result = true; result = result && ( getName() == null ? that.getName() == null : getName().equals( that.getName() ) ); result = result && ( getSrc() == null ? that.getSrc() == null : getSrc().equals( that.getSrc() ) ); result = result && ( getAlt() == null ? that.getAlt() == null : getAlt().equals( that.getAlt() ) ); result = result && ( getHref() == null ? that.getHref() == null : getHref().equals( that.getHref() ) ); result = result && ( getBorder() == null ? that.getBorder() == null : getBorder().equals( that.getBorder() ) ); result = result && ( getWidth() == null ? that.getWidth() == null : getWidth().equals( that.getWidth() ) ); result = result && ( getHeight() == null ? that.getHeight() == null : getHeight().equals( that.getHeight() ) ); result = result && ( getTitle() == null ? that.getTitle() == null : getTitle().equals( that.getTitle() ) ); return result; } //-- boolean equals( Object )