org.eclipse.emf.mwe.ewm.workflow
Class WorkflowComponent

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.WorkflowComponent
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
WorkflowComponentProxy, WorkflowCompositeComponent, WorkflowUnitOfWork

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

A representation of the model object 'Workflow Component'. This is the abstract base class for all modeled workflows. This class is not intended to be extended. Clients should extend WorkflowUnitOfWork. An orchestration strategy must be specified for each workflow component instance.

The following features are supported:

See Also:
WorkflowPackage.getWorkflowComponent()
EMF generated code
EMF model element
kind="class" abstract="true"

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  WorkflowComponentOrchestrationStrategy componentOrchestrationStrategy
          The cached value of the 'Component Orchestration Strategy' containment reference.
protected  java.lang.String description
          The cached value of the 'Description' attribute.
protected static java.lang.String DESCRIPTION_EDEFAULT
          The default value of the 'Description' 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  java.lang.String type
          The cached value of the 'Type' attribute.
protected static java.lang.String TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
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 WorkflowComponent()
           
 
Method Summary
abstract  void accept(IWorkflowVisitor visitor)
          Clients must override this function and call the appropriate visitor function.
 org.eclipse.emf.common.notify.NotificationChain basicSetComponentOrchestrationStrategy(WorkflowComponentOrchestrationStrategy newComponentOrchestrationStrategy, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 WorkflowComponentOrchestrationStrategy getComponentOrchestrationStrategy()
          Returns the value of the 'Component Orchestration Strategy' containment reference.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
abstract  WorkflowState run(WorkflowContext context)
          Clients must override this function to perform the work of the workflow component.
 void setComponentOrchestrationStrategy(WorkflowComponentOrchestrationStrategy newComponentOrchestrationStrategy)
          Sets the value of the 'Component Orchestration Strategy' containment reference.
 void setDescription(java.lang.String newDescription)
          Sets the value of the 'Description' attribute.
 void setName(java.lang.String newName)
          Sets the value of the 'Name' attribute.
 void setType(java.lang.String newType)
          Sets the value of the 'Type' attribute.
 void start(WorkflowContext context)
           
 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

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

TYPE_EDEFAULT

protected static final java.lang.String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()
EMF generated code
EMF ordered

type

protected java.lang.String type
The cached value of the 'Type' attribute.

See Also:
getType()
EMF generated code
EMF ordered

DESCRIPTION_EDEFAULT

protected static final java.lang.String DESCRIPTION_EDEFAULT
The default value of the 'Description' attribute.

See Also:
getDescription()
EMF generated code
EMF ordered

description

protected java.lang.String description
The cached value of the 'Description' attribute.

See Also:
getDescription()
EMF generated code
EMF ordered

componentOrchestrationStrategy

protected WorkflowComponentOrchestrationStrategy componentOrchestrationStrategy
The cached value of the 'Component Orchestration Strategy' containment reference.

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

WorkflowComponent

protected WorkflowComponent()

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

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), WorkflowPackage.getWorkflowComponent_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

getType

public java.lang.String getType()
Returns the value of the 'Type' attribute.

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

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), WorkflowPackage.getWorkflowComponent_Type()
EMF generated code
EMF model element
required="true"

setType

public void setType(java.lang.String newType)
Sets the value of the 'Type' attribute.

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

getDescription

public java.lang.String getDescription()
Returns the value of the 'Description' attribute.

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

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), WorkflowPackage.getWorkflowComponent_Description()
EMF generated code
EMF model element

setDescription

public void setDescription(java.lang.String newDescription)
Sets the value of the 'Description' attribute.

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

getComponentOrchestrationStrategy

public WorkflowComponentOrchestrationStrategy getComponentOrchestrationStrategy()
Returns the value of the 'Component Orchestration Strategy' containment reference.

If the meaning of the 'Component Orchestration Strategy' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Component Orchestration Strategy' containment reference.
See Also:
setComponentOrchestrationStrategy(WorkflowComponentOrchestrationStrategy), WorkflowPackage.getWorkflowComponent_ComponentOrchestrationStrategy()
EMF generated code
EMF model element
containment="true"

basicSetComponentOrchestrationStrategy

public org.eclipse.emf.common.notify.NotificationChain basicSetComponentOrchestrationStrategy(WorkflowComponentOrchestrationStrategy newComponentOrchestrationStrategy,
                                                                                              org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setComponentOrchestrationStrategy

public void setComponentOrchestrationStrategy(WorkflowComponentOrchestrationStrategy newComponentOrchestrationStrategy)
Sets the value of the 'Component Orchestration Strategy' containment reference.

Parameters:
value - the new value of the 'Component Orchestration Strategy' containment reference.
See Also:
getComponentOrchestrationStrategy()
EMF generated code

run

public abstract WorkflowState run(WorkflowContext context)
                           throws WorkflowRuntimeException
Clients must override this function to perform the work of the workflow component.

Throws:
WorkflowRuntimeException
EMF generated code
NOT
EMF model element

accept

public abstract void accept(IWorkflowVisitor visitor)
Clients must override this function and call the appropriate visitor function.

EMF generated code
NOT
EMF model element

start

public final void start(WorkflowContext context)

EMF generated code
NOT
EMF model element

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
NOT