org.eclipse.stardust.engine.api.model
Class ContextData

java.lang.Object
  extended by org.eclipse.stardust.engine.api.model.ContextData
All Implemented Interfaces:
Serializable

public class ContextData
extends Object
implements Serializable

Value object that encapsulates a set of data values for a specific context.

Version:
$Revision: $
Author:
Florin.Herinean
See Also:
Serialized Form

Constructor Summary
ContextData(String context, Map<String,?> data)
          Creates a new ContextData object for the given context containing the specified data values.
 
Method Summary
 String getContext()
          Retrieves the context for which this ContextData was created.
 Map<String,?> getData()
          Retrieves the live values for the data ids..
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextData

public ContextData(String context,
                   Map<String,?> data)
Creates a new ContextData object for the given context containing the specified data values.

Parameters:
context - the id of the context.
data - a map containing values for specific data ids.
Method Detail

getContext

public String getContext()
Retrieves the context for which this ContextData was created.

Returns:
the context id

getData

public Map<String,?> getData()
Retrieves the live values for the data ids..

Returns:
the map containing values for specific data ids.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.