|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.bo.NotificationResponseBo
public class NotificationResponseBo
This class represents the data structure that will house information for a Notification Response TODO: Really this class should just be replaced by NotificationResponse...
Constructor Summary | |
---|---|
NotificationResponseBo()
Constructs a NotificationResponse.java instance. |
Method Summary | |
---|---|
static NotificationResponseBo |
from(NotificationResponse im)
Converts a immutable object to its mutable counterpart |
String |
getMessage()
Gets the message attribute. |
Long |
getNotificationId()
Gets the id of the sent notification |
String |
getStatus()
Gets the status attribute. |
void |
setMessage(String message)
Sets the message attribute value. |
void |
setNotificationId(Long notificationId)
Sets the id of the sent notification |
void |
setStatus(String status)
Sets the status attribute value. |
static NotificationResponse |
to(NotificationResponseBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationResponseBo()
Method Detail |
---|
public String getStatus()
getStatus
in interface NotificationResponseContract
public void setStatus(String status)
status
- The status to set.public String getMessage()
getMessage
in interface NotificationResponseContract
public void setMessage(String message)
message
- The message to set.public Long getNotificationId()
getNotificationId
in interface NotificationResponseContract
public void setNotificationId(Long notificationId)
notificationId
- the id of the sent notificationpublic static NotificationResponse to(NotificationResponseBo bo)
bo
- the mutable business object
public static NotificationResponseBo from(NotificationResponse im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |