/** * Returns the hash code for this <code>Thumbnail</code>. * * @return the hash code for this <code>Thumbnail</code> */ @Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (mimeType != null ? mimeType.hashCode() : 0); result = 31 * result + (filename != null ? filename.hashCode() : 0); result = 31 * result + (int) (attachmentId ^ (attachmentId >>> 32)); return result; }