@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; WCSInfoImpl other = (WCSInfoImpl) obj; if (gmlPrefixing != other.gmlPrefixing) return false; if (latLon != other.latLon) return false; if (maxInputMemory != other.maxInputMemory) return false; if (maxOutputMemory != other.maxOutputMemory) return false; if (overviewPolicy != other.overviewPolicy) return false; if (srs == null) { if (other.srs != null) return false; } else if (!srs.equals(other.srs)) return false; if (subsamplingEnabled == null) { if (other.subsamplingEnabled != null) return false; } else if (!subsamplingEnabled.equals(other.subsamplingEnabled)) return false; return true; }
public boolean equals(Object obj) { if (!(obj instanceof MyServiceInfo)) { return false; } MyServiceInfo other = (MyServiceInfo) obj; if (foo == null) { if (other.foo != null) { return false; } } else { if (!foo.equals(other.foo)) { return false; } } return super.equals(other); } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; WPSInfoImpl other = (WPSInfoImpl) obj;
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (!(obj instanceof WFSInfo)) return false; final WFSInfo other = (WFSInfo) obj; if (gml == null) { if (other.getGML() != null) return false; } else if (!gml.equals(other.getGML())) return false; if (maxFeatures != other.getMaxFeatures()) return false; if (featureBounding != other.isFeatureBounding()) return false; if (canonicalSchemaLocation != other.isCanonicalSchemaLocation()) return false; if (serviceLevel == null) { if (other.getServiceLevel() != null) return false; } else if (!serviceLevel.equals(other.getServiceLevel())) return false; if (encodeFeatureMember != other.isEncodeFeatureMember()) return false; if (hitsIgnoreMaxFeatures != other.isHitsIgnoreMaxFeatures()) return false; if (srs == null) { if (other.getSRS() != null) return false; } else if (!srs.equals(other.getSRS())) return false; return true; } }