boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; XmlProperty property = (XmlProperty)o; if (!myTag.equals(property.myTag)) return false; return true; }