edu.cmu.sei.aadl.model.core.impl
Class AadlSpecImpl

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.model.core.impl.AObjectImpl
                  extended by edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
                      extended by edu.cmu.sei.aadl.model.core.impl.AadlSpecImpl
All Implemented Interfaces:
AadlSpec, AObject, NamedElement, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class AadlSpecImpl
extends NamedElementImpl
implements AadlSpec

An implementation of the model object 'Aadl Spec'.

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  org.eclipse.emf.ecore.util.FeatureMap contents
          The cached value of the 'Contents' attribute list
static java.lang.String copyright
           
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
comment, 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 org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AadlSpecImpl()
           
 
Method Summary
 void addAadlPackage(AadlPackage newAadlPackage)
          phf: add element to multiplicity EList
 void addAnnexLibrary(AnnexLibrary newAnnexLibrary)
          phf: add element to multiplicity EList
 void addBusImpl(BusImpl newBusImpl)
          phf: add element to multiplicity EList
 void addBusType(BusType newBusType)
          phf: add element to multiplicity EList
 void addClassifier(Classifier cf)
          Adds a classifier to the AadlSpec by calling the specialized method
 void addContents(org.eclipse.emf.ecore.util.FeatureMap.Entry newContents)
          phf: add element to multiplicity EList
 void addDataImpl(DataImpl newDataImpl)
          phf: add element to multiplicity EList
 void addDataType(DataType newDataType)
          phf: add element to multiplicity EList
 void addDeviceImpl(DeviceImpl newDeviceImpl)
          phf: add element to multiplicity EList
 void addDeviceType(DeviceType newDeviceType)
          phf: add element to multiplicity EList
 void addMemoryImpl(MemoryImpl newMemoryImpl)
          phf: add element to multiplicity EList
 void addMemoryType(MemoryType newMemoryType)
          phf: add element to multiplicity EList
 void addPortGroupType(PortGroupType newPortGroupType)
          phf: add element to multiplicity EList
 void addProcessImpl(ProcessImpl newProcessImpl)
          phf: add element to multiplicity EList
 void addProcessorImpl(ProcessorImpl newProcessorImpl)
          phf: add element to multiplicity EList
 void addProcessorType(ProcessorType newProcessorType)
          phf: add element to multiplicity EList
 void addProcessType(ProcessType newProcessType)
          phf: add element to multiplicity EList
 void addPropertySet(PropertySet newPropertySet)
          phf: add element to multiplicity EList
 void addSubprogramImpl(SubprogramImpl newSubprogramImpl)
          phf: add element to multiplicity EList
 void addSubprogramType(SubprogramType newSubprogramType)
          phf: add element to multiplicity EList
 void addSystemImpl(SystemImpl newSystemImpl)
          phf: add element to multiplicity EList
 void addSystemType(SystemType newSystemType)
          phf: add element to multiplicity EList
 void addThreadGroupImpl(ThreadGroupImpl newThreadGroupImpl)
          phf: add element to multiplicity EList
 void addThreadGroupType(ThreadGroupType newThreadGroupType)
          phf: add element to multiplicity EList
 void addThreadImpl(ThreadImpl newThreadImpl)
          phf: add element to multiplicity EList
 void addThreadType(ThreadType newThreadType)
          phf: add element to multiplicity EList
 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)
           
 AnnexLibrary findAnnexLibrary(java.lang.String axname)
          Find an annex library declaration of a given name.
 ComponentClassifier findClassifier(java.lang.String classifierName)
          Find a component classifier and port group type by name.
 NamedElement findNamedElement(java.lang.String name)
          Find a declared item by name
 AadlPackage findPrivateOnlyAadlPackage(java.lang.String pkName)
          Find package declaration of a given name with private only.
 PropertySet findPropertySet(java.lang.String pn)
          Find property set declaration of a given name.
 AadlPackage findPublicAadlPackage(java.lang.String pkName)
          Find package declaration of a given name.
 org.eclipse.emf.common.util.EList getAadlPackage()
           
 org.eclipse.emf.common.util.EList getAllComponentClassifiers(ComponentCategory compCategory)
          Get all component classsifiers in this AadlSpec of the specified category This will return the list of component classifiers in the anon. name space and in any package that is local to the AadlSpec
 org.eclipse.emf.common.util.EList getAllPortGroupTypes()
          Get all component classsifiers in this AadlSpec of the specified category This will return the list of component classifiers in the anon. name space and in any package that is local to the AadlSpec
 org.eclipse.emf.common.util.EList getAnnexLibrary()
           
 org.eclipse.emf.common.util.EList getBusImpl()
           
 org.eclipse.emf.common.util.EList getBusType()
           
 org.eclipse.emf.common.util.EList getClassifier()
          returns the set of classifiers in an AadlSpec
 org.eclipse.emf.ecore.util.FeatureMap getContents()
           
 org.eclipse.emf.common.util.EList getDataImpl()
           
 org.eclipse.emf.common.util.EList getDataType()
           
 org.eclipse.emf.common.util.EList getDeviceImpl()
           
 org.eclipse.emf.common.util.EList getDeviceType()
           
 org.eclipse.emf.common.util.EList getMemoryImpl()
           
 org.eclipse.emf.common.util.EList getMemoryType()
           
 org.eclipse.emf.common.util.EList getPortGroupType()
           
 org.eclipse.emf.common.util.EList getProcessImpl()
           
 org.eclipse.emf.common.util.EList getProcessorImpl()
           
 org.eclipse.emf.common.util.EList getProcessorType()
           
 org.eclipse.emf.common.util.EList getProcessType()
           
 org.eclipse.emf.common.util.EList getPropertySet()
           
 org.eclipse.emf.common.util.EList getSubprogramImpl()
           
 org.eclipse.emf.common.util.EList getSubprogramType()
           
 org.eclipse.emf.common.util.EList getSystemImpl()
           
 org.eclipse.emf.common.util.EList getSystemType()
           
 org.eclipse.emf.common.util.EList getThreadGroupImpl()
           
 org.eclipse.emf.common.util.EList getThreadGroupType()
           
 org.eclipse.emf.common.util.EList getThreadImpl()
           
 org.eclipse.emf.common.util.EList getThreadType()
           
 boolean hasAadlPackage(AadlPackage pk)
          See if package declaration already exists.
 boolean isPackage()
          Does this AadlSpec embody a stand-alone package?
 boolean isPropertySet()
          Does this AadlSpec embody a stand-alone property set?
 boolean isSpecification()
          Is this AadlSpec a component specification?
 java.lang.String toString()
           
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
checkName, getName, setName
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
addComment, eObjectForURIFragmentSegment, eURIFragmentSegment, getAadlSpec, getAdapter, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, 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, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, 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, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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.model.core.NamedElement
getName, setName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, 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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

