org.apache.shale.dialog
Class Status.Position

java.lang.Object
  extended by org.apache.shale.dialog.Status.Position
All Implemented Interfaces:
Serializable
Enclosing interface:
Status

public static class Status.Position
extends Object
implements Serializable

A Position represents a specific current State in a specific current Dialog.

See Also:
Serialized Form

Constructor Summary
Status.Position(String dialogName, String stateName)
          Construct a new Status.Position for the specified parameters.
 
Method Summary
 boolean equals(Object o)
          Return true if the specified object is a Status.Position with the same dialog and state names.
 String getDialogName()
          Return the dialog name corresponding to this position.
 String getStateName()
          Return the state name corresponding to this position.
 int hashCode()
          Return the hash code for this Status.Position.
 void setStateName(String stateName)
          Set the state name corresponding to this position.
 String toString()
          Return a string representation of this position.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Status.Position

public Status.Position(String dialogName,
                       String stateName)

Construct a new Status.Position for the specified parameters.

Parameters:
dialogName - Name of the executing dialog
stateName - Name of the current state
Method Detail

getDialogName

public String getDialogName()

Return the dialog name corresponding to this position.


getStateName

public String getStateName()

Return the state name corresponding to this position.


setStateName

public void setStateName(String stateName)

Set the state name corresponding to this position.

Parameters:
stateName - The new state name

hashCode

public int hashCode()

Return the hash code for this Status.Position.

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)

Return true if the specified object is a Status.Position with the same dialog and state names.

Overrides:
equals in class Object
Parameters:
o - The object to check for equality

toString

public String toString()

Return a string representation of this position.

Overrides:
toString in class Object


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.