|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentImpl
A representation of the model object 'Component Impl'.
The following features are supported:
CorePackage.getComponentImpl()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
void |
addConnection(Connection conn)
add connection to component impl |
void |
addSubcomponent(Subcomponent sc)
add a subcomponent to a component implementation |
Subcomponents |
addSubcomponents()
add a subcomponents object to a component implementation |
Subcomponents |
createXSubcomponents()
create a Subcomponents object of the appropriate category |
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 connection objects 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 specs of a component type, including ancestor features In case of refined flow specs the refined flow spec 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()
Returns all the mode objects of a given implementation, including ancestor. |
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()
Returns all the mode transition objects of a given implementation, including ancestor. |
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()
Returns the value of the 'Connections' containment reference |
Connections |
getConnections(boolean create)
retrieve Connections object. |
Flows |
getFlows()
Returns the value of the 'Flows' containment reference |
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 mode objects of a given implementation. |
org.eclipse.emf.common.util.EList |
getModeAndModeTransition()
returns the mode and mode transition objects of a given implementation |
Modes |
getModes()
Returns the value of the 'Modes' containment reference |
Modes |
getModes(boolean create)
retrieve Modes object. |
org.eclipse.emf.common.util.EList |
getModeTransition()
Returns the mode transition objects of a given implementation. |
org.eclipse.emf.common.util.EList |
getOutcomingConnection(Feature feature)
get outcomng connections from subcomponents to a specified feature of the component impl |
java.lang.String |
getQualifiedName()
get qualified component impl name. |
java.lang.String |
getQualifiedTypeName()
get qualified type name from link or parsed name |
org.eclipse.emf.common.util.EList |
getRefinedFeature()
returns the refined feature objects of a given implementation |
RefinesType |
getRefinesType()
Returns the value of the 'Refines Type' containment reference |
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 tis 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 object 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 object of a given implementation |
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. |
void |
setComponentType(ComponentType ct)
sets the component type reference for the component implementation |
void |
setConnections(Connections value)
Sets the value of the ' Connections ' containment reference |
void |
setFlows(Flows value)
Sets the value of the ' Flows ' containment reference |
void |
setModes(Modes value)
Sets the value of the ' Modes ' containment reference |
void |
setRefinesType(RefinesType value)
Sets the value of the ' Refines Type ' containment reference |
Methods inherited from interface edu.cmu.sei.aadl.model.core.ComponentClassifier |
---|
checkAppliesToClassifier, getCategory, isDescendentOf |
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, 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 |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
Connections getConnections()
If the meaning of the 'Connections' containment reference list isn't clear, there really should be more of a description here...
setConnections(Connections)
,
CorePackage.getComponentImpl_Connections()
Connections getConnections(boolean create)
create
- if true create the object if it does not exist
void setConnections(Connections value)
Connections
' containment reference.
value
- the new value of the 'Connections' containment reference.getConnections()
Modes getModes()
If the meaning of the 'Modes' containment reference isn't clear, there really should be more of a description here...
setModes(Modes)
,
CorePackage.getComponentImpl_Modes()
Modes getModes(boolean create)
create
- if true create the object if it does not exist
void setModes(Modes value)
Modes
' containment reference.
value
- the new value of the 'Modes' containment reference.getModes()
RefinesType getRefinesType()
If the meaning of the 'Refines Type' containment reference isn't clear, there really should be more of a description here...
setRefinesType(RefinesType)
,
CorePackage.getComponentImpl_RefinesType()
RefinesType getRefinesType(boolean create)
create
- if true create the object if it does not exist
void setRefinesType(RefinesType value)
Refines Type
' containment reference.
value
- the new value of the 'Refines Type' containment reference.getRefinesType()
Flows getFlows()
If the meaning of the 'Flows' containment reference isn't clear, there really should be more of a description here...
setFlows(Flows)
,
CorePackage.getComponentImpl_Flows()
Flows getFlows(boolean create)
create
- if true create the object if it does not exist
void setFlows(Flows value)
Flows
' containment reference.
value
- the new value of the 'Flows' containment reference.getFlows()
void setComponentType(ComponentType ct)
ct
- org.eclipse.emf.common.util.EList getXSubcomponent()
org.eclipse.emf.common.util.EList getXSubcomponent(Mode mode)
org.eclipse.emf.common.util.EList getXAllSubcomponent()
org.eclipse.emf.common.util.EList getXAllSubcomponent(Mode mode)
org.eclipse.emf.common.util.EList getXAllFeature()
getXAllFeature
in interface Classifier
java.util.Collection getXAllAbstractPort()
Subcomponents getXSubcomponents()
Subcomponents getXSubcomponents(boolean create)
create
- boolean create object if it does not exist
Subcomponents createXSubcomponents()
org.eclipse.emf.common.util.EList getAllConnection()
org.eclipse.emf.common.util.EList getAllConnection(Mode mode)
mode
- mode for which connections are to be retrieved
org.eclipse.emf.common.util.EList getConnection()
org.eclipse.emf.common.util.EList getConnection(Mode mode)
mode
- mode for which connections are retrieved.
org.eclipse.emf.common.util.EList getModeAndModeTransition()
org.eclipse.emf.common.util.EList getMode()
org.eclipse.emf.common.util.EList getModeTransition()
org.eclipse.emf.common.util.EList getAllModeAndModeTransition()
org.eclipse.emf.common.util.EList getAllMode()
org.eclipse.emf.common.util.EList getAllModeTransition()
org.eclipse.emf.common.util.EList getRefinedFeature()
java.lang.String getQualifiedName()
getQualifiedName
in interface Classifier
java.lang.String getTypeName()
java.lang.String getQualifiedTypeName()
java.lang.String getImplName()
org.eclipse.emf.common.util.EList getXCallSequence()
org.eclipse.emf.common.util.EList getXAllCallSequence()
CallSequences getXCallSequences()
CallSequences getXCallSequences(boolean create)
create
- if true create object if it does not exist
FlowImpl getAllFlowImpl(FlowSpec flowSpec, Mode mode)
java.util.Map getAllFlowImpl(FlowSpec flowSpec)
org.eclipse.emf.common.util.EList getFlowSequence()
org.eclipse.emf.common.util.EList getFlowSequence(Mode mode)
mode
- mode for which flow sequences are retrieved.
org.eclipse.emf.common.util.EList getAllFlowSequence()
org.eclipse.emf.common.util.EList getAllFlowSequence(Mode mode)
mode
- mode to be selected
Feature findRefinedFeature(java.lang.String name)
name
- The name of the feature to find
Mode findMode(java.lang.String name)
name
- the name of the mode to find.
Subcomponent findSubcomponent(java.lang.String name)
name
- the name of the subcomponent to find.
Connection findConnection(java.lang.String name)
name
- the name of the connection to find.
org.eclipse.emf.common.util.EList findFlowSequence(java.lang.String name)
name
- the name of the flow sequence.
ModeTransition findModeTransition(java.lang.String srcName, java.lang.String dstName)
srcName
- the name of the source modedstName
- the name of the destination mode
SubprogramSubcomponent findSubprogram(java.lang.String name)
name
- the name of the subprogram subcomponent.
ComponentType getComponentType()
org.eclipse.emf.common.util.EList getIngoingConnection(Feature feature)
feature
- component impl feature that is the source of a connection
org.eclipse.emf.common.util.EList getOutcomingConnection(Feature feature)
feature
- component impl feature that is the source of a connection
void addSubcomponent(Subcomponent sc)
sc
- SubcomponentSubcomponents addSubcomponents()
void addConnection(Connection conn)
conn
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |