in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/job/JobModel.java [763:878]
public boolean equals(JobModel that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_jobId = true && this.isSetJobId();
boolean that_present_jobId = true && that.isSetJobId();
if (this_present_jobId || that_present_jobId) {
if (!(this_present_jobId && that_present_jobId))
return false;
if (!this.jobId.equals(that.jobId))
return false;
}
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_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_jobDescription = true && this.isSetJobDescription();
boolean that_present_jobDescription = true && that.isSetJobDescription();
if (this_present_jobDescription || that_present_jobDescription) {
if (!(this_present_jobDescription && that_present_jobDescription))
return false;
if (!this.jobDescription.equals(that.jobDescription))
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_jobStatuses = true && this.isSetJobStatuses();
boolean that_present_jobStatuses = true && that.isSetJobStatuses();
if (this_present_jobStatuses || that_present_jobStatuses) {
if (!(this_present_jobStatuses && that_present_jobStatuses))
return false;
if (!this.jobStatuses.equals(that.jobStatuses))
return false;
}
boolean this_present_computeResourceConsumed = true && this.isSetComputeResourceConsumed();
boolean that_present_computeResourceConsumed = true && that.isSetComputeResourceConsumed();
if (this_present_computeResourceConsumed || that_present_computeResourceConsumed) {
if (!(this_present_computeResourceConsumed && that_present_computeResourceConsumed))
return false;
if (!this.computeResourceConsumed.equals(that.computeResourceConsumed))
return false;
}
boolean this_present_jobName = true && this.isSetJobName();
boolean that_present_jobName = true && that.isSetJobName();
if (this_present_jobName || that_present_jobName) {
if (!(this_present_jobName && that_present_jobName))
return false;
if (!this.jobName.equals(that.jobName))
return false;
}
boolean this_present_workingDir = true && this.isSetWorkingDir();
boolean that_present_workingDir = true && that.isSetWorkingDir();
if (this_present_workingDir || that_present_workingDir) {
if (!(this_present_workingDir && that_present_workingDir))
return false;
if (!this.workingDir.equals(that.workingDir))
return false;
}
boolean this_present_stdOut = true && this.isSetStdOut();
boolean that_present_stdOut = true && that.isSetStdOut();
if (this_present_stdOut || that_present_stdOut) {
if (!(this_present_stdOut && that_present_stdOut))
return false;
if (!this.stdOut.equals(that.stdOut))
return false;
}
boolean this_present_stdErr = true && this.isSetStdErr();
boolean that_present_stdErr = true && that.isSetStdErr();
if (this_present_stdErr || that_present_stdErr) {
if (!(this_present_stdErr && that_present_stdErr))
return false;
if (!this.stdErr.equals(that.stdErr))
return false;
}
boolean this_present_exitCode = true && this.isSetExitCode();
boolean that_present_exitCode = true && that.isSetExitCode();
if (this_present_exitCode || that_present_exitCode) {
if (!(this_present_exitCode && that_present_exitCode))
return false;
if (this.exitCode != that.exitCode)
return false;
}
return true;
}