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

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.FeatureGroupTypeImpl
All Implemented Interfaces:
Classifier, Element, FeatureGroupType, 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

public class FeatureGroupTypeImpl
extends ClassifierImpl
implements FeatureGroupType

An implementation of the model object 'Feature Group 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[] CLASSIFIER_FEATURE_ESUBSETS
          The array of subset feature identifiers for the 'Classifier Feature' reference list
protected  org.eclipse.emf.ecore.util.FeatureMap features
          The cached value of the 'Feature' 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  FeatureGroupType inverse
          The cached value of the 'Inverse' reference
protected static int[] OWNED_FEATURE_ESUBSETS
          The array of subset feature identifiers for the 'Owned Feature' containment reference list
protected static int[] OWNED_MEMBER_ESUBSETS
          The array of subset feature identifiers for the 'Owned Member' containment reference list
protected  GroupExtension ownedExtension
          The cached value of the 'Owned Extension' containment reference
 
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 FeatureGroupTypeImpl()
           
 
Method Summary
 FeatureGroupType basicGetExtended()
           
 FeatureGroupType basicGetInverse()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedExtension(GroupExtension newOwnedExtension, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 AbstractFeature createOwnedAbstractFeature()
           
 BusAccess createOwnedBusAccess()
           
 DataAccess createOwnedDataAccess()
           
 DataPort createOwnedDataPort()
           
 EventDataPort createOwnedEventDataPort()
           
 EventPort createOwnedEventPort()
           
 GroupExtension createOwnedExtension()
           
 FeatureGroup createOwnedFeatureGroup()
           
 Parameter createOwnedParameter()
           
 SubprogramAccess createOwnedSubprogramAccess()
           
 SubprogramGroupAccess createOwnedSubprogramGroupAccess()
           
 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<Feature> getAllFeatures()
          Get a list of Feature objects representing those features in the feature group type, including those from super types or inverses.
 org.eclipse.emf.common.util.EList<ClassifierFeature> getClassifierFeatures()
           
 FeatureGroupType getExtended()
           
 org.eclipse.emf.ecore.util.FeatureMap getFeatures()
           
 org.eclipse.emf.common.util.EList<Generalization> getGeneralizations()
           
 org.eclipse.emf.common.util.EList<Classifier> getGenerals()
           
 int getIndexOf(Feature feature)
          return the index of the feature in the feature group type
 FeatureGroupType getInverse()
           
 org.eclipse.emf.common.util.EList<AbstractFeature> getOwnedAbstractFeatures()
           
 org.eclipse.emf.common.util.EList<BusAccess> getOwnedBusAccesses()
           
 org.eclipse.emf.common.util.EList<DataAccess> getOwnedDataAccesses()
           
 org.eclipse.emf.common.util.EList<DataPort> getOwnedDataPorts()
           
 org.eclipse.emf.common.util.EList<EventDataPort> getOwnedEventDataPorts()
           
 org.eclipse.emf.common.util.EList<EventPort> getOwnedEventPorts()
           
 GroupExtension getOwnedExtension()
           
 org.eclipse.emf.common.util.EList<FeatureGroup> getOwnedFeatureGroups()
           
 org.eclipse.emf.common.util.EList<Feature> getOwnedFeatures()
           
 org.eclipse.emf.common.util.EList<NamedElement> getOwnedMembers()
           
 org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()
           
 org.eclipse.emf.common.util.EList<SubprogramAccess> getOwnedSubprogramAccesses()
           
 org.eclipse.emf.common.util.EList<SubprogramGroupAccess> getOwnedSubprogramGroupAccesses()
           
 void getPropertyValueInternal(Property pn, PropertyAcc paa, boolean fromInstanceSlaveCall)
          Helper routine for computing the value of the property.
 boolean isDescendentOf(Classifier c)
          Does this feature group type descend from the given classifier?
 boolean isInverseOf(FeatureGroupType pgt)
          returns true of this feature group type is the inverse of the feature group type pgt
 boolean isSetClassifierFeatures()
           
 boolean isSetGeneralizations()
           
 boolean isSetGenerals()
           
 boolean isSetOwnedFeatures()
           
 boolean isSetOwnedMembers()
           
 void setExtended(FeatureGroupType newExtended)
           
 void setInverse(FeatureGroupType newInverse)
           
 void setOwnedExtension(GroupExtension newOwnedExtension)
           
 java.lang.String toString()
           
 
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
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.Classifier
allFeatures, allParents, checkAppliesToClassifier, createOwnedAnnexSubclause, createOwnedAnnexSubclause, createOwnedPrototype, createOwnedPrototypeBinding, getAllExtendPlusSelf, getAllPropertyAssociations, getInheritedMembers, getOwnedAnnexSubclauses, getOwnedPrototypeBindings, getOwnedPrototypes, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, 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
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

features

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

See Also:
getFeatures()

inverse

protected FeatureGroupType inverse
The cached value of the 'Inverse' reference.

See Also:
getInverse()

ownedExtension

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

See Also:
getOwnedExtension()

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

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

GENERAL_ESUBSETS

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

See Also:
getGenerals()

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

FeatureGroupTypeImpl

protected FeatureGroupTypeImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ClassifierImpl

getClassifierFeatures

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

Specified by:
getClassifierFeatures in interface Classifier
Overrides:
getClassifierFeatures in class ClassifierImpl
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 ClassifierImpl
Returns:
the value of the 'Owned Member' containment reference list.
See Also:
Aadl2Package.getNamespace_OwnedMember(), NamedElement.getNamespace()

getOwnedFeatures

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

Specified by:
getOwnedFeatures in interface FeatureGroupType
Returns:
the value of the 'Owned Feature' containment reference list.
See Also:
Aadl2Package.getFeatureGroupType_OwnedFeature()

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

getFeatures

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

Specified by:
getFeatures in interface FeatureGroupType
Returns:
the value of the 'Feature' attribute list.
See Also:
Aadl2Package.getFeatureGroupType_Feature()

getExtended

public FeatureGroupType getExtended()

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

basicGetExtended

public FeatureGroupType basicGetExtended()


setExtended

public void setExtended(FeatureGroupType newExtended)

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

getInverse

public FeatureGroupType getInverse()

Specified by:
getInverse in interface FeatureGroupType
Returns:
the value of the 'Inverse' reference.
See Also:
FeatureGroupType.setInverse(FeatureGroupType), Aadl2Package.getFeatureGroupType_Inverse()

basicGetInverse

public FeatureGroupType basicGetInverse()


setInverse

public void setInverse(FeatureGroupType newInverse)

Specified by:
setInverse in interface FeatureGroupType
Parameters:
newInverse - the new value of the 'Inverse' reference.
See Also:
FeatureGroupType.getInverse()

getOwnedExtension

public GroupExtension getOwnedExtension()

Specified by:
getOwnedExtension in interface FeatureGroupType
Returns:
the value of the 'Owned Extension' containment reference.
See Also:
FeatureGroupType.setOwnedExtension(GroupExtension), Aadl2Package.getFeatureGroupType_OwnedExtension()

basicSetOwnedExtension

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


setOwnedExtension

public void setOwnedExtension(GroupExtension newOwnedExtension)

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

createOwnedExtension

public GroupExtension createOwnedExtension()

Specified by:
createOwnedExtension in interface FeatureGroupType
Returns:
The new GroupExtension.
See Also:
FeatureGroupType.getOwnedExtension()

getOwnedBusAccesses

public org.eclipse.emf.common.util.EList<BusAccess> getOwnedBusAccesses()

Specified by:
getOwnedBusAccesses in interface FeatureGroupType
Returns:
the value of the 'Owned Bus Access' containment reference list.
See Also:
Aadl2Package.getFeatureGroupType_OwnedBusAccess()

createOwnedBusAccess

public BusAccess createOwnedBusAccess()

Specified by:
createOwnedBusAccess in interface FeatureGroupType
Returns:
The new BusAccess.
See Also:
FeatureGroupType.getOwnedBusAccesses()

getOwnedDataAccesses

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

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

createOwnedDataAccess

public DataAccess createOwnedDataAccess()

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

getOwnedDataPorts

public org.eclipse.emf.common.util.EList<DataPort> getOwnedDataPorts()

Specified by:
getOwnedDataPorts in interface FeatureGroupType
Returns:
the value of the 'Owned Data Port' containment reference list.
See Also:
Aadl2Package.getFeatureGroupType_OwnedDataPort()

createOwnedDataPort

public DataPort createOwnedDataPort()

Specified by:
createOwnedDataPort in interface FeatureGroupType
Returns:
The new DataPort.
See Also:
FeatureGroupType.getOwnedDataPorts()

getOwnedEventDataPorts

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

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

createOwnedEventDataPort

public EventDataPort createOwnedEventDataPort()

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

getOwnedEventPorts

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

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

createOwnedEventPort

public EventPort createOwnedEventPort()

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

getOwnedFeatureGroups

public org.eclipse.emf.common.util.EList<FeatureGroup> getOwnedFeatureGroups()

Specified by:
getOwnedFeatureGroups in interface FeatureGroupType
Returns:
the value of the 'Owned Feature Group' containment reference list.
See Also:
Aadl2Package.getFeatureGroupType_OwnedFeatureGroup()

createOwnedFeatureGroup

public FeatureGroup createOwnedFeatureGroup()

Specified by:
createOwnedFeatureGroup in interface FeatureGroupType
Returns:
The new FeatureGroup.
See Also:
FeatureGroupType.getOwnedFeatureGroups()

getOwnedParameters

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

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

createOwnedParameter

public Parameter createOwnedParameter()

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

getOwnedSubprogramAccesses

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

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

createOwnedSubprogramAccess

public SubprogramAccess createOwnedSubprogramAccess()

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

getOwnedSubprogramGroupAccesses

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

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

createOwnedSubprogramGroupAccess

public SubprogramGroupAccess createOwnedSubprogramGroupAccess()

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

getOwnedAbstractFeatures

public org.eclipse.emf.common.util.EList<AbstractFeature> getOwnedAbstractFeatures()

Specified by:
getOwnedAbstractFeatures in interface FeatureGroupType
Returns:
the value of the 'Owned Abstract Feature' containment reference list.
See Also:
Aadl2Package.getFeatureGroupType_OwnedAbstractFeature()

createOwnedAbstractFeature

public AbstractFeature createOwnedAbstractFeature()

Specified by:
createOwnedAbstractFeature in interface FeatureGroupType
Returns:
The new AbstractFeature.
See Also:
FeatureGroupType.getOwnedAbstractFeatures()

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 ClassifierImpl

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 ClassifierImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class ClassifierImpl

isSetOwnedFeatures

public boolean isSetOwnedFeatures()


isSetClassifierFeatures

public boolean isSetClassifierFeatures()

Overrides:
isSetClassifierFeatures in class ClassifierImpl

isSetOwnedMembers

public boolean isSetOwnedMembers()

Overrides:
isSetOwnedMembers in class ClassifierImpl

isSetGenerals

public boolean isSetGenerals()

Overrides:
isSetGenerals in class ClassifierImpl

isSetGeneralizations

public boolean isSetGeneralizations()

Overrides:
isSetGeneralizations in class ClassifierImpl

findNamedElement

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

isInverseOf

public boolean isInverseOf(FeatureGroupType pgt)
returns true of this feature group type is the inverse of the feature group type pgt

Specified by:
isInverseOf in interface FeatureGroupType
Parameters:
pgt - FeatureGroupType the feature group type to compare to
Returns:
boolean true if they are inverse of each other

getIndexOf

public int getIndexOf(Feature feature)
return the index of the feature in the feature group type

Specified by:
getIndexOf in interface FeatureGroupType
Parameters:
feature - Feature
Returns:
int index of feature or -1 if not found

getAllFeatures

public org.eclipse.emf.common.util.EList<Feature> getAllFeatures()
Get a list of Feature objects representing those features in the feature group type, including those from super types or inverses. In case of an inverse feature group type, we returns its ports of the inverse target.

Specified by:
getAllFeatures in interface Classifier
Returns:
A list of Feature objects

isDescendentOf

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

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

getPropertyValueInternal

public final void getPropertyValueInternal(Property pn,
                                           PropertyAcc paa,
                                           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:
pn - 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.