Package org.dspace.app.rest.converter
Class VocabularyEntryDetailsRestConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.VocabularyEntryDetailsRestConverter
-
- All Implemented Interfaces:
DSpaceConverter<org.dspace.content.authority.Choice,VocabularyEntryDetailsRest>
@Component public class VocabularyEntryDetailsRestConverter extends Object implements DSpaceConverter<org.dspace.content.authority.Choice,VocabularyEntryDetailsRest>
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 VocabularyEntryDetailsRestConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VocabularyEntryDetailsRestconvert(org.dspace.content.authority.Choice choice, Projection projection)Class<org.dspace.content.authority.Choice>getModelClass()
-
-
-
Method Detail
-
convert
public VocabularyEntryDetailsRest convert(org.dspace.content.authority.Choice choice, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<org.dspace.content.authority.Choice,VocabularyEntryDetailsRest>
-
getModelClass
public Class<org.dspace.content.authority.Choice> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<org.dspace.content.authority.Choice,VocabularyEntryDetailsRest>
-
-