ujf.verimag.bip.Core.Behaviors.impl
Class AbstractTransitionImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
          extended by ujf.verimag.bip.Core.Behaviors.impl.AbstractTransitionImpl
All Implemented Interfaces:
AbstractTransition, NamedElement
Direct Known Subclasses:
MultiTransitionImpl, TransitionImpl

public abstract class AbstractTransitionImpl
extends NamedElementImpl
implements AbstractTransition

An implementation of the model object 'Abstract Transition'.

The following features are implemented:


Field Summary
protected  Action action
          The cached value of the 'Action' containment reference.
protected  Expression guard
          The cached value of the 'Guard' containment reference.
protected   origin
          The cached value of the 'Origin' reference list.
protected  TimeReset timeReset
          The cached value of the 'Time Reset' containment reference.
protected  TimeSpecification timeSpecification
          The cached value of the 'Time Specification' containment reference.
protected  PortExpression trigger
          The cached value of the 'Trigger' containment reference.
 
Fields inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
name, NAME_EDEFAULT, scope, SCOPE_EDEFAULT
 
Constructor Summary
protected AbstractTransitionImpl()
           
 
Method Summary
 NotificationChain basicSetAction(Action newAction, NotificationChain msgs)
           
 NotificationChain basicSetGuard(Expression newGuard, NotificationChain msgs)
           
 NotificationChain basicSetTimeReset(TimeReset newTimeReset, NotificationChain msgs)
           
 NotificationChain basicSetTimeSpecification(TimeSpecification newTimeSpecification, NotificationChain msgs)
           
 NotificationChain basicSetTrigger(PortExpression newTrigger, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Action getAction()
           
 Expression getGuard()
           
  getOrigin()
           
 TimeReset getTimeReset()
           
 TimeSpecification getTimeSpecification()
           
 PortExpression getTrigger()
           
 void setAction(Action newAction)
           
 void setGuard(Expression newGuard)
           
 void setTimeReset(TimeReset newTimeReset)
           
 void setTimeSpecification(TimeSpecification newTimeSpecification)
           
 void setTrigger(PortExpression newTrigger)
           
 
Methods inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
getName, getScope, setName, setScope, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ujf.verimag.bip.Core.Behaviors.NamedElement
getName, getScope, setName, setScope
 

Field Detail

origin

protected  origin
The cached value of the 'Origin' reference list.

See Also:
getOrigin()

guard

protected Expression guard
The cached value of the 'Guard' containment reference.

See Also:
getGuard()

action

protected Action action
The cached value of the 'Action' containment reference.

See Also:
getAction()

trigger

protected PortExpression trigger
The cached value of the 'Trigger' containment reference.

See Also:
getTrigger()

timeReset

protected TimeReset timeReset
The cached value of the 'Time Reset' containment reference.

See Also:
getTimeReset()

timeSpecification

protected TimeSpecification timeSpecification
The cached value of the 'Time Specification' containment reference.

See Also:
getTimeSpecification()
Constructor Detail

AbstractTransitionImpl

protected AbstractTransitionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedElementImpl

getOrigin

public  getOrigin()

Specified by:
getOrigin in interface AbstractTransition
Returns:
the value of the 'Origin' reference list.
See Also:
BehaviorsPackage.getAbstractTransition_Origin(), State.getOutgoing()

getGuard

public Expression getGuard()

Specified by:
getGuard in interface AbstractTransition
Returns:
the value of the 'Guard' containment reference.
See Also:
AbstractTransition.setGuard(Expression), BehaviorsPackage.getAbstractTransition_Guard()

basicSetGuard

public NotificationChain basicSetGuard(Expression newGuard,
                                       NotificationChain msgs)


setGuard

public void setGuard(Expression newGuard)

Specified by:
setGuard in interface AbstractTransition
Parameters:
newGuard - the new value of the 'Guard' containment reference.
See Also:
AbstractTransition.getGuard()

getAction

public Action getAction()

Specified by:
getAction in interface AbstractTransition
Returns:
the value of the 'Action' containment reference.
See Also:
AbstractTransition.setAction(Action), BehaviorsPackage.getAbstractTransition_Action()

basicSetAction

public NotificationChain basicSetAction(Action newAction,
                                        NotificationChain msgs)


setAction

public void setAction(Action newAction)

Specified by:
setAction in interface AbstractTransition
Parameters:
newAction - the new value of the 'Action' containment reference.
See Also:
AbstractTransition.getAction()

getTrigger

public PortExpression getTrigger()

Specified by:
getTrigger in interface AbstractTransition
Returns:
the value of the 'Trigger' containment reference.
See Also:
AbstractTransition.setTrigger(PortExpression), BehaviorsPackage.getAbstractTransition_Trigger()

basicSetTrigger

public NotificationChain basicSetTrigger(PortExpression newTrigger,
                                         NotificationChain msgs)


setTrigger

public void setTrigger(PortExpression newTrigger)

Specified by:
setTrigger in interface AbstractTransition
Parameters:
newTrigger - the new value of the 'Trigger' containment reference.
See Also:
AbstractTransition.getTrigger()

getTimeReset

public TimeReset getTimeReset()

Specified by:
getTimeReset in interface AbstractTransition
Returns:
the value of the 'Time Reset' containment reference.
See Also:
AbstractTransition.setTimeReset(TimeReset), BehaviorsPackage.getAbstractTransition_TimeReset()

basicSetTimeReset

public NotificationChain basicSetTimeReset(TimeReset newTimeReset,
                                           NotificationChain msgs)


setTimeReset

public void setTimeReset(TimeReset newTimeReset)

Specified by:
setTimeReset in interface AbstractTransition
Parameters:
newTimeReset - the new value of the 'Time Reset' containment reference.
See Also:
AbstractTransition.getTimeReset()

getTimeSpecification

public TimeSpecification getTimeSpecification()

Specified by:
getTimeSpecification in interface AbstractTransition
Returns:
the value of the 'Time Specification' containment reference.
See Also:
AbstractTransition.setTimeSpecification(TimeSpecification), BehaviorsPackage.getAbstractTransition_TimeSpecification(), TimeSpecification.getTransition()

basicSetTimeSpecification

public NotificationChain basicSetTimeSpecification(TimeSpecification newTimeSpecification,
                                                   NotificationChain msgs)


setTimeSpecification

public void setTimeSpecification(TimeSpecification newTimeSpecification)

Specified by:
setTimeSpecification in interface AbstractTransition
Parameters:
newTimeSpecification - the new value of the 'Time Specification' containment reference.
See Also:
AbstractTransition.getTimeSpecification()

eInverseAdd

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


eInverseRemove

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


eGet

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

Overrides:
eGet in class NamedElementImpl

eSet

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

Overrides:
eSet in class NamedElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class NamedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class NamedElementImpl