Package org.dspace.app.rest.converter
Class AuthorityEntryRestConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.AuthorityEntryRestConverter
-
- All Implemented Interfaces:
DSpaceConverter<Choice,AuthorityEntryRest>
@Component public class AuthorityEntryRestConverter extends Object implements DSpaceConverter<Choice,AuthorityEntryRest>
This is the converter from/to the Choice in the DSpace API data model and the REST data model. TODO please do not use this convert but use the wrapperAuthorityUtils#convertEntry(Choice, String, String)- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description AuthorityEntryRestConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorityEntryRestconvert(Choice choice, Projection projection)Class<Choice>getModelClass()
-
-
-
Method Detail
-
convert
public AuthorityEntryRest convert(Choice choice, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<Choice,AuthorityEntryRest>
-
getModelClass
public Class<Choice> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<Choice,AuthorityEntryRest>
-
-