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() |
static NotificationProducer.Builder |
create() |
static NotificationProducer.Builder |
create(NotificationProducerContract contract) |
List<Long> |
getChannelIds() |
String |
getContactInfo() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
String |
getObjectId() |
Long |
getVersionNumber() |
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()
build in interface ModelBuilderpublic String getName()
getName in interface NotificationProducerContractpublic String getDescription()
getDescription in interface NotificationProducerContractpublic String getContactInfo()
getContactInfo in interface NotificationProducerContractpublic Long getId()
getId in interface KenIdentifiablepublic List<Long> getChannelIds()
getChannelIds in interface NotificationProducerContractpublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniquepublic 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–2018 The Kuali Foundation. All rights reserved.