edu.cmu.sei.aadl.model.instance
Interface FeatureInstance

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, InstanceObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Implementing Classes:
FeatureInstanceImpl

public interface FeatureInstance
extends InstanceObject

A representation of the model object 'Feature Instance'.

The following features are supported:

See Also:
InstancePackage.getFeatureInstance()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addDstAccessConnection(AccessConnectionInstance value)
          Adds to the list the value of the 'Dst Access Connection' reference list
 void addDstFlowSpec(FlowSpecInstance value)
          Adds to the list the value of the 'Dst Flow Spec' reference list
 void addDstPortConnection(PortConnectionInstance value)
          Adds to the list the value of the 'Dst Port Connection' reference list
 void addFeatureInstance(FeatureInstance value)
          Adds to the list the value of the 'Feature Instance' containment reference list
 void addSrcFlowSpec(FlowSpecInstance value)
          Adds to the list the value of the 'Src Flow Spec' reference list
 void addSrcModeTransitionConnection(ModeTransitionConnectionInstance value)
          Adds to the list the value of the 'Src Mode Transition Connection' reference list
 void addSrcPortConnection(PortConnectionInstance value)
          Adds to the list the value of the 'Src Port Connection' reference list
 FeatureInstance findFeatureInstance(Feature feature)
          find the feature instance of this feature instance
 FeatureInstance findInversePortGroup(PortGroupType targetpgt)
          find the matching inverse port group instance in this port group instance the contained port group instance must have the inverse port group type
 FeatureCategory getCategory()
          Returns the value of the 'Category' attribute.
 org.eclipse.emf.common.util.EList getDstAccessConnection()
          Returns the value of the 'Dst Access Connection' reference list.
 org.eclipse.emf.common.util.EList getDstFlowSpec()
          Returns the value of the 'Dst Flow Spec' reference list.
 org.eclipse.emf.common.util.EList getDstPortConnection()
          Returns the value of the 'Dst Port Connection' reference list.
 Feature getFeature()
          Returns the value of the 'Feature' reference
 org.eclipse.emf.common.util.EList getFeatureInstance()
          Returns the value of the 'Feature Instance' containment reference list.
 org.eclipse.emf.common.util.EList getIncomingPortConnectionInstance()
          Get all the port connection instances that are incoming to this feature.
 org.eclipse.emf.common.util.EList getOutgoingPortConnectionInstance()
          Get all the port connection instances that are outgoing from this feature.
 org.eclipse.emf.common.util.EList getSrcFlowSpec()
          Returns the value of the 'Src Flow Spec' reference list.
 org.eclipse.emf.common.util.EList getSrcModeTransitionConnection()
          Returns the value of the 'Src Mode Transition Connection' reference list.
 org.eclipse.emf.common.util.EList getSrcPortConnection()
          Returns the value of the 'Src Port Connection' reference list.
 void setCategory(Feature f)
          set the featureinstance category to that of the supplied feature
 void setCategory(FeatureCategory value)
          Sets the value of the 'Category' attribute
 void setFeature(Feature value)
          Sets the value of the 'Feature' reference
 
Methods inherited from interface edu.cmu.sei.aadl.model.instance.InstanceObject
getComponentInstanceList, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getInstantiatedObjects, getSystemInstance
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.PropertyHolder
acceptsProperty, addProperty, addPropertyValue, checkPropertyAssociation, findPropertyAssociation, getProperties, getPropertyAssociation, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getSimplePropertyValue, isModalPropertyValue, removeContainedPropertyAssociations, removeContainedPropertyAssociations, removePropertyAssociations, removePropertyAssociations, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setProperties, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement
getName, setName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, 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
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getFeature

Feature getFeature()
Returns the value of the 'Feature' reference.

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

Returns:
the value of the 'Feature' reference.
See Also:
setFeature(Feature), InstancePackage.getFeatureInstance_Feature()

setFeature

void setFeature(Feature value)
Sets the value of the 'Feature' reference.

Parameters:
value - the new value of the 'Feature' reference.
See Also:
getFeature()

getSrcPortConnection

org.eclipse.emf.common.util.EList getSrcPortConnection()
Returns the value of the 'Src Port Connection' reference list. The list contents are of type PortConnectionInstance. It is bidirectional and its opposite is 'Src'.

Get the list of port connections for which this feature instance is the source. This method is sensitive to the current system operation mode. If this object is not part of a system instance, then all the connections are returned; modifying the returned list in this case will change the model. If this object is part of a system instance and the current SOM is set, then this method only returns those connection instances that exist in the current SOM. Modifying the returned list in this case will not change the model. If the current SOM is not set, then it returns all the connection instances; modifying the returned list in this case will change the model.

Returns:
the value of the 'Src Port Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcPortConnection(), PortConnectionInstance.getSrc()

addSrcPortConnection

void addSrcPortConnection(PortConnectionInstance value)
Adds to the list the value of the 'Src Port Connection' reference list.

Parameters:
value - the value to add to 'Src Port Connection' reference list.

getDstPortConnection

org.eclipse.emf.common.util.EList getDstPortConnection()
Returns the value of the 'Dst Port Connection' reference list. The list contents are of type PortConnectionInstance. It is bidirectional and its opposite is 'Dst'.

Get the list of port connections for which this feature instance is the destination. This method is sensitive to the current system operation mode. If this object is not part of a system instance, then all the connections are returned; modifying the returned list in this case will change the model. If this object is part of a system instance and the current SOM is set, then this method only returns those connection instances that exist in the current SOM. Modifying the returned list in this case will not change the model. If the current SOM is not set, then it returns all the connection instances; modifying the returned list in this case will change the model.

Returns:
the value of the 'Dst Port Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_DstPortConnection(), PortConnectionInstance.getDst()

addDstPortConnection

