if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformName() != null) sb.append("PlatformName: ").append(getPlatformName()).append(","); if (getPlatformVersion() != null) sb.append("PlatformVersion: ").append(getPlatformVersion()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformName() == null) ? 0 : getPlatformName().hashCode()); hashCode = prime * hashCode + ((getPlatformVersion() == null) ? 0 : getPlatformVersion().hashCode()); hashCode = prime * hashCode + ((getSolutionStackName() == null) ? 0 : getSolutionStackName().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getDateCreated() == null) ? 0 : getDateCreated().hashCode()); hashCode = prime * hashCode + ((getDateUpdated() == null) ? 0 : getDateUpdated().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getMaintainer() == null) ? 0 : getMaintainer().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getProgrammingLanguages() == null) ? 0 : getProgrammingLanguages().hashCode()); hashCode = prime * hashCode + ((getFrameworks() == null) ? 0 : getFrameworks().hashCode()); hashCode = prime * hashCode + ((getCustomAmiList() == null) ? 0 : getCustomAmiList().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformName() == null ^ this.getPlatformName() == null) return false; if (other.getPlatformName() != null && other.getPlatformName().equals(this.getPlatformName()) == false) return false; if (other.getPlatformVersion() == null ^ this.getPlatformVersion() == null)
if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformName() != null) sb.append("PlatformName: ").append(getPlatformName()).append(","); if (getPlatformVersion() != null) sb.append("PlatformVersion: ").append(getPlatformVersion()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformName() == null) ? 0 : getPlatformName().hashCode()); hashCode = prime * hashCode + ((getPlatformVersion() == null) ? 0 : getPlatformVersion().hashCode()); hashCode = prime * hashCode + ((getSolutionStackName() == null) ? 0 : getSolutionStackName().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getDateCreated() == null) ? 0 : getDateCreated().hashCode()); hashCode = prime * hashCode + ((getDateUpdated() == null) ? 0 : getDateUpdated().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getMaintainer() == null) ? 0 : getMaintainer().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getProgrammingLanguages() == null) ? 0 : getProgrammingLanguages().hashCode()); hashCode = prime * hashCode + ((getFrameworks() == null) ? 0 : getFrameworks().hashCode()); hashCode = prime * hashCode + ((getCustomAmiList() == null) ? 0 : getCustomAmiList().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformName() == null ^ this.getPlatformName() == null) return false; if (other.getPlatformName() != null && other.getPlatformName().equals(this.getPlatformName()) == false) return false; if (other.getPlatformVersion() == null ^ this.getPlatformVersion() == null)