Class NotificationSenderBo

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, NotificationSenderContract, BusinessObject, PersistableBusinessObject

@Entity public class NotificationSenderBo extends PersistableBusinessObjectBase implements NotificationSenderContract
This class represents the data structure that will house information about the non-system sender that a notification message is sent on behalf of.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • NotificationSenderBo

      public NotificationSenderBo()
  • 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 NotificationSenderContract
      Returns:
      Returns the notificationId.
    • getSenderName

      public String getSenderName()
      Gets the senderName attribute.
      Specified by:
      getSenderName in interface NotificationSenderContract
      Returns:
      Returns the senderName.
    • setSenderName

      public void setSenderName(String userId)
      Sets the senderName attribute value.
      Parameters:
      userId - The senderName 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

      public static NotificationSenderBo from(NotificationSender im)
      Converts a immutable object to its mutable counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo