boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; IncludedXmlElement element = (IncludedXmlElement)o; if (!myParent.equals(element.myParent)) return false; if (!myOriginal.equals(element.myOriginal)) return false; return true; }