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

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.WorkflowParameter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

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

A representation of the model object 'Parameter'.

The following features are supported:

See Also:
WorkflowPackage.getWorkflowParameter()
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  WorkflowParameterConnection connection
          The cached value of the 'Connection' 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  WorkflowParameterDirection direction
          The cached value of the 'Direction' attribute.
protected static WorkflowParameterDirection DIRECTION_EDEFAULT
          The default value of the 'Direction' 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  boolean required
          The cached value of the 'Required' attribute.
protected static boolean REQUIRED_EDEFAULT
          The default value of the 'Required' attribute.
protected  org.eclipse.emf.ecore.EClassifier type
          The cached value of the 'Type' reference.
protected  WorkflowParameterValueStrategy valueStrategy
          The cached value of the 'Value Strategy' containment 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 WorkflowParameter()
           
 
Method Summary
 WorkflowParameterConnection basicGetConnection()
           
 org.eclipse.emf.ecore.EClassifier basicGetType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetConnection(WorkflowParameterConnection newConnection, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetValueStrategy(WorkflowParameterValueStrategy newValueStrategy, org.eclipse.emf.common.notify.NotificationChain msgs)
           
protected  java.lang.Object doGetValue(WorkflowContext context)
          Get the value of the parameter from the context
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 WorkflowParameterConnection getConnection()
          Returns the value of the 'Connection' reference.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 WorkflowParameterDirection getDirection()
          Returns the value of the 'Direction' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 org.eclipse.emf.ecore.EClassifier getType()
          Returns the value of the 'Type' reference.
 java.lang.Object getValue(WorkflowContext context)
           
 WorkflowParameterValueStrategy getValueStrategy()
          Returns the value of the 'Value Strategy' containment reference.
 boolean isRequired()
          Returns the value of the 'Required' attribute.
 void setConnection(WorkflowParameterConnection newConnection)
          Sets the value of the 'Connection' reference.
 void setDescription(java.lang.String newDescription)
          Sets the value of the 'Description' attribute.
 void setDirection(WorkflowParameterDirection newDirection)
          Sets the value of the 'Direction' attribute.
 void setName(java.lang.String newName)
          Sets the value of the 'Name' attribute.
 void setRequired(boolean newRequired)
          Sets the value of the 'Required' attribute.
 void setType(org.eclipse.emf.ecore.EClassifier newType)
          Sets the value of the 'Type' reference.
 void setValue(WorkflowContext context, java.lang.Object value)
           
 void setValueStrategy(WorkflowParameterValueStrategy newValueStrategy)
          Sets the value of the 'Value Strategy' containment 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, 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

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

connection

protected WorkflowParameterConnection connection
The cached value of the 'Connection' reference.

See Also:
getConnection()
EMF generated code
EMF ordered

REQUIRED_EDEFAULT

protected static final boolean REQUIRED_EDEFAULT
The default value of the 'Required' attribute.

See Also:
isRequired(), Constant Field Values
EMF generated code
EMF ordered

required

protected boolean required
The cached value of the 'Required' attribute.

See Also:
isRequired()
EMF generated code
EMF ordered

type

protected org.eclipse.emf.ecore.EClassifier type
The cached value of the 'Type' reference.

See Also:
getType()
EMF generated code
EMF ordered

valueStrategy

protected WorkflowParameterValueStrategy valueStrategy
The cached value of the 'Value Strategy' containment reference.

See Also:
getValueStrategy()
EMF generated code
EMF ordered

DIRECTION_EDEFAULT

protected static final WorkflowParameterDirection DIRECTION_EDEFAULT
The default value of the 'Direction' attribute.

See Also:
getDirection()
EMF generated code
EMF ordered

direction

protected WorkflowParameterDirection direction
The cached value of the 'Direction' attribute.

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

WorkflowParameter

protected WorkflowParameter()

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

getType

public org.eclipse.emf.ecore.EClassifier getType()
Returns the value of the 'Type' reference.

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' reference.
See Also:
setType(EClassifier), WorkflowPackage.getWorkflowParameter_Type()
EMF generated code
EMF model element
required="true"

basicGetType

public org.eclipse.emf.ecore.EClassifier basicGetType()

EMF generated code

setType

public void setType(org.eclipse.emf.ecore.EClassifier newType)
Sets the value of the 'Type' reference.

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

getValueStrategy

public WorkflowParameterValueStrategy getValueStrategy()
Returns the value of the 'Value Strategy' containment reference.

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

Returns:
the value of the 'Value Strategy' containment reference.
See Also:
setValueStrategy(WorkflowParameterValueStrategy), WorkflowPackage.getWorkflowParameter_ValueStrategy()
EMF generated code
EMF model element
containment="true" required="true"

basicSetValueStrategy

public org.eclipse.emf.common.notify.NotificationChain basicSetValueStrategy(WorkflowParameterValueStrategy newValueStrategy,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setValueStrategy

public void setValueStrategy(WorkflowParameterValueStrategy newValueStrategy)
Sets the value of the 'Value Strategy' containment reference.

Parameters:
value - the new value of the 'Value Strategy' containment reference.
See Also:
getValueStrategy()
EMF generated code

getDirection

public WorkflowParameterDirection getDirection()
Returns the value of the 'Direction' attribute. The literals are from the enumeration WorkflowParameterDirection.

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

Returns:
the value of the 'Direction' attribute.
See Also:
WorkflowParameterDirection, setDirection(WorkflowParameterDirection), WorkflowPackage.getWorkflowParameter_Direction()
EMF generated code
EMF model element
required="true"

setDirection

public void setDirection(WorkflowParameterDirection newDirection)
Sets the value of the 'Direction' attribute.

Parameters:
value - the new value of the 'Direction' attribute.
See Also:
WorkflowParameterDirection, getDirection()
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.getWorkflowParameter_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

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.getWorkflowParameter_Description()
EMF generated code
EMF model element
required="true"

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

getConnection

public WorkflowParameterConnection getConnection()
Returns the value of the 'Connection' reference. It is bidirectional and its opposite is 'Target Parameters'.

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

Returns:
the value of the 'Connection' reference.
See Also:
setConnection(WorkflowParameterConnection), WorkflowPackage.getWorkflowParameter_Connection(), WorkflowParameterConnection.getTargetParameters()
EMF generated code
EMF model element
opposite="targetParameters"

basicGetConnection

public WorkflowParameterConnection basicGetConnection()

EMF generated code

basicSetConnection

public org.eclipse.emf.common.notify.NotificationChain basicSetConnection(WorkflowParameterConnection newConnection,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setConnection

public void setConnection(WorkflowParameterConnection newConnection)
Sets the value of the 'Connection' reference.

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

isRequired

public boolean isRequired()
Returns the value of the 'Required' attribute.

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

Returns:
the value of the 'Required' attribute.
See Also:
setRequired(boolean), WorkflowPackage.getWorkflowParameter_Required()
EMF generated code
EMF model element
required="true"

setRequired

public void setRequired(boolean newRequired)
Sets the value of the 'Required' attribute.

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

getValue

public final java.lang.Object getValue(WorkflowContext context)
                                throws WorkflowRuntimeException

Parameters:
context -
Returns:
the parameter value
Throws:
WorkflowRuntimeException
EMF generated code
NOT
EMF model element

setValue

public void setValue(WorkflowContext context,
                     java.lang.Object value)
              throws WorkflowRuntimeException

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

doGetValue

protected java.lang.Object doGetValue(WorkflowContext context)
                               throws WorkflowRuntimeException
Get the value of the parameter from the context

Parameters:
context -
Returns:
the value of the parameter
Throws:
WorkflowRuntimeException

eInverseAdd

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

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

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