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