if (obj == null)
return false;
if (!( obj instanceof ResourceInfo) )
return false;
final ResourceInfo other = (ResourceInfo) obj;
if (_abstract == null) {
if (other.getAbstract() != null)
return false;
} else if (!_abstract.equals(other.getAbstract()))
return false;
if (alias == null) {
if (other.getAlias() != null)
return false;
} else if (!alias.equals(other.getAlias()))
return false;
if (description == null) {
if (other.getDescription() != null)
return false;
} else if (!description.equals(other.getDescription()))
return false;
if (enabled != other.isEnabled())
return false;
if (id == null) {
if (other.getId() != null)
return false;
} else if (!id.equals(other.getId()))
return false;
if (keywords == null) {
if (other.getKeywords() != null)
return false;
} else if (!keywords.equals(other.getKeywords()))
return false;
if (latLonBoundingBox == null) {
if (other.getLatLonBoundingBox() != null)
return false;
} else if (!latLonBoundingBox.equals(other.getLatLonBoundingBox()))
return false;
if (metadataLinks == null) {
if (other.getMetadataLinks() != null)
return false;
} else if (!metadataLinks.equals(other.getMetadataLinks()))
return false;
if (name == null) {
if (other.getName() != null)
return false;
} else if (!name.equals(other.getName()))
return false;
if (namespace == null) {
if (other.getNamespace() != null)
return false;
} else if (!namespace.equals(other.getNamespace()))
return false;
if (nativeBoundingBox == null) {
if (other.getNativeBoundingBox() != null)
return false;
} else if (!nativeBoundingBox.equals(other.getNativeBoundingBox()))
return false;
if (nativeCRS == null) {
if (other.getNativeCRS() != null)
return false;
} else if (!CRS.equalsIgnoreMetadata(nativeCRS, other.getNativeCRS()))
return false;
if (nativeName == null) {
if (other.getNativeName() != null)
return false;
} else if (!nativeName.equals(other.getNativeName()))
return false;
if (projectionPolicy == null) {
if (other.getProjectionPolicy() != null)
return false;
} else if (!projectionPolicy.equals(other.getProjectionPolicy()))
return false;
if (srs == null) {
if (other.getSRS() != null)
return false;
} else if (!srs.equals(other.getSRS() ))
return false;
if (store == null) {
if (other.getStore() != null)
return false;
} else if (!store.equals(other.getStore()))
return false;
if (title == null) {
if (other.getTitle() != null)
return false;
} else if (!title.equals(other.getTitle()))
return false;
return true;
}