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 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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
MetadataValueDTOListConverter
public MetadataValueDTOListConverter()
-
-
Method Details
-
convert
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.
-