use of org.finra.herd.model.api.xml.DataProvider in project herd by FINRAOS.
the class DataProviderServiceImpl method createDataProviderFromEntity.
/**
* Creates the data provider from the persisted entity.
*
* @param dataProviderEntity the newly persisted data provider entity.
*
* @return the data provider.
*/
private DataProvider createDataProviderFromEntity(DataProviderEntity dataProviderEntity) {
// Create the data provider information.
DataProvider dataProvider = new DataProvider();
dataProvider.setDataProviderName(dataProviderEntity.getName());
return dataProvider;
}
Aggregations