adapforms.runtime.adaptations
Class FormStatusAdaptation

java.lang.Object
  extended by adapforms.runtime.adaptations.FormStatusAdaptation
All Implemented Interfaces:
Adaptation

public class FormStatusAdaptation
extends java.lang.Object
implements Adaptation

The overall status of the form instance has changed.

Author:
Henrik Gammelmark, geemark@cs.au.dk

Constructor Summary
FormStatusAdaptation(FormStatus status, FormInstance instance)
          Create a new adaptation.
 
Method Summary
 java.lang.String getDescription()
          Get a textual representation of the status, to display to the user
 FormStatus getStatus()
          Determine the status to which the form instance just changed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormStatusAdaptation

public FormStatusAdaptation(FormStatus status,
                            FormInstance instance)
Create a new adaptation.

Parameters:
status - The new instance status
instance - The instance that had it's status changed
Method Detail

getStatus

public FormStatus getStatus()
Determine the status to which the form instance just changed.


getDescription

public java.lang.String getDescription()
Get a textual representation of the status, to display to the user


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object