Class SymbolSummaryDTOConverter
java.lang.Object
com.bluebell.greenhouse.planter.converters.AbstractGenericDTOConverter<Symbol, SymbolSummaryDTO>
com.bluebell.greenhouse.planter.converters.AbstractGenericEntityDTOConverter<Symbol, SymbolSummaryDTO>
com.bluebell.greenhouse.planter.converters.symbol.SymbolSummaryDTOConverter
- All Implemented Interfaces:
GenericDTOConverter<Symbol, SymbolSummaryDTO>
@Component("symbolSummaryDTOConverter")
public class SymbolSummaryDTOConverter
extends AbstractGenericEntityDTOConverter<Symbol, SymbolSummaryDTO>
Converts
Symbols into SymbolSummaryDTOs.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SymbolSummaryDTOconvertNonNull(Symbol entity) Converts aSymbolinto aSymbolSummaryDTO.protected SymbolSummaryDTOCreates 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
-
SymbolSummaryDTOConverter
public SymbolSummaryDTOConverter()
-
-
Method Details
-
convertNonNull
Converts aSymbolinto aSymbolSummaryDTO.- Specified by:
convertNonNullin classAbstractGenericDTOConverter<Symbol, SymbolSummaryDTO>- Parameters:
entity-Symbol- Returns:
SymbolSummaryDTO
-
createEmptyDTO
Creates the empty DTO returned for a null source.- Specified by:
createEmptyDTOin classAbstractGenericDTOConverter<Symbol, SymbolSummaryDTO>- Returns:
- empty DTO
-