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

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.VirtualBusImplementationImpl
All Implemented Interfaces:
Classifier, ComponentClassifier, ComponentImplementation, Element, NamedElement, Namespace, AObject, Type, VirtualBus, VirtualBusClassifier, VirtualBusImplementation, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class VirtualBusImplementationImpl
extends ComponentImplementationImpl
implements VirtualBusImplementation

An implementation of the model object 'Virtual Bus 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.ComponentImplementationImpl
CLASSIFIER_FEATURE_ESUBSETS, connections, flows, GENERAL_ESUBSETS, GENERALIZATION_ESUBSETS, NO_CALLS_EDEFAULT, NO_CONNECTIONS_EDEFAULT, NO_SUBCOMPONENTS_EDEFAULT, noCalls, noConnections, noSubcomponents, OWNED_MEMBER_ESUBSETS, 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
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 VirtualBusImplementationImpl()
           
 
Method Summary
 VirtualBusType basicGetType()
           
 VirtualBusSubcomponent createOwnedVirtualBusSubcomponent()
           
 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<Subcomponent> getOwnedSubcomponents()
           
 org.eclipse.emf.common.util.EList<VirtualBusSubcomponent> getOwnedVirtualBusSubcomponents()
           
 VirtualBusType getType()
           
 boolean isSetOwnedSubcomponents()
           
 boolean isSetType()
           
 void setType(ComponentType newType)
           
 
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, eInverseRemove, findNamedElement, getAllConnections, getAllConnections, getAllEndToEndFlows, getAllFeatures, getAllFlowImplementations, getAllModes, getAllModeTransitions, getAllSubcomponents, getClassifierFeatures, getConnections, getExtended, getFlows, getGeneralizations, getGenerals, getImplementationName, getIngoingConnections, getOwnedAbstractSubcomponents, getOwnedAccessConnections, getOwnedConnections, getOwnedConnections, getOwnedEndToEndFlows, getOwnedExtension, getOwnedFeatureConnections, getOwnedFeatureGroupConnections, getOwnedFlowImplementations, getOwnedMembers, getOwnedParameterConnections, getOwnedPortConnections, getOwnedProcessorSubprograms, getOwnedRealization, getPropertyValueInternal, getSubcomponents, getTypeName, isDescendentOf, isNoCalls, isNoConnections, isNoSubcomponents, isSetClassifierFeatures, isSetGeneralizations, isSetGenerals, isSetOwnedMembers, 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, 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.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

VirtualBusImplementationImpl

protected VirtualBusImplementationImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ComponentImplementationImpl

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

getOwnedVirtualBusSubcomponents

public org.eclipse.emf.common.util.EList<VirtualBusSubcomponent> getOwnedVirtualBusSubcomponents()

Specified by:
getOwnedVirtualBusSubcomponents in interface VirtualBusImplementation
Returns:
the value of the 'Owned Virtual Bus Subcomponent' containment reference list.
See Also:
Aadl2Package.getVirtualBusImplementation_OwnedVirtualBusSubcomponent()

createOwnedVirtualBusSubcomponent

public VirtualBusSubcomponent createOwnedVirtualBusSubcomponent()

Specified by:
createOwnedVirtualBusSubcomponent in interface VirtualBusImplementation
Returns:
The new VirtualBusSubcomponent.
See Also:
VirtualBusImplementation.getOwnedVirtualBusSubcomponents()

getType

public VirtualBusType getType()

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

basicGetType

public VirtualBusType 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 ComponentImplementationImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

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