Class NotificationRecipientBo

All Implemented Interfaces:
Serializable, Cloneable, org.apache.ojb.broker.PersistenceBrokerAware, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.internal.weaving.PersistenceWeavedRest, org.eclipse.persistence.queries.FetchGroupTracker, GloballyUnique, Versioned, ModelObjectBasic, KenIdentifiable, NotificationRecipientContract, BusinessObject, PersistableBusinessObject

@Entity public class NotificationRecipientBo extends PersistableBusinessObjectBase implements NotificationRecipientContract
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.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • NotificationRecipientBo

      public NotificationRecipientBo()
      Constructs a NotificationRecipient instance.
  • Method Details

    • getId

      public Long getId()
      Gets the id attribute.
      Specified by:
      getId in interface KenIdentifiable
      Returns:
      Returns the id.
    • setId

      public void setId(Long id)
      Sets the id attribute value.
      Parameters:
      id - The id to set.
    • getNotificationId

      public Long getNotificationId()
      Gets the notificationId attribute.
      Specified by:
      getNotificationId in interface NotificationRecipientContract
      Returns:
      Returns the notificationId.
    • getRecipientId

      public String getRecipientId()
      Gets the recipientId attribute.
      Specified by:
      getRecipientId in interface NotificationRecipientContract
      Returns:
      Returns the recipientId.
    • setRecipientId

      public void setRecipientId(String recipientId)
      Sets the recipientId attribute value.
      Parameters:
      recipientId - The recipientId to set.
    • getRecipientType

      public String getRecipientType()
      Gets the recipientType attribute.
      Specified by:
      getRecipientType in interface NotificationRecipientContract
      Returns:
      Returns the recipientType.
    • setRecipientType

      public void setRecipientType(String recipientType)
      Sets the recipientType attribute value.
      Parameters:
      recipientType - The recipientType to set.
    • getNotification

      public NotificationBo getNotification()
    • setNotification

      public void setNotification(NotificationBo 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