edu.cmu.sei.aadl.aadl2.impl
Class ThreadImplementationImpl

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.aadl2.parsesupport.AObjectImpl
                  extended by edu.cmu.sei.aadl.aadl2.impl.ElementImpl
                      extended by edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
                          extended by edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl
                              extended by edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl
                                  extended by edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl
                                      extended by edu.cmu.sei.aadl.aadl2.impl.ComponentImplementationImpl
                                          extended by edu.cmu.sei.aadl.aadl2.impl.BehavioredImplementationImpl
                                              extended by edu.cmu.sei.aadl.aadl2.impl.ThreadImplementationImpl
All Implemented Interfaces:
BehavioredImplementation, Classifier, ComponentClassifier, ComponentImplementation, Element, NamedElement, Namespace, AObject, Thread, ThreadClassifier, ThreadImplementation, Type, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class ThreadImplementationImpl
extends BehavioredImplementationImpl
implements ThreadImplementation

An implementation of the model object 'Thread Implementation'.

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
protected static int[] OWNED_SUBCOMPONENT_ESUBSETS
          The array of subset feature identifiers for the 'Owned Subcomponent' containment reference list
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.BehavioredImplementationImpl
CLASSIFIER_FEATURE_ESUBSETS, MEMBER_ESUBSETS, OWNED_MEMBER_ESUBSETS, ownedSubprogramCallSequences
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentImplementationImpl
connections, flows, GENERAL_ESUBSETS, GENERALIZATION_ESUBSETS, NO_CALLS_EDEFAULT, NO_CONNECTIONS_EDEFAULT, NO_SUBCOMPONENTS_EDEFAULT, noCalls, noConnections, noSubcomponents, ownedExtension, ownedProcessorSubprograms, ownedRealization, subcomponents
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl
NO_FLOWS_EDEFAULT, NO_MODES_EDEFAULT, noFlows, noModes, ownedInternalEvents, ownedModes, ownedModeTransitions, ownedProcessorPorts
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl
NO_ANNEXES_EDEFAULT, NO_PROPERTIES_EDEFAULT, NO_PROTOTYPES_EDEFAULT, noAnnexes, noProperties, noPrototypes, OWNED_ELEMENT_ESUBSETS, ownedAnnexSubclauses, ownedPrototypeBindings, ownedPrototypes
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
name, NAME_EDEFAULT, ownedPropertyAssociations, QUALIFIED_NAME_EDEFAULT
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl
ownedComments
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl
copyright, 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 edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ThreadImplementationImpl()
           
 
Method Summary
 ThreadType basicGetType()
           
 DataSubcomponent createOwnedDataSubcomponent()
           
 SubprogramGroupSubcomponent createOwnedSubprogramGroupSubcomponent()
           
 SubprogramSubcomponent createOwnedSubprogramSubcomponent()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getCategory()
          Returns the category ("abstract", "bus", "data", "device", etc.) for the classifier.
 org.eclipse.emf.common.util.EList<DataSubcomponent> getOwnedDataSubcomponents()
           
 org.eclipse.emf.common.util.EList<Subcomponent> getOwnedSubcomponents()
           
 org.eclipse.emf.common.util.EList<SubprogramGroupSubcomponent> getOwnedSubprogramGroupSubcomponents()
           
 org.eclipse.emf.common.util.EList<SubprogramSubcomponent> getOwnedSubprogramSubcomponents()
           
 ThreadType getType()
           
 boolean isSetOwnedSubcomponents()
           
 boolean isSetType()
           
 void setType(ComponentType newType)
           
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.BehavioredImplementationImpl
callSpecifications, createOwnedSubprogramCallSequence, eInverseRemove, getCallSpecifications, getClassifierFeatures, getMembers, getOwnedMembers, getOwnedSubprogramCallSequences, isSetClassifierFeatures, isSetMembers, isSetOwnedMembers
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentImplementationImpl
addConnection, basicGetExtended, basicSetOwnedExtension, basicSetOwnedRealization, createOwnedAbstractSubcomponent, createOwnedAccessConnection, createOwnedEndToEndFlow, createOwnedExtension, createOwnedFeatureConnection, createOwnedFeatureGroupConnection, createOwnedFlowImplementation, createOwnedParameterConnection, createOwnedPortConnection, createOwnedProcessorSubprogram, createOwnedRealization, findNamedElement, getAllConnections, getAllConnections, getAllEndToEndFlows, getAllFeatures, getAllFlowImplementations, getAllModes, getAllModeTransitions, getAllSubcomponents, getConnections, getExtended, getFlows, getGeneralizations, getGenerals, getImplementationName, getIngoingConnections, getOwnedAbstractSubcomponents, getOwnedAccessConnections, getOwnedConnections, getOwnedConnections, getOwnedEndToEndFlows, getOwnedExtension, getOwnedFeatureConnections, getOwnedFeatureGroupConnections, getOwnedFlowImplementations, getOwnedParameterConnections, getOwnedPortConnections, getOwnedProcessorSubprograms, getOwnedRealization, getPropertyValueInternal, getSubcomponents, getTypeName, isDescendentOf, isNoCalls, isNoConnections, isNoSubcomponents, isSetGeneralizations, isSetGenerals, lookupPrototypeBinding, lookupPrototypeBindingHelper, setExtended, setNoCalls, setNoConnections, setNoSubcomponents, setOwnedExtension, setOwnedRealization, toString
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentClassifierImpl
createOwnedInternalEvent, createOwnedMode, createOwnedModeTransition, createOwnedProcessorPort, getOwnedInternalEvents, getOwnedModes, getOwnedModeTransitions, getOwnedProcessorPorts, isNoFlows, isNoModes, setNoFlows, setNoModes
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ClassifierImpl
acceptsProperty, allFeatures, allParents, checkAppliesToClassifier, conformsTo, createOwnedAnnexSubclause, createOwnedAnnexSubclause, createOwnedPrototype, createOwnedPrototypeBinding, getAllExtendPlusSelf, getAllPropertyAssociations, getInheritedMembers, getMembersGen, getOwnedAnnexSubclauses, getOwnedElements, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isNoAnnexes, isNoProperties, isNoPrototypes, isSetOwnedElements, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl
getNamesOfMember, members_distinguishable, membersAreDistinguishable
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, eBasicRemoveFromContainerFeature, getName, getNamespace, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl
allOwnedElements, create, createOwnedComment, getCacheAdapter, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwner, has_owner, isSetOwner, mustBeOwned, not_own_self
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl
getAdapter, getLocationReference, 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, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, 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, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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 edu.cmu.sei.aadl.aadl2.BehavioredImplementation
callSpecifications, createOwnedSubprogramCallSequence, getCallSpecifications, getOwnedSubprogramCallSequences
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ComponentImplementation
addConnection, createOwnedAbstractSubcomponent, createOwnedAccessConnection, createOwnedEndToEndFlow, createOwnedExtension, createOwnedFeatureConnection, createOwnedFeatureGroupConnection, createOwnedFlowImplementation, createOwnedParameterConnection, createOwnedPortConnection, createOwnedProcessorSubprogram, createOwnedRealization, getAllConnections, getAllConnections, getAllEndToEndFlows, getAllFlowImplementations, getAllModes, getAllModeTransitions, getAllSubcomponents, getConnections, getExtended, getFlows, getImplementationName, getIngoingConnections, getOwnedAbstractSubcomponents, getOwnedAccessConnections, getOwnedConnections, getOwnedConnections, getOwnedEndToEndFlows, getOwnedExtension, getOwnedFeatureConnections, getOwnedFeatureGroupConnections, getOwnedFlowImplementations, getOwnedParameterConnections, getOwnedPortConnections, getOwnedProcessorSubprograms, getOwnedRealization, getSubcomponents, getTypeName, isNoCalls, isNoConnections, isNoSubcomponents, setExtended, setNoCalls, setNoConnections, setNoSubcomponents, setOwnedExtension, setOwnedRealization
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ComponentClassifier
createOwnedInternalEvent, createOwnedMode, createOwnedModeTransition, createOwnedProcessorPort, getOwnedInternalEvents, getOwnedModes, getOwnedModeTransitions, getOwnedProcessorPorts, isNoFlows, isNoModes, setNoFlows, setNoModes
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Classifier
allFeatures, allParents, checkAppliesToClassifier, createOwnedAnnexSubclause, createOwnedAnnexSubclause, createOwnedPrototype, createOwnedPrototypeBinding, getAllExtendPlusSelf, getAllFeatures, getAllPropertyAssociations, getClassifierFeatures, getGeneralizations, getGenerals, getInheritedMembers, getOwnedAnnexSubclauses, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isDescendentOf, isNoAnnexes, isNoProperties, isNoPrototypes, lookupPrototypeBinding, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Namespace
findNamedElement, getMembers, getNamesOfMember, getOwnedMembers, members_distinguishable, membersAreDistinguishable
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Type
conformsTo
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.NamedElement
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
getLocationReference, 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

