public interface ComponentInstance extends ConnectionInstanceEnd, FlowElementInstance
The following features are supported:
Modifier and Type | Method and Description |
---|---|
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
|
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
|
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.
|
ComponentClassifier |
getComponentClassifier() |
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 Mode' 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. |
getDstConnectionInstances, getSrcConnectionInstances
allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getExistsInModes, getInstanceObjectPath, getInstantiatedObjects, getPathName, getSystemInstance, isActive, matchesIndex
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
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_InMode()
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 foundModeInstance findModeInstance(Mode mode)
mode
- mode whose instance is to be foundComponentInstance 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
- subcomponentFeatureInstance findFeatureInstance(Feature feature)
feature
- feature whose instance is to be foundvoid 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 foundorg.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 foundEndToEndFlowInstance 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 foundorg.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.ComponentClassifier getComponentClassifier()