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>, org.hibernate.engine.spi.Managed, org.hibernate.engine.spi.ManagedMappedSuperclass, org.hibernate.engine.spi.PrimeAmongSecondarySupertypes, 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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets code.
    Gets content map.
    Gets description.
    Gets name.
    Gets type.
    int
    void
    Sets code.
    void
    Sets content map.
    void
    setDescription(String description)
    Sets description.
    void
    Sets name.
    void
    Sets type.
     

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity

    $$_hibernate_read_id, $$_hibernate_write_id, getId, setId

    Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity

    $$_hibernate_read_createdBy, $$_hibernate_read_dateCreated, $$_hibernate_read_dateUpdated, $$_hibernate_read_updatedBy, $$_hibernate_read_uuid, $$_hibernate_read_version, $$_hibernate_write_createdBy, $$_hibernate_write_dateCreated, $$_hibernate_write_dateUpdated, $$_hibernate_write_updatedBy, $$_hibernate_write_uuid, $$_hibernate_write_version, compareTo, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, 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

  • Constructor Details

    • HvlNotificationTemplate

      public HvlNotificationTemplate()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets code.
      Parameters:
      code - the code
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getType

      public HvlNotificationType getType()
      Gets type.
      Returns:
      the type
    • setType

      public void setType(HvlNotificationType type)
      Sets type.
      Parameters:
      type - the type
    • getContentMap

      public Map<String,HvlNotificationTemplateContent> getContentMap()
      Gets content map.
      Returns:
      the content map
    • setContentMap

      public void setContentMap(Map<String,HvlNotificationTemplateContent> contentMap)
      Sets content map.
      Parameters:
      contentMap - the content map
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
    • toString

      public String toString()
      Overrides:
      toString in class Object