contents

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

See Also:
getContents()
Constructor Detail

AadlSpecImpl

protected AadlSpecImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class NamedElementImpl

getSystemType

public org.eclipse.emf.common.util.EList getSystemType()

Specified by:
getSystemType in interface AadlSpec
Returns:
the value of the 'System Type' containment reference list.
See Also:
CorePackage.getAadlSpec_SystemType()

addSystemType

public void addSystemType(SystemType newSystemType)
phf: add element to multiplicity EList

Specified by:
addSystemType in interface AadlSpec
Parameters:
newSystemType - the value to add to 'System Type' containment reference list.

getDataType

public org.eclipse.emf.common.util.EList getDataType()

Specified by:
getDataType in interface AadlSpec
Returns:
the value of the 'Data Type' containment reference list.
See Also:
CorePackage.getAadlSpec_DataType()

addDataType

public void addDataType(DataType newDataType)
phf: add element to multiplicity EList

Specified by:
addDataType in interface AadlSpec
Parameters:
newDataType - the value to add to 'Data Type' containment reference list.

getThreadType

public org.eclipse.emf.common.util.EList getThreadType()

Specified by:
getThreadType in interface AadlSpec
Returns:
the value of the 'Thread Type' containment reference list.
See Also:
CorePackage.getAadlSpec_ThreadType()

