public static final class NotificationResponse.Builder extends Object implements Serializable, ModelBuilder, NotificationResponseContract
NotificationResponse instances. Enforces the constraints of the NotificationResponseContract.| Modifier and Type | Method and Description |
|---|---|
NotificationResponse |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static NotificationResponse.Builder |
create() |
static NotificationResponse.Builder |
create(NotificationResponseContract contract) |
String |
getMessage() |
Long |
getNotificationId() |
String |
getStatus() |
void |
setMessage(String message) |
void |
setNotificationId(Long notificationId) |
void |
setStatus(String status) |
public static NotificationResponse.Builder create()
public static NotificationResponse.Builder create(NotificationResponseContract contract)
public NotificationResponse build()
ModelBuilderbuild in interface ModelBuilderpublic String getMessage()
getMessage in interface NotificationResponseContractpublic String getStatus()
getStatus in interface NotificationResponseContractpublic Long getNotificationId()
getNotificationId in interface NotificationResponseContractpublic void setMessage(String message)
public void setNotificationId(Long notificationId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.