public int hashCode() { int result; result = (myText != null ? myText.hashCode() : 0); result = 31 * result + (myToolTip != null ? myToolTip.hashCode() : 0); result = 31 * result + (myAttributes != null ? myAttributes.hashCode() : 0); return result; }