|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.NotificationRecipientBo
@Entity public class NotificationRecipientBo
This class houses information pertaining to each recipient for a Notification message. This recipient can be either a user or a group - which is specified by the recipient type.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
NotificationRecipientBo()
Constructs a NotificationRecipient instance. |
Method Summary | |
---|---|
static NotificationRecipientBo |
from(NotificationRecipient im)
Converts a immutable object to its mutable counterpart |
Long |
getId()
Gets the id attribute. |
Long |
getNotificationId()
Gets the notificationId attribute. |
String |
getRecipientId()
Gets the recipientId attribute. |
String |
getRecipientType()
Gets the recipientType attribute. |
void |
setId(Long id)
Sets the id attribute value. |
void |
setNotificationId(Long notificationId)
Sets the notificationId attribute value. |
void |
setRecipientId(String recipientId)
Sets the recipientId attribute value. |
void |
setRecipientType(String recipientType)
Sets the recipientType attribute value. |
static NotificationRecipient |
to(NotificationRecipientBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public NotificationRecipientBo()
Method Detail |
---|
public Long getId()
getId
in interface KenIdentifiable
public void setId(Long id)
id
- The id to set.public Long getNotificationId()
getNotificationId
in interface NotificationRecipientContract
public void setNotificationId(Long notificationId)
notificationId
- The notificationId to set.public String getRecipientId()
getRecipientId
in interface NotificationRecipientContract
public void setRecipientId(String recipientId)
recipientId
- The recipientId to set.public String getRecipientType()
getRecipientType
in interface NotificationRecipientContract
public void setRecipientType(String recipientType)
recipientType
- The recipientType to set.public static NotificationRecipient to(NotificationRecipientBo bo)
bo
- the mutable business object
public static NotificationRecipientBo from(NotificationRecipient im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |