in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/task/TaskModel.java [843:958]
public boolean equals(TaskModel that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_taskId = true && this.isSetTaskId();
boolean that_present_taskId = true && that.isSetTaskId();
if (this_present_taskId || that_present_taskId) {
if (!(this_present_taskId && that_present_taskId))
return false;
if (!this.taskId.equals(that.taskId))
return false;
}
boolean this_present_taskType = true && this.isSetTaskType();
boolean that_present_taskType = true && that.isSetTaskType();
if (this_present_taskType || that_present_taskType) {
if (!(this_present_taskType && that_present_taskType))
return false;
if (!this.taskType.equals(that.taskType))
return false;
}
boolean this_present_parentProcessId = true && this.isSetParentProcessId();
boolean that_present_parentProcessId = true && that.isSetParentProcessId();
if (this_present_parentProcessId || that_present_parentProcessId) {
if (!(this_present_parentProcessId && that_present_parentProcessId))
return false;
if (!this.parentProcessId.equals(that.parentProcessId))
return false;
}
boolean this_present_creationTime = true;
boolean that_present_creationTime = true;
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;
boolean that_present_lastUpdateTime = true;
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_taskStatuses = true && this.isSetTaskStatuses();
boolean that_present_taskStatuses = true && that.isSetTaskStatuses();
if (this_present_taskStatuses || that_present_taskStatuses) {
if (!(this_present_taskStatuses && that_present_taskStatuses))
return false;
if (!this.taskStatuses.equals(that.taskStatuses))
return false;
}
boolean this_present_taskDetail = true && this.isSetTaskDetail();
boolean that_present_taskDetail = true && that.isSetTaskDetail();
if (this_present_taskDetail || that_present_taskDetail) {
if (!(this_present_taskDetail && that_present_taskDetail))
return false;
if (!this.taskDetail.equals(that.taskDetail))
return false;
}
boolean this_present_subTaskModel = true && this.isSetSubTaskModel();
boolean that_present_subTaskModel = true && that.isSetSubTaskModel();
if (this_present_subTaskModel || that_present_subTaskModel) {
if (!(this_present_subTaskModel && that_present_subTaskModel))
return false;
if (!this.subTaskModel.equals(that.subTaskModel))
return false;
}
boolean this_present_taskErrors = true && this.isSetTaskErrors();
boolean that_present_taskErrors = true && that.isSetTaskErrors();
if (this_present_taskErrors || that_present_taskErrors) {
if (!(this_present_taskErrors && that_present_taskErrors))
return false;
if (!this.taskErrors.equals(that.taskErrors))
return false;
}
boolean this_present_jobs = true && this.isSetJobs();
boolean that_present_jobs = true && that.isSetJobs();
if (this_present_jobs || that_present_jobs) {
if (!(this_present_jobs && that_present_jobs))
return false;
if (!this.jobs.equals(that.jobs))
return false;
}
boolean this_present_maxRetry = true && this.isSetMaxRetry();
boolean that_present_maxRetry = true && that.isSetMaxRetry();
if (this_present_maxRetry || that_present_maxRetry) {
if (!(this_present_maxRetry && that_present_maxRetry))
return false;
if (this.maxRetry != that.maxRetry)
return false;
}
boolean this_present_currentRetry = true && this.isSetCurrentRetry();
boolean that_present_currentRetry = true && that.isSetCurrentRetry();
if (this_present_currentRetry || that_present_currentRetry) {
if (!(this_present_currentRetry && that_present_currentRetry))
return false;
if (this.currentRetry != that.currentRetry)
return false;
}
return true;
}