org.eclipse.emf.mwe.ewm.workflow.transaction.runtime
Class WorkflowTransactionalContext

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
                  extended by org.eclipse.emf.mwe.ewm.workflow.transaction.runtime.WorkflowTransactionalContext
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class WorkflowTransactionalContext
extends WorkflowContext

A representation of the model object 'Workflow Transactional Context'.

The following features are supported:

See Also:
RuntimePackage.getWorkflowTransactionalContext()
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 static TransactionalEditingDomain EDITING_DOMAIN_EDEFAULT
          The default value of the 'Editing Domain' attribute.
protected  TransactionalEditingDomain editingDomain
          The cached value of the 'Editing Domain' attribute.
protected static java.util.concurrent.ExecutorService THREAD_POOL_EDEFAULT
          The default value of the 'Thread Pool' attribute.
protected  java.util.concurrent.ExecutorService threadPool
          The cached value of the 'Thread Pool' attribute.
 
Fields inherited from class org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowContext
activeComponents, executionInfo, log, LOG_LEVEL_EDEFAULT, logLevel, name, NAME_EDEFAULT, parameters, parentContext, states, workflow
 
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 WorkflowTransactionalContext()
           
 
Method Summary
 void clearLog(WorkflowComponent component)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 TransactionalEditingDomain getEditingDomain()
          Returns the value of the 'Editing Domain' attribute.
 WorkflowComponentExecutionInfo getExecutionInfo(WorkflowComponent component)
           
 org.eclipse.emf.ecore.EObject getParameterValue(WorkflowParameter parameter)
           
 WorkflowState getState(WorkflowComponent component)
           
 java.util.concurrent.ExecutorService getThreadPool()
          Returns the value of the 'Thread Pool' attribute.
 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 setEditingDomain(TransactionalEditingDomain newEditingDomain)
          Sets the value of the 'Editing Domain' attribute.
 void setExecutionInfo(WorkflowComponent component, WorkflowComponentExecutionInfo executionInfo)
           
 void setParameterValue(WorkflowParameter parameter, org.eclipse.emf.ecore.EObject value)
           
 void setParameterValue(WorkflowParameter parameter, java.lang.Object value)
           
 void setState(WorkflowComponent component, WorkflowState state)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowContext
basicGetParentContext, basicGetWorkflow, eInverseRemove, getActiveComponents, getExecutionInfo, getLog, getLogLevel, getName, getParameters, getParentContext, getStates, getWorkflow, initializeState, reset, resetLog, resetState, setLogLevel, setName, setParentContext, setWorkflow
 
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

EDITING_DOMAIN_EDEFAULT

protected static final TransactionalEditingDomain EDITING_DOMAIN_EDEFAULT
The default value of the 'Editing Domain' attribute.

See Also:
getEditingDomain()
EMF generated code
EMF ordered

editingDomain

protected TransactionalEditingDomain editingDomain
The cached value of the 'Editing Domain' attribute.

See Also:
getEditingDomain()
EMF generated code
EMF ordered

THREAD_POOL_EDEFAULT

protected static final java.util.concurrent.ExecutorService THREAD_POOL_EDEFAULT
The default value of the 'Thread Pool' attribute.

See Also:
getThreadPool()
EMF generated code
EMF ordered

threadPool

protected java.util.concurrent.ExecutorService threadPool
The cached value of the 'Thread Pool' attribute.

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

WorkflowTransactionalContext

protected WorkflowTransactionalContext()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class WorkflowContext
EMF generated code

getEditingDomain

public TransactionalEditingDomain getEditingDomain()
Returns the value of the 'Editing Domain' attribute.

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

Returns:
the value of the 'Editing Domain' attribute.
See Also:
setEditingDomain(TransactionalEditingDomain), RuntimePackage.getWorkflowTransactionalContext_EditingDomain()
EMF generated code
NOT
EMF model element
dataType="org.eclipse.emf.mwe.ewm.workflow.transaction.TransactionalEditingDomain" required="true" transient="true"

getThreadPool

public java.util.concurrent.ExecutorService getThreadPool()
Returns the value of the 'Thread Pool' attribute.

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

Returns:
the value of the 'Thread Pool' attribute.
See Also:
org.eclipse.emf.mwe.ewm.workflow.WorkflowPackage#getWorkflowContext_ThreadPool()
EMF generated code
NOT
EMF model element
dataType="org.eclipse.emf.workflow.ExecutorService" transient="true" changeable="false"

setEditingDomain

public void setEditingDomain(TransactionalEditingDomain newEditingDomain)
Sets the value of the 'Editing Domain' attribute.

Parameters:
value - the new value of the 'Editing Domain' attribute.
See Also:
getEditingDomain()
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 WorkflowContext
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 WorkflowContext
EMF generated code

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class WorkflowContext
EMF generated code

getParameterValue

public org.eclipse.emf.ecore.EObject getParameterValue(WorkflowParameter parameter)
                                                throws WorkflowRuntimeException
Description copied from class: WorkflowContext

Overrides:
getParameterValue in class WorkflowContext
Throws:
WorkflowRuntimeException

setParameterValue

public void setParameterValue(WorkflowParameter parameter,
                              java.lang.Object value)
                       throws WorkflowRuntimeException

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

setParameterValue

public void setParameterValue(WorkflowParameter parameter,
                              org.eclipse.emf.ecore.EObject value)
                       throws WorkflowRuntimeException
Description copied from class: WorkflowContext

Overrides:
setParameterValue in class WorkflowContext
Throws:
WorkflowRuntimeException

clearLog

public void clearLog(WorkflowComponent component)
Description copied from class: WorkflowContext

Overrides:
clearLog in class WorkflowContext

getExecutionInfo

public WorkflowComponentExecutionInfo getExecutionInfo(WorkflowComponent component)
Description copied from class: WorkflowContext

Overrides:
getExecutionInfo in class WorkflowContext

getState

public WorkflowState getState(WorkflowComponent component)
Description copied from class: WorkflowContext

Overrides:
getState in class WorkflowContext

logDebug

public void logDebug(WorkflowComponent component,
                     java.lang.String message)
Description copied from class: WorkflowContext

Overrides:
logDebug in class WorkflowContext

logError

public void logError(WorkflowComponent component,
                     java.lang.String message)
Description copied from class: WorkflowContext

Overrides:
logError in class WorkflowContext

logException

public void logException(WorkflowComponent component,
                         java.lang.Exception exception)
Description copied from class: WorkflowContext

Overrides:
logException in class WorkflowContext

logInfo

public void logInfo(WorkflowComponent component,
                    java.lang.String message)
Description copied from class: WorkflowContext

Overrides:
logInfo in class WorkflowContext

logWarning

public void logWarning(WorkflowComponent component,
                       java.lang.String message)
Description copied from class: WorkflowContext

Overrides:
logWarning in class WorkflowContext

setExecutionInfo

public void setExecutionInfo(WorkflowComponent component,
                             WorkflowComponentExecutionInfo executionInfo)
Description copied from class: WorkflowContext

Overrides:
setExecutionInfo in class WorkflowContext

setState

public void setState(WorkflowComponent component,
                     WorkflowState state)
Description copied from class: WorkflowContext

Overrides:
setState in class WorkflowContext