Class NotificationRecipient.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.NotificationRecipient.Builder
- All Implemented Interfaces:
Serializable,GloballyUnique,Versioned,ModelBuilder,KenIdentifiable,NotificationRecipientContract
- Enclosing class:
NotificationRecipient
public static final class NotificationRecipient.Builder
extends Object
implements Serializable, ModelBuilder, NotificationRecipientContract
A builder which can be used to construct
NotificationRecipient instances. Enforces the constraints of the NotificationRecipientContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(NotificationRecipientContract contract) getId()voidvoidsetNotificationId(Long notificationId) voidsetObjectId(String objectId) voidsetRecipientId(String recipientId) voidsetRecipientType(String recipientType) voidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getNotificationId
- Specified by:
getNotificationIdin interfaceNotificationRecipientContract
-
getRecipientType
- Specified by:
getRecipientTypein interfaceNotificationRecipientContract
-
getRecipientId
- Specified by:
getRecipientIdin interfaceNotificationRecipientContract
-
getId
- Specified by:
getIdin interfaceKenIdentifiable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
setNotificationId
-
setRecipientType
-
setRecipientId
-
setId
-
setVersionNumber
-
setObjectId
-