de.uka.ipd.sdq.spa.impl
Class ProcessBehaviourImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.spa.impl.ProcessBehaviourImpl
All Implemented Interfaces:
ProcessBehaviour

public class ProcessBehaviourImpl
extends EObjectImpl
implements ProcessBehaviour

An implementation of the model object 'Process Behaviour'.

The following features are implemented:


Field Summary
protected  Expression behaviour
          The cached value of the 'Behaviour' containment reference.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected static int NUM_REPLICAS_EDEFAULT
          The default value of the 'Num Replicas' attribute.
protected  int numReplicas
          The cached value of the 'Num Replicas' attribute.
 
Constructor Summary
protected ProcessBehaviourImpl()
           
 
Method Summary
 NotificationChain basicSetBehaviour(Expression newBehaviour, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Expression getBehaviour()
           
 String getName()
           
 int getNumReplicas()
           
 void setBehaviour(Expression newBehaviour)
           
 void setName(String newName)
           
 void setNumReplicas(int newNumReplicas)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NUM_REPLICAS_EDEFAULT

protected static final int NUM_REPLICAS_EDEFAULT
The default value of the 'Num Replicas' attribute.

See Also:
getNumReplicas(), Constant Field Values

numReplicas

protected int numReplicas
The cached value of the 'Num Replicas' attribute.

See Also:
getNumReplicas()

NAME_EDEFAULT

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

See Also:
getName(), Constant Field Values

name

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

See Also:
getName()

behaviour

protected Expression behaviour
The cached value of the 'Behaviour' containment reference.

See Also:
getBehaviour()
Constructor Detail

ProcessBehaviourImpl

protected ProcessBehaviourImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getNumReplicas

public int getNumReplicas()

Specified by:
getNumReplicas in interface ProcessBehaviour
Returns:
the value of the 'Num Replicas' attribute.
See Also:
ProcessBehaviour.setNumReplicas(int), SpaPackage.getProcessBehaviour_NumReplicas()

setNumReplicas

public void setNumReplicas(int newNumReplicas)

Specified by:
setNumReplicas in interface ProcessBehaviour
Parameters:
newNumReplicas - the new value of the 'Num Replicas' attribute.
See Also:
ProcessBehaviour.getNumReplicas()

getName

public String getName()

Specified by:
getName in interface ProcessBehaviour
Returns:
the value of the 'Name' attribute.
See Also:
ProcessBehaviour.setName(String), SpaPackage.getProcessBehaviour_Name()

setName

public void setName(String newName)

Specified by:
setName in interface ProcessBehaviour
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
ProcessBehaviour.getName()

getBehaviour

public Expression getBehaviour()

Specified by:
getBehaviour in interface ProcessBehaviour
Returns:
the value of the 'Behaviour' containment reference.
See Also:
ProcessBehaviour.setBehaviour(Expression), SpaPackage.getProcessBehaviour_Behaviour()

basicSetBehaviour

public NotificationChain basicSetBehaviour(Expression newBehaviour,
                                           NotificationChain msgs)


setBehaviour

public void setBehaviour(Expression newBehaviour)

Specified by:
setBehaviour in interface ProcessBehaviour
Parameters:
newBehaviour - the new value of the 'Behaviour' containment reference.
See Also:
ProcessBehaviour.getBehaviour()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()