Class HvlNotificationTemplate
java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
tr.com.havelsan.javarch.domain.model.entity.HvlEntity
tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
tr.com.havelsan.javarch.notification.content.provider.entity.HvlNotificationTemplate
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity>
,tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>
@Entity
public class HvlNotificationTemplate
extends tr.com.havelsan.javarch.domain.model.entity.HvlHardDeleteEntity
An entity class which defines notification template fields.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant CODE_FIELD_COLUMN.static final String
The constant CODE_INDEX.static final String
The constant CONTENT_FIELD_COLUMN.protected static final String
The constant CONTENT_MAPPED_KEY.static final String
The constant DESCRIPTION_FIELD_COLUMN.static final String
The constant NAME_FIELD_COLUMN.static final String
The constant TABLE_NAME.static final String
The constant TYPE_FIELD_COLUMN.static final String
The constant TYPE_INDEX.Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
-
Constructor Summary
-
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, HvlNotificationTemplateContent> contentMap) Sets content map.void
setDescription
(String description) Sets description.void
Sets name.void
setType
(HvlNotificationType type) Sets type.toString()
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity
getId, setId
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion
-
Field Details
-
TABLE_NAME
The constant TABLE_NAME.- See Also:
-
NAME_FIELD_COLUMN
The constant NAME_FIELD_COLUMN.- See Also:
-
CODE_FIELD_COLUMN
The constant CODE_FIELD_COLUMN.- See Also:
-
DESCRIPTION_FIELD_COLUMN
The constant DESCRIPTION_FIELD_COLUMN.- See Also:
-
TYPE_FIELD_COLUMN
The constant TYPE_FIELD_COLUMN.- See Also:
-
CONTENT_FIELD_COLUMN
The constant CONTENT_FIELD_COLUMN.- See Also:
-
CODE_INDEX
The constant CODE_INDEX.- See Also:
-
TYPE_INDEX
The constant TYPE_INDEX.- See Also:
-
CONTENT_MAPPED_KEY
The constant CONTENT_MAPPED_KEY.- See Also:
-
-
Constructor Details
-
HvlNotificationTemplate
public HvlNotificationTemplate()
-
-
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.domain.model.entity.HvlSimpleEntity<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
-
toString
-