Class NotificationRecipient.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.NotificationRecipient.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelBuilder,KenIdentifiable,NotificationRecipientContract
- Enclosing class:
NotificationRecipient
public static final class NotificationRecipient.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.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 interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getNotificationId
- Specified by:
getNotificationIdin interfaceNotificationRecipientContract
-
getRecipientType
- Specified by:
getRecipientTypein interfaceNotificationRecipientContract
-
getRecipientId
- Specified by:
getRecipientIdin interfaceNotificationRecipientContract
-
getId
- Specified by:
getIdin interfaceKenIdentifiable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getObjectId
- Specified by:
getObjectIdin interfaceorg.kuali.rice.core.api.mo.common.GloballyUnique
-
setNotificationId
-
setRecipientType
-
setRecipientId
-
setId
-
setVersionNumber
-
setObjectId
-