Package com.sgs.common.database
Class Notification
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.Notification
-
public class Notification extends HibernateObject
This class represents a notification sent by the system- Author:
- SG Systems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotification.NotificationTypeThe type of notification 0 = Message 1 = Info 2 = Alert 3 = Warning 4 = Danger
-
Field Summary
-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsergetAssignedUser()java.util.DategetEndDate()java.lang.StringgetMessage()intgetStatus()intgetType()Notification.NotificationTypegetTypeEnum()voidsetAssignedUser(User assignedUser)voidsetEndDate(java.util.Date endDate)voidsetMessage(java.lang.String message)voidsetStatus(int status)voidsetType(int type)-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
getAssignedUser
public User getAssignedUser()
-
setAssignedUser
public void setAssignedUser(User assignedUser)
-
getEndDate
public java.util.Date getEndDate()
-
setEndDate
public void setEndDate(java.util.Date endDate)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getTypeEnum
public Notification.NotificationType getTypeEnum()
-
-