edu.cmu.sei.aadl.model.core.impl
Class ModeTransitionImpl

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 edu.cmu.sei.aadl.model.core.impl.AObjectImpl
                  extended by edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
                      extended by edu.cmu.sei.aadl.model.core.impl.ModeTransitionImpl
All Implemented Interfaces:
AObject, ModeTransition, NamedElement, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class ModeTransitionImpl
extends NamedElementImpl
implements ModeTransition

An implementation of the model object 'Mode Transition'.

The following features are implemented:


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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
protected  Mode dstMode
          The cached value of the 'Dst Mode' reference
protected  java.lang.String dstModeName
           
protected  java.util.Vector eventName
          holds list of parsed event references
protected  org.eclipse.emf.common.util.EList members
          The cached value of the 'Members' reference list
protected  Mode srcMode
          The cached value of the 'Src Mode' reference
protected  java.lang.String srcModeName
           
protected  org.eclipse.emf.common.util.EList triggerEventPort
          The cached value of the 'Trigger Event Port' reference list
protected  org.eclipse.emf.common.util.EList triggerEventPortContext
          The cached value of the 'Trigger Event Port Context' reference list
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
comment, locationReference
 
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 ModeTransitionImpl()
           
 
Method Summary
 void addMembers(Connection newMembers)
          phf: add element to multiplicity EList
 void addPortReference(FeatureReference fr)
          add port reference names
 void addTriggerEventPort(EventPort newTriggerEventPort)
          phf: add element to multiplicity EList
 void addTriggerEventPortContext(FeatureContext newTriggerEventPortContext)
          phf: add element to multiplicity EList
 org.eclipse.emf.common.notify.NotificationChain basicSetDstMode(Mode newDstMode, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSrcMode(Mode newSrcMode, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 Mode getDstMode()
           
 java.lang.String getDstModeName()
          get dst mode name
 org.eclipse.emf.common.util.EList getMembers()
           
 java.util.Vector getPortReference()
          get port reference names as vector
 org.eclipse.emf.common.util.EList getPossibleTriggerEventPort()
          get possible trigger event ports, i.e., those that could be used as triggering event ports
 Mode getSrcMode()
           
 java.lang.String getSrcModeName()
          get src mode name
 org.eclipse.emf.common.util.EList getTriggerEventPort()
           
 org.eclipse.emf.common.util.EList getTriggerEventPortContext()
           
 void setDstMode(Mode newDstMode)
          phf: we want an add version for EList
 void setDstModeName(java.lang.String fr)
          set dst mode name
 void setSrcMode(Mode newSrcMode)
          phf: we want an add version for EList
 void setSrcModeName(java.lang.String fr)
          set src mode name
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
checkName, getName, setName, toString
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
addComment, eObjectForURIFragmentSegment, eURIFragmentSegment, getAadlSpec, getAdapter, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement
getName, setName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

eventName

protected java.util.Vector eventName
holds list of parsed event references


srcModeName

protected java.lang.String srcModeName

dstModeName

protected java.lang.String dstModeName

srcMode

protected Mode srcMode
The cached value of the 'Src Mode' reference.

See Also:
getSrcMode()

dstMode

protected Mode dstMode
The cached value of the 'Dst Mode' reference.

See Also:
getDstMode()

triggerEventPort

protected org.eclipse.emf.common.util.EList triggerEventPort
The cached value of the 'Trigger Event Port' reference list.

See Also:
getTriggerEventPort()

members

protected org.eclipse.emf.common.util.EList members
The cached value of the 'Members' reference list.

See Also:
getMembers()

triggerEventPortContext

protected org.eclipse.emf.common.util.EList triggerEventPortContext
The cached value of the 'Trigger Event Port Context' reference list.

See Also:
getTriggerEventPortContext()
Constructor Detail

ModeTransitionImpl

protected ModeTransitionImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class NamedElementImpl

getSrcMode

public Mode getSrcMode()

Specified by:
getSrcMode in interface ModeTransition
Returns:
the value of the 'Src Mode' reference.
See Also:
ModeTransition.setSrcMode(Mode), CorePackage.getModeTransition_SrcMode(), Mode.getOutgoingModeTransition()

basicSetSrcMode

public org.eclipse.emf.common.notify.NotificationChain basicSetSrcMode(Mode newSrcMode,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setSrcMode

public void setSrcMode(Mode newSrcMode)
phf: we want an add version for EList

Specified by:
setSrcMode in interface ModeTransition
Parameters:
newSrcMode - the new value of the 'Src Mode' reference.
See Also:
ModeTransition.getSrcMode()

getDstMode

public Mode getDstMode()

Specified by:
getDstMode in interface ModeTransition
Returns:
the value of the 'Dst Mode' reference.
See Also:
ModeTransition.setDstMode(Mode), CorePackage.getModeTransition_DstMode(), Mode.getIncomingModeTransition()

basicSetDstMode

public org.eclipse.emf.common.notify.NotificationChain basicSetDstMode(Mode newDstMode,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setDstMode

public void setDstMode(Mode newDstMode)
phf: we want an add version for EList

Specified by:
setDstMode in interface ModeTransition
Parameters:
newDstMode - the new value of the 'Dst Mode' reference.
See Also:
ModeTransition.getDstMode()

getTriggerEventPort

public org.eclipse.emf.common.util.EList getTriggerEventPort()

Specified by:
getTriggerEventPort in interface ModeTransition
Returns:
the value of the 'Trigger Event Port' reference list.
See Also:
CorePackage.getModeTransition_TriggerEventPort()

addTriggerEventPort

public void addTriggerEventPort(EventPort newTriggerEventPort)
phf: add element to multiplicity EList

Specified by:
addTriggerEventPort in interface ModeTransition
Parameters:
newTriggerEventPort - the value to add to 'Trigger Event Port' reference list.

getMembers

public org.eclipse.emf.common.util.EList getMembers()

Specified by:
getMembers in interface ModeTransition
Returns:
the value of the 'Members' reference list.
See Also:
CorePackage.getModeTransition_Members(), Connection.getInModeTransitions()

addMembers

public void addMembers(Connection newMembers)
phf: add element to multiplicity EList

Specified by:
addMembers in interface ModeTransition
Parameters:
newMembers - the value to add to 'Members' reference list.

getTriggerEventPortContext

public org.eclipse.emf.common.util.EList getTriggerEventPortContext()

Specified by:
getTriggerEventPortContext in interface ModeTransition
Returns:
the value of the 'Trigger Event Port Context' reference list.
See Also:
CorePackage.getModeTransition_TriggerEventPortContext()

addTriggerEventPortContext

public void addTriggerEventPortContext(FeatureContext newTriggerEventPortContext)
phf: add element to multiplicity EList

Specified by:
addTriggerEventPortContext in interface ModeTransition
Parameters:
newTriggerEventPortContext - the value to add to 'Trigger Event Port Context' reference list.

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

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

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 NamedElementImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class NamedElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class NamedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class NamedElementImpl

addPortReference

public void addPortReference(FeatureReference fr)
add port reference names

Specified by:
addPortReference in interface ModeTransition

getPortReference

public java.util.Vector getPortReference()
get port reference names as vector

Specified by:
getPortReference in interface ModeTransition

setSrcModeName

public void setSrcModeName(java.lang.String fr)
set src mode name

Specified by:
setSrcModeName in interface ModeTransition

setDstModeName

public void setDstModeName(java.lang.String fr)
set dst mode name

Specified by:
setDstModeName in interface ModeTransition

getSrcModeName

public java.lang.String getSrcModeName()
get src mode name

Specified by:
getSrcModeName in interface ModeTransition

getDstModeName

public java.lang.String getDstModeName()
get dst mode name

Specified by:
getDstModeName in interface ModeTransition

getPossibleTriggerEventPort

public org.eclipse.emf.common.util.EList getPossibleTriggerEventPort()
get possible trigger event ports, i.e., those that could be used as triggering event ports

Specified by:
getPossibleTriggerEventPort in interface ModeTransition