Package org.kuali.rice.ken.bo
Class NotificationResponseBo
java.lang.Object
org.kuali.rice.ken.bo.NotificationResponseBo
- All Implemented Interfaces:
NotificationResponseContract
This class represents the data structure that will house information for
a Notification Response
TODO: Really this class should just be replaced by NotificationResponse...
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationResponseBoConverts a immutable object to its mutable counterpartGets the message attribute.Gets the id of the sent notificationGets the status attribute.voidsetMessage(String message) Sets the message attribute value.voidsetNotificationId(Long notificationId) Sets the id of the sent notificationvoidSets the status attribute value.static NotificationResponseConverts a mutable bo to its immutable counterpart
-
Constructor Details
-
NotificationResponseBo
public NotificationResponseBo()
-
-
Method Details
-
getStatus
Gets the status attribute.- Specified by:
getStatusin interfaceNotificationResponseContract- Returns:
- Returns the response status.
-
setStatus
Sets the status attribute value.- Parameters:
status- The status to set.
-
getMessage
Gets the message attribute.- Specified by:
getMessagein interfaceNotificationResponseContract- Returns:
- Returns the response message.
-
setMessage
Sets the message attribute value.- Parameters:
message- The message to set.
-
getNotificationId
Gets the id of the sent notification- Specified by:
getNotificationIdin interfaceNotificationResponseContract- Returns:
- the id of the sent notification
-
setNotificationId
Sets the id of the sent notification- Parameters:
notificationId- the id of the sent notification
-
to
Converts a mutable bo to its immutable counterpart- Parameters:
bo- the mutable business object- Returns:
- the immutable object
-
from
Converts a immutable object to its mutable counterpart- Parameters:
im- immutable object- Returns:
- the mutable bo
-