@Entity public class UserChannelSubscriptionBo extends PersistableBusinessObjectBase implements UserChannelSubscriptionContract
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
UserChannelSubscriptionBo()
Constructs a UserChannelSubscription instance.
|
Modifier and Type | Method and Description |
---|---|
static UserChannelSubscriptionBo |
from(UserChannelSubscription im)
Converts a immutable object to its mutable counterpart
|
NotificationChannelBo |
getChannel()
Gets the channel attribute.
|
Long |
getId()
Gets the id attribute.
|
String |
getUserId()
Gets the userId attribute.
|
void |
setChannel(NotificationChannelBo channel)
Sets the channel attribute value.
|
void |
setId(Long id)
Sets the id attribute value.
|
void |
setUserId(String userId)
Sets the userId attribute value.
|
static UserChannelSubscription |
to(UserChannelSubscriptionBo bo)
Converts a mutable bo to its immutable counterpart
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
toString
public UserChannelSubscriptionBo()
public NotificationChannelBo getChannel()
getChannel
in interface UserChannelSubscriptionContract
public void setChannel(NotificationChannelBo channel)
channel
- The channel to set.public Long getId()
getId
in interface KenIdentifiable
public String getUserId()
getUserId
in interface UserChannelSubscriptionContract
public void setUserId(String userId)
userId
- The userId to set.public static UserChannelSubscription to(UserChannelSubscriptionBo bo)
bo
- the mutable business objectpublic static UserChannelSubscriptionBo from(UserChannelSubscription im)
im
- immutable objectCopyright © 2005–2015 The Kuali Foundation. All rights reserved.