Package org.dspace.app.rest.converter
Class HarvestedCollectionConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.HarvestedCollectionConverter
-
- All Implemented Interfaces:
DSpaceConverter<org.dspace.harvest.HarvestedCollection,HarvestedCollectionRest>
@Component public class HarvestedCollectionConverter extends Object implements DSpaceConverter<org.dspace.harvest.HarvestedCollection,HarvestedCollectionRest>
This is the converter from/to the HarvestedCollection in the DSpace API data model and the REST data model- Author:
- Jelle Pelgrims (jelle.pelgrims at atmire.com)
-
-
Constructor Summary
Constructors Constructor Description HarvestedCollectionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HarvestedCollectionRestconvert(org.dspace.harvest.HarvestedCollection obj, Projection projection)HarvestedCollectionRestfromModel(org.dspace.harvest.HarvestedCollection obj, org.dspace.content.Collection collection, List<Map<String,String>> metadata_configs, Projection projection)Class<org.dspace.harvest.HarvestedCollection>getModelClass()
-
-
-
Method Detail
-
convert
public HarvestedCollectionRest convert(org.dspace.harvest.HarvestedCollection obj, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<org.dspace.harvest.HarvestedCollection,HarvestedCollectionRest>
-
fromModel
public HarvestedCollectionRest fromModel(org.dspace.harvest.HarvestedCollection obj, org.dspace.content.Collection collection, List<Map<String,String>> metadata_configs, Projection projection)
-
getModelClass
public Class<org.dspace.harvest.HarvestedCollection> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<org.dspace.harvest.HarvestedCollection,HarvestedCollectionRest>
-
-