public class NotificationResponseBo extends Object implements NotificationResponseContract
Constructor and Description |
---|
NotificationResponseBo()
Constructs a NotificationResponse.java instance.
|
Modifier and Type | Method and Description |
---|---|
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
|
public NotificationResponseBo()
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 objectpublic static NotificationResponseBo from(NotificationResponse im)
im
- immutable objectCopyright © 2005–2015 The Kuali Foundation. All rights reserved.