in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/groupresourceprofile/GroupResourceProfile.java [681:769]
public boolean equals(GroupResourceProfile that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_gatewayId = true && this.isSetGatewayId();
boolean that_present_gatewayId = true && that.isSetGatewayId();
if (this_present_gatewayId || that_present_gatewayId) {
if (!(this_present_gatewayId && that_present_gatewayId))
return false;
if (!this.gatewayId.equals(that.gatewayId))
return false;
}
boolean this_present_groupResourceProfileId = true && this.isSetGroupResourceProfileId();
boolean that_present_groupResourceProfileId = true && that.isSetGroupResourceProfileId();
if (this_present_groupResourceProfileId || that_present_groupResourceProfileId) {
if (!(this_present_groupResourceProfileId && that_present_groupResourceProfileId))
return false;
if (!this.groupResourceProfileId.equals(that.groupResourceProfileId))
return false;
}
boolean this_present_groupResourceProfileName = true && this.isSetGroupResourceProfileName();
boolean that_present_groupResourceProfileName = true && that.isSetGroupResourceProfileName();
if (this_present_groupResourceProfileName || that_present_groupResourceProfileName) {
if (!(this_present_groupResourceProfileName && that_present_groupResourceProfileName))
return false;
if (!this.groupResourceProfileName.equals(that.groupResourceProfileName))
return false;
}
boolean this_present_computePreferences = true && this.isSetComputePreferences();
boolean that_present_computePreferences = true && that.isSetComputePreferences();
if (this_present_computePreferences || that_present_computePreferences) {
if (!(this_present_computePreferences && that_present_computePreferences))
return false;
if (!this.computePreferences.equals(that.computePreferences))
return false;
}
boolean this_present_computeResourcePolicies = true && this.isSetComputeResourcePolicies();
boolean that_present_computeResourcePolicies = true && that.isSetComputeResourcePolicies();
if (this_present_computeResourcePolicies || that_present_computeResourcePolicies) {
if (!(this_present_computeResourcePolicies && that_present_computeResourcePolicies))
return false;
if (!this.computeResourcePolicies.equals(that.computeResourcePolicies))
return false;
}
boolean this_present_batchQueueResourcePolicies = true && this.isSetBatchQueueResourcePolicies();
boolean that_present_batchQueueResourcePolicies = true && that.isSetBatchQueueResourcePolicies();
if (this_present_batchQueueResourcePolicies || that_present_batchQueueResourcePolicies) {
if (!(this_present_batchQueueResourcePolicies && that_present_batchQueueResourcePolicies))
return false;
if (!this.batchQueueResourcePolicies.equals(that.batchQueueResourcePolicies))
return false;
}
boolean this_present_creationTime = true && this.isSetCreationTime();
boolean that_present_creationTime = true && that.isSetCreationTime();
if (this_present_creationTime || that_present_creationTime) {
if (!(this_present_creationTime && that_present_creationTime))
return false;
if (this.creationTime != that.creationTime)
return false;
}
boolean this_present_updatedTime = true && this.isSetUpdatedTime();
boolean that_present_updatedTime = true && that.isSetUpdatedTime();
if (this_present_updatedTime || that_present_updatedTime) {
if (!(this_present_updatedTime && that_present_updatedTime))
return false;
if (this.updatedTime != that.updatedTime)
return false;
}
boolean this_present_defaultCredentialStoreToken = true && this.isSetDefaultCredentialStoreToken();
boolean that_present_defaultCredentialStoreToken = true && that.isSetDefaultCredentialStoreToken();
if (this_present_defaultCredentialStoreToken || that_present_defaultCredentialStoreToken) {
if (!(this_present_defaultCredentialStoreToken && that_present_defaultCredentialStoreToken))
return false;
if (!this.defaultCredentialStoreToken.equals(that.defaultCredentialStoreToken))
return false;
}
return true;
}