org.eclipse.emf.mwe.ewm.workflow.runtime
Class WorkflowContext

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowContext
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
WorkflowTransactionalContext

public class WorkflowContext
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements org.eclipse.emf.ecore.EObject

A representation of the model object 'Context'.

The following features are supported:

See Also:
RuntimePackage.getWorkflowContext()
EMF generated code
EMF model element
kind="class"

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.emf.common.util.EList<WorkflowComponent> activeComponents
          The cached value of the 'Active Components' reference list.
protected  org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowComponentExecutionInfo> executionInfo
          The cached value of the 'Execution Info' map.
protected  org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowLog> log
          The cached value of the 'Log' map.
protected static WorkflowLogEntryType LOG_LEVEL_EDEFAULT
          The default value of the 'Log Level' attribute.
protected  WorkflowLogEntryType logLevel
          The cached value of the 'Log Level' attribute.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  org.eclipse.emf.common.util.EMap<WorkflowParameter,org.eclipse.emf.ecore.EObject> parameters
          The cached value of the 'Parameters' map.
protected  WorkflowContext parentContext
          The cached value of the 'Parent Context' reference.
protected  org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowState> states
          The cached value of the 'States' map.
protected  WorkflowComponent workflow
          The cached value of the 'Workflow' reference.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected WorkflowContext()
           
 
Method Summary
 WorkflowContext basicGetParentContext()
           
 WorkflowComponent basicGetWorkflow()
           
 void clearLog(WorkflowComponent component)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.EList<WorkflowComponent> getActiveComponents()
          Returns the value of the 'Active Components' reference list.
 org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowComponentExecutionInfo> getExecutionInfo()
          Returns the value of the 'Execution Info' map.
 WorkflowComponentExecutionInfo getExecutionInfo(WorkflowComponent component)
           
 org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowLog> getLog()
          Returns the value of the 'Log' map.
 WorkflowLogEntryType getLogLevel()
          Returns the value of the 'Log Level' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 org.eclipse.emf.common.util.EMap<WorkflowParameter,org.eclipse.emf.ecore.EObject> getParameters()
          Returns the value of the 'Parameters' map.
 org.eclipse.emf.ecore.EObject getParameterValue(WorkflowParameter parameter)
           
 WorkflowContext getParentContext()
          Returns the value of the 'Parent Context' reference.
 WorkflowState getState(WorkflowComponent component)
           
 org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowState> getStates()
          Returns the value of the 'States' map.
 WorkflowComponent getWorkflow()
          Returns the value of the 'Workflow' reference.
 void initializeState()
           
 void logDebug(WorkflowComponent component, java.lang.String message)
           
 void logError(WorkflowComponent component, java.lang.String message)
           
 void logException(WorkflowComponent component, java.lang.Exception exception)
           
 void logInfo(WorkflowComponent component, java.lang.String message)
           
 void logWarning(WorkflowComponent component, java.lang.String message)
           
 void reset(WorkflowComponent component)
           
 void resetLog(WorkflowComponent component)
           
 void resetState(WorkflowComponent component)
           
 void setExecutionInfo(WorkflowComponent component, WorkflowComponentExecutionInfo executionInfo)
           
 void setLogLevel(WorkflowLogEntryType newLogLevel)
          Sets the value of the 'Log Level' attribute.
 void setName(java.lang.String newName)
          Sets the value of the 'Name' attribute.
 void setParameterValue(WorkflowParameter parameter, org.eclipse.emf.ecore.EObject value)
           
 void setParentContext(WorkflowContext newParentContext)
          Sets the value of the 'Parent Context' reference.
 void setState(WorkflowComponent component, WorkflowState state)
           
 void setWorkflow(WorkflowComponent newWorkflow)
          Sets the value of the 'Workflow' reference.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

parameters

protected org.eclipse.emf.common.util.EMap<WorkflowParameter,org.eclipse.emf.ecore.EObject> parameters
The cached value of the 'Parameters' map.

See Also:
getParameters()
EMF generated code
EMF ordered

states

protected org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowState> states
The cached value of the 'States' map.

See Also:
getStates()
EMF generated code
EMF ordered

log

protected org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowLog> log
The cached value of the 'Log' map.

