org.LexGrid.LexBIG.DataModel.InterfaceElements
Class ProcessStatus

java.lang.Object
  extended by org.LexGrid.LexBIG.DataModel.InterfaceElements.ProcessStatus
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExportStatus, LoadStatus

public class ProcessStatus
extends java.lang.Object
implements java.io.Serializable

Reports the state of LexBIG runtime operations.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ProcessStatus()
           
 
Method Summary
 java.util.Date getEndTime()
          Returns the value of field 'endTime'.
 java.lang.Boolean getErrorsLogged()
          Returns the value of field 'errorsLogged'.
 java.lang.String getMessage()
          Returns the value of field 'message'.
 java.util.Date getStartTime()
          Returns the value of field 'startTime'.
 ProcessState getState()
          Returns the value of field 'state'.
 java.lang.Boolean getWarningsLogged()
          Returns the value of field 'warningsLogged'.
 java.lang.Boolean isErrorsLogged()
          Returns the value of field 'errorsLogged'.
 java.lang.Boolean isWarningsLogged()
          Returns the value of field 'warningsLogged'.
 void setEndTime(java.util.Date endTime)
          Sets the value of field 'endTime'.
 void setErrorsLogged(java.lang.Boolean errorsLogged)
          Sets the value of field 'errorsLogged'.
 void setMessage(java.lang.String message)
          Sets the value of field 'message'.
 void setStartTime(java.util.Date startTime)
          Sets the value of field 'startTime'.
 void setState(ProcessState state)
          Sets the value of field 'state'.
 void setWarningsLogged(java.lang.Boolean warningsLogged)
          Sets the value of field 'warningsLogged'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessStatus

public ProcessStatus()
Method Detail

getEndTime

public java.util.Date getEndTime()
Returns the value of field 'endTime'. The field 'endTime' has the following description: The time that the load completed; missing if the operation is still underway.

Returns:
the value of field 'EndTime'.

getErrorsLogged

public java.lang.Boolean getErrorsLogged()
Returns the value of field 'errorsLogged'. The field 'errorsLogged' has the following description: If true, error messages have been written to the associated log; default is false.

Returns:
the value of field 'ErrorsLogged'.

getMessage

public java.lang.String getMessage()
Returns the value of field 'message'. The field 'message' has the following description: Optional status message to convey additional information about the current state of the operation.

Returns:
the value of field 'Message'.

getStartTime

public java.util.Date getStartTime()
Returns the value of field 'startTime'. The field 'startTime' has the following description: Time that the operation started; missing if not yet started.

Returns:
the value of field 'StartTime'.

getState

public ProcessState getState()
Returns the value of field 'state'. The field 'state' has the following description: State of the operation.

Returns:
the value of field 'State'.

getWarningsLogged

public java.lang.Boolean getWarningsLogged()
Returns the value of field 'warningsLogged'. The field 'warningsLogged' has the following description: If true, warning messages have been written to the associated log; default is false.

Returns:
the value of field 'WarningsLogged'.

isErrorsLogged

public java.lang.Boolean isErrorsLogged()
Returns the value of field 'errorsLogged'. The field 'errorsLogged' has the following description: If true, error messages have been written to the associated log; default is false.

Returns:
the value of field 'ErrorsLogged'.

isWarningsLogged

public java.lang.Boolean isWarningsLogged()
Returns the value of field 'warningsLogged'. The field 'warningsLogged' has the following description: If true, warning messages have been written to the associated log; default is false.

Returns:
the value of field 'WarningsLogged'.

setEndTime

public void setEndTime(java.util.Date endTime)
Sets the value of field 'endTime'. The field 'endTime' has the following description: The time that the load completed; missing if the operation is still underway.

Parameters:
endTime - the value of field 'endTime'.

setErrorsLogged

public void setErrorsLogged(java.lang.Boolean errorsLogged)
Sets the value of field 'errorsLogged'. The field 'errorsLogged' has the following description: If true, error messages have been written to the associated log; default is false.

Parameters:
errorsLogged - the value of field 'errorsLogged'.

setMessage

public void setMessage(java.lang.String message)
Sets the value of field 'message'. The field 'message' has the following description: Optional status message to convey additional information about the current state of the operation.

Parameters:
message - the value of field 'message'.

setStartTime

public void setStartTime(java.util.Date startTime)
Sets the value of field 'startTime'. The field 'startTime' has the following description: Time that the operation started; missing if not yet started.

Parameters:
startTime - the value of field 'startTime'.

setState

public void setState(ProcessState state)
Sets the value of field 'state'. The field 'state' has the following description: State of the operation.

Parameters:
state - the value of field 'state'.

setWarningsLogged

public void setWarningsLogged(java.lang.Boolean warningsLogged)
Sets the value of field 'warningsLogged'. The field 'warningsLogged' has the following description: If true, warning messages have been written to the associated log; default is false.

Parameters:
warningsLogged - the value of field 'warningsLogged'.

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.