if (getResourceType() != null) sb.append("ResourceType: ").append(getResourceType()).append(","); if (getExpectedProperties() != null) sb.append("ExpectedProperties: ").append(getExpectedProperties()).append(","); if (getActualProperties() != null) sb.append("ActualProperties: ").append(getActualProperties()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getLogicalResourceId() == null) ? 0 : getLogicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceId() == null) ? 0 : getPhysicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceIdContext() == null) ? 0 : getPhysicalResourceIdContext().hashCode()); hashCode = prime * hashCode + ((getResourceType() == null) ? 0 : getResourceType().hashCode()); hashCode = prime * hashCode + ((getExpectedProperties() == null) ? 0 : getExpectedProperties().hashCode()); hashCode = prime * hashCode + ((getActualProperties() == null) ? 0 : getActualProperties().hashCode()); hashCode = prime * hashCode + ((getPropertyDifferences() == null) ? 0 : getPropertyDifferences().hashCode()); hashCode = prime * hashCode + ((getStackResourceDriftStatus() == null) ? 0 : getStackResourceDriftStatus().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); return hashCode; }
if (other.getResourceType() != null && other.getResourceType().equals(this.getResourceType()) == false) return false; if (other.getExpectedProperties() == null ^ this.getExpectedProperties() == null) return false; if (other.getExpectedProperties() != null && other.getExpectedProperties().equals(this.getExpectedProperties()) == false) return false; if (other.getActualProperties() == null ^ this.getActualProperties() == null)
if (getResourceType() != null) sb.append("ResourceType: ").append(getResourceType()).append(","); if (getExpectedProperties() != null) sb.append("ExpectedProperties: ").append(getExpectedProperties()).append(","); if (getActualProperties() != null) sb.append("ActualProperties: ").append(getActualProperties()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getLogicalResourceId() == null) ? 0 : getLogicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceId() == null) ? 0 : getPhysicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceIdContext() == null) ? 0 : getPhysicalResourceIdContext().hashCode()); hashCode = prime * hashCode + ((getResourceType() == null) ? 0 : getResourceType().hashCode()); hashCode = prime * hashCode + ((getExpectedProperties() == null) ? 0 : getExpectedProperties().hashCode()); hashCode = prime * hashCode + ((getActualProperties() == null) ? 0 : getActualProperties().hashCode()); hashCode = prime * hashCode + ((getPropertyDifferences() == null) ? 0 : getPropertyDifferences().hashCode()); hashCode = prime * hashCode + ((getStackResourceDriftStatus() == null) ? 0 : getStackResourceDriftStatus().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); return hashCode; }
if (other.getResourceType() != null && other.getResourceType().equals(this.getResourceType()) == false) return false; if (other.getExpectedProperties() == null ^ this.getExpectedProperties() == null) return false; if (other.getExpectedProperties() != null && other.getExpectedProperties().equals(this.getExpectedProperties()) == false) return false; if (other.getActualProperties() == null ^ this.getActualProperties() == null)