OWNED_SUBCOMPONENT_ESUBSETS

protected static final int[] OWNED_SUBCOMPONENT_ESUBSETS
The array of subset feature identifiers for the 'Owned Subcomponent' containment reference list.

See Also:
getOwnedSubcomponents()
Constructor Detail

ThreadImplementationImpl

protected ThreadImplementationImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class BehavioredImplementationImpl

getOwnedSubcomponents

public org.eclipse.emf.common.util.EList<Subcomponent> getOwnedSubcomponents()

Specified by:
getOwnedSubcomponents in interface ComponentImplementation
Overrides:
getOwnedSubcomponents in class ComponentImplementationImpl
Returns:
the value of the 'Owned Subcomponent' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedSubcomponent()

getOwnedSubprogramGroupSubcomponents

public org.eclipse.emf.common.util.EList<SubprogramGroupSubcomponent> getOwnedSubprogramGroupSubcomponents()

Specified by:
getOwnedSubprogramGroupSubcomponents in interface ThreadImplementation
Returns:
the value of the 'Owned Subprogram Group Subcomponent' containment reference list.
See Also:
Aadl2Package.getThreadImplementation_OwnedSubprogramGroupSubcomponent()

createOwnedSubprogramGroupSubcomponent

public SubprogramGroupSubcomponent createOwnedSubprogramGroupSubcomponent()

