in airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/application/io/OutputDataObjectType.java [770:885]
public boolean equals(OutputDataObjectType that) {
if (that == null)
return false;
if (this == that)
return true;
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_value = true && this.isSetValue();
boolean that_present_value = true && that.isSetValue();
if (this_present_value || that_present_value) {
if (!(this_present_value && that_present_value))
return false;
if (!this.value.equals(that.value))
return false;
}
boolean this_present_type = true && this.isSetType();
boolean that_present_type = true && that.isSetType();
if (this_present_type || that_present_type) {
if (!(this_present_type && that_present_type))
return false;
if (!this.type.equals(that.type))
return false;
}
boolean this_present_applicationArgument = true && this.isSetApplicationArgument();
boolean that_present_applicationArgument = true && that.isSetApplicationArgument();
if (this_present_applicationArgument || that_present_applicationArgument) {
if (!(this_present_applicationArgument && that_present_applicationArgument))
return false;
if (!this.applicationArgument.equals(that.applicationArgument))
return false;
}
boolean this_present_isRequired = true && this.isSetIsRequired();
boolean that_present_isRequired = true && that.isSetIsRequired();
if (this_present_isRequired || that_present_isRequired) {
if (!(this_present_isRequired && that_present_isRequired))
return false;
if (this.isRequired != that.isRequired)
return false;
}
boolean this_present_requiredToAddedToCommandLine = true && this.isSetRequiredToAddedToCommandLine();
boolean that_present_requiredToAddedToCommandLine = true && that.isSetRequiredToAddedToCommandLine();
if (this_present_requiredToAddedToCommandLine || that_present_requiredToAddedToCommandLine) {
if (!(this_present_requiredToAddedToCommandLine && that_present_requiredToAddedToCommandLine))
return false;
if (this.requiredToAddedToCommandLine != that.requiredToAddedToCommandLine)
return false;
}
boolean this_present_dataMovement = true && this.isSetDataMovement();
boolean that_present_dataMovement = true && that.isSetDataMovement();
if (this_present_dataMovement || that_present_dataMovement) {
if (!(this_present_dataMovement && that_present_dataMovement))
return false;
if (this.dataMovement != that.dataMovement)
return false;
}
boolean this_present_location = true && this.isSetLocation();
boolean that_present_location = true && that.isSetLocation();
if (this_present_location || that_present_location) {
if (!(this_present_location && that_present_location))
return false;
if (!this.location.equals(that.location))
return false;
}
boolean this_present_searchQuery = true && this.isSetSearchQuery();
boolean that_present_searchQuery = true && that.isSetSearchQuery();
if (this_present_searchQuery || that_present_searchQuery) {
if (!(this_present_searchQuery && that_present_searchQuery))
return false;
if (!this.searchQuery.equals(that.searchQuery))
return false;
}
boolean this_present_outputStreaming = true && this.isSetOutputStreaming();
boolean that_present_outputStreaming = true && that.isSetOutputStreaming();
if (this_present_outputStreaming || that_present_outputStreaming) {
if (!(this_present_outputStreaming && that_present_outputStreaming))
return false;
if (this.outputStreaming != that.outputStreaming)
return false;
}
boolean this_present_storageResourceId = true && this.isSetStorageResourceId();
boolean that_present_storageResourceId = true && that.isSetStorageResourceId();
if (this_present_storageResourceId || that_present_storageResourceId) {
if (!(this_present_storageResourceId && that_present_storageResourceId))
return false;
if (!this.storageResourceId.equals(that.storageResourceId))
return false;
}
boolean this_present_metaData = true && this.isSetMetaData();
boolean that_present_metaData = true && that.isSetMetaData();
if (this_present_metaData || that_present_metaData) {
if (!(this_present_metaData && that_present_metaData))
return false;
if (!this.metaData.equals(that.metaData))
return false;
}
return true;
}