addThreadType

public void addThreadType(ThreadType newThreadType)
phf: add element to multiplicity EList

Specified by:
addThreadType in interface AadlSpec
Parameters:
newThreadType - the value to add to 'Thread Type' containment reference list.

getThreadGroupType

public org.eclipse.emf.common.util.EList getThreadGroupType()

Specified by:
getThreadGroupType in interface AadlSpec
Returns:
the value of the 'Thread Group Type' containment reference list.
See Also:
CorePackage.getAadlSpec_ThreadGroupType()

addThreadGroupType

public void addThreadGroupType(ThreadGroupType newThreadGroupType)
phf: add element to multiplicity EList

Specified by:
addThreadGroupType in interface AadlSpec
Parameters:
newThreadGroupType - the value to add to 'Thread Group Type' containment reference list.

getProcessType

public org.eclipse.emf.common.util.EList getProcessType()

Specified by:
getProcessType in interface AadlSpec
Returns:
the value of the 'Process Type' containment reference list.
See Also:
CorePackage.getAadlSpec_ProcessType()

addProcessType

public void addProcessType(ProcessType newProcessType)
phf: add element to multiplicity EList

Specified by:
addProcessType in interface AadlSpec
Parameters:
newProcessType - the value to add to 'Process Type' containment reference list.

getSubprogramType

public org.eclipse.emf.common.util.EList getSubprogramType()

Specified by:
getSubprogramType in interface AadlSpec
Returns:
the value of the 'Subprogram Type' containment reference list.
See Also:
CorePackage.getAadlSpec_SubprogramType()

addSubprogramType

public void addSubprogramType(SubprogramType newSubprogramType)
phf: add element to multiplicity EList

Specified by:
addSubprogramType in interface AadlSpec
Parameters:
newSubprogramType - the value to add to 'Subprogram Type' containment reference list.

getProcessorType

public org.eclipse.emf.common.util.EList getProcessorType()

Specified by:
getProcessorType in interface AadlSpec
Returns:
the value of the 'Processor Type' containment reference list.
See Also:
CorePackage.getAadlSpec_ProcessorType()

addProcessorType

public void addProcessorType(ProcessorType newProcessorType)
phf: add element to multiplicity EList

Specified by:
addProcessorType in interface AadlSpec
Parameters:
newProcessorType - the value to add to 'Processor Type' containment reference list.

getMemoryType

public org.eclipse.emf.common.util.EList getMemoryType()

Specified by:
getMemoryType in interface AadlSpec
Returns:
the value of the 'Memory Type' containment reference list.
See Also:
CorePackage.getAadlSpec_MemoryType()

addMemoryType

public void addMemoryType(MemoryType newMemoryType)
phf: add element to multiplicity EList

Specified by:
addMemoryType in interface AadlSpec
Parameters:
newMemoryType - the value to add to 'Memory Type' containment reference list.

getBusType

public org.eclipse.emf.common.util.EList getBusType()

Specified by:
getBusType in interface AadlSpec
Returns:
the value of the 'Bus Type' containment reference list.
See Also:
CorePackage.getAadlSpec_BusType()

addBusType

public void addBusType(BusType newBusType)
phf: add element to multiplicity EList

Specified by:
addBusType in interface AadlSpec
Parameters:
newBusType - the value to add to 'Bus Type' containment reference list.

getDeviceType

public org.eclipse.emf.common.util.EList getDeviceType()

Specified by:
getDeviceType in interface AadlSpec
Returns:
the value of the 'Device Type' containment reference list.
See Also:
CorePackage.getAadlSpec_DeviceType()

