Package org.dspace.app.rest.converter
Class MetadataValueDTOListConverter
- java.lang.Object
-
- org.dspace.app.rest.converter.MetadataValueDTOListConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<List<MetadataValueDTO>,MetadataRest>
@Component public class MetadataValueDTOListConverter extends Object implements org.springframework.core.convert.converter.Converter<List<MetadataValueDTO>,MetadataRest>
Converter to translate between lists of domainMetadataValues andMetadataRestrepresentations.
-
-
Constructor Summary
Constructors Constructor Description MetadataValueDTOListConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataRestconvert(List<MetadataValueDTO> metadataValueList)Gets a rest representation of the given list of domain metadata values.
-
-
-
Method Detail
-
convert
public MetadataRest convert(List<MetadataValueDTO> metadataValueList)
Gets a rest representation of the given list of domain metadata values.- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<List<MetadataValueDTO>,MetadataRest>- Parameters:
metadataValueList- the domain values.- Returns:
- the rest representation.
-
-