Class StrategyDTOConverter
java.lang.Object
com.bluebell.greenhouse.planter.converters.AbstractGenericDTOConverter<Strategy, StrategyDTO>
com.bluebell.greenhouse.planter.converters.AbstractGenericEntityDTOConverter<Strategy, StrategyDTO>
com.bluebell.greenhouse.planter.converters.strategy.StrategyDTOConverter
- All Implemented Interfaces:
GenericDTOConverter<Strategy, StrategyDTO>
@Component("strategyDTOConverter")
public class StrategyDTOConverter
extends AbstractGenericEntityDTOConverter<Strategy, StrategyDTO>
Converts
Strategys into StrategyDTOs.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StrategyDTOconvertNonNull(Strategy entity) Converts aStrategyinto aStrategyDTO.protected StrategyDTOCreates 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
-
StrategyDTOConverter
public StrategyDTOConverter()
-
-
Method Details
-
convertNonNull
Converts aStrategyinto aStrategyDTO.- Specified by:
convertNonNullin classAbstractGenericDTOConverter<Strategy, StrategyDTO>- Parameters:
entity-Strategy- Returns:
StrategyDTO
-
createEmptyDTO
Creates the empty DTO returned for a null source.- Specified by:
createEmptyDTOin classAbstractGenericDTOConverter<Strategy, StrategyDTO>- Returns:
- empty DTO
-