Class HvlNotificationPollingUser
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.polling.starter.entity.HvlNotificationPolling
tr.com.havelsan.javarch.notification.polling.starter.entity.HvlNotificationPollingUser
- 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>
An entity class which defines notification polling user fields.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant ASSIGNEE_USER_FIELD_COLUMN.static final String
The constant IS_READ_FIELD_COLUMN.protected static final String
The constant TABLE_NAME.protected static final String
The constant USER_ID_INDEX.static final String
The constant UUID_UNIQUE_KEY.Fields inherited from class tr.com.havelsan.javarch.notification.polling.starter.entity.HvlNotificationPolling
REDIRECT_URL_FIELD_COLUMN, SHORT_DESCRIPTION_FIELD_COLUMN, TITLE_FIELD_COLUMN, TYPE_FIELD_COLUMN
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
Gets assignee user.int
hashCode()
boolean
isRead()
Is read boolean.void
setAssigneeUser
(String assigneeUser) Sets assignee user.void
setRead
(boolean read) Sets read.Methods inherited from class tr.com.havelsan.javarch.notification.polling.starter.entity.HvlNotificationPolling
getRedirectUrl, getShortDescription, getTitle, getType, setRedirectUrl, setShortDescription, setTitle, setType
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, 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:
-
ASSIGNEE_USER_FIELD_COLUMN
The constant ASSIGNEE_USER_FIELD_COLUMN.- See Also:
-
IS_READ_FIELD_COLUMN
The constant IS_READ_FIELD_COLUMN.- See Also:
-
USER_ID_INDEX
The constant USER_ID_INDEX.- See Also:
-
UUID_UNIQUE_KEY
The constant UUID_UNIQUE_KEY.- See Also:
-
-
Constructor Details
-
HvlNotificationPollingUser
public HvlNotificationPollingUser()
-
-
Method Details
-
getAssigneeUser
Gets assignee user.- Returns:
- the assignee user
-
setAssigneeUser
Sets assignee user.- Parameters:
assigneeUser
- the assignee user
-
isRead
public boolean isRead()Is read boolean.- Returns:
- the boolean
-
setRead
public void setRead(boolean read) Sets read.- Parameters:
read
- the read
-
equals
- Overrides:
equals
in classHvlNotificationPolling
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHvlNotificationPolling
-