org.kuali.student.contract.model.test.source
Class StatusInfo.Builder

java.lang.Object
  extended by 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


Constructor Summary
StatusInfo.Builder()
           
StatusInfo.Builder(Status status)
           
 
Method Summary
 StatusInfo build()
           
 String getMessage()
          Name: Message Optional message indicating a reason
 Boolean getSuccess()
           
 Boolean isSuccess()
          Name: Success Indicator Indicates the success or failure of the operation
 void setMessage(String message)
           
 void setSuccess(Boolean success)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusInfo.Builder

public StatusInfo.Builder()

StatusInfo.Builder

public StatusInfo.Builder(Status status)
Method Detail

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.