in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/process/ProcessModel.java [1562:1803]
public boolean equals(ProcessModel that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_processId = true && this.isSetProcessId();
boolean that_present_processId = true && that.isSetProcessId();
if (this_present_processId || that_present_processId) {
if (!(this_present_processId && that_present_processId))
return false;
if (!this.processId.equals(that.processId))
return false;
}
boolean this_present_experimentId = true && this.isSetExperimentId();
boolean that_present_experimentId = true && that.isSetExperimentId();
if (this_present_experimentId || that_present_experimentId) {
if (!(this_present_experimentId && that_present_experimentId))
return false;
if (!this.experimentId.equals(that.experimentId))
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_lastUpdateTime = true && this.isSetLastUpdateTime();
boolean that_present_lastUpdateTime = true && that.isSetLastUpdateTime();
if (this_present_lastUpdateTime || that_present_lastUpdateTime) {
if (!(this_present_lastUpdateTime && that_present_lastUpdateTime))
return false;
if (this.lastUpdateTime != that.lastUpdateTime)
return false;
}
boolean this_present_processStatuses = true && this.isSetProcessStatuses();
boolean that_present_processStatuses = true && that.isSetProcessStatuses();
if (this_present_processStatuses || that_present_processStatuses) {
if (!(this_present_processStatuses && that_present_processStatuses))
return false;
if (!this.processStatuses.equals(that.processStatuses))
return false;
}
boolean this_present_processDetail = true && this.isSetProcessDetail();
boolean that_present_processDetail = true && that.isSetProcessDetail();
if (this_present_processDetail || that_present_processDetail) {
if (!(this_present_processDetail && that_present_processDetail))
return false;
if (!this.processDetail.equals(that.processDetail))
return false;
}
boolean this_present_applicationInterfaceId = true && this.isSetApplicationInterfaceId();
boolean that_present_applicationInterfaceId = true && that.isSetApplicationInterfaceId();
if (this_present_applicationInterfaceId || that_present_applicationInterfaceId) {
if (!(this_present_applicationInterfaceId && that_present_applicationInterfaceId))
return false;
if (!this.applicationInterfaceId.equals(that.applicationInterfaceId))
return false;
}
boolean this_present_applicationDeploymentId = true && this.isSetApplicationDeploymentId();
boolean that_present_applicationDeploymentId = true && that.isSetApplicationDeploymentId();
if (this_present_applicationDeploymentId || that_present_applicationDeploymentId) {
if (!(this_present_applicationDeploymentId && that_present_applicationDeploymentId))
return false;
if (!this.applicationDeploymentId.equals(that.applicationDeploymentId))
return false;
}
boolean this_present_computeResourceId = true && this.isSetComputeResourceId();
boolean that_present_computeResourceId = true && that.isSetComputeResourceId();
if (this_present_computeResourceId || that_present_computeResourceId) {
if (!(this_present_computeResourceId && that_present_computeResourceId))
return false;
if (!this.computeResourceId.equals(that.computeResourceId))
return false;
}
boolean this_present_processInputs = true && this.isSetProcessInputs();
boolean that_present_processInputs = true && that.isSetProcessInputs();
if (this_present_processInputs || that_present_processInputs) {
if (!(this_present_processInputs && that_present_processInputs))
return false;
if (!this.processInputs.equals(that.processInputs))
return false;
}
boolean this_present_processOutputs = true && this.isSetProcessOutputs();
boolean that_present_processOutputs = true && that.isSetProcessOutputs();
if (this_present_processOutputs || that_present_processOutputs) {
if (!(this_present_processOutputs && that_present_processOutputs))
return false;
if (!this.processOutputs.equals(that.processOutputs))
return false;
}
boolean this_present_processResourceSchedule = true && this.isSetProcessResourceSchedule();
boolean that_present_processResourceSchedule = true && that.isSetProcessResourceSchedule();
if (this_present_processResourceSchedule || that_present_processResourceSchedule) {
if (!(this_present_processResourceSchedule && that_present_processResourceSchedule))
return false;
if (!this.processResourceSchedule.equals(that.processResourceSchedule))
return false;
}
boolean this_present_tasks = true && this.isSetTasks();
boolean that_present_tasks = true && that.isSetTasks();
if (this_present_tasks || that_present_tasks) {
if (!(this_present_tasks && that_present_tasks))
return false;
if (!this.tasks.equals(that.tasks))
return false;
}
boolean this_present_taskDag = true && this.isSetTaskDag();
boolean that_present_taskDag = true && that.isSetTaskDag();
if (this_present_taskDag || that_present_taskDag) {
if (!(this_present_taskDag && that_present_taskDag))
return false;
if (!this.taskDag.equals(that.taskDag))
return false;
}
boolean this_present_processErrors = true && this.isSetProcessErrors();
boolean that_present_processErrors = true && that.isSetProcessErrors();
if (this_present_processErrors || that_present_processErrors) {
if (!(this_present_processErrors && that_present_processErrors))
return false;
if (!this.processErrors.equals(that.processErrors))
return false;
}
boolean this_present_gatewayExecutionId = true && this.isSetGatewayExecutionId();
boolean that_present_gatewayExecutionId = true && that.isSetGatewayExecutionId();
if (this_present_gatewayExecutionId || that_present_gatewayExecutionId) {
if (!(this_present_gatewayExecutionId && that_present_gatewayExecutionId))
return false;
if (!this.gatewayExecutionId.equals(that.gatewayExecutionId))
return false;
}
boolean this_present_enableEmailNotification = true && this.isSetEnableEmailNotification();
boolean that_present_enableEmailNotification = true && that.isSetEnableEmailNotification();
if (this_present_enableEmailNotification || that_present_enableEmailNotification) {
if (!(this_present_enableEmailNotification && that_present_enableEmailNotification))
return false;
if (this.enableEmailNotification != that.enableEmailNotification)
return false;
}
boolean this_present_emailAddresses = true && this.isSetEmailAddresses();
boolean that_present_emailAddresses = true && that.isSetEmailAddresses();
if (this_present_emailAddresses || that_present_emailAddresses) {
if (!(this_present_emailAddresses && that_present_emailAddresses))
return false;
if (!this.emailAddresses.equals(that.emailAddresses))
return false;
}
boolean this_present_storageResourceId = true && this.isSetStorageResourceId();
boolean that_present_storageResourceId = true && that.isSetStorageResourceId();
if (this_present_storageResourceId || that_present_storageResourceId) {
if (!(this_present_storageResourceId && that_present_storageResourceId))
return false;
if (!this.storageResourceId.equals(that.storageResourceId))
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_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_userName = true && this.isSetUserName();
boolean that_present_userName = true && that.isSetUserName();
if (this_present_userName || that_present_userName) {
if (!(this_present_userName && that_present_userName))
return false;
if (!this.userName.equals(that.userName))
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_processWorkflows = true && this.isSetProcessWorkflows();
boolean that_present_processWorkflows = true && that.isSetProcessWorkflows();
if (this_present_processWorkflows || that_present_processWorkflows) {
if (!(this_present_processWorkflows && that_present_processWorkflows))
return false;
if (!this.processWorkflows.equals(that.processWorkflows))
return false;
}
return true;
}