Class HvlNotificationTemplateContent
java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
tr.com.havelsan.javarch.notification.content.provider.entity.HvlNotificationTemplateContent
- All Implemented Interfaces:
Serializable
@Entity
public class HvlNotificationTemplateContent
extends tr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
An entity class which defines notification template content fields.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant CONTENT_FIELD_COLUMN.static final String
The constant SENDER_FIELD_COLUMN.static final String
The constant SUBJECT_FIELD_COLUMN.static final String
The constant TABLE_NAME.static final String
The constant TEMPLATE_JOIN_FIELD_COLUMN.static final String
The constant TEMPLATE_MAPPED_BY.static final String
The constant TYPE_FIELD_COLUMN.Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
LOCALIZED_ID_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets content.Gets content type.Gets sender.Gets subject.Gets template.int
hashCode()
void
setContent
(String content) Sets content.void
setContentType
(HvlNotificationTemplateContentType contentType) Sets content type.void
Sets sender.void
setSubject
(String subject) Sets subject.void
setTemplate
(HvlNotificationTemplate template) Sets template.toString()
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
getLocale, getLocalizedId, setLocale, setLocalizedId
-
Field Details
-
TABLE_NAME
The constant TABLE_NAME.- See Also:
-
TEMPLATE_JOIN_FIELD_COLUMN
The constant TEMPLATE_JOIN_FIELD_COLUMN.- See Also:
-
SENDER_FIELD_COLUMN
The constant SENDER_FIELD_COLUMN.- See Also:
-
SUBJECT_FIELD_COLUMN
The constant SUBJECT_FIELD_COLUMN.- See Also:
-
TYPE_FIELD_COLUMN
The constant TYPE_FIELD_COLUMN.- See Also:
-
CONTENT_FIELD_COLUMN
The constant CONTENT_FIELD_COLUMN.- See Also:
-
TEMPLATE_MAPPED_BY
The constant TEMPLATE_MAPPED_BY.- See Also:
-
-
Constructor Details
-
HvlNotificationTemplateContent
public HvlNotificationTemplateContent()
-
-
Method Details
-
getTemplate
Gets template.- Returns:
- the template
-
setTemplate
Sets template.- Parameters:
template
- the template
-
getSender
Gets sender.- Returns:
- the sender
-
setSender
Sets sender.- Parameters:
sender
- the sender
-
getSubject
Gets subject.- Returns:
- the subject
-
setSubject
Sets subject.- Parameters:
subject
- the subject
-
getContentType
Gets content type.- Returns:
- the content type
-
setContentType
Sets content type.- Parameters:
contentType
- the content type
-
getContent
Gets content.- Returns:
- the content
-
setContent
Sets content.- Parameters:
content
- the content
-
equals
-
hashCode
public int hashCode() -
toString
-