use of org.finra.herd.model.dto.DownloaderInputManifestDto in project herd by FINRAOS.
the class AbstractDownloaderTest method getTestDownloaderInputManifestDto.
/**
* Returns a downloader input downloaderInputManifestDto instance initialized per hard coded test values.
*
* @return the resulting DownloaderInputManifestDto instance
*/
protected DownloaderInputManifestDto getTestDownloaderInputManifestDto() {
DownloaderInputManifestDto manifest = new DownloaderInputManifestDto();
manifest.setNamespace(TEST_NAMESPACE);
manifest.setBusinessObjectDefinitionName(TEST_BUSINESS_OBJECT_DEFINITION);
manifest.setBusinessObjectFormatUsage(TEST_BUSINESS_OBJECT_FORMAT_USAGE);
manifest.setBusinessObjectFormatFileType(TEST_BUSINESS_OBJECT_FORMAT_FILE_TYPE);
manifest.setBusinessObjectFormatVersion(TEST_BUSINESS_OBJECT_FORMAT_VERSION.toString());
manifest.setPartitionKey(TEST_BUSINESS_OBJECT_FORMAT_PARTITION_KEY);
manifest.setPartitionValue(TEST_PARTITION_VALUE);
manifest.setSubPartitionValues(TEST_SUB_PARTITION_VALUES);
manifest.setBusinessObjectDataVersion(TEST_DATA_VERSION_V0.toString());
return manifest;
}
Aggregations