edu.cmu.sei.aadl.aadl2.instance
Interface InstanceObject

All Superinterfaces:
AObject, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, NamedElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ComponentInstance, ConnectionInstance, ConnectionInstanceEnd, ConnectionReference, EndToEndFlowInstance, FeatureInstance, FlowElementInstance, FlowSpecificationInstance, ModeInstance, ModeTransitionInstance, SystemInstance
All Known Implementing Classes:
ComponentInstanceImpl, ConnectionInstanceEndImpl, ConnectionInstanceImpl, ConnectionReferenceImpl, EndToEndFlowInstanceImpl, FeatureInstanceImpl, FlowElementInstanceImpl, FlowSpecificationInstanceImpl, InstanceObjectImpl, ModeInstanceImpl, ModeTransitionInstanceImpl, SystemInstanceImpl

public interface InstanceObject
extends org.eclipse.emf.ecore.EObject, NamedElement

A representation of the model object ' Object'.

See Also:
InstancePackage.getInstanceObject()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 java.lang.String getComponentInstancePath()
          Construct a string path excluding the system instance as root.
 ComponentInstance getContainingComponentInstance()
          Returns the closest ancestor component (in the containment hierarchy) that is a ComponentInstance.
 java.util.List<SystemOperationMode> getExistsInModes()
          Returns the System Operation Modes in which the element exists, or null if the element always exists.
 java.lang.String getInstanceObjectPath()
          Construct a string path from the system instance as root
 java.util.List<? extends NamedElement> getInstantiatedObjects()
          Return the declarative objects that define this instance.
 SystemInstance getSystemInstance()
          find the enclosing SystemInstance
 boolean isActive(SystemOperationMode som)
           
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.NamedElement
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
 
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.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
 

Method Detail

getContainingComponentInstance

ComponentInstance getContainingComponentInstance()
Returns the closest ancestor component (in the containment hierarchy) that is a ComponentInstance.

Returns:
containing component instance

getSystemInstance

SystemInstance getSystemInstance()
find the enclosing SystemInstance

Returns:
SytstemInstance object

getInstanceObjectPath

java.lang.String getInstanceObjectPath()
Construct a string path from the system instance as root

Returns:
path as string

getComponentInstancePath

java.lang.String getComponentInstancePath()
Construct a string path excluding the system instance as root.

Returns:
path as string

getExistsInModes

java.util.List<SystemOperationMode> getExistsInModes()
Returns the System Operation Modes in which the element exists, or null if the element always exists.

Returns:

getInstantiatedObjects

java.util.List<? extends NamedElement> getInstantiatedObjects()
Return the declarative objects that define this instance. Most of the time this will return a singleton list. But in the case of semantic connections, it will return a list of connection objects.

Returns:
A List of NamedElement objects that should be declarative model elements. Returns an empty list if no named declarative object exists, such as in the case of ModeTransitionInstances.

isActive

boolean isActive(SystemOperationMode som)