Class StrategyImplementationDTOConverter
java.lang.Object
com.bluebell.greenhouse.planter.converters.AbstractGenericDTOConverter<StrategyImplementation, StrategyImplementationDTO>
com.bluebell.greenhouse.planter.converters.AbstractGenericEntityDTOConverter<StrategyImplementation, StrategyImplementationDTO>
com.bluebell.greenhouse.planter.converters.strategy.StrategyImplementationDTOConverter
- All Implemented Interfaces:
GenericDTOConverter<StrategyImplementation, StrategyImplementationDTO>
@Component("strategyImplementationDTOConverter")
public class StrategyImplementationDTOConverter
extends AbstractGenericEntityDTOConverter<StrategyImplementation, StrategyImplementationDTO>
Converts
StrategyImplementations into StrategyImplementationDTOs.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StrategyImplementationDTOconvertNonNull(StrategyImplementation entity) Converts aStrategyImplementationinto aStrategyImplementationDTO.protected StrategyImplementationDTOCreates 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
-
StrategyImplementationDTOConverter
public StrategyImplementationDTOConverter()
-
-
Method Details
-
convertNonNull
Converts aStrategyImplementationinto aStrategyImplementationDTO.- Specified by:
convertNonNullin classAbstractGenericDTOConverter<StrategyImplementation, StrategyImplementationDTO>- Parameters:
entity-StrategyImplementation- Returns:
StrategyImplementationDTO
-
createEmptyDTO
Creates the empty DTO returned for a null source.- Specified by:
createEmptyDTOin classAbstractGenericDTOConverter<StrategyImplementation, StrategyImplementationDTO>- Returns:
- empty DTO
-