All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class banking.Status
java.lang.Object
   |
   +----banking.Status
  -  public abstract class Status
  -  extends Object
Abstract base class for representation of various status codes returned
  by bank for a transaction.  The bank will create appropriate subclasses.
   
  -   Status() Status()
-  
   
  -   getMessage() getMessage()
-  Accessor for message describing this status (used if status is
  not success)
  
  
-   isInvalidPIN() isInvalidPIN()
-  See if this status represents an invalid PIN
  
  
-   isSuccess() isSuccess()
-  See if this status represents success
  
  
-   toString() toString()
-  Create a printable string representing this status
  
   
 Status
Status
 public Status()
   
 toString
toString
 public String toString()
  -  Create a printable string representing this status
   
- 
    -  Returns:
    
-  string representation
    
-  Overrides:
    
-  toString in class Object
  
 
 isSuccess
isSuccess
 public abstract boolean isSuccess()
  -  See if this status represents success
   
- 
    -  Returns:
    
-  true if this status represents success
  
 
 isInvalidPIN
isInvalidPIN
 public abstract boolean isInvalidPIN()
  -  See if this status represents an invalid PIN
   
- 
    -  Returns:
    
-  true if this status represents an invalid PIN
  
 
 getMessage
getMessage
 public abstract String getMessage()
  -  Accessor for message describing this status (used if status is
  not success)
   
- 
    -  Returns:
    
-  description of the problem
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index