addDeviceType

public void addDeviceType(DeviceType newDeviceType)
phf: add element to multiplicity EList

Specified by:
addDeviceType in interface AadlSpec
Parameters:
newDeviceType - the value to add to 'Device Type' containment reference list.

getSystemImpl

public org.eclipse.emf.common.util.EList getSystemImpl()

Specified by:
getSystemImpl in interface AadlSpec
Returns:
the value of the 'System Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_SystemImpl()

addSystemImpl

public void addSystemImpl(SystemImpl newSystemImpl)
phf: add element to multiplicity EList

Specified by:
addSystemImpl in interface AadlSpec
Parameters:
newSystemImpl - the value to add to 'System Impl' containment reference list.

getDataImpl

public org.eclipse.emf.common.util.EList getDataImpl()

Specified by:
getDataImpl in interface AadlSpec
Returns:
the value of the 'Data Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_DataImpl()

addDataImpl

public void addDataImpl(DataImpl newDataImpl)
phf: add element to multiplicity EList

Specified by:
addDataImpl in interface AadlSpec
Parameters:
newDataImpl - the value to add to 'Data Impl' containment reference list.

getThreadImpl

public org.eclipse.emf.common.util.EList getThreadImpl()

Specified by:
getThreadImpl in interface AadlSpec
Returns:
the value of the 'Thread Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_ThreadImpl()

addThreadImpl

public void addThreadImpl(ThreadImpl newThreadImpl)
phf: add element to multiplicity EList

Specified by:
addThreadImpl in interface AadlSpec
Parameters:
newThreadImpl - the value to add to 'Thread Impl' containment reference list.

getThreadGroupImpl

public org.eclipse.emf.common.util.EList getThreadGroupImpl()

Specified by:
getThreadGroupImpl in interface AadlSpec
Returns:
the value of the 'Thread Group Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_ThreadGroupImpl()

addThreadGroupImpl

public void addThreadGroupImpl(ThreadGroupImpl newThreadGroupImpl)
phf: add element to multiplicity EList

Specified by:
addThreadGroupImpl in interface AadlSpec
Parameters:
newThreadGroupImpl - the value to add to 'Thread Group Impl' containment reference list.

getProcessImpl

public org.eclipse.emf.common.util.EList getProcessImpl()

Specified by:
getProcessImpl in interface AadlSpec
Returns:
the value of the 'Process Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_ProcessImpl()

addProcessImpl

public void addProcessImpl(ProcessImpl newProcessImpl)
phf: add element to multiplicity EList

Specified by:
addProcessImpl in interface AadlSpec
Parameters:
newProcessImpl - the value to add to 'Process Impl' containment reference list.

getSubprogramImpl

public org.eclipse.emf.common.util.EList getSubprogramImpl()

Specified by:
getSubprogramImpl in interface AadlSpec
Returns:
the value of the 'Subprogram Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_SubprogramImpl()

addSubprogramImpl

public void addSubprogramImpl(SubprogramImpl newSubprogramImpl)
phf: add element to multiplicity EList

Specified by:
addSubprogramImpl in interface AadlSpec
Parameters:
newSubprogramImpl - the value to add to 'Subprogram Impl' containment reference list.

getProcessorImpl

public org.eclipse.emf.common.util.EList getProcessorImpl()

Specified by:
getProcessorImpl in interface AadlSpec
Returns:
the value of the 'Processor Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_ProcessorImpl()

addProcessorImpl

public void addProcessorImpl(ProcessorImpl newProcessorImpl)
phf: add element to multiplicity EList

Specified by:
addProcessorImpl in interface AadlSpec
Parameters:
newProcessorImpl - the value to add to 'Processor Impl' containment reference list.

getMemoryImpl

public org.eclipse.emf.common.util.EList getMemoryImpl()

Specified by:
getMemoryImpl in interface AadlSpec
Returns:
the value of the 'Memory Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_MemoryImpl()

