-
Constructor Summary
Constructors
-
Method Summary
Converts a DTO to its corresponding remote object.
Converts a remote object to its DTO representation.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FileDtoMapper
public FileDtoMapper()
-
Method Details
-
toDto
Converts a remote object to its DTO representation.
- Specified by:
toDto
in interface DtoMapper<File,FileDto>
- Parameters:
obj
- the remote object to convert
- Returns:
- the DTO representation of the remote object
-
fromDto
Converts a DTO to its corresponding remote object.
- Specified by:
fromDto
in interface DtoMapper<File,FileDto>
- Parameters:
dto
- the DTO to convert
- Returns:
- the remote object representation of the DTO