org.kuali.student.contract.model.test.source
Interface Status

All Known Implementing Classes:
StatusInfo, StatusInfo.Builder

public interface Status

Status object returned by operations to indicate that the operation succeeded Note: The success is always TRUE otherwise the method should have thrown an exception. Used for delete operations because they have nothing to return otherwise and the standard is that all methods return something. TODO: switch this to hold a count or something, a boolean that always is true is confusing. TODO: Figure out where the message came from because it is not in the R1 wiki https://wiki.kuali.org/display/KULSTU/statusInfo+Structure

Author:
nwright

Method Summary
 String getMessage()
          Name: Message Optional message indicating a reason
 Boolean isSuccess()
          Name: Success Indicator Indicates the success or failure of the operation
 

Method Detail

isSuccess

Boolean isSuccess()
Name: Success Indicator Indicates the success or failure of the operation


getMessage

String getMessage()
Name: Message Optional message indicating a reason



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