Specified by:
createOwnedSubprogramGroupSubcomponent in interface ThreadImplementation
Returns:
The new SubprogramGroupSubcomponent.
See Also:
ThreadImplementation.getOwnedSubprogramGroupSubcomponents()

getOwnedSubprogramSubcomponents

public org.eclipse.emf.common.util.EList<SubprogramSubcomponent> getOwnedSubprogramSubcomponents()

Specified by:
getOwnedSubprogramSubcomponents in interface ThreadImplementation
Returns:
the value of the 'Owned Subprogram Subcomponent' containment reference list.
See Also:
Aadl2Package.getThreadImplementation_OwnedSubprogramSubcomponent()

createOwnedSubprogramSubcomponent

public SubprogramSubcomponent createOwnedSubprogramSubcomponent()

Specified by:
createOwnedSubprogramSubcomponent in interface ThreadImplementation
Returns:
The new SubprogramSubcomponent.
See Also:
ThreadImplementation.getOwnedSubprogramSubcomponents()

getOwnedDataSubcomponents

public org.eclipse.emf.common.util.EList<DataSubcomponent> getOwnedDataSubcomponents()

Specified by:
getOwnedDataSubcomponents in interface ThreadImplementation
Returns:
the value of the 'Owned Data Subcomponent' containment reference list.
See Also:
Aadl2Package.getThreadImplementation_OwnedDataSubcomponent()

createOwnedDataSubcomponent

public DataSubcomponent createOwnedDataSubcomponent()

Specified by:
createOwnedDataSubcomponent in interface ThreadImplementation
Returns:
The new DataSubcomponent.
See Also:
ThreadImplementation.getOwnedDataSubcomponents()

getType

public ThreadType getType()

Specified by:
getType in interface ComponentImplementation
Specified by:
getType in interface ThreadImplementation
Overrides:
getType in class ComponentImplementationImpl
Returns:
the value of the 'Type' reference.
See Also:
ComponentImplementation.setType(ComponentType), Aadl2Package.getComponentImplementation_Type()

basicGetType

public ThreadType basicGetType()

Overrides:
basicGetType in class ComponentImplementationImpl

setType

public void setType(ComponentType newType)

Specified by:
setType in interface ComponentImplementation
Overrides:
setType in class ComponentImplementationImpl
Parameters:
newType - the new value of the 'Type' reference.
See Also:
ComponentImplementation.getType()

isSetType

public boolean isSetType()


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 BehavioredImplementationImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

isSetOwnedSubcomponents

public boolean isSetOwnedSubcomponents()

Overrides:
isSetOwnedSubcomponents in class ComponentImplementationImpl

getCategory

public java.lang.String getCategory()
Description copied from interface: ComponentClassifier
Returns the category ("abstract", "bus", "data", "device", etc.) for the classifier.

Specified by:
getCategory in interface ComponentClassifier