void addDstPortConnection(PortConnectionInstance value)
Adds to the list the value of the 'Dst Port Connection' reference list.

Parameters:
value - the value to add to 'Dst Port Connection' reference list.

getSrcModeTransitionConnection

org.eclipse.emf.common.util.EList getSrcModeTransitionConnection()
Returns the value of the 'Src Mode Transition Connection' reference list. The list contents are of type ModeTransitionConnectionInstance. It is bidirectional and its opposite is 'Src'.

Get the list of mode transition connections that begin at this feature. This method is sensitive to the current system operation mode. If this object is not part of a system instance, then all the connections are returned; modifying the returned list in this case will change the model. If this object is part of a system instance and the current SOM is set, then this method only returns those connection instances that exist in the current SOM. Modifying the returned list in this case will not change the model. If the current SOM is not set, then it returns all the connection instances; modifying the returned list in this case will change the model.

Returns:
the value of the 'Src Mode Transition Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcModeTransitionConnection(), ModeTransitionConnectionInstance.getSrc()

addSrcModeTransitionConnection

void addSrcModeTransitionConnection(ModeTransitionConnectionInstance value)
Adds to the list the value of the 'Src Mode Transition Connection' reference list.

Parameters:
value - the value to add to 'Src Mode Transition Connection' reference list.

getFeatureInstance

org.eclipse.emf.common.util.EList getFeatureInstance()
Returns the value of the 'Feature Instance' containment reference list. The list contents are of type FeatureInstance.

If the meaning of the 'Feature Instance' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Feature Instance' containment reference list.
See Also:
InstancePackage.getFeatureInstance_FeatureInstance()

addFeatureInstance

void addFeatureInstance(FeatureInstance value)
Adds to the list the value of the 'Feature Instance' containment reference list.

Parameters:
value - the value to add to 'Feature Instance' containment reference list.

getCategory

FeatureCategory getCategory()
Returns the value of the 'Category' attribute. The default value is "data". The literals are from the enumeration FeatureCategory.

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

Returns:
the value of the 'Category' attribute.
See Also:
FeatureCategory, setCategory(FeatureCategory), InstancePackage.getFeatureInstance_Category()

setCategory

void setCategory(FeatureCategory value)
Sets the value of the 'Category' attribute.

Parameters:
value - the new value of the 'Category' attribute.
See Also:
FeatureCategory, getCategory()

getDstAccessConnection

org.eclipse.emf.common.util.EList getDstAccessConnection()
Returns the value of the 'Dst Access Connection' reference list. The list contents are of type AccessConnectionInstance. It is bidirectional and its opposite is 'Dst'.

Get the list of access connections that terminate in this feature. This method is sensitive to the current system operation mode. If this object is not part of a system instance, then all the connections are returned; modifying the returned list in this case will change the model. If this object is part of a system instance and the current SOM is set, then this method only returns those connection instances that exist in the current SOM. Modifying the returned list in this case will not change the model. If the current SOM is not set, then it returns all the connection instances; modifying the returned list in this case will change the model.

Returns:
the value of the 'Dst Access Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_DstAccessConnection(), AccessConnectionInstance.getDst()

addDstAccessConnection

void addDstAccessConnection(AccessConnectionInstance value)
Adds to the list the value of the 'Dst Access Connection' reference list.

Parameters:
value - the value to add to 'Dst Access Connection' reference list.

getSrcFlowSpec

org.eclipse.emf.common.util.EList getSrcFlowSpec()
Returns the value of the 'Src Flow Spec' reference list. The list contents are of type FlowSpecInstance. It is bidirectional and its opposite is 'Src'.

If the meaning of the 'Src Flow Spec' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Src Flow Spec' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcFlowSpec(), FlowSpecInstance.getSrc()

addSrcFlowSpec

void addSrcFlowSpec(FlowSpecInstance value)
Adds to the list the value of the 'Src Flow Spec' reference list.

Parameters:
value - the value to add to 'Src Flow Spec' reference list.

getDstFlowSpec

org.eclipse.emf.common.util.EList getDstFlowSpec()
Returns the value of the 'Dst Flow Spec' reference list. The list contents are of type FlowSpecInstance. It is bidirectional and its opposite is 'Dst'.

If the meaning of the 'Dst Flow Spec' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Dst Flow Spec' reference list.
See Also:
InstancePackage.getFeatureInstance_DstFlowSpec(), FlowSpecInstance.getDst()

addDstFlowSpec

void addDstFlowSpec(FlowSpecInstance value)
Adds to the list the value of the 'Dst Flow Spec' reference list.

Parameters:
value - the value to add to 'Dst Flow Spec' reference list.

findFeatureInstance

FeatureInstance findFeatureInstance(Feature feature)
find the feature instance of this feature instance

Parameters:
feature - feature whose instance is to be found
Returns:
feature instance with the specified feature, or null

getOutgoingPortConnectionInstance

org.eclipse.emf.common.util.EList getOutgoingPortConnectionInstance()
Get all the port connection instances that are outgoing from this feature. This method is equivalent to getSrcPortConnection(), but the name of the method is more indicative of what it does.


getIncomingPortConnectionInstance

org.eclipse.emf.common.util.EList getIncomingPortConnectionInstance()
Get all the port connection instances that are incoming to this feature. This method is equivalent to getDstPortConnection(), but the name of the method is more indicative of what it does.


setCategory

void setCategory(Feature f)
set the featureinstance category to that of the supplied feature

Parameters:
f - Feature

findInversePortGroup

FeatureInstance findInversePortGroup(PortGroupType targetpgt)
find the matching inverse port group instance in this port group instance the contained port group instance must have the inverse port group type

Parameters:
targetpgt - port group instance with port group type to be found
Returns:
feature instance with the specified feature, or null