See Also:
getLog()
EMF generated code
EMF ordered

LOG_LEVEL_EDEFAULT

protected static final WorkflowLogEntryType LOG_LEVEL_EDEFAULT
The default value of the 'Log Level' attribute.

See Also:
getLogLevel()
EMF generated code
EMF ordered

logLevel

protected WorkflowLogEntryType logLevel
The cached value of the 'Log Level' attribute.

See Also:
getLogLevel()
EMF generated code
EMF ordered

workflow

protected WorkflowComponent workflow
The cached value of the 'Workflow' reference.

See Also:
getWorkflow()
EMF generated code
EMF ordered

activeComponents

protected org.eclipse.emf.common.util.EList<WorkflowComponent> activeComponents
The cached value of the 'Active Components' reference list.

See Also:
getActiveComponents()
EMF generated code
EMF ordered

executionInfo

protected org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowComponentExecutionInfo> executionInfo
The cached value of the 'Execution Info' map.

See Also:
getExecutionInfo()
EMF generated code
EMF ordered

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

parentContext

protected WorkflowContext parentContext
The cached value of the 'Parent Context' reference.

See Also:
getParentContext()
EMF generated code
EMF ordered
Constructor Detail

WorkflowContext

protected WorkflowContext()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl
EMF generated code

getParameters

public org.eclipse.emf.common.util.EMap<WorkflowParameter,org.eclipse.emf.ecore.EObject> getParameters()
Returns the value of the 'Parameters' map. The key is of type WorkflowParameter, and the value is of type EObject,

If the meaning of the 'Parameters' map isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parameters' map.
See Also:
RuntimePackage.getWorkflowContext_Parameters()
EMF generated code
EMF model element
mapType="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowParameterMap"

getStates

public org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowState> getStates()
Returns the value of the 'States' map. The key is of type WorkflowComponent, and the value is of type WorkflowState,

If the meaning of the 'States' map isn't clear, there really should be more of a description here...

Returns:
the value of the 'States' map.
See Also:
RuntimePackage.getWorkflowContext_States()
EMF generated code
EMF model element
mapType="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowStateMap"

getLog

public org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowLog> getLog()
Returns the value of the 'Log' map. The key is of type WorkflowComponent, and the value is of type WorkflowLog,

If the meaning of the 'Log' map isn't clear, there really should be more of a description here...

Returns:
the value of the 'Log' map.
See Also:
RuntimePackage.getWorkflowContext_Log()
EMF generated code
EMF model element
mapType="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowLogMap"

getLogLevel

public WorkflowLogEntryType getLogLevel()
Returns the value of the 'Log Level' attribute. The literals are from the enumeration WorkflowLogEntryType.

If the meaning of the 'Log Level' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Log Level' attribute.
See Also:
WorkflowLogEntryType, setLogLevel(WorkflowLogEntryType), RuntimePackage.getWorkflowContext_LogLevel()
EMF generated code
EMF model element
required="true"

setLogLevel

public void setLogLevel(WorkflowLogEntryType newLogLevel)
Sets the value of the 'Log Level' attribute.

Parameters:
value - the new value of the 'Log Level' attribute.
See Also:
WorkflowLogEntryType, getLogLevel()
EMF generated code
NOT

getWorkflow

public WorkflowComponent getWorkflow()
Returns the value of the 'Workflow' reference.

If the meaning of the 'Workflow' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Workflow' reference.
See Also:
setWorkflow(WorkflowComponent), RuntimePackage.getWorkflowContext_Workflow()
EMF generated code
EMF model element
required="true"

basicGetWorkflow

public WorkflowComponent basicGetWorkflow()

EMF generated code

setWorkflow

public void setWorkflow(WorkflowComponent newWorkflow)
Sets the value of the 'Workflow' reference.

Parameters:
value - the new value of the 'Workflow' reference.
See Also:
getWorkflow()
EMF generated code

getActiveComponents

public org.eclipse.emf.common.util.EList<WorkflowComponent> getActiveComponents()
Returns the value of the 'Active Components' reference list. The list contents are of type WorkflowComponent.

If the meaning of the 'Active Components' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Active Components' reference list.
See Also:
RuntimePackage.getWorkflowContext_ActiveComponents()
EMF generated code
EMF model element

