org.isam.exehda.services
Class ContextManager.ContextState

java.lang.Object
  |
  +--org.isam.exehda.services.ContextManager.ContextState
Enclosing class:
ContextManager

public static class ContextManager.ContextState
extends java.lang.Object

Describes a context element's state.


Constructor Summary
(package private) ContextManager.ContextState(ContextManager.Context type, java.lang.String value)
          Creates a new ContextState instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns whether this and the given object both describe the same context state.
 ContextManager.Context getType()
          Returns the context element to which this context state is bound.
 java.lang.String getValue()
          Describe getValue method here.
 int hashCode()
          Computes the hash code for this context state object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManager.ContextState

ContextManager.ContextState(ContextManager.Context type,
                            java.lang.String value)
Creates a new ContextState instance.

Parameters:
type - a Context value
value - a String value
Method Detail

getType

public ContextManager.Context getType()
Returns the context element to which this context state is bound.

Returns:
a Context value

getValue

public java.lang.String getValue()
Describe getValue method here.

Returns:
a String value

equals

public boolean equals(java.lang.Object o)
Returns whether this and the given object both describe the same context state.

Overrides:
equals in class java.lang.Object
Parameters:
o - an Object value
Returns:
a boolean value

hashCode

public int hashCode()
Computes the hash code for this context state object.

Overrides:
hashCode in class java.lang.Object
Returns:
an int value