in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/parser/Parser.java [601:680]
public boolean equals(Parser that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_id = true && this.isSetId();
boolean that_present_id = true && that.isSetId();
if (this_present_id || that_present_id) {
if (!(this_present_id && that_present_id))
return false;
if (!this.id.equals(that.id))
return false;
}
boolean this_present_imageName = true && this.isSetImageName();
boolean that_present_imageName = true && that.isSetImageName();
if (this_present_imageName || that_present_imageName) {
if (!(this_present_imageName && that_present_imageName))
return false;
if (!this.imageName.equals(that.imageName))
return false;
}
boolean this_present_outputDirPath = true && this.isSetOutputDirPath();
boolean that_present_outputDirPath = true && that.isSetOutputDirPath();
if (this_present_outputDirPath || that_present_outputDirPath) {
if (!(this_present_outputDirPath && that_present_outputDirPath))
return false;
if (!this.outputDirPath.equals(that.outputDirPath))
return false;
}
boolean this_present_inputDirPath = true && this.isSetInputDirPath();
boolean that_present_inputDirPath = true && that.isSetInputDirPath();
if (this_present_inputDirPath || that_present_inputDirPath) {
if (!(this_present_inputDirPath && that_present_inputDirPath))
return false;
if (!this.inputDirPath.equals(that.inputDirPath))
return false;
}
boolean this_present_executionCommand = true && this.isSetExecutionCommand();
boolean that_present_executionCommand = true && that.isSetExecutionCommand();
if (this_present_executionCommand || that_present_executionCommand) {
if (!(this_present_executionCommand && that_present_executionCommand))
return false;
if (!this.executionCommand.equals(that.executionCommand))
return false;
}
boolean this_present_inputFiles = true && this.isSetInputFiles();
boolean that_present_inputFiles = true && that.isSetInputFiles();
if (this_present_inputFiles || that_present_inputFiles) {
if (!(this_present_inputFiles && that_present_inputFiles))
return false;
if (!this.inputFiles.equals(that.inputFiles))
return false;
}
boolean this_present_outputFiles = true && this.isSetOutputFiles();
boolean that_present_outputFiles = true && that.isSetOutputFiles();
if (this_present_outputFiles || that_present_outputFiles) {
if (!(this_present_outputFiles && that_present_outputFiles))
return false;
if (!this.outputFiles.equals(that.outputFiles))
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;
}
return true;
}