public static final class NotificationProducer.Builder extends Object implements Serializable, ModelBuilder, NotificationProducerContract
NotificationProducer
instances. Enforces the constraints of the NotificationProducerContract
.Modifier and Type | Method and Description |
---|---|
NotificationProducer |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static NotificationProducer.Builder |
create() |
static NotificationProducer.Builder |
create(NotificationProducerContract contract) |
List<Long> |
getChannelIds() |
String |
getContactInfo() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
String |
getObjectId()
Return the globally unique object id of this object.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setChannelIds(List<Long> channelIds) |
void |
setContactInfo(String contactInfo) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setObjectId(String objectId) |
void |
setVersionNumber(Long versionNumber) |
public static NotificationProducer.Builder create()
public static NotificationProducer.Builder create(NotificationProducerContract contract)
public NotificationProducer build()
ModelBuilder
build
in interface ModelBuilder
public String getName()
getName
in interface NotificationProducerContract
public String getDescription()
getDescription
in interface NotificationProducerContract
public String getContactInfo()
getContactInfo
in interface NotificationProducerContract
public Long getId()
getId
in interface KenIdentifiable
public List<Long> getChannelIds()
getChannelIds
in interface NotificationProducerContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setDescription(String description)
public void setContactInfo(String contactInfo)
public void setChannelIds(List<Long> channelIds)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.