com.evelopers.unimod.runtime.context
Class StateMachineContextImpl.ContextImpl

java.lang.Object
  extended bycom.evelopers.unimod.runtime.context.StateMachineContextImpl.ContextImpl
All Implemented Interfaces:
java.io.Serializable, StateMachineContext.Context
Enclosing class:
StateMachineContextImpl

public static class StateMachineContextImpl.ContextImpl
extends java.lang.Object
implements StateMachineContext.Context, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
StateMachineContextImpl.ContextImpl()
           
 
Method Summary
 java.lang.Object getParameter(java.lang.String name)
          Returns value of parameter
 java.util.Enumeration getParameterNames()
          Returns all parameters names in context
 java.lang.Object[] getParameterValues(java.lang.String name)
          Returns all values of parameter with given name
 void setParameter(java.lang.String name, java.lang.Object data)
          Assigns given data to given parameter name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateMachineContextImpl.ContextImpl

public StateMachineContextImpl.ContextImpl()
Method Detail

setParameter

public void setParameter(java.lang.String name,
                         java.lang.Object data)
Description copied from interface: StateMachineContext.Context
Assigns given data to given parameter name

Specified by:
setParameter in interface StateMachineContext.Context
Parameters:
name - parameter name
data - parameter value

getParameter

public java.lang.Object getParameter(java.lang.String name)
Description copied from interface: StateMachineContext.Context
Returns value of parameter

Specified by:
getParameter in interface StateMachineContext.Context
Parameters:
name - parameter name
Returns:
parameter value

getParameterValues

public java.lang.Object[] getParameterValues(java.lang.String name)
Description copied from interface: StateMachineContext.Context
Returns all values of parameter with given name

Specified by:
getParameterValues in interface StateMachineContext.Context
Parameters:
name - parameter name
Returns:
values array

getParameterNames

public java.util.Enumeration getParameterNames()
Description copied from interface: StateMachineContext.Context
Returns all parameters names in context

Specified by:
getParameterNames in interface StateMachineContext.Context
Returns:
all parameters names