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

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.ComponentTypeImpl
                                          extended by edu.cmu.sei.aadl.aadl2.impl.SubprogramTypeImpl
All Implemented Interfaces:
CalledSubprogram, Classifier, ComponentClassifier, ComponentType, Element, NamedElement, Namespace, AObject, Subprogram, SubprogramClassifier, SubprogramType, Type, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class SubprogramTypeImpl
extends ComponentTypeImpl
implements SubprogramType

An implementation of the model object 'Subprogram Type'.

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_FEATURE_ESUBSETS
          The array of subset feature identifiers for the 'Owned Feature' containment reference list
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentTypeImpl
CLASSIFIER_FEATURE_ESUBSETS, features, GENERAL_ESUBSETS, GENERALIZATION_ESUBSETS, NO_FEATURES_EDEFAULT, noFeatures, OWNED_MEMBER_ESUBSETS, ownedExtension, ownedFlowSpecifications
 
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 SubprogramTypeImpl()
           
 
Method Summary
 DataAccess createOwnedDataAccess()
           
 EventDataPort createOwnedEventDataPort()
           
 EventPort createOwnedEventPort()
           
 Parameter createOwnedParameter()
           
 SubprogramAccess createOwnedSubprogramAccess()
           
 SubprogramGroupAccess createOwnedSubprogramGroupAccess()
           
 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<DataAccess> getOwnedDataAccesses()
           
 org.eclipse.emf.common.util.EList<EventDataPort> getOwnedEventDataPorts()
           
 org.eclipse.emf.common.util.EList<EventPort> getOwnedEventPorts()
           
 org.eclipse.emf.common.util.EList<Feature> getOwnedFeatures()
           
 org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()
           
 org.eclipse.emf.common.util.EList<SubprogramAccess> getOwnedSubprogramAccesses()
           
 org.eclipse.emf.common.util.EList<SubprogramGroupAccess> getOwnedSubprogramGroupAccesses()
           
 boolean isSetOwnedFeatures()
           
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ComponentTypeImpl
basicGetExtended, basicSetOwnedExtension, createOwnedAbstractFeature, createOwnedExtension, createOwnedFeatureGroup, createOwnedFlowSpecification, eInverseRemove, getAllFeatures, getAllFlowSpecifications, getClassifierFeatures, getExtended, getFeatures, getGeneralizations, getGenerals, getOwnedAbstractFeatures, getOwnedExtension, getOwnedFeatureGroups, getOwnedFlowSpecifications, getOwnedMembers, getPropertyValueInternal, isDescendentOf, isNoFeatures, isSetClassifierFeatures, isSetGeneralizations, isSetGenerals, isSetOwnedMembers, setExtended, setNoFeatures, setOwnedExtension, 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, lookupPrototypeBinding, maySpecializeType, no_cycles_in_generalization, parents, setNoAnnexes, setNoProperties, setNoPrototypes, specialize_type
 
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.NamespaceImpl
findNamedElement, 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.ComponentType
createOwnedAbstractFeature, createOwnedExtension, createOwnedFeatureGroup, createOwnedFlowSpecification, getAllFlowSpecifications, getExtended, getFeatures, getOwnedAbstractFeatures, getOwnedExtension, getOwnedFeatureGroups, getOwnedFlowSpecifications, isNoFeatures, setExtended, setNoFeatures, setOwnedExtension
 
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_FEATURE_ESUBSETS

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

See Also:
getOwnedFeatures()
Constructor Detail

SubprogramTypeImpl

protected SubprogramTypeImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ComponentTypeImpl

getOwnedFeatures

public org.eclipse.emf.common.util.EList<Feature> getOwnedFeatures()

Specified by:
getOwnedFeatures in interface ComponentType
Overrides:
getOwnedFeatures in class ComponentTypeImpl
Returns:
the value of the 'Owned Feature' containment reference list.
See Also:
Aadl2Package.getComponentType_OwnedFeature()

getOwnedEventDataPorts

public org.eclipse.emf.common.util.EList<EventDataPort> getOwnedEventDataPorts()

Specified by:
getOwnedEventDataPorts in interface SubprogramType
Returns:
the value of the 'Owned Event Data Port' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedEventDataPort()

createOwnedEventDataPort

public EventDataPort createOwnedEventDataPort()

Specified by:
createOwnedEventDataPort in interface SubprogramType
Returns:
The new EventDataPort.
See Also:
SubprogramType.getOwnedEventDataPorts()

getOwnedEventPorts

public org.eclipse.emf.common.util.EList<EventPort> getOwnedEventPorts()

Specified by:
getOwnedEventPorts in interface SubprogramType
Returns:
the value of the 'Owned Event Port' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedEventPort()

createOwnedEventPort

public EventPort createOwnedEventPort()

Specified by:
createOwnedEventPort in interface SubprogramType
Returns:
The new EventPort.
See Also:
SubprogramType.getOwnedEventPorts()

getOwnedParameters

public org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()

Specified by:
getOwnedParameters in interface SubprogramType
Returns:
the value of the 'Owned Parameter' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedParameter()

createOwnedParameter

public Parameter createOwnedParameter()

Specified by:
createOwnedParameter in interface SubprogramType
Returns:
The new Parameter.
See Also:
SubprogramType.getOwnedParameters()

getOwnedDataAccesses

public org.eclipse.emf.common.util.EList<DataAccess> getOwnedDataAccesses()

Specified by:
getOwnedDataAccesses in interface SubprogramType
Returns:
the value of the 'Owned Data Access' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedDataAccess()

createOwnedDataAccess

public DataAccess createOwnedDataAccess()

Specified by:
createOwnedDataAccess in interface SubprogramType
Returns:
The new DataAccess.
See Also:
SubprogramType.getOwnedDataAccesses()

getOwnedSubprogramAccesses

public org.eclipse.emf.common.util.EList<SubprogramAccess> getOwnedSubprogramAccesses()

Specified by:
getOwnedSubprogramAccesses in interface SubprogramType
Returns:
the value of the 'Owned Subprogram Access' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedSubprogramAccess()

createOwnedSubprogramAccess

public SubprogramAccess createOwnedSubprogramAccess()

Specified by:
createOwnedSubprogramAccess in interface SubprogramType
Returns:
The new SubprogramAccess.
See Also:
SubprogramType.getOwnedSubprogramAccesses()

getOwnedSubprogramGroupAccesses

public org.eclipse.emf.common.util.EList<SubprogramGroupAccess> getOwnedSubprogramGroupAccesses()

Specified by:
getOwnedSubprogramGroupAccesses in interface SubprogramType
Returns:
the value of the 'Owned Subprogram Group Access' containment reference list.
See Also:
Aadl2Package.getSubprogramType_OwnedSubprogramGroupAccess()

createOwnedSubprogramGroupAccess

public SubprogramGroupAccess createOwnedSubprogramGroupAccess()

Specified by:
createOwnedSubprogramGroupAccess in interface SubprogramType
Returns:
The new SubprogramGroupAccess.
See Also:
SubprogramType.getOwnedSubprogramGroupAccesses()

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 ComponentTypeImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

isSetOwnedFeatures

public boolean isSetOwnedFeatures()

Overrides:
isSetOwnedFeatures in class ComponentTypeImpl

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