net.sf.ofx4j.domain.data.common
Class Status

java.lang.Object
  extended by net.sf.ofx4j.domain.data.common.Status

public class Status
extends java.lang.Object

Transaction status element.

Author:
Ryan Heaton
See Also:
"Section 3.1.4, OFX Spec"

Nested Class Summary
static class Status.KnownCode
          Known status codes.
static class Status.Severity
          Severity of the status.
 
Constructor Summary
Status()
           
 
Method Summary
 StatusCode getCode()
          Status code.
 java.lang.String getMessage()
          Server-supplied message.
 Status.Severity getSeverity()
          The severity.
 void setCode(StatusCode code)
          Status code.
 void setMessage(java.lang.String message)
          Server-supplied message.
 void setSeverity(Status.Severity severity)
          The severity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status()
Method Detail

getCode

public StatusCode getCode()
Status code.

Returns:
The status code.

setCode

public void setCode(StatusCode code)
Status code.

Parameters:
code - Status code.

getSeverity

public Status.Severity getSeverity()
The severity.

Returns:
The severity.

setSeverity

public void setSeverity(Status.Severity severity)
The severity.

Parameters:
severity - The severity.

getMessage

public java.lang.String getMessage()
Server-supplied message.

Returns:
Server-supplied message.

setMessage

public void setMessage(java.lang.String message)
Server-supplied message.

Parameters:
message - Server-supplied message.


Copyright © 2008. All Rights Reserved.