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

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
All Implemented Interfaces:
Classifier, ComponentClassifier, ComponentImplementation, Element, NamedElement, Namespace, AObject, Type, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
BehavioredImplementationImpl, BusImplementationImpl, DataImplementationImpl, DeviceImplementationImpl, MemoryImplementationImpl, ProcessImplementationImpl, ProcessorImplementationImpl, SubprogramGroupImplementationImpl, SystemImplementationImpl, ThreadGroupImplementationImpl, VirtualBusImplementationImpl, VirtualProcessorImplementationImpl

public abstract class ComponentImplementationImpl
extends ComponentClassifierImpl
implements ComponentImplementation

An implementation of the model object ' Component 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[] CLASSIFIER_FEATURE_ESUBSETS
          The array of subset feature identifiers for the 'Classifier Feature' reference list
protected  org.eclipse.emf.ecore.util.FeatureMap connections
          The cached value of the 'Connections' attribute list
protected  org.eclipse.emf.ecore.util.FeatureMap flows
          The cached value of the 'Flows' attribute list
protected static int[] GENERAL_ESUBSETS
          The array of subset feature identifiers for the 'General' reference list
protected static int[] GENERALIZATION_ESUBSETS
          The array of subset feature identifiers for the 'Generalization' containment reference list
protected static boolean NO_CALLS_EDEFAULT
          The default value of the 'No Calls' attribute
protected static boolean NO_CONNECTIONS_EDEFAULT
          The default value of the 'No Connections' attribute
protected static boolean NO_SUBCOMPONENTS_EDEFAULT
          The default value of the 'No Subcomponents' attribute
protected  boolean noCalls
          The cached value of the 'No Calls' attribute
protected  boolean noConnections
          The cached value of the 'No Connections' attribute
protected  boolean noSubcomponents
          The cached value of the 'No Subcomponents' attribute
protected static int[] OWNED_MEMBER_ESUBSETS
          The array of subset feature identifiers for the 'Owned Member' containment reference list
protected static int[] OWNED_SUBCOMPONENT_ESUBSETS
          The array of subset feature identifiers for the 'Owned Subcomponent' containment reference list
protected  ImplementationExtension ownedExtension
          The cached value of the 'Owned Extension' containment reference
protected  org.eclipse.emf.common.util.EList<ProcessorSubprogram> ownedProcessorSubprograms
          The cached value of the 'Owned Processor Subprogram' containment reference list.
protected  Realization ownedRealization
          The cached value of the 'Owned Realization' containment reference
