Package org.dspace.app.rest.converter
Class SubmissionCCLicenseFieldConverter
java.lang.Object
org.dspace.app.rest.converter.SubmissionCCLicenseFieldConverter
- All Implemented Interfaces:
DSpaceConverter<CCLicenseField,SubmissionCCLicenseFieldRest>
@Component
public class SubmissionCCLicenseFieldConverter
extends Object
implements DSpaceConverter<CCLicenseField,SubmissionCCLicenseFieldRest>
This converter is responsible for transforming the model representation of an CCLicenseField to the REST
representation of an CCLicenseField and vice versa
The CCLicenseField is a sub component of the CCLicense object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(CCLicenseField modelObject, Projection projection) Convert a CCLicenseField to its REST representationFor what DSpace API model class does this converter convert?
-
Constructor Details
-
SubmissionCCLicenseFieldConverter
public SubmissionCCLicenseFieldConverter()
-
-
Method Details
-
convert
Convert a CCLicenseField to its REST representation- Specified by:
convertin interfaceDSpaceConverter<CCLicenseField,SubmissionCCLicenseFieldRest> - Parameters:
modelObject- - the CCLicenseField to convertprojection- - the projection- Returns:
- the corresponding SubmissionCCLicenseFieldRest object
-
getModelClass
Description copied from interface:DSpaceConverterFor what DSpace API model class does this converter convert?- Specified by:
getModelClassin interfaceDSpaceConverter<CCLicenseField,SubmissionCCLicenseFieldRest> - Returns:
- Class of model objects represented.
-