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
,org.hibernate.engine.spi.Managed
,org.hibernate.engine.spi.ManagedMappedSuperclass
,org.hibernate.engine.spi.PrimeAmongSecondarySupertypes
@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, REFERENCED_ENTITY_ID_FIELD, REFERENCED_ENTITY_ID_FIELD_COLUMN
-
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.Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
$$_hibernate_read_locale, $$_hibernate_read_localizedId, $$_hibernate_read_referencedEntityId, $$_hibernate_write_locale, $$_hibernate_write_localizedId, $$_hibernate_write_referencedEntityId, getLocale, getLocalizedId, getReferencedEntityId, setLocale, setLocalizedId, setReferencedEntityId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.engine.spi.Managed
asManaged
Methods inherited from interface org.hibernate.engine.spi.ManagedMappedSuperclass
asManagedMappedSuperclass
Methods inherited from interface org.hibernate.engine.spi.PrimeAmongSecondarySupertypes
asCompositeOwner, asCompositeTracker, asHibernateProxy, asManagedComposite, asManagedEntity, asPersistentAttributeInterceptable, asProxyConfiguration, asSelfDirtinessTracker
-
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
- Overrides:
equals
in classtr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.domain.model.entity.HvlLocalizedEntity
-