addMemoryImpl

public void addMemoryImpl(MemoryImpl newMemoryImpl)
phf: add element to multiplicity EList

Specified by:
addMemoryImpl in interface AadlSpec
Parameters:
newMemoryImpl - the value to add to 'Memory Impl' containment reference list.

getBusImpl

public org.eclipse.emf.common.util.EList getBusImpl()

Specified by:
getBusImpl in interface AadlSpec
Returns:
the value of the 'Bus Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_BusImpl()

addBusImpl

public void addBusImpl(BusImpl newBusImpl)
phf: add element to multiplicity EList

Specified by:
addBusImpl in interface AadlSpec
Parameters:
newBusImpl - the value to add to 'Bus Impl' containment reference list.

getDeviceImpl

public org.eclipse.emf.common.util.EList getDeviceImpl()

Specified by:
getDeviceImpl in interface AadlSpec
Returns:
the value of the 'Device Impl' containment reference list.
See Also:
CorePackage.getAadlSpec_DeviceImpl()

addDeviceImpl

public void addDeviceImpl(DeviceImpl newDeviceImpl)
phf: add element to multiplicity EList

Specified by:
addDeviceImpl in interface AadlSpec
Parameters:
newDeviceImpl - the value to add to 'Device Impl' containment reference list.

getPortGroupType

public org.eclipse.emf.common.util.EList getPortGroupType()

Specified by:
getPortGroupType in interface AadlSpec
Returns:
the value of the 'Port Group Type' containment reference list.
See Also:
CorePackage.getAadlSpec_PortGroupType()

addPortGroupType

public void addPortGroupType(PortGroupType newPortGroupType)
phf: add element to multiplicity EList

Specified by:
addPortGroupType in interface AadlSpec
Parameters:
newPortGroupType - the value to add to 'Port Group Type' containment reference list.

getPropertySet

public org.eclipse.emf.common.util.EList getPropertySet()

Specified by:
getPropertySet in interface AadlSpec
Returns:
the value of the 'Property Set' containment reference list.
See Also:
CorePackage.getAadlSpec_PropertySet()

addPropertySet

public void addPropertySet(PropertySet newPropertySet)
phf: add element to multiplicity EList

Specified by:
addPropertySet in interface AadlSpec
Parameters:
newPropertySet - the value to add to 'Property Set' containment reference list.

getAnnexLibrary

public org.eclipse.emf.common.util.EList getAnnexLibrary()

Specified by:
getAnnexLibrary in interface AadlSpec
Returns:
the value of the 'Annex Library' containment reference list.
See Also:
CorePackage.getAadlSpec_AnnexLibrary()

addAnnexLibrary

public void addAnnexLibrary(AnnexLibrary newAnnexLibrary)
phf: add element to multiplicity EList

Specified by:
addAnnexLibrary in interface AadlSpec
Parameters:
newAnnexLibrary - the value to add to 'Annex Library' containment reference list.

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 NamedElementImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getContents

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

Specified by:
getContents in interface AadlSpec
Returns:
the value of the 'Contents' attribute list.
See Also:
CorePackage.getAadlSpec_Contents()

addContents

public void addContents(org.eclipse.emf.ecore.util.FeatureMap.Entry newContents)
phf: add element to multiplicity EList

Specified by:
addContents in interface AadlSpec
Parameters:
newContents - the value to add to 'Contents' attribute list.

getAadlPackage

public org.eclipse.emf.common.util.EList getAadlPackage()

Specified by:
getAadlPackage in interface AadlSpec
Returns:
the value of the 'Aadl Package' containment reference list.
See Also:
CorePackage.getAadlSpec_AadlPackage()

addAadlPackage

public void addAadlPackage(AadlPackage newAadlPackage)
phf: add element to multiplicity EList

Specified by:
addAadlPackage in interface AadlSpec
Parameters:
newAadlPackage - the value to add to 'Aadl Package' containment reference list.

