public static final class UserChannelSubscription.Builder extends Object implements Serializable, ModelBuilder, UserChannelSubscriptionContract
UserChannelSubscription instances. Enforces the constraints of the UserChannelSubscriptionContract.| Modifier and Type | Method and Description |
|---|---|
UserChannelSubscription |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static UserChannelSubscription.Builder |
create() |
static UserChannelSubscription.Builder |
create(UserChannelSubscriptionContract contract) |
NotificationChannel.Builder |
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.
|
void |
setChannel(NotificationChannel.Builder channel) |
void |
setId(Long id) |
void |
setObjectId(String objectId) |
void |
setUserId(String userId) |
void |
setVersionNumber(Long versionNumber) |
public static UserChannelSubscription.Builder create()
public static UserChannelSubscription.Builder create(UserChannelSubscriptionContract contract)
public UserChannelSubscription build()
ModelBuilderbuild in interface ModelBuilderpublic NotificationChannel.Builder getChannel()
getChannel in interface UserChannelSubscriptionContractpublic String getUserId()
getUserId in interface UserChannelSubscriptionContractpublic Long getId()
getId in interface KenIdentifiablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setChannel(NotificationChannel.Builder channel)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.