|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureInstance
A representation of the model object 'Feature Instance'.
The following features are supported:
Feature
Src Port Connection
Dst Port Connection
Src Mode Transition Connection
Feature Instance
Category
Dst Access Connection
Src Flow Spec
Dst Flow Spec
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.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 |
---|
static final java.lang.String copyright
Method Detail |
---|
Feature getFeature()
If the meaning of the 'Feature' reference isn't clear, there really should be more of a description here...
setFeature(Feature)
,
InstancePackage.getFeatureInstance_Feature()
void setFeature(Feature value)
Feature
' reference.
value
- the new value of the 'Feature' reference.getFeature()
org.eclipse.emf.common.util.EList getSrcPortConnection()
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.
InstancePackage.getFeatureInstance_SrcPortConnection()
,
PortConnectionInstance.getSrc()
void addSrcPortConnection(PortConnectionInstance value)
Src Port Connection
' reference list.
value
- the value to add to 'Src Port Connection' reference list.org.eclipse.emf.common.util.EList getDstPortConnection()
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.
InstancePackage.getFeatureInstance_DstPortConnection()
,
PortConnectionInstance.getDst()
void addDstPortConnection(PortConnectionInstance value)
Dst Port Connection
' reference list.
value
- the value to add to 'Dst Port Connection' reference list.org.eclipse.emf.common.util.EList getSrcModeTransitionConnection()
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.
InstancePackage.getFeatureInstance_SrcModeTransitionConnection()
,
ModeTransitionConnectionInstance.getSrc()
void addSrcModeTransitionConnection(ModeTransitionConnectionInstance value)
Src Mode Transition Connection
' reference list.
value
- the value to add to 'Src Mode Transition Connection' reference list.org.eclipse.emf.common.util.EList getFeatureInstance()
FeatureInstance
.
If the meaning of the 'Feature Instance' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getFeatureInstance_FeatureInstance()
void addFeatureInstance(FeatureInstance value)
Feature Instance
' containment reference list.
value
- the value to add to 'Feature Instance' containment reference list.FeatureCategory getCategory()
"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...
FeatureCategory
,
setCategory(FeatureCategory)
,
InstancePackage.getFeatureInstance_Category()
void setCategory(FeatureCategory value)
Category
' attribute.
value
- the new value of the 'Category' attribute.FeatureCategory
,
getCategory()
org.eclipse.emf.common.util.EList getDstAccessConnection()
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.
InstancePackage.getFeatureInstance_DstAccessConnection()
,
AccessConnectionInstance.getDst()
void addDstAccessConnection(AccessConnectionInstance value)
Dst Access Connection
' reference list.
value
- the value to add to 'Dst Access Connection' reference list.org.eclipse.emf.common.util.EList getSrcFlowSpec()
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...
InstancePackage.getFeatureInstance_SrcFlowSpec()
,
FlowSpecInstance.getSrc()
void addSrcFlowSpec(FlowSpecInstance value)
Src Flow Spec
' reference list.
value
- the value to add to 'Src Flow Spec' reference list.org.eclipse.emf.common.util.EList getDstFlowSpec()
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...
InstancePackage.getFeatureInstance_DstFlowSpec()
,
FlowSpecInstance.getDst()
void addDstFlowSpec(FlowSpecInstance value)
Dst Flow Spec
' reference list.
value
- the value to add to 'Dst Flow Spec' reference list.FeatureInstance findFeatureInstance(Feature feature)
feature
- feature whose instance is to be found
org.eclipse.emf.common.util.EList getOutgoingPortConnectionInstance()
getSrcPortConnection()
,
but the name of the method is more indicative of what it does.
org.eclipse.emf.common.util.EList getIncomingPortConnectionInstance()
getDstPortConnection()
,
but the name of the method is more indicative of what it does.
void setCategory(Feature f)
f
- FeatureFeatureInstance findInversePortGroup(PortGroupType targetpgt)
targetpgt
- port group instance with port group type to be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |