edu.cmu.sei.aadl.aadl2
Interface Connection

All Superinterfaces:
AObject, ClassifierFeature, Element, EndToEndFlowElement, org.eclipse.emf.ecore.EObject, FlowElement, org.eclipse.core.runtime.IAdaptable, ModalElement, ModalPath, NamedElement, org.eclipse.emf.common.notify.Notifier, RefinableElement, StructuralFeature
All Known Subinterfaces:
AccessConnection, FeatureConnection, FeatureGroupConnection, ParameterConnection, PortConnection
All Known Implementing Classes:
AccessConnectionImpl, ConnectionImpl, FeatureConnectionImpl, FeatureGroupConnectionImpl, ParameterConnectionImpl, PortConnectionImpl

public interface Connection
extends ModalPath, StructuralFeature, FlowElement

A representation of the model object 'Connection'.

The following features are supported:

See Also:
Aadl2Package.getConnection()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 ConnectionEnd getAllDestination()
          get destination in case of a refined connection get it from the connection being refined
 Context getAllDestinationContext()
          get destination context in case of a refined connection get it from the connection being refined
 NamedElement getAllDstContextComponent()
          get destination context component, i.e., the subcomponent or component implementation.
 ConnectionEnd getAllSource()
          get source in case of a refined connection get it from the connection being refine
 Context getAllSourceContext()
          get source context in case of a refined connection get it from the connection being refined
 NamedElement getAllSrcContextComponent()
          get source context component, i.e., the subcomponent or component implementation.
 ConnectionEnd getDestination()
          Returns the value of the 'Destination' reference
 Context getDestinationContext()
          Returns the value of the 'Destination Context' reference
 ConnectionKind getKind()
          Returns the value of the 'Kind' attribute.
 Connection getRefined()
          Returns the value of the 'Refined' reference.
 ConnectionEnd getSource()
          Returns the value of the 'Source' reference
 Context getSourceContext()
          Returns the value of the 'Source Context' reference
 boolean isBidirectional()
          Returns the value of the 'Bidirectional' attribute
 void setBidirectional(boolean value)
          Sets the value of the 'Bidirectional' attribute
 void setDestination(ConnectionEnd value)
          Sets the value of the 'Destination' reference
 void setDestinationContext(Context value)
          Sets the value of the 'Destination Context' reference
 void setKind(ConnectionKind value)
          Sets the value of the 'Kind' attribute
 void setRefined(Connection value)
          Sets the value of the 'Refined' reference
 void setSource(ConnectionEnd value)
          Sets the value of the 'Source' reference
 void setSourceContext(Context value)
          Sets the value of the 'Source Context' reference
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ModalPath
getInTransitions
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ModalElement
getAllInModes, getInModes, getModesAndTransitions
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.RefinableElement
getRefinedElement, getRefinementContext
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.ClassifierFeature
getFeaturingClassifiers
 
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

getKind

ConnectionKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumeration ConnectionKind.

If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Kind' attribute.
See Also:
ConnectionKind, setKind(ConnectionKind), Aadl2Package.getConnection_Kind()

setKind

void setKind(ConnectionKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
ConnectionKind, getKind()

getDestination

ConnectionEnd getDestination()
Returns the value of the 'Destination' reference.

If the meaning of the 'Destination' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Destination' reference.
See Also:
setDestination(ConnectionEnd), Aadl2Package.getConnection_Destination()

setDestination

void setDestination(ConnectionEnd value)
Sets the value of the 'Destination' reference.

Parameters:
value - the new value of the 'Destination' reference.
See Also:
getDestination()

getSource

ConnectionEnd getSource()
Returns the value of the 'Source' reference.

If the meaning of the 'Source' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source' reference.
See Also:
setSource(ConnectionEnd), Aadl2Package.getConnection_Source()

setSource

void setSource(ConnectionEnd value)
Sets the value of the 'Source' reference.

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()

getDestinationContext

Context getDestinationContext()
Returns the value of the 'Destination Context' reference.

If the meaning of the 'Destination Context' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Destination Context' reference.
See Also:
setDestinationContext(Context), Aadl2Package.getConnection_DestinationContext()

setDestinationContext

void setDestinationContext(Context value)
Sets the value of the 'Destination Context' reference.

Parameters:
value - the new value of the 'Destination Context' reference.
See Also:
getDestinationContext()

getSourceContext

Context getSourceContext()
Returns the value of the 'Source Context' reference.

If the meaning of the 'Source Context' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Source Context' reference.
See Also:
setSourceContext(Context), Aadl2Package.getConnection_SourceContext()

setSourceContext

void setSourceContext(Context value)
Sets the value of the 'Source Context' reference.

Parameters:
value - the new value of the 'Source Context' reference.
See Also:
getSourceContext()

isBidirectional

boolean isBidirectional()
Returns the value of the 'Bidirectional' attribute.

If the meaning of the 'Bidirectional' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Bidirectional' attribute.
See Also:
setBidirectional(boolean), Aadl2Package.getConnection_Bidirectional()

setBidirectional

void setBidirectional(boolean value)
Sets the value of the 'Bidirectional' attribute.

Parameters:
value - the new value of the 'Bidirectional' attribute.
See Also:
isBidirectional()

getRefined

Connection getRefined()
Returns the value of the 'Refined' reference.

This feature redefines the following features:

If the meaning of the 'Refined' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Refined' reference.
See Also:
setRefined(Connection), Aadl2Package.getConnection_Refined()

setRefined

void setRefined(Connection value)
Sets the value of the 'Refined' reference.

Parameters:
value - the new value of the 'Refined' reference.
See Also:
getRefined()

getAllSource

ConnectionEnd getAllSource()
get source in case of a refined connection get it from the connection being refine

Returns:
ConnectionEnd the source (feature, data/bus access end or parameter end)

getAllDestinationContext

Context getAllDestinationContext()
get destination context in case of a refined connection get it from the connection being refined

Returns:
Context

getAllDestination

ConnectionEnd getAllDestination()
get destination in case of a refined connection get it from the connection being refined

Returns:
ConnectionEnd the destination (feature, data/bus access end or parameter end)

getAllSourceContext

Context getAllSourceContext()
get source context in case of a refined connection get it from the connection being refined

Returns:
Context

getAllSrcContextComponent

NamedElement getAllSrcContextComponent()
get source context component, i.e., the subcomponent or component implementation. If the context is a port group get its enclosing component impl. in case of a refined connection get it from the connection being refined

Returns:
PropertyHolder context subcomponent or component implementation

getAllDstContextComponent

NamedElement getAllDstContextComponent()
get destination context component, i.e., the subcomponent or component implementation. If the context is a port group get its enclosing component impl. in case of a refined connection get it from the connection being refined

Returns:
PropertyHolder context subcomponent or component implementation