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 class
Notification.NotificationType
The 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 User
getAssignedUser()
java.util.Date
getEndDate()
java.lang.String
getMessage()
int
getStatus()
int
getType()
Notification.NotificationType
getTypeEnum()
void
setAssignedUser(User assignedUser)
void
setEndDate(java.util.Date endDate)
void
setMessage(java.lang.String message)
void
setStatus(int status)
void
setType(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()
-
-