protected  org.eclipse.emf.ecore.util.FeatureMap subcomponents
          The cached value of the 'Subcomponents' attribute list
 
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
MEMBER_ESUBSETS, 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 ComponentImplementationImpl()
           
 
Method Summary
 void addConnection(Connection c)
           
 ComponentImplementation basicGetExtended()
           
 ComponentType basicGetType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedExtension(ImplementationExtension newOwnedExtension, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedRealization(Realization newOwnedRealization, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 AbstractSubcomponent createOwnedAbstractSubcomponent()
           
 AccessConnection createOwnedAccessConnection()
           
 EndToEndFlow createOwnedEndToEndFlow()
           
 ImplementationExtension createOwnedExtension()
           
 FeatureConnection createOwnedFeatureConnection()
           
 FeatureGroupConnection createOwnedFeatureGroupConnection()
           
 FlowImplementation createOwnedFlowImplementation()
           
 ParameterConnection createOwnedParameterConnection()
           
 PortConnection createOwnedPortConnection()
           
 ProcessorSubprogram createOwnedProcessorSubprogram()
           
 Realization createOwnedRealization()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 NamedElement findNamedElement(java.lang.String name)
           
 org.eclipse.emf.common.util.EList<Connection> getAllConnections()
          get list of all connection objects of a component implementation, including ancestor features In case of refined connections the refined connection is returned in the list.
 org.eclipse.emf.common.util.EList<Connection> getAllConnections(Mode mode)
          Get list of all connections of a component implementation in a given mode, including ancestor implementations.
 org.eclipse.emf.common.util.EList<EndToEndFlow> getAllEndToEndFlows()
          get list of all end to end flows of a component impl, including ancestor features In case of refined end to end flows the refined end to end flow is returned in the list.
 org.eclipse.emf.common.util.EList<Feature> getAllFeatures()
          get all features including inherited features
 org.eclipse.emf.common.util.EList<FlowImplementation> getAllFlowImplementations()
          Get all flow implementations, including inherited.
 org.eclipse.emf.common.util.EList<Mode> getAllModes()
          Returns all the mode objects of a given implementation, including ancestor.
 org.eclipse.emf.common.util.EList<ModeTransition> getAllModeTransitions()
          Returns all the mode transition objects of a given implementation, including ancestor.
 org.eclipse.emf.common.util.EList<Subcomponent> getAllSubcomponents()
          get list of all subcomponents of a component impl, including ancestor features In case of refined connections the refined connection is returned in the list.
 org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()
           
 org.eclipse.emf.ecore.util.FeatureMap getConnections()
           
 ComponentImplementation getExtended()
           
 org.eclipse.emf.ecore.util.FeatureMap getFlows()
           
 org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
           
 org.eclipse.emf.common.util.EList<Classifier> getGenerals()
           
 java.lang.String getImplementationName()
          Get implementation name without type name.
 org.eclipse.emf.common.util.EList<Connection> getIngoingConnections(Feature feature)
          get ingoing connections to subcomponents from a specified feature of the component impl
 org.eclipse.emf.common.util.EList<AbstractSubcomponent> getOwnedAbstractSubcomponents()
           
 org.eclipse.emf.common.util.EList<AccessConnection> getOwnedAccessConnections()
           
 org.eclipse.emf.common.util.EList<Connection> getOwnedConnections()
           
 org.eclipse.emf.common.util.EList<Connection> getOwnedConnections(Mode mode)
          Returns the connection objects of a given implementation for a given mode.
 org.eclipse.emf.common.util.EList<EndToEndFlow> getOwnedEndToEndFlows()
           
 ImplementationExtension getOwnedExtension()
           
 org.eclipse.emf.common.util.EList<FeatureConnection> getOwnedFeatureConnections()
           
 org.eclipse.emf.common.util.EList<FeatureGroupConnection> getOwnedFeatureGroupConnections()
           
 org.eclipse.emf.common.util.EList<FlowImplementation> getOwnedFlowImplementations()
           
 org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
           
 org.eclipse.emf.common.util.EList<ParameterConnection> getOwnedParameterConnections()
           
 org.eclipse.emf.common.util.EList<PortConnection> getOwnedPortConnections()
           
 org.eclipse.emf.common.util.EList<ProcessorSubprogram> getOwnedProcessorSubprograms()
           
 Realization getOwnedRealization()
           
 org.eclipse.emf.common.util.EList<Subcomponent> getOwnedSubcomponents()
           
 void getPropertyValueInternal(Property property, PropertyAcc pas, boolean fromInstanceSlaveCall)
          Helper routine for computing the value of the property.
 org.eclipse.emf.ecore.util.FeatureMap getSubcomponents()
           
 ComponentType getType()
           
 java.lang.String getTypeName()
          Get type name from parsed name.
 boolean isDescendentOf(Classifier c)
          Does this component implementation descend from the given classifier?
 boolean isNoCalls()
           
 boolean isNoConnections()
           
 boolean isNoSubcomponents()
           
 boolean isSetClassifierFeatures()
           
 boolean isSetGeneralizations()
           
 boolean isSetGenerals()
           
 boolean isSetOwnedMembers()
           
 boolean isSetOwnedSubcomponents()
           
 PrototypeBinding lookupPrototypeBinding(Prototype proto)
           
protected  PrototypeBinding lookupPrototypeBindingHelper(Prototype proto)
           
 void setExtended(ComponentImplementation newExtended)
           
 void setNoCalls(boolean newNoCalls)
           
 void setNoConnections(boolean newNoConnections)
           
 void setNoSubcomponents(boolean newNoSubcomponents)
           
 void setOwnedExtension(ImplementationExtension newOwnedExtension)
           
 void setOwnedRealization(Realization newOwnedRealization)
           
 void setType(ComponentType newType)
           
 java.lang.String 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, getMembers, getMembersGen, getOwnedAnnexSubclauses, getOwnedElements, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isNoAnnexes, isNoProperties, isNoPrototypes, isSetMembers, 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.ComponentClassifier
createOwnedInternalEvent, createOwnedMode, createOwnedModeTransition, createOwnedProcessorPort, getCategory, 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, getAllPropertyAssociations, getInheritedMembers, getOwnedAnnexSubclauses, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isNoAnnexes, isNoProperties, isNoPrototypes, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Namespace
getMembers, getNamesOfMember, 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, 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

subcomponents

protected org.eclipse.emf.ecore.util.FeatureMap subcomponents
The cached value of the 'Subcomponents' attribute list.

See Also:
getSubcomponents()

connections

protected org.eclipse.emf.ecore.util.FeatureMap connections
The cached value of the 'Connections' attribute list.

See Also:
getConnections()

flows

protected org.eclipse.emf.ecore.util.FeatureMap flows
The cached value of the 'Flows' attribute list.

See Also:
getFlows()

ownedExtension

protected ImplementationExtension ownedExtension
The cached value of the 'Owned Extension' containment reference.

See Also:
getOwnedExtension()

ownedRealization

protected Realization ownedRealization
The cached value of the 'Owned Realization' containment reference.

See Also:
getOwnedRealization()

ownedProcessorSubprograms

protected org.eclipse.emf.common.util.EList<ProcessorSubprogram> ownedProcessorSubprograms
The cached value of the 'Owned Processor Subprogram' containment reference list.

See Also:
getOwnedProcessorSubprograms()

NO_SUBCOMPONENTS_EDEFAULT

protected static final boolean NO_SUBCOMPONENTS_EDEFAULT
The default value of the 'No Subcomponents' attribute.

See Also:
isNoSubcomponents(), Constant Field Values

noSubcomponents

protected boolean noSubcomponents
The cached value of the 'No Subcomponents' attribute.

See Also:
isNoSubcomponents()

NO_CONNECTIONS_EDEFAULT

protected static final boolean NO_CONNECTIONS_EDEFAULT
The default value of the 'No Connections' attribute.

See Also:
isNoConnections(), Constant Field Values

noConnections

protected boolean noConnections
The cached value of the 'No Connections' attribute.

See Also:
isNoConnections()

NO_CALLS_EDEFAULT

protected static final boolean NO_CALLS_EDEFAULT
The default value of the 'No Calls' attribute.

See Also:
isNoCalls(), Constant Field Values

noCalls

protected boolean noCalls
The cached value of the 'No Calls' attribute.

See Also:
isNoCalls()

GENERAL_ESUBSETS

protected static final int[] GENERAL_ESUBSETS
The array of subset feature identifiers for the 'General' reference list.

See Also:
getGenerals()

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()

CLASSIFIER_FEATURE_ESUBSETS

protected static final int[] CLASSIFIER_FEATURE_ESUBSETS
The array of subset feature identifiers for the 'Classifier Feature' reference list.

See Also:
getClassifierFeatures()

OWNED_MEMBER_ESUBSETS

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

See Also:
getOwnedMembers()

GENERALIZATION_ESUBSETS

protected static final int[] GENERALIZATION_ESUBSETS
The array of subset feature identifiers for the 'Generalization' containment reference list.

See Also:
getGeneralizations()
Constructor Detail

ComponentImplementationImpl

protected ComponentImplementationImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ComponentClassifierImpl

getOwnedSubcomponents

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

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

getClassifierFeatures

public org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()

Specified by:
getClassifierFeatures in interface Classifier
Overrides:
getClassifierFeatures in class ComponentClassifierImpl
Returns:
the value of the 'Classifier Feature' reference list.
See Also:
Aadl2Package.getClassifier_ClassifierFeature(), ClassifierFeature.getFeaturingClassifiers()

getOwnedMembers

public org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()

Specified by:
getOwnedMembers in interface Namespace
Overrides:
getOwnedMembers in class ComponentClassifierImpl
Returns:
the value of the 'Owned Member' containment reference list.
See Also:
Aadl2Package.getNamespace_OwnedMember(), NamedElement.getNamespace()

getGenerals

public org.eclipse.emf.common.util.EList<Classifier> getGenerals()

Specified by:
getGenerals in interface Classifier
Overrides:
getGenerals in class ClassifierImpl
Returns:
the value of the 'General' reference list.
See Also:
Aadl2Package.getClassifier_General()

getGeneralizations

public org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()

Specified by:
getGeneralizations in interface Classifier
Overrides:
getGeneralizations in class ClassifierImpl
Returns:
the value of the 'Generalization' containment reference list.
See Also:
Aadl2Package.getClassifier_Generalization(), Generalization.getSpecific()

isNoSubcomponents

public boolean isNoSubcomponents()

Specified by:
isNoSubcomponents in interface ComponentImplementation
Returns:
the value of the 'No Subcomponents' attribute.
See Also:
ComponentImplementation.setNoSubcomponents(boolean), Aadl2Package.getComponentImplementation_NoSubcomponents()

setNoSubcomponents

public void setNoSubcomponents(boolean newNoSubcomponents)

Specified by:
setNoSubcomponents in interface ComponentImplementation
Parameters:
newNoSubcomponents - the new value of the 'No Subcomponents' attribute.
See Also:
ComponentImplementation.isNoSubcomponents()

isNoCalls

public boolean isNoCalls()

Specified by:
isNoCalls in interface ComponentImplementation
Returns:
the value of the 'No Calls' attribute.
See Also:
ComponentImplementation.setNoCalls(boolean), Aadl2Package.getComponentImplementation_NoCalls()

setNoCalls

public void setNoCalls(boolean newNoCalls)

Specified by:
setNoCalls in interface ComponentImplementation
Parameters:
newNoCalls - the new value of the 'No Calls' attribute.
See Also:
ComponentImplementation.isNoCalls()

isNoConnections

public boolean isNoConnections()

Specified by:
isNoConnections in interface ComponentImplementation
Returns:
the value of the 'No Connections' attribute.
See Also:
ComponentImplementation.setNoConnections(boolean), Aadl2Package.getComponentImplementation_NoConnections()

setNoConnections

public void setNoConnections(boolean newNoConnections)

Specified by:
setNoConnections in interface ComponentImplementation
Parameters:
newNoConnections - the new value of the 'No Connections' attribute.
See Also:
ComponentImplementation.isNoConnections()

getExtended

public ComponentImplementation getExtended()

Specified by:
getExtended in interface Classifier
Specified by:
getExtended in interface ComponentImplementation
Returns:
the value of the 'Extended' reference.
See Also:
ComponentImplementation.setExtended(ComponentImplementation), Aadl2Package.getComponentImplementation_Extended()

basicGetExtended

public ComponentImplementation basicGetExtended()


setExtended

public void setExtended(ComponentImplementation newExtended)

Specified by:
setExtended in interface ComponentImplementation
Parameters:
newExtended - the new value of the 'Extended' reference.
See Also:
ComponentImplementation.getExtended()

getOwnedFlowImplementations

public org.eclipse.emf.common.util.EList<FlowImplementation> getOwnedFlowImplementations()

Specified by:
getOwnedFlowImplementations in interface ComponentImplementation
Returns:
the value of the 'Owned Flow Implementation' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedFlowImplementation()

createOwnedFlowImplementation

public FlowImplementation createOwnedFlowImplementation()

Specified by:
createOwnedFlowImplementation in interface ComponentImplementation
Returns:
The new FlowImplementation.
See Also:
ComponentImplementation.getOwnedFlowImplementations()

getOwnedConnections

public org.eclipse.emf.common.util.EList<Connection> getOwnedConnections()

Specified by:
getOwnedConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedConnection()

getSubcomponents

public org.eclipse.emf.ecore.util.FeatureMap getSubcomponents()

Specified by:
getSubcomponents in interface ComponentImplementation
Returns:
the value of the 'Subcomponents' attribute list.
See Also:
Aadl2Package.getComponentImplementation_Subcomponents()

getConnections

public org.eclipse.emf.ecore.util.FeatureMap getConnections()

Specified by:
getConnections in interface ComponentImplementation
Returns:
the value of the 'Connections' attribute list.
See Also:
Aadl2Package.getComponentImplementation_Connections()

getFlows

public org.eclipse.emf.ecore.util.FeatureMap getFlows()

Specified by:
getFlows in interface ComponentImplementation
Returns:
the value of the 'Flows' attribute list.
See Also:
Aadl2Package.getComponentImplementation_Flows()

getType

public ComponentType getType()

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

basicGetType

public ComponentType basicGetType()


setType

public void setType(ComponentType newType)

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

getOwnedExtension

public ImplementationExtension getOwnedExtension()

Specified by:
getOwnedExtension in interface ComponentImplementation
Returns:
the value of the 'Owned Extension' containment reference.
See Also:
ComponentImplementation.setOwnedExtension(ImplementationExtension), Aadl2Package.getComponentImplementation_OwnedExtension()

basicSetOwnedExtension

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedExtension(ImplementationExtension newOwnedExtension,
                                                                              org.eclipse.emf.common.notify.NotificationChain msgs)


setOwnedExtension

public void setOwnedExtension(ImplementationExtension newOwnedExtension)

Specified by:
setOwnedExtension in interface ComponentImplementation
Parameters:
newOwnedExtension - the new value of the 'Owned Extension' containment reference.
See Also:
ComponentImplementation.getOwnedExtension()

createOwnedExtension

public ImplementationExtension createOwnedExtension()

Specified by:
createOwnedExtension in interface ComponentImplementation
Returns:
The new ImplementationExtension.
See Also:
ComponentImplementation.getOwnedExtension()

getOwnedRealization

public Realization getOwnedRealization()

Specified by:
getOwnedRealization in interface ComponentImplementation
Returns:
the value of the 'Owned Realization' containment reference.
See Also:
ComponentImplementation.setOwnedRealization(Realization), Aadl2Package.getComponentImplementation_OwnedRealization()

basicSetOwnedRealization

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedRealization(Realization newOwnedRealization,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setOwnedRealization

public void setOwnedRealization(Realization newOwnedRealization)

Specified by:
setOwnedRealization in interface ComponentImplementation
Parameters:
newOwnedRealization - the new value of the 'Owned Realization' containment reference.
See Also:
ComponentImplementation.getOwnedRealization()

createOwnedRealization

public Realization createOwnedRealization()

Specified by:
createOwnedRealization in interface ComponentImplementation
Returns:
The new Realization.
See Also:
ComponentImplementation.getOwnedRealization()

getOwnedAccessConnections

public org.eclipse.emf.common.util.EList<AccessConnection> getOwnedAccessConnections()

Specified by:
getOwnedAccessConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Access Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedAccessConnection()

createOwnedAccessConnection

public AccessConnection createOwnedAccessConnection()

Specified by:
createOwnedAccessConnection in interface ComponentImplementation
Returns:
The new AccessConnection.
See Also:
ComponentImplementation.getOwnedAccessConnections()

getOwnedParameterConnections

public org.eclipse.emf.common.util.EList<ParameterConnection> getOwnedParameterConnections()

Specified by:
getOwnedParameterConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Parameter Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedParameterConnection()

createOwnedParameterConnection

public ParameterConnection createOwnedParameterConnection()

Specified by:
createOwnedParameterConnection in interface ComponentImplementation
Returns:
The new ParameterConnection.
See Also:
ComponentImplementation.getOwnedParameterConnections()

getOwnedPortConnections

public org.eclipse.emf.common.util.EList<PortConnection> getOwnedPortConnections()

Specified by:
getOwnedPortConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Port Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedPortConnection()

createOwnedPortConnection

public PortConnection createOwnedPortConnection()

Specified by:
createOwnedPortConnection in interface ComponentImplementation
Returns:
The new PortConnection.
See Also:
ComponentImplementation.getOwnedPortConnections()

getOwnedAbstractSubcomponents

public org.eclipse.emf.common.util.EList<AbstractSubcomponent> getOwnedAbstractSubcomponents()

Specified by:
getOwnedAbstractSubcomponents in interface ComponentImplementation
Returns:
the value of the 'Owned Abstract Subcomponent' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedAbstractSubcomponent()

createOwnedAbstractSubcomponent

public AbstractSubcomponent createOwnedAbstractSubcomponent()

Specified by:
createOwnedAbstractSubcomponent in interface ComponentImplementation
Returns:
The new AbstractSubcomponent.
See Also:
ComponentImplementation.getOwnedAbstractSubcomponents()

getOwnedEndToEndFlows

public org.eclipse.emf.common.util.EList<EndToEndFlow> getOwnedEndToEndFlows()

Specified by:
getOwnedEndToEndFlows in interface ComponentImplementation
Returns:
the value of the 'Owned End To End Flow' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedEndToEndFlow()

createOwnedEndToEndFlow

public EndToEndFlow createOwnedEndToEndFlow()

Specified by:
createOwnedEndToEndFlow in interface ComponentImplementation
Returns:
The new EndToEndFlow.
See Also:
ComponentImplementation.getOwnedEndToEndFlows()

getOwnedFeatureConnections

public org.eclipse.emf.common.util.EList<FeatureConnection> getOwnedFeatureConnections()

Specified by:
getOwnedFeatureConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Feature Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedFeatureConnection()

createOwnedFeatureConnection

public FeatureConnection createOwnedFeatureConnection()

Specified by:
createOwnedFeatureConnection in interface ComponentImplementation
Returns:
The new FeatureConnection.
See Also:
ComponentImplementation.getOwnedFeatureConnections()

getOwnedFeatureGroupConnections

public org.eclipse.emf.common.util.EList<FeatureGroupConnection> getOwnedFeatureGroupConnections()

Specified by:
getOwnedFeatureGroupConnections in interface ComponentImplementation
Returns:
the value of the 'Owned Feature Group Connection' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedFeatureGroupConnection()

createOwnedFeatureGroupConnection

public FeatureGroupConnection createOwnedFeatureGroupConnection()

Specified by:
createOwnedFeatureGroupConnection in interface ComponentImplementation
Returns:
The new FeatureGroupConnection.
See Also:
ComponentImplementation.getOwnedFeatureGroupConnections()

getOwnedProcessorSubprograms

public org.eclipse.emf.common.util.EList<ProcessorSubprogram> getOwnedProcessorSubprograms()

Specified by:
getOwnedProcessorSubprograms in interface ComponentImplementation
Returns:
the value of the 'Owned Processor Subprogram' containment reference list.
See Also:
Aadl2Package.getComponentImplementation_OwnedProcessorSubprogram()

createOwnedProcessorSubprogram

public ProcessorSubprogram createOwnedProcessorSubprogram()

Specified by:
createOwnedProcessorSubprogram in interface ComponentImplementation
Returns:
The new ProcessorSubprogram.
See Also:
ComponentImplementation.getOwnedProcessorSubprograms()

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 ComponentClassifierImpl

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 ComponentClassifierImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class ComponentClassifierImpl

isSetGenerals

public boolean isSetGenerals()

Overrides:
isSetGenerals in class ClassifierImpl

isSetOwnedSubcomponents

public boolean isSetOwnedSubcomponents()


isSetClassifierFeatures

public boolean isSetClassifierFeatures()

Overrides:
isSetClassifierFeatures in class ComponentClassifierImpl

isSetOwnedMembers

public boolean isSetOwnedMembers()

Overrides:
isSetOwnedMembers in class ComponentClassifierImpl

isSetGeneralizations

public boolean isSetGeneralizations()

Overrides:
isSetGeneralizations in class ClassifierImpl

addConnection

public void addConnection(Connection c)
Specified by:
addConnection in interface ComponentImplementation

getTypeName

public java.lang.String getTypeName()
Description copied from interface: ComponentImplementation
Get type name from parsed name.

Specified by:
getTypeName in interface ComponentImplementation

getImplementationName

public java.lang.String getImplementationName()
Description copied from interface: ComponentImplementation
Get implementation name without type name.

Specified by:
getImplementationName in interface ComponentImplementation

getAllConnections

public org.eclipse.emf.common.util.EList<Connection> getAllConnections()
get list of all connection objects of a component implementation, including ancestor features In case of refined connections the refined connection is returned in the list.

Specified by:
getAllConnections in interface ComponentImplementation
Returns:
List of connection objects

getIngoingConnections

public org.eclipse.emf.common.util.EList<Connection> getIngoingConnections(Feature feature)
get ingoing connections to subcomponents from a specified feature of the component impl

Specified by:
getIngoingConnections in interface ComponentImplementation
Parameters:
feature - component impl feature that is the source of a connection
Returns:
EList connections with feature as source

getAllSubcomponents

public org.eclipse.emf.common.util.EList<Subcomponent> getAllSubcomponents()
get list of all subcomponents of a component impl, including ancestor features In case of refined connections the refined connection is returned in the list.

Specified by:
getAllSubcomponents in interface ComponentImplementation
Returns:
List of connections

getAllFeatures

public org.eclipse.emf.common.util.EList<Feature> getAllFeatures()
get all features including inherited features

Specified by:
getAllFeatures in interface Classifier
Returns:
EList of features

getAllModes

public org.eclipse.emf.common.util.EList<Mode> getAllModes()
Returns all the mode objects of a given implementation, including ancestor.

Specified by:
getAllModes in interface ComponentImplementation
Returns:
EList of all mode objects

getAllModeTransitions

public org.eclipse.emf.common.util.EList<ModeTransition> getAllModeTransitions()
Returns all the mode transition objects of a given implementation, including ancestor.

Specified by:
getAllModeTransitions in interface ComponentImplementation
Returns:
EList of all mode transition objects

getAllEndToEndFlows

public org.eclipse.emf.common.util.EList<EndToEndFlow> getAllEndToEndFlows()
get list of all end to end flows of a component impl, including ancestor features In case of refined end to end flows the refined end to end flow is returned in the list.

Specified by:
getAllEndToEndFlows in interface ComponentImplementation
Returns:
Lis of end to end flows

getAllFlowImplementations

public org.eclipse.emf.common.util.EList<FlowImplementation> getAllFlowImplementations()
Description copied from interface: ComponentImplementation
Get all flow implementations, including inherited.

Specified by:
getAllFlowImplementations in interface ComponentImplementation
Returns:
Lis of end to end flows

isDescendentOf

public final boolean isDescendentOf(Classifier c)
Does this component implementation descend from the given classifier? A component implementation descends from another component implementation if they are the same implementation, it extends the other implementation, or it extends a descendant of the other implementation. A component implementation descends from a component type if the implementation's component type descends from the type.

Specified by:
isDescendentOf in interface Classifier
Returns:
Whether this classifier descends from the given classifier.

getPropertyValueInternal

public void getPropertyValueInternal(Property property,
                                     PropertyAcc pas,
                                     boolean fromInstanceSlaveCall)
                              throws InvalidModelException
Description copied from interface: NamedElement
Helper routine for computing the value of the property. As the name suggests, this method is not intended for use by clients of the model, but is used during the property lookup process. It should really be a protected method in NamedElementImpl, but because of the way that EMF deals with multiple inheritance, not all implementations of NamedElement actually extend from NamedElementImpl.

In particular, this method does not create a new property value accumulator—it uses the one provided—and it does not look up the default value of the property.

Specified by:
getPropertyValueInternal in interface NamedElement
Overrides:
getPropertyValueInternal in class NamedElementImpl
Parameters:
property - The property whose value is to be retrieved. It must be the case that this property is accepted by the property holder, i.e., NamedElement.acceptsProperty(Property) must return true.
fromInstanceSlaveCall - true if the call is performing a lookup on the declarative model on behalf of an instance model object. When true the lookup algorithm ignores the "inherits" attribute on property definitions when it would mean that the lookup should defer to the containing component implementation. Also disables the interpretation of contained property associations in the declarative model because they have already been applied to the instance model at this point. The expectation is that the instance model lookup itself is not ignoring the inherits attribute, and thus any inherited property values will still be found correctly. Interpreting the inherits attribute during the declarative model search is redundant and causes problems later on. This flag does not affect lookup for feature declarations because in that case the inherit flag defers to the component type or feature group type.
Throws:
InvalidModelException - Thrown if the property value cannot be retrieved because the model is incomplete or otherwise invalid.

lookupPrototypeBinding

public PrototypeBinding lookupPrototypeBinding(Prototype proto)
Specified by:
lookupPrototypeBinding in interface Classifier
Overrides:
lookupPrototypeBinding in class ClassifierImpl

lookupPrototypeBindingHelper

protected PrototypeBinding lookupPrototypeBindingHelper(Prototype proto)

getOwnedConnections

public org.eclipse.emf.common.util.EList<Connection> getOwnedConnections(Mode mode)
Returns the connection objects of a given implementation for a given mode.

Specified by:
getOwnedConnections in interface ComponentImplementation
Parameters:
mode - Mode for which connections are retrieved.
Returns:
EList of connection objects (possibly empty).

getAllConnections

public org.eclipse.emf.common.util.EList<Connection> getAllConnections(Mode mode)
Get list of all connections of a component implementation in a given mode, including ancestor implementations. In case of refined connections the refined connection is returned in the list.

Specified by:
getAllConnections in interface ComponentImplementation
Parameters:
mode - Mode for which connections are to be retrieved.
Returns:
List of connections

findNamedElement

public NamedElement findNamedElement(java.lang.String name)
Specified by:
findNamedElement in interface Namespace
Overrides:
findNamedElement in class NamespaceImpl
Returns:
NamedElement