Class WatchlistDTOConverter
java.lang.Object
com.bluebell.greenhouse.planter.converters.AbstractGenericDTOConverter<Watchlist, WatchlistDTO>
com.bluebell.greenhouse.planter.converters.AbstractGenericEntityDTOConverter<Watchlist, WatchlistDTO>
com.bluebell.greenhouse.planter.converters.watchlist.WatchlistDTOConverter
- All Implemented Interfaces:
GenericDTOConverter<Watchlist, WatchlistDTO>
@Component("watchlistDTOConverter")
public class WatchlistDTOConverter
extends AbstractGenericEntityDTOConverter<Watchlist, WatchlistDTO>
Converts
Watchlists into WatchlistDTOs.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WatchlistDTOconvertNonNull(Watchlist entity) Converts aWatchlistinto aWatchlistDTO.protected WatchlistDTOCreates the empty DTO returned for a null source.Methods inherited from class AbstractGenericEntityDTOConverter
afterConvertMethods inherited from class AbstractGenericDTOConverter
convertMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GenericDTOConverter
convertAll
-
Constructor Details
-
WatchlistDTOConverter
public WatchlistDTOConverter()
-
-
Method Details
-
convertNonNull
Converts aWatchlistinto aWatchlistDTO.- Specified by:
convertNonNullin classAbstractGenericDTOConverter<Watchlist, WatchlistDTO>- Parameters:
entity-Watchlist- Returns:
WatchlistDTO
-
createEmptyDTO
Creates the empty DTO returned for a null source.- Specified by:
createEmptyDTOin classAbstractGenericDTOConverter<Watchlist, WatchlistDTO>- Returns:
- empty DTO
-