org.eclipse.emf.mwe.core
Interface WorkflowContext

All Known Implementing Classes:
WorkflowContextDefaultImpl

public interface WorkflowContext

A WorkflowContext is a container for models and other objects.


Field Summary
static java.lang.String DEFAULT_SLOT
          Identifier of the default slot.
 
Method Summary
 java.lang.Object get(java.lang.String slotName)
          returns the object of the given slot name.
 java.lang.String[] getSlotNames()
           
 void set(java.lang.String slotName, java.lang.Object value)
          Sets the passed Model the specified slot.
 

Field Detail

DEFAULT_SLOT

static final java.lang.String DEFAULT_SLOT
Identifier of the default slot.

See Also:
Constant Field Values
Method Detail

get

java.lang.Object get(java.lang.String slotName)
returns the object of the given slot name.

Parameters:
slotName - The slot's name.
Returns:
The object associated to the specified slot or null if no such slot exists.

set

void set(java.lang.String slotName,
         java.lang.Object value)
Sets the passed Model the specified slot. Removes the model currently set to the specified slot.

Parameters:
slotName - The slot's name.
value - object to store in the slot (set null to remove the slot)

getSlotNames

java.lang.String[] getSlotNames()