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()
ModelBuilder
build
in interface ModelBuilder
public String getMessage()
getMessage
in interface NotificationResponseContract
public String getStatus()
getStatus
in interface NotificationResponseContract
public Long getNotificationId()
getNotificationId
in interface NotificationResponseContract
public void setMessage(String message)
public void setNotificationId(Long notificationId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.