Class HvlNotificationTemplateModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.notification.mail.common.model.HvlNotificationTemplateModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
public class HvlNotificationTemplateModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for notification template operations.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlNotificationTemplateModel.HvlNotificationTemplateModel
(@Size(max=100) String name, @Size(max=100) String code, @Size(max=100) String description) Instantiates a new HvlNotificationTemplateModel. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Gets code.Gets content map.Gets description.getName()
Gets name.getType()
Gets type.int
hashCode()
void
Sets code.void
setContentMap
(Map<String, HvlNotificationTemplateContentModel> contentMap) Sets content map.void
setDescription
(String description) Sets description.void
Sets name.void
setType
(HvlNotificationType type) Sets type.Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Constructor Details
-
HvlNotificationTemplateModel
public HvlNotificationTemplateModel()Instantiates a new HvlNotificationTemplateModel. -
HvlNotificationTemplateModel
public HvlNotificationTemplateModel(@Size(max=100) @Size(max=100) String name, @Size(max=100) @Size(max=100) String code, @Size(max=100) @Size(max=100) String description) Instantiates a new HvlNotificationTemplateModel.- Parameters:
name
- the namecode
- the codedescription
- the description
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
type
- the type
-
getContentMap
Gets content map.- Returns:
- the content map
-
setContentMap
Sets content map.- Parameters:
contentMap
- the content map
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-