|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ken.api.notification.NotificationRecipient.Builder
public static final class NotificationRecipient.Builder
A builder which can be used to construct NotificationRecipient instances. Enforces the constraints of the NotificationRecipientContract.
| Method Summary | |
|---|---|
NotificationRecipient |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static NotificationRecipient.Builder |
create()
|
static NotificationRecipient.Builder |
create(NotificationRecipientContract contract)
|
Long |
getId()
|
Long |
getNotificationId()
|
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getRecipientId()
|
String |
getRecipientType()
|
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setId(Long id)
|
void |
setNotificationId(Long notificationId)
|
void |
setObjectId(String objectId)
|
void |
setRecipientId(String recipientId)
|
void |
setRecipientType(String recipientType)
|
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 NotificationRecipient.Builder create()
public static NotificationRecipient.Builder create(NotificationRecipientContract contract)
public NotificationRecipient build()
ModelBuilder
build in interface ModelBuilderpublic Long getNotificationId()
getNotificationId in interface NotificationRecipientContractpublic String getRecipientType()
getRecipientType in interface NotificationRecipientContractpublic String getRecipientId()
getRecipientId in interface NotificationRecipientContractpublic Long getId()
getId in interface KenIdentifiablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic void setNotificationId(Long notificationId)
public void setRecipientType(String recipientType)
public void setRecipientId(String recipientId)
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 | |||||||||