Package org.dspace.app.rest.converter
Class MetadataValueDTOListConverter
java.lang.Object
org.dspace.app.rest.converter.MetadataValueDTOListConverter
- All Implemented Interfaces:
Converter<List<MetadataValueDTO>,MetadataRest>
@Component
public class MetadataValueDTOListConverter
extends Object
implements Converter<List<MetadataValueDTO>,MetadataRest>
Converter to translate between lists of domain
MetadataValues and MetadataRest representations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(List<MetadataValueDTO> metadataValueList) Gets a rest representation of the given list of domain metadata values.
-
Constructor Details
-
MetadataValueDTOListConverter
public MetadataValueDTOListConverter()
-
-
Method Details
-
convert
Gets a rest representation of the given list of domain metadata values.- Specified by:
convertin interfaceConverter<List<MetadataValueDTO>,MetadataRest> - Parameters:
metadataValueList- the domain values.- Returns:
- the rest representation.
-