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

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.RefinesTypeImpl
All Implemented Interfaces:
AObject, RefinesType, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RefinesTypeImpl
extends AObjectImpl
implements RefinesType

An implementation of the model object 'Refines 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  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.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 RefinesTypeImpl()
           
 
Method Summary
 void addBusAccess(BusAccess newBusAccess)
          phf: add element to multiplicity EList
 void addContents(org.eclipse.emf.ecore.util.FeatureMap.Entry newContents)
          phf: add element to multiplicity EList
 void addDataAccess(DataAccess newDataAccess)
          phf: add element to multiplicity EList
 void addDataPort(DataPort newDataPort)
          phf: add element to multiplicity EList
 void addEventDataPort(EventDataPort newEventDataPort)
          phf: add element to multiplicity EList
 void addEventPort(EventPort newEventPort)
          phf: add element to multiplicity EList
 void addFeatureRefinement(Feature f)
          add feature through appropriate subclass method
 void addParameter(Parameter newParameter)
          phf: add element to multiplicity EList
 void addPortGroup(PortGroup newPortGroup)
          phf: add element to multiplicity EList
 void addServerSubprogram(ServerSubprogram newServerSubprogram)
          phf: add element to multiplicity EList
 void addSubprogram(Subprogram newSubprogram)
          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)
           
 org.eclipse.emf.common.util.EList getBusAccess()
           
 org.eclipse.emf.ecore.util.FeatureMap getContents()
           
 org.eclipse.emf.common.util.EList getDataAccess()
           
 org.eclipse.emf.common.util.EList getDataPort()
           
 org.eclipse.emf.common.util.EList getEventDataPort()
           
 org.eclipse.emf.common.util.EList getEventPort()
           
 org.eclipse.emf.common.util.EList getParameter()
           
 org.eclipse.emf.common.util.EList getPortGroup()
           
 org.eclipse.emf.common.util.EList getServerSubprogram()
           
 org.eclipse.emf.common.util.EList getSubprogram()
           
 java.lang.String toString()
           
 
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.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

RefinesTypeImpl

protected RefinesTypeImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class AObjectImpl

getContents

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

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

addContents

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

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

getBusAccess

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

Specified by:
getBusAccess in interface RefinesType
Returns:
the value of the 'Bus Access' containment reference list.
See Also:
CorePackage.getRefinesType_BusAccess()

addBusAccess

public void addBusAccess(BusAccess newBusAccess)
phf: add element to multiplicity EList

Specified by:
addBusAccess in interface RefinesType
Parameters:
newBusAccess - the value to add to 'Bus Access' containment reference list.

getServerSubprogram

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

Specified by:
getServerSubprogram in interface RefinesType
Returns:
the value of the 'Server Subprogram' containment reference list.
See Also:
CorePackage.getRefinesType_ServerSubprogram()

addServerSubprogram

public void addServerSubprogram(ServerSubprogram newServerSubprogram)
phf: add element to multiplicity EList

Specified by:
addServerSubprogram in interface RefinesType
Parameters:
newServerSubprogram - the value to add to 'Server Subprogram' containment reference list.

getEventDataPort

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

Specified by:
getEventDataPort in interface RefinesType
Returns:
the value of the 'Event Data Port' containment reference list.
See Also:
CorePackage.getRefinesType_EventDataPort()

addEventDataPort

public void addEventDataPort(EventDataPort newEventDataPort)
phf: add element to multiplicity EList

Specified by:
addEventDataPort in interface RefinesType
Parameters:
newEventDataPort - the value to add to 'Event Data Port' containment reference list.

getDataAccess

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

Specified by:
getDataAccess in interface RefinesType
Returns:
the value of the 'Data Access' containment reference list.
See Also:
CorePackage.getRefinesType_DataAccess()

addDataAccess

public void addDataAccess(DataAccess newDataAccess)
phf: add element to multiplicity EList

Specified by:
addDataAccess in interface RefinesType
Parameters:
newDataAccess - the value to add to 'Data Access' containment reference list.

getPortGroup

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

Specified by:
getPortGroup in interface RefinesType
Returns:
the value of the 'Port Group' containment reference list.
See Also:
CorePackage.getRefinesType_PortGroup()

addPortGroup

public void addPortGroup(PortGroup newPortGroup)
phf: add element to multiplicity EList

Specified by:
addPortGroup in interface RefinesType
Parameters:
newPortGroup - the value to add to 'Port Group' containment reference list.

getParameter

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

Specified by:
getParameter in interface RefinesType
Returns:
the value of the 'Parameter' containment reference list.
See Also:
CorePackage.getRefinesType_Parameter()

addParameter

public void addParameter(Parameter newParameter)
phf: add element to multiplicity EList

Specified by:
addParameter in interface RefinesType
Parameters:
newParameter - the value to add to 'Parameter' containment reference list.

getEventPort

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

Specified by:
getEventPort in interface RefinesType
Returns:
the value of the 'Event Port' containment reference list.
See Also:
CorePackage.getRefinesType_EventPort()

addEventPort

public void addEventPort(EventPort newEventPort)
phf: add element to multiplicity EList

Specified by:
addEventPort in interface RefinesType
Parameters:
newEventPort - the value to add to 'Event Port' containment reference list.

getDataPort

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

Specified by:
getDataPort in interface RefinesType
Returns:
the value of the 'Data Port' containment reference list.
See Also:
CorePackage.getRefinesType_DataPort()

addDataPort

public void addDataPort(DataPort newDataPort)
phf: add element to multiplicity EList

Specified by:
addDataPort in interface RefinesType
Parameters:
newDataPort - the value to add to 'Data Port' containment reference list.

getSubprogram

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

Specified by:
getSubprogram in interface RefinesType
Returns:
the value of the 'Subprogram' containment reference list.
See Also:
CorePackage.getRefinesType_Subprogram()

addSubprogram

public void addSubprogram(Subprogram newSubprogram)
phf: add element to multiplicity EList

Specified by:
addSubprogram in interface RefinesType
Parameters:
newSubprogram - the value to add to 'Subprogram' 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 AObjectImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class AObjectImpl

addFeatureRefinement

public void addFeatureRefinement(Feature f)
add feature through appropriate subclass method

Specified by:
addFeatureRefinement in interface RefinesType