Class RecurringNotificationDTOConverter
java.lang.Object
com.bluebell.greenhouse.planter.converters.AbstractGenericDTOConverter<RecurringNotification, RecurringNotificationDTO>
com.bluebell.greenhouse.planter.converters.AbstractGenericEntityDTOConverter<RecurringNotification, RecurringNotificationDTO>
com.bluebell.greenhouse.planter.converters.notification.RecurringNotificationDTOConverter
- All Implemented Interfaces:
GenericDTOConverter<RecurringNotification, RecurringNotificationDTO>
@Component("recurringNotificationDTOConverter")
public class RecurringNotificationDTOConverter
extends AbstractGenericEntityDTOConverter<RecurringNotification, RecurringNotificationDTO>
Converts
RecurringNotifications into RecurringNotificationDTOs.- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RecurringNotificationDTOconvertNonNull(RecurringNotification entity) Converts aRecurringNotificationinto aRecurringNotificationDTO.protected RecurringNotificationDTOCreates 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
-
RecurringNotificationDTOConverter
public RecurringNotificationDTOConverter()
-
-
Method Details
-
convertNonNull
Converts aRecurringNotificationinto aRecurringNotificationDTO.- Specified by:
convertNonNullin classAbstractGenericDTOConverter<RecurringNotification, RecurringNotificationDTO>- Parameters:
entity-RecurringNotification- Returns:
RecurringNotificationDTO
-
createEmptyDTO
Creates the empty DTO returned for a null source.- Specified by:
createEmptyDTOin classAbstractGenericDTOConverter<RecurringNotification, RecurringNotificationDTO>- Returns:
- empty DTO
-