Package org.dspace.app.rest.converter
Class NotifyServiceConverter
java.lang.Object
org.dspace.app.rest.converter.NotifyServiceConverter
- All Implemented Interfaces:
DSpaceConverter<NotifyServiceEntity,NotifyServiceRest>
@Component
public class NotifyServiceConverter
extends Object
implements DSpaceConverter<NotifyServiceEntity,NotifyServiceRest>
This is the converter from the NotifyServiceEntity to the REST data model
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(NotifyServiceEntity obj, 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
-
NotifyServiceConverter
public NotifyServiceConverter()
-
-
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<NotifyServiceEntity,NotifyServiceRest> - Parameters:
obj- 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<NotifyServiceEntity,NotifyServiceRest> - Returns:
- Class of model objects represented.
-