in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/experiment/ExperimentModel.java [1287:1474]
public boolean equals(ExperimentModel that) {
if (that == null)
return false;
if (this == that)
return true;
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_projectId = true && this.isSetProjectId();
boolean that_present_projectId = true && that.isSetProjectId();
if (this_present_projectId || that_present_projectId) {
if (!(this_present_projectId && that_present_projectId))
return false;
if (!this.projectId.equals(that.projectId))
return false;
}
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_experimentType = true && this.isSetExperimentType();
boolean that_present_experimentType = true && that.isSetExperimentType();
if (this_present_experimentType || that_present_experimentType) {
if (!(this_present_experimentType && that_present_experimentType))
return false;
if (!this.experimentType.equals(that.experimentType))
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_experimentName = true && this.isSetExperimentName();
boolean that_present_experimentName = true && that.isSetExperimentName();
if (this_present_experimentName || that_present_experimentName) {
if (!(this_present_experimentName && that_present_experimentName))
return false;
if (!this.experimentName.equals(that.experimentName))
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_description = true && this.isSetDescription();
boolean that_present_description = true && that.isSetDescription();
if (this_present_description || that_present_description) {
if (!(this_present_description && that_present_description))
return false;
if (!this.description.equals(that.description))
return false;
}
boolean this_present_executionId = true && this.isSetExecutionId();
boolean that_present_executionId = true && that.isSetExecutionId();
if (this_present_executionId || that_present_executionId) {
if (!(this_present_executionId && that_present_executionId))
return false;
if (!this.executionId.equals(that.executionId))
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_gatewayInstanceId = true && this.isSetGatewayInstanceId();
boolean that_present_gatewayInstanceId = true && that.isSetGatewayInstanceId();
if (this_present_gatewayInstanceId || that_present_gatewayInstanceId) {
if (!(this_present_gatewayInstanceId && that_present_gatewayInstanceId))
return false;
if (!this.gatewayInstanceId.equals(that.gatewayInstanceId))
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_userConfigurationData = true && this.isSetUserConfigurationData();
boolean that_present_userConfigurationData = true && that.isSetUserConfigurationData();
if (this_present_userConfigurationData || that_present_userConfigurationData) {
if (!(this_present_userConfigurationData && that_present_userConfigurationData))
return false;
if (!this.userConfigurationData.equals(that.userConfigurationData))
return false;
}
boolean this_present_experimentInputs = true && this.isSetExperimentInputs();
boolean that_present_experimentInputs = true && that.isSetExperimentInputs();
if (this_present_experimentInputs || that_present_experimentInputs) {
if (!(this_present_experimentInputs && that_present_experimentInputs))
return false;
if (!this.experimentInputs.equals(that.experimentInputs))
return false;
}
boolean this_present_experimentOutputs = true && this.isSetExperimentOutputs();
boolean that_present_experimentOutputs = true && that.isSetExperimentOutputs();
if (this_present_experimentOutputs || that_present_experimentOutputs) {
if (!(this_present_experimentOutputs && that_present_experimentOutputs))
return false;
if (!this.experimentOutputs.equals(that.experimentOutputs))
return false;
}
boolean this_present_experimentStatus = true && this.isSetExperimentStatus();
boolean that_present_experimentStatus = true && that.isSetExperimentStatus();
if (this_present_experimentStatus || that_present_experimentStatus) {
if (!(this_present_experimentStatus && that_present_experimentStatus))
return false;
if (!this.experimentStatus.equals(that.experimentStatus))
return false;
}
boolean this_present_errors = true && this.isSetErrors();
boolean that_present_errors = true && that.isSetErrors();
if (this_present_errors || that_present_errors) {
if (!(this_present_errors && that_present_errors))
return false;
if (!this.errors.equals(that.errors))
return false;
}
boolean this_present_processes = true && this.isSetProcesses();
boolean that_present_processes = true && that.isSetProcesses();
if (this_present_processes || that_present_processes) {
if (!(this_present_processes && that_present_processes))
return false;
if (!this.processes.equals(that.processes))
return false;
}
boolean this_present_workflow = true && this.isSetWorkflow();
boolean that_present_workflow = true && that.isSetWorkflow();
if (this_present_workflow || that_present_workflow) {
if (!(this_present_workflow && that_present_workflow))
return false;
if (!this.workflow.equals(that.workflow))
return false;
}
return true;
}