public class ComponentInstanceImpl extends ConnectionInstanceEndImpl implements ComponentInstance
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsProperty(Property property)
Query whether this object accepts values for the given property.
|
Subcomponent |
basicGetSubcomponent() |
ComponentInstance |
createComponentInstance() |
ComponentInstance |
createComponentInstance(org.eclipse.emf.ecore.EClass eClass) |
ConnectionInstance |
createConnectionInstance() |
EndToEndFlowInstance |
createEndToEndFlow() |
FeatureInstance |
createFeatureInstance() |
FlowSpecificationInstance |
createFlowSpecification() |
ModeInstance |
createModeInstance() |
ModeTransitionInstance |
createModeTransitionInstance() |
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) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<ConnectionInstance> |
findConnectionInstance(Connection conn)
find the Connection instance of this component instance
|
EndToEndFlowInstance |
findEndToEndFlowInstance(EndToEndFlow ete)
find the endtoendflow instance of this component instance
|
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 including the root
The root being this
|
ComponentCategory |
getCategory() |
ComponentClassifier |
getComponentClassifier() |
org.eclipse.emf.common.util.EList<ComponentInstance> |
getComponentInstances() |
org.eclipse.emf.common.util.EList<ConnectionInstance> |
getConnectionInstances() |
org.eclipse.emf.common.util.EList<EndToEndFlowInstance> |
getEndToEndFlows() |
java.util.List<SystemOperationMode> |
getExistsInModes()
Returns the System Operation Modes in which the element exists, or
null if the element always exists. |
org.eclipse.emf.common.util.EList<FeatureInstance> |
getFeatureInstances() |
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
getFlowSpecifications() |
org.eclipse.emf.common.util.EList<java.lang.Long> |
getIndices() |
org.eclipse.emf.common.util.EList<ModeInstance> |
getInModes() |
java.util.List<? extends NamedElement> |
getInstantiatedObjects()
Return the declarative objects that define this instance.
|
org.eclipse.emf.common.util.EList<ModeInstance> |
getModeInstances() |
org.eclipse.emf.common.util.EList<ModeTransitionInstance> |
getModeTransitionInstances()
f
|
java.lang.String |
getPathName()
Get the component name including array indices
|
Subcomponent |
getSubcomponent() |
boolean |
isActive(SystemOperationMode som) |
boolean |
matchesIndex(java.util.List<ArrayRange> ranges) |
void |
setCategory(ComponentCategory newCategory) |
void |
setCurrentMode(ModeInstance newMode)
Project this component into the given mode.
|
void |
setSubcomponent(Subcomponent newSubcomponent) |
java.lang.String |
toString() |
eInverseAdd, getDstConnectionInstances, getSrcConnectionInstances
allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getPropertyValueInternal, getSystemInstance
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, 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, isSetOwnedElements, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDstConnectionInstances, getSrcConnectionInstances
allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getSystemInstance
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
public org.eclipse.emf.common.util.EList<FeatureInstance> getFeatureInstances()
getFeatureInstances
in interface ComponentInstance
InstancePackage.getComponentInstance_FeatureInstance()
public FeatureInstance createFeatureInstance()
createFeatureInstance
in interface ComponentInstance
FeatureInstance
.ComponentInstance.getFeatureInstances()
public org.eclipse.emf.common.util.EList<ComponentInstance> getComponentInstances()
getComponentInstances
in interface ComponentInstance
InstancePackage.getComponentInstance_ComponentInstance()
public ComponentInstance createComponentInstance(org.eclipse.emf.ecore.EClass eClass)
createComponentInstance
in interface ComponentInstance
eClass
- The Ecore class of the ComponentInstance
to create.ComponentInstance
.ComponentInstance.getComponentInstances()
public ComponentInstance createComponentInstance()
createComponentInstance
in interface ComponentInstance
ComponentInstance
.ComponentInstance.getComponentInstances()
public Subcomponent getSubcomponent()
getSubcomponent
in interface ComponentInstance
ComponentInstance.setSubcomponent(Subcomponent)
,
InstancePackage.getComponentInstance_Subcomponent()
public Subcomponent basicGetSubcomponent()
public void setSubcomponent(Subcomponent newSubcomponent)
setSubcomponent
in interface ComponentInstance
newSubcomponent
- the new value of the 'Subcomponent' reference.ComponentInstance.getSubcomponent()
public org.eclipse.emf.common.util.EList<java.lang.Long> getIndices()
getIndices
in interface ComponentInstance
InstancePackage.getComponentInstance_Index()
public org.eclipse.emf.common.util.EList<ModeInstance> getModeInstances()
getModeInstances
in interface ComponentInstance
InstancePackage.getComponentInstance_ModeInstance()
public ModeInstance createModeInstance()
createModeInstance
in interface ComponentInstance
ModeInstance
.ComponentInstance.getModeInstances()
public org.eclipse.emf.common.util.EList<ModeTransitionInstance> getModeTransitionInstances()
getModeTransitionInstances
in interface ComponentInstance
InstancePackage.getComponentInstance_ModeTransitionInstance()
public ModeTransitionInstance createModeTransitionInstance()
createModeTransitionInstance
in interface ComponentInstance
ModeTransitionInstance
.ComponentInstance.getModeTransitionInstances()
public ComponentCategory getCategory()
getCategory
in interface ComponentInstance
ComponentCategory
,
ComponentInstance.setCategory(ComponentCategory)
,
InstancePackage.getComponentInstance_Category()
public void setCategory(ComponentCategory newCategory)
setCategory
in interface ComponentInstance
newCategory
- the new value of the 'Category' attribute.ComponentCategory
,
ComponentInstance.getCategory()
public org.eclipse.emf.common.util.EList<ModeInstance> getInModes()
getInModes
in interface ComponentInstance
InstancePackage.getComponentInstance_InMode()
public org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getFlowSpecifications()
getFlowSpecifications
in interface ComponentInstance
InstancePackage.getComponentInstance_FlowSpecification()
public FlowSpecificationInstance createFlowSpecification()
createFlowSpecification
in interface ComponentInstance
FlowSpecificationInstance
.ComponentInstance.getFlowSpecifications()
public org.eclipse.emf.common.util.EList<EndToEndFlowInstance> getEndToEndFlows()
getEndToEndFlows
in interface ComponentInstance
InstancePackage.getComponentInstance_EndToEndFlow()
public EndToEndFlowInstance createEndToEndFlow()
createEndToEndFlow
in interface ComponentInstance
EndToEndFlowInstance
.ComponentInstance.getEndToEndFlows()
public org.eclipse.emf.common.util.EList<ConnectionInstance> getConnectionInstances()
getConnectionInstances
in interface ComponentInstance
InstancePackage.getComponentInstance_ConnectionInstance()
public ConnectionInstance createConnectionInstance()
createConnectionInstance
in interface ComponentInstance
ConnectionInstance
.ComponentInstance.getConnectionInstances()
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 ConnectionInstanceEndImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ConnectionInstanceEndImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ConnectionInstanceEndImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ConnectionInstanceEndImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ConnectionInstanceEndImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public boolean acceptsProperty(Property property)
NamedElement
acceptsProperty
in interface NamedElement
acceptsProperty
in class InstanceObjectImpl
property
- The property definition to test.true
if the given property applies to this element.public ModeTransitionInstance findModeTransitionInstance(ModeTransition mt)
findModeTransitionInstance
in interface ComponentInstance
mt
- mode transition whose instance is to be foundpublic ModeInstance findModeInstance(Mode mode)
findModeInstance
in interface ComponentInstance
mode
- mode whose instance is to be foundpublic ComponentInstance findSubcomponentInstance(Subcomponent sc)
findSubcomponentInstance
in interface ComponentInstance
sc
- subcomponentpublic FeatureInstance findFeatureInstance(Feature feature)
findFeatureInstance
in interface ComponentInstance
feature
- feature whose instance is to be foundpublic void setCurrentMode(ModeInstance newMode)
getModeInstances()
, but this is not currently
checked.setCurrentMode
in interface ComponentInstance
newMode
- The mode to project this component into, or null
if it is not projected into any mode.public FlowSpecificationInstance findFlowSpecInstance(FlowSpecification flowspec)
findFlowSpecInstance
in interface ComponentInstance
flowspec
- flowspec whose instance is to be foundpublic java.util.List<SystemOperationMode> getExistsInModes()
InstanceObjectImpl
null
if the element always exists.getExistsInModes
in interface InstanceObject
getExistsInModes
in class InstanceObjectImpl
public org.eclipse.emf.common.util.EList<ConnectionInstance> findConnectionInstance(Connection conn)
findConnectionInstance
in interface ComponentInstance
conn
- Connection whose instance is to be foundpublic EndToEndFlowInstance findEndToEndFlowInstance(EndToEndFlow ete)
findEndToEndFlowInstance
in interface ComponentInstance
ete
- endtoendflow whose instance is to be foundpublic java.util.List<? extends NamedElement> getInstantiatedObjects()
InstanceObjectImpl
getInstantiatedObjects
in interface InstanceObject
getInstantiatedObjects
in class InstanceObjectImpl
ModeTransitionInstance
s.public org.eclipse.emf.common.util.EList<ComponentInstance> getAllComponentInstances()
getAllComponentInstances
in interface ComponentInstance
public boolean isActive(SystemOperationMode som)
isActive
in interface InstanceObject
public ComponentClassifier getComponentClassifier()
getComponentClassifier
in interface ComponentInstance
public java.lang.String getPathName()
InstanceObject
getPathName
in interface InstanceObject
getPathName
in class InstanceObjectImpl
public boolean matchesIndex(java.util.List<ArrayRange> ranges)
matchesIndex
in interface InstanceObject
matchesIndex
in class InstanceObjectImpl