|
||||||||||
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.NotificationSender.Builder
public static final class NotificationSender.Builder
A builder which can be used to construct NotificationSender
instances. Enforces the constraints of the NotificationSenderContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NotificationSender.Builder create()
public static NotificationSender.Builder create(NotificationSenderContract contract)
public NotificationSender build()
ModelBuilder
build
in interface ModelBuilder
public Long getNotificationId()
getNotificationId
in interface NotificationSenderContract
public String getSenderName()
getSenderName
in interface NotificationSenderContract
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 setNotificationId(Long notificationId)
public void setSenderName(String senderName)
public void setId(Long id)
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 |