Class LinksetConverter
java.lang.Object
org.dspace.app.rest.signposting.converter.LinksetConverter
- All Implemented Interfaces:
DSpaceConverter<List<Linkset>,LinksetRest>
@Component
public class LinksetConverter
extends Object
implements DSpaceConverter<List<Linkset>,LinksetRest>
This is the converter from/to the Linkset in the DSpace API data model and the REST data model.
- Author:
- Francesco Pio Scognamiglio (francescopio.scognamiglio at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(List<Linkset> linksets, Projection projection) Convert a DSpace model object into its equivalent REST resource, applying a given projection.For what DSpace API model class does this converter convert?
-
Constructor Details
-
LinksetConverter
public LinksetConverter()
-
-
Method Details
-
convert
Description copied from interface:DSpaceConverterConvert a DSpace model object into its equivalent REST resource, applying a given projection.- Specified by:
convertin interfaceDSpaceConverter<List<Linkset>,LinksetRest> - Parameters:
linksets- a DSpace API model object.- Returns:
- a resource representing the model object.
-
getModelClass
Description copied from interface:DSpaceConverterFor what DSpace API model class does this converter convert?- Specified by:
getModelClassin interfaceDSpaceConverter<List<Linkset>,LinksetRest> - Returns:
- Class of model objects represented.
-