toString

public java.lang.String toString()

Overrides:
toString in class NamedElementImpl

addClassifier

public void addClassifier(Classifier cf)
Adds a classifier to the AadlSpec by calling the specialized method

Specified by:
addClassifier in interface AadlSpec

findNamedElement

public NamedElement findNamedElement(java.lang.String name)
Find a declared item by name

Specified by:
findNamedElement in interface AadlSpec
Parameters:
name - string
Returns:
declared element

findClassifier

public ComponentClassifier findClassifier(java.lang.String classifierName)
Find a component classifier and port group type by name.

Specified by:
findClassifier in interface AadlSpec
Parameters:
classifierName - the type name
Returns:
Reference to the classifier, null if not found.

getClassifier

public org.eclipse.emf.common.util.EList getClassifier()
returns the set of classifiers in an AadlSpec

Specified by:
getClassifier in interface AadlSpec
Returns:
EList of Classifiers

findAnnexLibrary

public AnnexLibrary findAnnexLibrary(java.lang.String axname)
Find an annex library declaration of a given name.

Specified by:
findAnnexLibrary in interface AadlSpec
Parameters:
axname - the annex library
Returns:
Reference to the annex library, null if not found.

findPropertySet

public PropertySet findPropertySet(java.lang.String pn)
Find property set declaration of a given name.

Specified by:
findPropertySet in interface AadlSpec
Parameters:
pn - string property set name
Returns:
Reference to the property set, null if not found.

findPublicAadlPackage

public AadlPackage findPublicAadlPackage(java.lang.String pkName)
Find package declaration of a given name.

Specified by:
findPublicAadlPackage in interface AadlSpec
Parameters:
pkName - string package name
Returns:
package declaration with public. Null if none found

findPrivateOnlyAadlPackage

public AadlPackage findPrivateOnlyAadlPackage(java.lang.String pkName)
Find package declaration of a given name with private only.

Specified by:
findPrivateOnlyAadlPackage in interface AadlSpec
Parameters:
pkName - string package name
Returns:
package declaration with private only. Null if none found

hasAadlPackage

public boolean hasAadlPackage(AadlPackage pk)
See if package declaration already exists. Assumes that pk is not included yet.

Specified by:
hasAadlPackage in interface AadlSpec
Parameters:
pk - package whose name is used for lookup
Returns:
True if package already exists with the public or private section being declared by pk

isPackage

public boolean isPackage()
Description copied from interface: AadlSpec
Does this AadlSpec embody a stand-alone package?

Specified by:
isPackage in interface AadlSpec
Returns:
true iff the specification has a single child and that child is an AadlPackage.

isPropertySet

public boolean isPropertySet()
Description copied from interface: AadlSpec
Does this AadlSpec embody a stand-alone property set?

Specified by:
isPropertySet in interface AadlSpec
Returns:
true iff the specification has a single child and that child is a PropertySet.

isSpecification

public boolean isSpecification()
Description copied from interface: AadlSpec
Is this AadlSpec a component specification?

Specified by:
isSpecification in interface AadlSpec
Returns:
!isPackage() && !isPropertySet()

getAllComponentClassifiers

public org.eclipse.emf.common.util.EList getAllComponentClassifiers(ComponentCategory compCategory)
Get all component classsifiers in this AadlSpec of the specified category This will return the list of component classifiers in the anon. name space and in any package that is local to the AadlSpec

Specified by:
getAllComponentClassifiers in interface AadlSpec
Parameters:
compCategory -
Returns:
the EList of ComponentClassifier

getAllPortGroupTypes

public org.eclipse.emf.common.util.EList getAllPortGroupTypes()
Get all component classsifiers in this AadlSpec of the specified category This will return the list of component classifiers in the anon. name space and in any package that is local to the AadlSpec

Specified by:
getAllPortGroupTypes in interface AadlSpec
Returns:
the EList of ComponentClassifier