|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.ken.api.notification.NotificationProducer.Builder
public static final class NotificationProducer.Builder
A builder which can be used to construct NotificationProducer
instances. Enforces the constraints of the NotificationProducerContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 setName(String name)
public void setDescription(String description)
public void setContactInfo(String contactInfo)
public void setId(Long id)
public void setChannelIds(List<Long> channelIds)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |