org.kuali.student.contract.model.test.source
Class StatusInfo.Builder
java.lang.Object
org.kuali.student.contract.model.test.source.StatusInfo.Builder
- All Implemented Interfaces:
- ModelBuilder<StatusInfo>, Status
- Enclosing class:
- StatusInfo
public static class StatusInfo.Builder
- extends Object
- implements ModelBuilder<StatusInfo>, Status
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusInfo.Builder
public StatusInfo.Builder()
StatusInfo.Builder
public StatusInfo.Builder(Status status)
build
public StatusInfo build()
- Specified by:
build
in interface ModelBuilder<StatusInfo>
isSuccess
public Boolean isSuccess()
- Description copied from interface:
Status
- Name: Success Indicator
Indicates the success or failure of the operation
- Specified by:
isSuccess
in interface Status
getMessage
public String getMessage()
- Description copied from interface:
Status
- Name: Message
Optional message indicating a reason
- Specified by:
getMessage
in interface Status
getSuccess
public Boolean getSuccess()
setSuccess
public void setSuccess(Boolean success)
setMessage
public void setMessage(String message)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.