|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
edu.cmu.sei.aadl.model.core.impl.AObjectImpl
edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl
edu.cmu.sei.aadl.model.core.impl.ClassifierImpl
edu.cmu.sei.aadl.model.core.impl.ComponentClassifierImpl
edu.cmu.sei.aadl.model.core.impl.ComponentImplImpl
public abstract class ComponentImplImpl
An implementation of the model object 'Component Impl'.
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 Connections |
connections
The cached value of the ' Connections ' containment reference |
static java.lang.String |
copyright
|
protected Flows |
flows
The cached value of the ' Flows ' containment reference |
protected Modes |
modes
The cached value of the ' Modes ' containment reference |
protected RefinesType |
refinesType
The cached value of the ' Refines Type ' containment reference |
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.ComponentClassifierImpl |
---|
extendedClassifierReference |
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.ClassifierImpl |
---|
annexSubclause |
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl |
---|
properties |
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 |
ComponentImplImpl()
|
Method Summary | |
---|---|
void |
addConnection(Connection conn)
add connection to component impl |
void |
addSubcomponent(Subcomponent sc)
add a subcomponent to a component implementation |
org.eclipse.emf.common.notify.NotificationChain |
basicSetConnections(Connections newConnections,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetFlows(Flows newFlows,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetModes(Modes newModes,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetRefinesType(RefinesType newRefinesType,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
Subcomponents |
createXSubcomponents()
create a Subcomponents object of the appropriate category |
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)
|
Connection |
findConnection(java.lang.String name)
Find a connection by name in this component implementation and its superimplementations. |
org.eclipse.emf.common.util.EList |
findFlowSequence(java.lang.String name)
Find all flow sequences by name in implementation and its superimplementations. |
Mode |
findMode(java.lang.String name)
Find a mode by name in this component implementation and its superimplementations. |
ModeTransition |
findModeTransition(java.lang.String srcName,
java.lang.String dstName)
Find mode transition by src and dst name in an component implementation and its superimplementations. |
Feature |
findRefinedFeature(java.lang.String name)
Find a refined feature in this component implementation and its super implementations. |
Subcomponent |
findSubcomponent(java.lang.String name)
Find a subcomponent by name in this component implementation and its superimplementations. |
SubprogramSubcomponent |
findSubprogram(java.lang.String name)
Find subprogram in calls section of a thread or subprogram implementaton. |
org.eclipse.emf.common.util.EList |
getAllConnection()
get list of all connections of a component impl, including ancestor features In case of refined connections the refined connection is returned in the list. |
org.eclipse.emf.common.util.EList |
getAllConnection(Mode mode)
get list of all connections of a component impl in a given mode, including ancestor features In case of refined connections the refined connection is returned in the list. |
java.util.Map |
getAllFlowImpl(FlowSpec flowSpec)
get the flow implementations for a given specificiation for all the modes. |
FlowImpl |
getAllFlowImpl(FlowSpec flowSpec,
Mode mode)
get the flow implementation for a given flow specification in the given mode. |
org.eclipse.emf.common.util.EList |
getAllFlowSequence()
get list of all flow sequence objects of a component impl, including ancestor flow sequences In case of refined flow sequences the refined flow sequences is returned in the list. |
org.eclipse.emf.common.util.EList |
getAllFlowSequence(Mode mode)
get list of all flow sequence objects of a component impl, including ancestor flow sequences that apply in the specified mode. |
org.eclipse.emf.common.util.EList |
getAllMode()
get list of all mode objects of a component impl, including ancestor modes In case of refined modes the refined mode is returned in the list. |
org.eclipse.emf.common.util.EList |
getAllModeAndModeTransition()
get list of all mode and mode transition objects of a component impl, including ancestor modes In case of refined modes the refined mode is returned in the list. |
org.eclipse.emf.common.util.EList |
getAllModeTransition()
get list of all mode transition objects of a component impl, including ancestor modes |
ComponentType |
getComponentType()
returns the component type of a given implementation |
org.eclipse.emf.common.util.EList |
getConnection()
returns the connection objects of a given implementation |
org.eclipse.emf.common.util.EList |
getConnection(Mode mode)
returns the connection objects of a given implementation for a given mode |
Connections |
getConnections()
|
Connections |
getConnections(boolean create)
retrieve Connections object. |
Flows |
getFlows()
|
Flows |
getFlows(boolean create)
retrieve Flows object. |
org.eclipse.emf.common.util.EList |
getFlowSequence()
get the flow sequence objects list of a component implementation |
org.eclipse.emf.common.util.EList |
getFlowSequence(Mode mode)
returns the flow sequence objects of a given implementation for a given mode |
java.lang.String |
getImplName()
get implementation name without type name |
org.eclipse.emf.common.util.EList |
getIngoingConnection(Feature feature)
get ingoing connections to subcomponents from a specified feature of the component impl |
org.eclipse.emf.common.util.EList |
getMode()
returns the list of mode objects of a given implementation |
org.eclipse.emf.common.util.EList |
getModeAndModeTransition()
returns the list of mode & mode transition objects of a given implementation |
Modes |
getModes()
|
Modes |
getModes(boolean create)
retrieve Modes object. |
org.eclipse.emf.common.util.EList |
getModeTransition()
returns the list of mode transition objects of a given implementation |
org.eclipse.emf.common.util.EList |
getOutcomingConnection(Feature feature)
get outcoming connections from subcomponents to a specified feature of the component impl |
void |
getPropertyValueInternal(PropertyDefinition property,
ModalPropertyValueAccumulator pva,
boolean fromInstanceSlaveCall)
Helper routine for computing the value of the property. |
java.lang.String |
getQualifiedName()
get qualified component impl name. |
java.lang.String |
getQualifiedTypeName()
get qualified type name |
AObject |
getReferencedObject()
get the first object being referenced by this object. |
org.eclipse.emf.common.util.EList |
getRefinedFeature()
returns the list of refined features |
RefinesType |
getRefinesType()
|
RefinesType |
getRefinesType(boolean create)
retrieve RefinesType object. |
java.lang.String |
getTypeName()
get type name from link or parsed name |
java.util.Collection |
getXAllAbstractPort()
get list of all abstract ports (ports, port groups, parameters )of a component impl, including those of ancestors These are the abstract ports of its classifier In case of refined abstract ports the refined abstract ports is returned in the list. |
org.eclipse.emf.common.util.EList |
getXAllCallSequence()
returns the call sequences of threads or subprograms including inherited call sequences |
org.eclipse.emf.common.util.EList |
getXAllFeature()
get list of all features of a component impl, including ancestor features These are the features of its type augmented by the refines type declarations In case of refined features the refined features is returned in the list. |
org.eclipse.emf.common.util.EList |
getXAllSubcomponent()
get list of all subcomponents of a component impl, including ancestor features In case of refined connections the refined connection is returned in the list. |
org.eclipse.emf.common.util.EList |
getXAllSubcomponent(Mode mode)
get list of all subcomponents in the specified mode of a component impl, including ancestor features In case of refined connections the refined connection is returned in the list. |
org.eclipse.emf.common.util.EList |
getXCallSequence()
returns the call sequences of threads or subprograms |
CallSequences |
getXCallSequences()
returns the call sequences of threads or subprograms |
CallSequences |
getXCallSequences(boolean create)
returns the call sequences of threads or subprograms |
org.eclipse.emf.common.util.EList |
getXSubcomponent()
returns the subcomponents list of a given implementation null if no subcomponents clause does not exist and empty list if no subc. |
org.eclipse.emf.common.util.EList |
getXSubcomponent(Mode mode)
returns the subcomponents list of a given mode in an implementation null if no subcomponents clause does not exist and empty list if no subc. |
Subcomponents |
getXSubcomponents()
returns the subcomponents object of a given implementation null if no subcomponents clause |
Subcomponents |
getXSubcomponents(boolean create)
get the subcomponents of a component impl create the object if it does not exist yet. |
boolean |
isDescendentOf(ComponentClassifier cc)
Does this component implementation descend from the given classifier? |
void |
setComponentType(ComponentType ct)
sets the component type of a given implementation |
void |
setConnections(Connections newConnections)
phf: we want an add version for EList |
void |
setFlows(Flows newFlows)
phf: we want an add version for EList |
void |
setModes(Modes newModes)
phf: we want an add version for EList |
void |
setName(java.lang.String name)
set the name. |
void |
setRefinesType(RefinesType newRefinesType)
phf: we want an add version for EList |
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.ComponentClassifierImpl |
---|
checkAppliesToClassifier, getCategory, getName |
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.ClassifierImpl |
---|
addAnnexSubclause, getAllPropertyAssociation, getAnnexSubclause, getExtendedClassifierReference, getExtendedQualifiedName, getPackageName, getXAllExtend, getXAllExtendPlusSelf, getXExtend, hasExtends, setExtendedClassifierReference |
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl |
---|
checkName, toString |
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.ComponentImpl |
---|
addSubcomponents |
Methods inherited from interface edu.cmu.sei.aadl.model.core.ComponentClassifier |
---|
checkAppliesToClassifier, getCategory |
Methods inherited from interface edu.cmu.sei.aadl.model.core.Classifier |
---|
addAnnexSubclause, getAllPropertyAssociation, getAnnexSubclause, getExtendedClassifierReference, getExtendedQualifiedName, getPackageName, getXAllExtend, getXAllExtendPlusSelf, getXExtend, hasExtends, setExtendedClassifierReference |
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement |
---|
getName |
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject |
---|
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, 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 |
---|
public static final java.lang.String copyright
protected Connections connections
Connections
' containment reference.
getConnections()
protected Modes modes
Modes
' containment reference.
getModes()
protected RefinesType refinesType
Refines Type
' containment reference.
getRefinesType()
protected Flows flows
Flows
' containment reference.
getFlows()
Constructor Detail |
---|
protected ComponentImplImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ComponentClassifierImpl
public Connections getConnections()
getConnections
in interface ComponentImpl
ComponentImpl.setConnections(Connections)
,
CorePackage.getComponentImpl_Connections()
public Connections getConnections(boolean create)
getConnections
in interface ComponentImpl
create
- if true create the object if it does not exist
public org.eclipse.emf.common.notify.NotificationChain basicSetConnections(Connections newConnections, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setConnections(Connections newConnections)
setConnections
in interface ComponentImpl
newConnections
- the new value of the 'Connections' containment reference.ComponentImpl.getConnections()
public Modes getModes()
getModes
in interface ComponentImpl
ComponentImpl.setModes(Modes)
,
CorePackage.getComponentImpl_Modes()
public Modes getModes(boolean create)
getModes
in interface ComponentImpl
create
- if true create the object if it does not exist
public org.eclipse.emf.common.notify.NotificationChain basicSetModes(Modes newModes, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setModes(Modes newModes)
setModes
in interface ComponentImpl
newModes
- the new value of the 'Modes' containment reference.ComponentImpl.getModes()
public RefinesType getRefinesType()
getRefinesType
in interface ComponentImpl
ComponentImpl.setRefinesType(RefinesType)
,
CorePackage.getComponentImpl_RefinesType()
public RefinesType getRefinesType(boolean create)
getRefinesType
in interface ComponentImpl
create
- if true create the object if it does not exist
public org.eclipse.emf.common.notify.NotificationChain basicSetRefinesType(RefinesType newRefinesType, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setRefinesType(RefinesType newRefinesType)
setRefinesType
in interface ComponentImpl
newRefinesType
- the new value of the 'Refines Type' containment reference.ComponentImpl.getRefinesType()
public Flows getFlows()
getFlows
in interface ComponentImpl
ComponentImpl.setFlows(Flows)
,
CorePackage.getComponentImpl_Flows()
public Flows getFlows(boolean create)
getFlows
in interface ComponentImpl
create
- if true create the object if it does not exist
public org.eclipse.emf.common.notify.NotificationChain basicSetFlows(Flows newFlows, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFlows(Flows newFlows)
setFlows
in interface ComponentImpl
newFlows
- the new value of the 'Flows' containment reference.ComponentImpl.getFlows()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ClassifierImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ClassifierImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ClassifierImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ClassifierImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ClassifierImpl
public java.lang.String getTypeName()
getTypeName
in interface ComponentImpl
public java.lang.String getQualifiedTypeName()
getQualifiedTypeName
in interface ComponentImpl
getQualifiedTypeName
in class ClassifierImpl
public java.lang.String getImplName()
getImplName
in interface ComponentImpl
public void setName(java.lang.String name)
setName
in interface NamedElement
setName
in class NamedElementImpl
name
- implementation nameNamedElement.getName()
public ComponentType getComponentType()
getComponentType
in interface ComponentImpl
public Subcomponents getXSubcomponents()
getXSubcomponents
in interface ComponentImpl
public Subcomponents getXSubcomponents(boolean create)
getXSubcomponents
in interface ComponentImpl
create
- boolean create object if it does not exist
public Subcomponents createXSubcomponents()
createXSubcomponents
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXSubcomponent()
getXSubcomponent
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXSubcomponent(Mode mode)
getXSubcomponent
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXAllSubcomponent()
getXAllSubcomponent
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXAllSubcomponent(Mode mode)
getXAllSubcomponent
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getConnection()
getConnection
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getConnection(Mode mode)
getConnection
in interface ComponentImpl
mode
- mode for which connections are retrieved.
public org.eclipse.emf.common.util.EList getAllConnection()
getAllConnection
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getAllConnection(Mode mode)
getAllConnection
in interface ComponentImpl
mode
- mode for which connections are to be retrieved
public org.eclipse.emf.common.util.EList getModeAndModeTransition()
getModeAndModeTransition
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getMode()
getMode
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getModeTransition()
getModeTransition
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getAllModeAndModeTransition()
getAllModeAndModeTransition
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getAllMode()
getAllMode
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getAllModeTransition()
getAllModeTransition
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXCallSequence()
getXCallSequence
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXAllCallSequence()
getXAllCallSequence
in interface ComponentImpl
public CallSequences getXCallSequences()
getXCallSequences
in interface ComponentImpl
public CallSequences getXCallSequences(boolean create)
getXCallSequences
in interface ComponentImpl
create
- if true create object if it does not exist
public org.eclipse.emf.common.util.EList getRefinedFeature()
getRefinedFeature
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getXAllFeature()
getXAllFeature
in interface Classifier
getXAllFeature
in interface ComponentImpl
getXAllFeature
in class ComponentClassifierImpl
public java.util.Collection getXAllAbstractPort()
getXAllAbstractPort
in interface ComponentImpl
public void setComponentType(ComponentType ct)
setComponentType
in interface ComponentImpl
public java.lang.String getQualifiedName()
getQualifiedName
in interface Classifier
getQualifiedName
in interface ComponentImpl
getQualifiedName
in class ClassifierImpl
public FlowImpl getAllFlowImpl(FlowSpec flowSpec, Mode mode)
ComponentImpl
getAllFlowImpl
in interface ComponentImpl
public java.util.Map getAllFlowImpl(FlowSpec flowSpec)
ComponentImpl
getAllFlowImpl
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getFlowSequence()
getFlowSequence
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getFlowSequence(Mode mode)
getFlowSequence
in interface ComponentImpl
mode
- mode for which flow sequences are retrieved.
public org.eclipse.emf.common.util.EList getAllFlowSequence()
getAllFlowSequence
in interface ComponentImpl
public org.eclipse.emf.common.util.EList getAllFlowSequence(Mode mode)
getAllFlowSequence
in interface ComponentImpl
mode
- mode to be selected
public Feature findRefinedFeature(java.lang.String name)
findRefinedFeature
in interface ComponentImpl
name
- The name of the feature to find
public Mode findMode(java.lang.String name)
ComponentImpl
findMode
in interface ComponentImpl
name
- the name of the mode to find.
public Connection findConnection(java.lang.String name)
ComponentImpl
findConnection
in interface ComponentImpl
name
- the name of the connection to find.
public Subcomponent findSubcomponent(java.lang.String name)
ComponentImpl
findSubcomponent
in interface ComponentImpl
name
- the name of the subcomponent to find.
public org.eclipse.emf.common.util.EList findFlowSequence(java.lang.String name)
ComponentImpl
findFlowSequence
in interface ComponentImpl
name
- the name of the flow sequence.
public ModeTransition findModeTransition(java.lang.String srcName, java.lang.String dstName)
ComponentImpl
findModeTransition
in interface ComponentImpl
srcName
- the name of the source modedstName
- the name of the destination mode
public SubprogramSubcomponent findSubprogram(java.lang.String name)
ComponentImpl
findSubprogram
in interface ComponentImpl
name
- the name of the subprogram subcomponent.
public final void getPropertyValueInternal(PropertyDefinition property, ModalPropertyValueAccumulator pva, boolean fromInstanceSlaveCall) throws InvalidModelException
PropertyHolder
PropertyHolderImpl
, but because
of the way that EMF deals with multiple inheritance, not all
implementations of PropertyHolder actually extend from
PropertyHolderImpl.
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.
getPropertyValueInternal
in interface PropertyHolder
getPropertyValueInternal
in class PropertyHolderImpl
property
- The property whose value is to be retreived. It must be the
case that this property is accepted by the property holder,
i.e., PropertyHolder.acceptsProperty(PropertyDefinition)
must return
true
.pva
- The working property value accumulator to add results to.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
implemenation. 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 port group
type.
InvalidModelException
- Thrown if the property value cannot be retreived because the
model is incomplete or otherwise invalid.public final boolean isDescendentOf(ComponentClassifier cc)
isDescendentOf
in interface ComponentClassifier
isDescendentOf
in class ComponentClassifierImpl
public org.eclipse.emf.common.util.EList getIngoingConnection(Feature feature)
getIngoingConnection
in interface ComponentImpl
feature
- component impl feature that is the source of a connection
public org.eclipse.emf.common.util.EList getOutcomingConnection(Feature feature)
getOutcomingConnection
in interface ComponentImpl
feature
- component impl feature that is the source of a connection
public void addSubcomponent(Subcomponent sc)
addSubcomponent
in interface ComponentImpl
sc
- Subcomponentpublic void addConnection(Connection conn)
addConnection
in interface ComponentImpl
conn
- public AObject getReferencedObject()
AObjectImpl
getReferencedObject
in interface AObject
getReferencedObject
in class AObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |