Package org.dspace.app.rest.converter
Class SubmissionSectionConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.SubmissionSectionConverter
-
- All Implemented Interfaces:
DSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
@Component public class SubmissionSectionConverter extends Object implements DSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
This is the converter from/to the SubmissionStepConfig in the DSpace API data model and the REST data model- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description SubmissionSectionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubmissionSectionRestconvert(SubmissionStepConfig step, Projection projection)Class<SubmissionStepConfig>getModelClass()SubmissionConfigReadergetSubmissionConfigReader()SubmissionStepConfigtoModel(SubmissionSectionRest obj)
-
-
-
Method Detail
-
convert
public SubmissionSectionRest convert(SubmissionStepConfig step, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
-
toModel
public SubmissionStepConfig toModel(SubmissionSectionRest obj)
-
getModelClass
public Class<SubmissionStepConfig> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<SubmissionStepConfig,SubmissionSectionRest>
-
getSubmissionConfigReader
public SubmissionConfigReader getSubmissionConfigReader() throws SubmissionConfigReaderException
- Throws:
SubmissionConfigReaderException
-
-