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

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

public interface FeatureInstance
extends ConnectionInstanceEnd, InstanceObject

A representation of the model object 'Feature Instance'.

The following features are supported:

See Also:
InstancePackage.getFeatureInstance()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 FeatureInstance createFeatureInstance()
          Creates a new FeatureInstance and appends it to the 'Feature Instance' containment reference list
 FeatureInstance findFeatureInstance(Feature feature)
          find the feature instance of this feature instance
 FeatureInstance findInverseFeatureGroup(FeatureGroupType targetpgt)
          find the matching inverse feature group instance in this feature group instance the contained feature group instance must have the inverse feature group type
 FeatureCategory getCategory()
          Returns the value of the 'Category' attribute.
 DirectionType getDirection()
          Returns the value of the 'Direction' attribute.
 org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getDstFlowSpecs()
          Returns the value of the 'Dst Flow Spec' reference list.
 Feature getFeature()
          Returns the value of the 'Feature' reference
 org.eclipse.emf.common.util.EList<FeatureInstance> getFeatureInstances()
          Returns the value of the 'Feature Instance' containment reference list.
 org.eclipse.emf.common.util.EList<java.lang.Long> getIndices()
          Returns the value of the 'Index' attribute list.
 org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getSrcFlowSpecs()
          Returns the value of the 'Src Flow Spec' 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 setDirection(DirectionType value)
          Sets the value of the 'Direction' attribute
 void setFeature(Feature value)
          Sets the value of the 'Feature' reference
 
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, getExistsInModes, getInstanceObjectPath, getInstantiatedObjects, getSystemInstance, isActive
 
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

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()

getIndices

org.eclipse.emf.common.util.EList<java.lang.Long> getIndices()
Returns the value of the 'Index' attribute list. The list contents are of type Long.

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

Returns:
the value of the 'Index' attribute list.
See Also:
InstancePackage.getFeatureInstance_Index()

getSrcFlowSpecs

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

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(), FlowSpecificationInstance.getSource()

getDstFlowSpecs

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

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(), FlowSpecificationInstance.getDestination()

getFeatureInstances

org.eclipse.emf.common.util.EList<FeatureInstance> getFeatureInstances()
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()

createFeatureInstance

FeatureInstance createFeatureInstance()
Creates a new FeatureInstance and appends it to the 'Feature Instance' containment reference list.

Returns:
The new FeatureInstance.
See Also:
getFeatureInstances()

getCategory

FeatureCategory getCategory()
Returns the value of the 'Category' attribute. 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()

getDirection

DirectionType getDirection()
Returns the value of the 'Direction' attribute. The literals are from the enumeration DirectionType.

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

Returns:
the value of the 'Direction' attribute.
See Also:
DirectionType, setDirection(DirectionType), InstancePackage.getFeatureInstance_Direction()

setDirection

void setDirection(DirectionType value)
Sets the value of the 'Direction' attribute.

Parameters:
value - the new value of the 'Direction' attribute.
See Also:
DirectionType, getDirection()

findInverseFeatureGroup

FeatureInstance findInverseFeatureGroup(FeatureGroupType targetpgt)
find the matching inverse feature group instance in this feature group instance the contained feature group instance must have the inverse feature group type

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

setCategory

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

Parameters:
f - Feature

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