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()
ModelBuilder
build
in interface ModelBuilder
public NotificationChannel.Builder getChannel()
getChannel
in interface UserChannelSubscriptionContract
public String getUserId()
getUserId
in interface UserChannelSubscriptionContract
public Long getId()
getId
in interface KenIdentifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setChannel(NotificationChannel.Builder channel)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.