public boolean equals( ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof WSIWmsServer)) { return false; } if (this == object) { return true; } final WSIWmsServer that = ((WSIWmsServer) object); { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals( LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { return false; } } { String lhsUrl; lhsUrl = this.getUrl(); String rhsUrl; rhsUrl = that.getUrl(); if (!strategy.equals( LocatorUtils.property(thisLocator, "url", lhsUrl), LocatorUtils.property(thatLocator, "url", rhsUrl), lhsUrl, rhsUrl)) { return false; } } return true; }