org.kuali.rice.ken.bo
Class NotificationSenderBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.ken.bo.NotificationSenderBo
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, 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:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
NotificationSenderBo()
          Constructs a NotificationSender.java instance.
 
Method Summary
static NotificationSenderBo from(NotificationSender im)
          Converts a immutable object to its mutable counterpart
 Long getId()
          Gets the id attribute.
 Long getNotificationId()
          Gets the notificationId attribute.
 String getSenderName()
          Gets the senderName attribute.
 void setId(Long id)
          Sets the id attribute value.
 void setNotificationId(Long notificationId)
          Sets the notificationId attribute value.
 void setSenderName(String userId)
          Sets the senderName attribute value.
static NotificationSender to(NotificationSenderBo bo)
          Converts a mutable bo to its immutable counterpart
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
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

NotificationSenderBo

public NotificationSenderBo()
Constructs a NotificationSender.java instance.

Method Detail

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.

setNotificationId

public void setNotificationId(Long notificationId)
Sets the notificationId attribute value.

Parameters:
notificationId - The notificationId to set.

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.

to

public static NotificationSender to(NotificationSenderBo bo)
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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.