public static final class NotificationSender.Builder extends Object implements Serializable, ModelBuilder, NotificationSenderContract
NotificationSender instances. Enforces the constraints of the NotificationSenderContract.| Modifier and Type | Method and Description |
|---|---|
NotificationSender |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static NotificationSender.Builder |
create() |
static NotificationSender.Builder |
create(NotificationSenderContract contract) |
Long |
getId() |
Long |
getNotificationId() |
String |
getObjectId()
Return the globally unique object id of this object.
|
String |
getSenderName() |
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setId(Long id) |
void |
setNotificationId(Long notificationId) |
void |
setObjectId(String objectId) |
void |
setSenderName(String senderName) |
void |
setVersionNumber(Long versionNumber) |
public static NotificationSender.Builder create()
public static NotificationSender.Builder create(NotificationSenderContract contract)
public NotificationSender build()
ModelBuilderbuild in interface ModelBuilderpublic Long getNotificationId()
getNotificationId in interface NotificationSenderContractpublic String getSenderName()
getSenderName in interface NotificationSenderContractpublic Long getId()
getId in interface KenIdentifiablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setNotificationId(Long notificationId)
public void setSenderName(String senderName)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.