in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/WorkflowModel.java [659:747]
public boolean equals(WorkflowModel that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_templateId = true && this.isSetTemplateId();
boolean that_present_templateId = true && that.isSetTemplateId();
if (this_present_templateId || that_present_templateId) {
if (!(this_present_templateId && that_present_templateId))
return false;
if (!this.templateId.equals(that.templateId))
return false;
}
boolean this_present_name = true && this.isSetName();
boolean that_present_name = true && that.isSetName();
if (this_present_name || that_present_name) {
if (!(this_present_name && that_present_name))
return false;
if (!this.name.equals(that.name))
return false;
}
boolean this_present_graph = true && this.isSetGraph();
boolean that_present_graph = true && that.isSetGraph();
if (this_present_graph || that_present_graph) {
if (!(this_present_graph && that_present_graph))
return false;
if (!this.graph.equals(that.graph))
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_createdUser = true && this.isSetCreatedUser();
boolean that_present_createdUser = true && that.isSetCreatedUser();
if (this_present_createdUser || that_present_createdUser) {
if (!(this_present_createdUser && that_present_createdUser))
return false;
if (!this.createdUser.equals(that.createdUser))
return false;
}
boolean this_present_image = true && this.isSetImage();
boolean that_present_image = true && that.isSetImage();
if (this_present_image || that_present_image) {
if (!(this_present_image && that_present_image))
return false;
if (!this.image.equals(that.image))
return false;
}
boolean this_present_workflowInputs = true && this.isSetWorkflowInputs();
boolean that_present_workflowInputs = true && that.isSetWorkflowInputs();
if (this_present_workflowInputs || that_present_workflowInputs) {
if (!(this_present_workflowInputs && that_present_workflowInputs))
return false;
if (!this.workflowInputs.equals(that.workflowInputs))
return false;
}
boolean this_present_workflowOutputs = true && this.isSetWorkflowOutputs();
boolean that_present_workflowOutputs = true && that.isSetWorkflowOutputs();
if (this_present_workflowOutputs || that_present_workflowOutputs) {
if (!(this_present_workflowOutputs && that_present_workflowOutputs))
return false;
if (!this.workflowOutputs.equals(that.workflowOutputs))
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;
}
return true;
}