public static final class NotificationListRecipient.Builder extends Object implements Serializable, ModelBuilder, NotificationListRecipientContract
NotificationListRecipient
instances. Enforces the constraints of the NotificationListRecipientContract
.Modifier and Type | Method and Description |
---|---|
NotificationListRecipient |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static NotificationListRecipient.Builder |
create() |
static NotificationListRecipient.Builder |
create(NotificationListRecipientContract contract) |
NotificationChannel.Builder |
getChannel() |
Long |
getId() |
String |
getObjectId()
Return the globally unique object id of this object.
|
String |
getRecipientId() |
String |
getRecipientType() |
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setChannel(NotificationChannel.Builder channel) |
void |
setId(Long id) |
void |
setObjectId(String objectId) |
void |
setRecipientId(String recipientId) |
void |
setRecipientType(String recipientType) |
void |
setVersionNumber(Long versionNumber) |
public static NotificationListRecipient.Builder create()
public static NotificationListRecipient.Builder create(NotificationListRecipientContract contract)
public NotificationListRecipient build()
ModelBuilder
build
in interface ModelBuilder
public NotificationChannel.Builder getChannel()
getChannel
in interface NotificationListRecipientContract
public String getRecipientId()
getRecipientId
in interface NotificationListRecipientContract
public String getRecipientType()
getRecipientType
in interface NotificationListRecipientContract
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 setRecipientId(String recipientId)
public void setRecipientType(String recipientType)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.