in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/UserConfigurationDataModel.java [768:883]
public boolean equals(UserConfigurationDataModel that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_airavataAutoSchedule = true;
boolean that_present_airavataAutoSchedule = true;
if (this_present_airavataAutoSchedule || that_present_airavataAutoSchedule) {
if (!(this_present_airavataAutoSchedule && that_present_airavataAutoSchedule))
return false;
if (this.airavataAutoSchedule != that.airavataAutoSchedule)
return false;
}
boolean this_present_overrideManualScheduledParams = true;
boolean that_present_overrideManualScheduledParams = true;
if (this_present_overrideManualScheduledParams || that_present_overrideManualScheduledParams) {
if (!(this_present_overrideManualScheduledParams && that_present_overrideManualScheduledParams))
return false;
if (this.overrideManualScheduledParams != that.overrideManualScheduledParams)
return false;
}
boolean this_present_shareExperimentPublicly = true && this.isSetShareExperimentPublicly();
boolean that_present_shareExperimentPublicly = true && that.isSetShareExperimentPublicly();
if (this_present_shareExperimentPublicly || that_present_shareExperimentPublicly) {
if (!(this_present_shareExperimentPublicly && that_present_shareExperimentPublicly))
return false;
if (this.shareExperimentPublicly != that.shareExperimentPublicly)
return false;
}
boolean this_present_computationalResourceScheduling = true && this.isSetComputationalResourceScheduling();
boolean that_present_computationalResourceScheduling = true && that.isSetComputationalResourceScheduling();
if (this_present_computationalResourceScheduling || that_present_computationalResourceScheduling) {
if (!(this_present_computationalResourceScheduling && that_present_computationalResourceScheduling))
return false;
if (!this.computationalResourceScheduling.equals(that.computationalResourceScheduling))
return false;
}
boolean this_present_throttleResources = true && this.isSetThrottleResources();
boolean that_present_throttleResources = true && that.isSetThrottleResources();
if (this_present_throttleResources || that_present_throttleResources) {
if (!(this_present_throttleResources && that_present_throttleResources))
return false;
if (this.throttleResources != that.throttleResources)
return false;
}
boolean this_present_userDN = true && this.isSetUserDN();
boolean that_present_userDN = true && that.isSetUserDN();
if (this_present_userDN || that_present_userDN) {
if (!(this_present_userDN && that_present_userDN))
return false;
if (!this.userDN.equals(that.userDN))
return false;
}
boolean this_present_generateCert = true && this.isSetGenerateCert();
boolean that_present_generateCert = true && that.isSetGenerateCert();
if (this_present_generateCert || that_present_generateCert) {
if (!(this_present_generateCert && that_present_generateCert))
return false;
if (this.generateCert != that.generateCert)
return false;
}
boolean this_present_storageId = true && this.isSetStorageId();
boolean that_present_storageId = true && that.isSetStorageId();
if (this_present_storageId || that_present_storageId) {
if (!(this_present_storageId && that_present_storageId))
return false;
if (!this.storageId.equals(that.storageId))
return false;
}
boolean this_present_experimentDataDir = true && this.isSetExperimentDataDir();
boolean that_present_experimentDataDir = true && that.isSetExperimentDataDir();
if (this_present_experimentDataDir || that_present_experimentDataDir) {
if (!(this_present_experimentDataDir && that_present_experimentDataDir))
return false;
if (!this.experimentDataDir.equals(that.experimentDataDir))
return false;
}
boolean this_present_useUserCRPref = true && this.isSetUseUserCRPref();
boolean that_present_useUserCRPref = true && that.isSetUseUserCRPref();
if (this_present_useUserCRPref || that_present_useUserCRPref) {
if (!(this_present_useUserCRPref && that_present_useUserCRPref))
return false;
if (this.useUserCRPref != that.useUserCRPref)
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_autoScheduledCompResourceSchedulingList = true && this.isSetAutoScheduledCompResourceSchedulingList();
boolean that_present_autoScheduledCompResourceSchedulingList = true && that.isSetAutoScheduledCompResourceSchedulingList();
if (this_present_autoScheduledCompResourceSchedulingList || that_present_autoScheduledCompResourceSchedulingList) {
if (!(this_present_autoScheduledCompResourceSchedulingList && that_present_autoScheduledCompResourceSchedulingList))
return false;
if (!this.autoScheduledCompResourceSchedulingList.equals(that.autoScheduledCompResourceSchedulingList))
return false;
}
return true;
}