Package org.dspace.app.rest.converter
Class EntityTypeConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.EntityTypeConverter
-
- All Implemented Interfaces:
DSpaceConverter<org.dspace.content.EntityType,EntityTypeRest>
@Component public class EntityTypeConverter extends Object implements DSpaceConverter<org.dspace.content.EntityType,EntityTypeRest>
This converter is responsible for transforming the model representation of an EntityType to the REST representation of an EntityType and vice versa
-
-
Constructor Summary
Constructors Constructor Description EntityTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTypeRestconvert(org.dspace.content.EntityType obj, Projection projection)Class<org.dspace.content.EntityType>getModelClass()
-
-
-
Method Detail
-
convert
public EntityTypeRest convert(org.dspace.content.EntityType obj, Projection projection)
- Specified by:
convertin interfaceDSpaceConverter<org.dspace.content.EntityType,EntityTypeRest>
-
getModelClass
public Class<org.dspace.content.EntityType> getModelClass()
- Specified by:
getModelClassin interfaceDSpaceConverter<org.dspace.content.EntityType,EntityTypeRest>
-
-