org.kuali.rice.ken.api.notification
Class UserChannelSubscription

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.ken.api.notification.UserChannelSubscription
All Implemented Interfaces:
Serializable, GloballyUnique, Versioned, ModelObjectBasic, ModelObjectComplete, KenIdentifiable, UserChannelSubscriptionContract

public final class UserChannelSubscription
extends AbstractDataTransferObject
implements UserChannelSubscriptionContract

See Also:
Serialized Form

Nested Class Summary
static class UserChannelSubscription.Builder
          A builder which can be used to construct UserChannelSubscription instances.
 
Method Summary
 NotificationChannel getChannel()
           
 Long getId()
           
 String getObjectId()
          Return the globally unique object id of this object.
 String getUserId()
           
 Long getVersionNumber()
          Returns the version number for this object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getChannel

public NotificationChannel getChannel()
Specified by:
getChannel in interface UserChannelSubscriptionContract

getUserId

public String getUserId()
Specified by:
getUserId in interface UserChannelSubscriptionContract

getId

public Long getId()
Specified by:
getId in interface KenIdentifiable

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

getObjectId

public String getObjectId()
Description copied from interface: GloballyUnique
Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.

Specified by:
getObjectId in interface GloballyUnique
Returns:
the objectId of this object, or null if it has not been set yet


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.