getExecutionInfo

public org.eclipse.emf.common.util.EMap<WorkflowComponent,WorkflowComponentExecutionInfo> getExecutionInfo()
Returns the value of the 'Execution Info' map. The key is of type WorkflowComponent, and the value is of type WorkflowComponentExecutionInfo,

If the meaning of the 'Execution Info' map isn't clear, there really should be more of a description here...

Returns:
the value of the 'Execution Info' map.
See Also:
RuntimePackage.getWorkflowContext_ExecutionInfo()
EMF generated code
EMF model element
mapType="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowComponentExecutionInfoMap"

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), RuntimePackage.getWorkflowContext_Name()
EMF generated code
EMF model element
required="true"

setName

public void setName(java.lang.String newName)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getParentContext

public WorkflowContext getParentContext()
Returns the value of the 'Parent Context' reference.

If the meaning of the 'Parent Context' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parent Context' reference.
See Also:
setParentContext(WorkflowContext), RuntimePackage.getWorkflowContext_ParentContext()
EMF generated code
EMF model element

basicGetParentContext

public WorkflowContext basicGetParentContext()

EMF generated code

setParentContext

public void setParentContext(WorkflowContext newParentContext)
Sets the value of the 'Parent Context' reference.

Parameters:
value - the new value of the 'Parent Context' reference.
See Also:
getParentContext()
EMF generated code

clearLog

public void clearLog(WorkflowComponent component)

EMF generated code
NOT
EMF model element
componentRequired="true"

getParameterValue

public org.eclipse.emf.ecore.EObject getParameterValue(WorkflowParameter parameter)
                                                throws WorkflowRuntimeException

Throws:
WorkflowRuntimeException
EMF generated code
NOT
EMF model element
exceptions="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowRuntimeException" parameterRequired="true"

getState

public WorkflowState getState(WorkflowComponent component)

EMF generated code
NOT
EMF model element
componentRequired="true"

logError

public void logError(WorkflowComponent component,
                     java.lang.String message)

EMF generated code
NOT
EMF model element
componentRequired="true" messageRequired="true"

logWarning

public void logWarning(WorkflowComponent component,
                       java.lang.String message)

EMF generated code
NOT
EMF model element
componentRequired="true" messageRequired="true"

logInfo

public void logInfo(WorkflowComponent component,
                    java.lang.String message)

EMF generated code
NOT
EMF model element
componentRequired="true" messageRequired="true"

logDebug

public void logDebug(WorkflowComponent component,
                     java.lang.String message)

EMF generated code
NOT
EMF model element
componentRequired="true" messageRequired="true"

logException

public void logException(WorkflowComponent component,
                         java.lang.Exception exception)

EMF generated code
NOT
EMF model element
componentRequired="true" exceptionDataType="org.eclipse.emf.mwe.ewm.workflow.runtime.Exception" exceptionRequired="true"

setParameterValue

public void setParameterValue(WorkflowParameter parameter,
                              org.eclipse.emf.ecore.EObject value)
                       throws WorkflowRuntimeException

Throws:
WorkflowRuntimeException
EMF generated code
NOT
EMF model element
exceptions="org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowRuntimeException" parameterRequired="true" valueRequired="true"

setState

public void setState(WorkflowComponent component,
                     WorkflowState state)

EMF generated code
NOT
EMF model element
componentRequired="true" stateRequired="true"

reset

public void reset(WorkflowComponent component)

EMF generated code
NOT
EMF model element

resetState

public void resetState(WorkflowComponent component)

EMF generated code
NOT
EMF model element

resetLog

public void resetLog(WorkflowComponent component)

EMF generated code
NOT
EMF model element

setExecutionInfo

public void setExecutionInfo(WorkflowComponent component,
                             WorkflowComponentExecutionInfo executionInfo)

EMF generated code
NOT
EMF model element
componentRequired="true" executionInfoRequired="true"

initializeState

public void initializeState()

EMF generated code
NOT
EMF model element

getExecutionInfo

public WorkflowComponentExecutionInfo getExecutionInfo(WorkflowComponent component)

EMF generated code
NOT
EMF model element
componentRequired="true"

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code