in cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/TagResource.java [102:132]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
TagResource other = (TagResource) obj;
if (owner == null) {
if (other.owner != null)
return false;
} else if (!owner.equals(other.owner))
return false;
if (uuid == null) {
if (other.uuid != null)
return false;
} else if (!uuid.equals(other.uuid))
return false;
if (resourceUri == null) {
if (other.resourceUri != null)
return false;
} else if (!resourceUri.equals(other.resourceUri))
return false;
if (resourceType == null) {
if (other.resourceType != null)
return false;
} else if (!resourceType.equals(other.resourceType))
return false;
return true;
}