|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentInstance
A representation of the model object 'Component Instance'.
The following features are supported:
Feature Instance
Component Instance
Mode Instance
Mode Transition Instance
Category
In Modes
Flow Specification
End To End Flow
Connection Instance
Subcomponent
Index
InstancePackage.getComponentInstance()
Field Summary |
---|
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Method Summary | |
---|---|
ComponentInstance |
createComponentInstance()
Creates a new ComponentInstance and appends it to the 'Component Instance' containment reference list |
ComponentInstance |
createComponentInstance(org.eclipse.emf.ecore.EClass eClass)
Creates a new ComponentInstance and appends it to the 'Component Instance' containment reference list |
ConnectionInstance |
createConnectionInstance()
Creates a new ConnectionInstance and appends it to the 'Connection Instance' containment reference list |
EndToEndFlowInstance |
createEndToEndFlow()
Creates a new EndToEndFlowInstance and appends it to the 'End To End Flow' containment reference list |
FeatureInstance |
createFeatureInstance()
Creates a new FeatureInstance and appends it to the 'Feature Instance' containment reference list |
FlowSpecificationInstance |
createFlowSpecification()
Creates a new FlowSpecificationInstance and appends it to the 'Flow Specification' containment reference list |
ModeInstance |
createModeInstance()
Creates a new ModeInstance and appends it to the 'Mode Instance' containment reference list |
ModeTransitionInstance |
createModeTransitionInstance()
Creates a new ModeTransitionInstance and appends it to the 'Mode Transition Instance' containment reference list |
org.eclipse.emf.common.util.EList<ConnectionInstance> |
findConnectionInstance(Connection conn)
Find the semantic connection instances that pass through this component instance that utilize the given connection. |
EndToEndFlowInstance |
findEndToEndFlowInstance(EndToEndFlow ete)
Find the end to end flow instance of this component that corresponds to the given end to end flow. |
FeatureInstance |
findFeatureInstance(Feature feature)
find the feature instance of this component instance |
FlowSpecificationInstance |
findFlowSpecInstance(FlowSpecification flowspec)
find the flowspec instance of this component instance |
java.util.Collection<? extends InstanceObject> |
findInstanceObjects(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
Find the instance object based on the referencePath relative to this component instance. |
ModeInstance |
findModeInstance(Mode mode)
find the mode instance of this component instance |
ModeTransitionInstance |
findModeTransitionInstance(ModeTransition mt)
find the mode transition instance of this component instance |
ComponentInstance |
findSubcomponentInstance(Subcomponent sc)
find the subcomponent instance of this component instance This method is sensitive to the current system operation mode of the containing system instance. |
org.eclipse.emf.common.util.EList<ComponentInstance> |
getAllComponentInstances()
Return all component instances in the containment structure rooted at this component, including this component. |
ComponentCategory |
getCategory()
Returns the value of the 'Category' attribute. |
org.eclipse.emf.common.util.EList<ComponentInstance> |
getComponentInstances()
Returns the value of the 'Component Instance' containment reference list. |
org.eclipse.emf.common.util.EList<ConnectionInstance> |
getConnectionInstances()
Returns the value of the 'Connection Instance' containment reference list. |
org.eclipse.emf.common.util.EList<EndToEndFlowInstance> |
getEndToEndFlows()
Returns the value of the 'End To End Flow' containment reference list. |
org.eclipse.emf.common.util.EList<FeatureInstance> |
getFeatureInstances()
Returns the value of the 'Feature Instance' containment reference list. |
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
getFlowSpecifications()
Returns the value of the 'Flow Specification' containment reference list. |
org.eclipse.emf.common.util.EList<java.lang.Long> |
getIndices()
Returns the value of the 'Index' attribute list. |
org.eclipse.emf.common.util.EList<ModeInstance> |
getInModes()
Returns the value of the 'In Modes' reference list. |
org.eclipse.emf.common.util.EList<ModeInstance> |
getModeInstances()
Returns the value of the 'Mode Instance' containment reference list. |
org.eclipse.emf.common.util.EList<ModeTransitionInstance> |
getModeTransitionInstances()
Returns the value of the 'Mode Transition Instance' containment reference list. |
Subcomponent |
getSubcomponent()
Returns the value of the 'Subcomponent' reference |
void |
setCategory(ComponentCategory value)
Sets the value of the ' Category ' attribute |
void |
setCurrentMode(ModeInstance mode)
Project this component into the given mode. |
void |
setSubcomponent(Subcomponent value)
Sets the value of the ' Subcomponent ' reference |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.ConnectionInstanceEnd |
---|
getDstConnectionInstances, getSrcConnectionInstances |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.InstanceObject |
---|
getComponentInstancePath, getContainingComponentInstance, getExistsInModes, getInstanceObjectPath, getInstantiatedObjects, getSystemInstance, isActive |
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.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
org.eclipse.emf.common.util.EList<FeatureInstance> getFeatureInstances()
FeatureInstance
.
If the meaning of the 'Feature Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_FeatureInstance()
FeatureInstance createFeatureInstance()
FeatureInstance
and appends it to the 'Feature Instance' containment reference list.
FeatureInstance
.getFeatureInstances()
org.eclipse.emf.common.util.EList<ComponentInstance> getComponentInstances()
ComponentInstance
.
If the meaning of the 'Component Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_ComponentInstance()
ComponentInstance createComponentInstance(org.eclipse.emf.ecore.EClass eClass)
ComponentInstance
and appends it to the 'Component Instance' containment reference list.
eClass
- The Ecore class of the ComponentInstance
to create.
ComponentInstance
.getComponentInstances()
ComponentInstance createComponentInstance()
ComponentInstance
and appends it to the 'Component Instance' containment reference list.
ComponentInstance
.getComponentInstances()
Subcomponent getSubcomponent()
If the meaning of the 'Subcomponent' reference isn't clear, there really should be more of a description here...
setSubcomponent(Subcomponent)
,
InstancePackage.getComponentInstance_Subcomponent()
void setSubcomponent(Subcomponent value)
Subcomponent
' reference.
value
- the new value of the 'Subcomponent' reference.getSubcomponent()
org.eclipse.emf.common.util.EList<java.lang.Long> getIndices()
Long
.
If the meaning of the 'Index' attribute list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_Index()
org.eclipse.emf.common.util.EList<ModeInstance> getModeInstances()
ModeInstance
.
If the meaning of the 'Mode Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_ModeInstance()
ModeInstance createModeInstance()
ModeInstance
and appends it to the 'Mode Instance' containment reference list.
ModeInstance
.getModeInstances()
org.eclipse.emf.common.util.EList<ModeTransitionInstance> getModeTransitionInstances()
ModeTransitionInstance
.
If the meaning of the 'Mode Transition Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_ModeTransitionInstance()
ModeTransitionInstance createModeTransitionInstance()
ModeTransitionInstance
and appends it to the 'Mode Transition Instance' containment reference list.
ModeTransitionInstance
.getModeTransitionInstances()
ComponentCategory getCategory()
ComponentCategory
.
If the meaning of the 'Category' attribute isn't clear, there really should be more of a description here...
ComponentCategory
,
setCategory(ComponentCategory)
,
InstancePackage.getComponentInstance_Category()
void setCategory(ComponentCategory value)
Category
' attribute.
value
- the new value of the 'Category' attribute.ComponentCategory
,
getCategory()
org.eclipse.emf.common.util.EList<ModeInstance> getInModes()
ModeInstance
.
If the meaning of the 'In Modes' reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_InModes()
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getFlowSpecifications()
FlowSpecificationInstance
.
If the meaning of the 'Flow Specification' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_FlowSpecification()
FlowSpecificationInstance createFlowSpecification()
FlowSpecificationInstance
and appends it to the 'Flow Specification' containment reference list.
FlowSpecificationInstance
.getFlowSpecifications()
org.eclipse.emf.common.util.EList<EndToEndFlowInstance> getEndToEndFlows()
EndToEndFlowInstance
.
If the meaning of the 'End To End Flow' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_EndToEndFlow()
EndToEndFlowInstance createEndToEndFlow()
EndToEndFlowInstance
and appends it to the 'End To End Flow' containment reference list.
EndToEndFlowInstance
.getEndToEndFlows()
org.eclipse.emf.common.util.EList<ConnectionInstance> getConnectionInstances()
ConnectionInstance
.
If the meaning of the 'Connection Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getComponentInstance_ConnectionInstance()
ConnectionInstance createConnectionInstance()
ConnectionInstance
and appends it to the 'Connection Instance' containment reference list.
ConnectionInstance
.getConnectionInstances()
ModeTransitionInstance findModeTransitionInstance(ModeTransition mt)
mt
- mode transition whose instance is to be found
ModeInstance findModeInstance(Mode mode)
mode
- mode whose instance is to be found
ComponentInstance findSubcomponentInstance(Subcomponent sc)
This method is sensitive to the current system operation mode of the containing system instance. The component instance corresponding to the subcomponent is only returned if it exists in the current som.
sc
- subcomponent
FeatureInstance findFeatureInstance(Feature feature)
feature
- feature whose instance is to be found
void setCurrentMode(ModeInstance mode)
getModeInstances()
. This method is only intended
to be used internally. There is an invariant over the instance model
that if the current system operation mode of the root system instance is
non-null
, then the "current mode" state of the component
instances in the model match that state.
mode
- The mode to project this component into, or null
if it is not projected into any mode.FlowSpecificationInstance findFlowSpecInstance(FlowSpecification flowspec)
flowspec
- flowspec whose instance is to be found
java.util.Collection<? extends InstanceObject> findInstanceObjects(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
This method is sensitive to the current system operation mode of the containing system instance. The object is only returned if it exists in the current som.
referencePath
- sequence of pointers into the declarative model to
subcomponents, features, etc.
org.eclipse.emf.common.util.EList<ConnectionInstance> findConnectionInstance(Connection conn)
This method is sensitive to the current system operation mode
. It only return those connection
instances that exist in the current SOM.
conn
- Connection whose instance is to be found
EndToEndFlowInstance findEndToEndFlowInstance(EndToEndFlow ete)
This method is sensitive to the current system operation mode
. It only returns the end to end flow
instance if it exists in the current mode.
ete
- endtoendflow whose instance is to be found
org.eclipse.emf.common.util.EList<ComponentInstance> getAllComponentInstances()
current system
operation mode
. The assumption is that this component instance
{exists in the current system operation mode
if it is being queried.
If this object is not part of a system instance, then
all the component instances are returned. If this object is part of a system
instance and the current SOM is set, then this method only returns those
component instances that exist in the current SOM. If the current SOM
is not set, then it returns all the component instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |