org.kuali.student.r2.common.dto
Class StatusInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.StatusInfo
All Implemented Interfaces:
Serializable, Status

public class StatusInfo
extends Object
implements Status, Serializable

Information about the state of an object

Author:
nwright
See Also:
Serialized Form

Constructor Summary
StatusInfo()
          Constructs a new StatusInfo.
StatusInfo(Status status)
          Constructs a new StatusInfo from another Status.
 
Method Summary
 Boolean getIsSuccess()
          Indicates the success or failure of the operation.
 String getMessage()
          Optional message indicating a reason.
 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

public StatusInfo()
Constructs a new StatusInfo.


StatusInfo

public StatusInfo(Status status)
Constructs a new StatusInfo from another Status.

Parameters:
status - the Status to copy
Method Detail

getIsSuccess

public Boolean getIsSuccess()
Description copied from interface: Status
Indicates the success or failure of the operation.

Specified by:
getIsSuccess in interface Status

setSuccess

public void setSuccess(Boolean success)

getMessage

public String getMessage()
Description copied from interface: Status
Optional message indicating a reason.

Specified by:
getMessage in interface Status

setMessage

public void setMessage(String message)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.