|
||||||||||
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.aadl2.parsesupport.AObjectImpl
edu.cmu.sei.aadl.aadl2.impl.ElementImpl
edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
edu.cmu.sei.aadl.aadl2.instance.impl.InstanceObjectImpl
edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl
edu.cmu.sei.aadl.aadl2.instance.impl.ComponentInstanceImpl
public class ComponentInstanceImpl
An implementation of the model object 'Component Instance'.
The following features are implemented:
Feature Instance
Component Instance
Mode Instance
Mode Transition Instance
Category
In Modes
Flow Specification
End To End Flow
Connection Instance
Subcomponent
Index
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 ComponentCategory |
category
The cached value of the ' Category ' attribute |
protected static ComponentCategory |
CATEGORY_EDEFAULT
The default value of the ' Category ' attribute |
protected org.eclipse.emf.common.util.EList<ComponentInstance> |
componentInstances
The cached value of the ' Component Instance ' containment reference list |
protected org.eclipse.emf.common.util.EList<ConnectionInstance> |
connectionInstances
The cached value of the ' Connection Instance ' containment reference list |
protected org.eclipse.emf.common.util.EList<EndToEndFlowInstance> |
endToEndFlows
The cached value of the ' End To End Flow ' containment reference list |
protected org.eclipse.emf.common.util.EList<FeatureInstance> |
featureInstances
The cached value of the ' Feature Instance ' containment reference list |
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
flowSpecifications
The cached value of the ' Flow Specification ' containment reference list |
protected org.eclipse.emf.common.util.EList<java.lang.Long> |
indices
The cached value of the ' Index ' attribute list |
protected org.eclipse.emf.common.util.EList<ModeInstance> |
inModes
The cached value of the ' In Modes ' reference list |
protected org.eclipse.emf.common.util.EList<ModeInstance> |
modeInstances
The cached value of the ' Mode Instance ' containment reference list |
protected org.eclipse.emf.common.util.EList<ModeTransitionInstance> |
modeTransitionInstances
The cached value of the ' Mode Transition Instance ' containment reference list |
protected Subcomponent |
subcomponent
The cached value of the ' Subcomponent ' reference |
Fields inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl |
---|
dstConnectionInstances, srcConnectionInstances |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl |
---|
name, NAME_EDEFAULT, ownedPropertyAssociations, QUALIFIED_NAME_EDEFAULT |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
OWNED_ELEMENT_ESUBSETS, ownedComments |
Fields inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
copyright, 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 edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
ComponentInstanceImpl()
|
Method Summary | |
---|---|
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)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
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 |
java.util.Collection<? extends InstanceObject> |
findInstanceObjects(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
Get all instance objects that fit a given path. |
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()
|
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()
|
Subcomponent |
getSubcomponent()
|
boolean |
isActive(SystemOperationMode som)
|
void |
setCategory(ComponentCategory newCategory)
|
void |
setCurrentMode(ModeInstance newMode)
Project this component into the given mode. |
void |
setSubcomponent(Subcomponent newSubcomponent)
|
java.lang.String |
toString()
|
Methods inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl |
---|
eInverseAdd, getDstConnectionInstances, getSrcConnectionInstances |
Methods inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.InstanceObjectImpl |
---|
acceptsProperty, getComponentInstancePath, getContainingComponentInstance, getContainingComponentInstanceOrSelf, getInstanceObjectPath, getPropertyValueFromDeclarativeModel, getPropertyValueInternal, getSystemInstance |
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
allOwnedElements, create, createOwnedComment, getCacheAdapter, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, isSetOwner, mustBeOwned, not_own_self |
Methods inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
getAdapter, getLocationReference, setLocationReference, setLocationReference |
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, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, 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, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, 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.aadl2.instance.ConnectionInstanceEnd |
---|
getDstConnectionInstances, getSrcConnectionInstances |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.InstanceObject |
---|
getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getSystemInstance |
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 |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected org.eclipse.emf.common.util.EList<FeatureInstance> featureInstances
Feature Instance
' containment reference list.
getFeatureInstances()
protected org.eclipse.emf.common.util.EList<ComponentInstance> componentInstances
Component Instance
' containment reference list.
getComponentInstances()
protected org.eclipse.emf.common.util.EList<ModeInstance> modeInstances
Mode Instance
' containment reference list.
getModeInstances()
protected org.eclipse.emf.common.util.EList<ModeTransitionInstance> modeTransitionInstances
Mode Transition Instance
' containment reference list.
getModeTransitionInstances()
protected static final ComponentCategory CATEGORY_EDEFAULT
Category
' attribute.
getCategory()
protected ComponentCategory category
Category
' attribute.
getCategory()
protected org.eclipse.emf.common.util.EList<ModeInstance> inModes
In Modes
' reference list.
getInModes()
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> flowSpecifications
Flow Specification
' containment reference list.
getFlowSpecifications()
protected org.eclipse.emf.common.util.EList<EndToEndFlowInstance> endToEndFlows
End To End Flow
' containment reference list.
getEndToEndFlows()
protected org.eclipse.emf.common.util.EList<ConnectionInstance> connectionInstances
Connection Instance
' containment reference list.
getConnectionInstances()
protected Subcomponent subcomponent
Subcomponent
' reference.
getSubcomponent()
protected org.eclipse.emf.common.util.EList<java.lang.Long> indices
Index
' attribute list.
getIndices()
Constructor Detail |
---|
protected ComponentInstanceImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ConnectionInstanceEndImpl
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_InModes()
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 ModeTransitionInstance findModeTransitionInstance(ModeTransition mt)
findModeTransitionInstance
in interface ComponentInstance
mt
- mode transition whose instance is to be found
public ModeInstance findModeInstance(Mode mode)
findModeInstance
in interface ComponentInstance
mode
- mode whose instance is to be found
public ComponentInstance findSubcomponentInstance(Subcomponent sc)
findSubcomponentInstance
in interface ComponentInstance
sc
- subcomponent
public FeatureInstance findFeatureInstance(Feature feature)
findFeatureInstance
in interface ComponentInstance
feature
- feature whose instance is to be found
public 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 found
public java.util.List<SystemOperationMode> getExistsInModes()
InstanceObjectImpl
null
if the element always exists.
getExistsInModes
in interface InstanceObject
getExistsInModes
in class InstanceObjectImpl
public java.util.Collection<? extends InstanceObject> findInstanceObjects(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
findInstanceObjects
in interface ComponentInstance
referencePath
- sequence of pointers into the declarative model to
subcomponents, features, etc.
public org.eclipse.emf.common.util.EList<ConnectionInstance> findConnectionInstance(Connection conn)
findConnectionInstance
in interface ComponentInstance
conn
- Connection whose instance is to be found
public EndToEndFlowInstance findEndToEndFlowInstance(EndToEndFlow ete)
findEndToEndFlowInstance
in interface ComponentInstance
ete
- endtoendflow whose instance is to be found
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |