edu.cmu.sei.aadl.model.instance.impl
Class FeatureInstanceImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by edu.cmu.sei.aadl.model.core.impl.AObjectImpl
                  extended by edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
                      extended by edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl
                          extended by edu.cmu.sei.aadl.model.instance.impl.InstanceObjectImpl
                              extended by edu.cmu.sei.aadl.model.instance.impl.FeatureInstanceImpl
All Implemented Interfaces:
AObject, NamedElement, PropertyHolder, FeatureInstance, InstanceObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class FeatureInstanceImpl
extends InstanceObjectImpl
implements FeatureInstance

An implementation of the model object 'Feature Instance'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  FeatureCategory category
          The cached value of the 'Category' attribute
protected static FeatureCategory CATEGORY_EDEFAULT
          The default value of the 'Category' attribute
static java.lang.String copyright
           
protected  org.eclipse.emf.common.util.EList dstAccessConnection
          The cached value of the 'Dst Access Connection' reference list
protected  org.eclipse.emf.common.util.EList dstFlowSpec
          The cached value of the 'Dst Flow Spec' reference list
protected  org.eclipse.emf.common.util.EList dstPortConnection
          The cached value of the 'Dst Port Connection' reference list
protected  Feature feature
          The cached value of the 'Feature' reference
protected  org.eclipse.emf.common.util.EList featureInstance
          The cached value of the 'Feature Instance' containment reference list
protected  org.eclipse.emf.common.util.EList srcFlowSpec
          The cached value of the 'Src Flow Spec' reference list
protected  org.eclipse.emf.common.util.EList srcModeTransitionConnection
          The cached value of the 'Src Mode Transition Connection' reference list
protected  org.eclipse.emf.common.util.EList srcPortConnection
          The cached value of the 'Src Port Connection' reference list
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl
properties
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
comment, locationReference
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected FeatureInstanceImpl()
           
 
Method Summary
 boolean acceptsProperty(PropertyDefinition property)
          Query whether this object accepts values for the given property.
 void addDstAccessConnection(AccessConnectionInstance newDstAccessConnection)
          phf: add element to multiplicity EList
 void addDstFlowSpec(FlowSpecInstance newDstFlowSpec)
          phf: add element to multiplicity EList
 void addDstPortConnection(PortConnectionInstance newDstPortConnection)
          phf: add element to multiplicity EList
 void addFeatureInstance(FeatureInstance newFeatureInstance)
          phf: add element to multiplicity EList
 void addSrcFlowSpec(FlowSpecInstance newSrcFlowSpec)
          phf: add element to multiplicity EList
 void addSrcModeTransitionConnection(ModeTransitionConnectionInstance newSrcModeTransitionConnection)
          phf: add element to multiplicity EList
 void addSrcPortConnection(PortConnectionInstance newSrcPortConnection)
          phf: add element to multiplicity EList
 Feature basicGetFeature()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 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()
           
 org.eclipse.emf.common.util.EList getDstAccessConnection()
           
 org.eclipse.emf.common.util.EList getDstFlowSpec()
           
 org.eclipse.emf.common.util.EList getDstPortConnection()
           
protected  java.util.List getExistsInModes()
          Returns the System Operation Modes in which the element exists, or null if the element always exists.
 Feature getFeature()
           
 org.eclipse.emf.common.util.EList getFeatureInstance()
           
 org.eclipse.emf.common.util.EList getIncomingPortConnectionInstance()
          gets all semantic AbstractPort connections ending in the given FeatureInstance
 java.util.List getInstantiatedObjects()
          Return the declarative objects that define this instance.
 org.eclipse.emf.common.util.EList getOutgoingPortConnectionInstance()
          gets all semantic AbstractPort connections originating in the given FeatureInstance
 AObject getSecondReferencedObject()
          return as src of connection as referenced object
 org.eclipse.emf.common.util.EList getSrcFlowSpec()
           
 org.eclipse.emf.common.util.EList getSrcModeTransitionConnection()
           
 org.eclipse.emf.common.util.EList getSrcPortConnection()
           
 void setCategory(Feature f)
          set the featureinstance category to that of the supplied feature
 void setCategory(FeatureCategory newCategory)
           
 void setFeature(Feature newFeature)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cmu.sei.aadl.model.instance.impl.InstanceObjectImpl
createAccumulator, getComponentInstanceList, getComponentInstancePath, getContainingComponentInstance, getContainingComponentInstanceOrSelf, getInstanceObjectPath, getPropertyValueFromDeclarativeModel, getPropertyValueInternal, getSystemInstance
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl
addProperty, addPropertyValue, basicSetProperties, checkPropertyAssociation, createPropertyAssociation, findPropertyAssociation, getProperties, getPropertyAssociation, getPropertyValue, getPropertyValueList, getSimplePropertyValue, isModalPropertyValue, removeContainedPropertyAssociations, removeContainedPropertyAssociations, removePropertyAssociations, removePropertyAssociations, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setProperties, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
checkName, getName, setName
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
addComment, eObjectForURIFragmentSegment, eURIFragmentSegment, getAadlSpec, getAdapter, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, setLocationReference, setLocationReference
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.cmu.sei.aadl.model.instance.InstanceObject
getComponentInstanceList, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getSystemInstance
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.PropertyHolder
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, 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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

feature

protected Feature feature
The cached value of the 'Feature' reference.

See Also:
getFeature()

srcPortConnection

protected org.eclipse.emf.common.util.EList srcPortConnection
The cached value of the 'Src Port Connection' reference list.

See Also:
getSrcPortConnection()

dstPortConnection

protected org.eclipse.emf.common.util.EList dstPortConnection
The cached value of the 'Dst Port Connection' reference list.

See Also:
getDstPortConnection()

srcModeTransitionConnection

protected org.eclipse.emf.common.util.EList srcModeTransitionConnection
The cached value of the 'Src Mode Transition Connection' reference list.

See Also:
getSrcModeTransitionConnection()

featureInstance

protected org.eclipse.emf.common.util.EList featureInstance
The cached value of the 'Feature Instance' containment reference list.

See Also:
getFeatureInstance()

CATEGORY_EDEFAULT

protected static final FeatureCategory CATEGORY_EDEFAULT
The default value of the 'Category' attribute.

See Also:
getCategory()

category

protected FeatureCategory category
The cached value of the 'Category' attribute.

See Also:
getCategory()

dstAccessConnection

protected org.eclipse.emf.common.util.EList dstAccessConnection
The cached value of the 'Dst Access Connection' reference list.

See Also:
getDstAccessConnection()

srcFlowSpec

protected org.eclipse.emf.common.util.EList srcFlowSpec
The cached value of the 'Src Flow Spec' reference list.

See Also:
getSrcFlowSpec()

dstFlowSpec

protected org.eclipse.emf.common.util.EList dstFlowSpec
The cached value of the 'Dst Flow Spec' reference list.

See Also:
getDstFlowSpec()
Constructor Detail

FeatureInstanceImpl

protected FeatureInstanceImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class InstanceObjectImpl

getFeature

public Feature getFeature()

Specified by:
getFeature in interface FeatureInstance
Returns:
the value of the 'Feature' reference.
See Also:
FeatureInstance.setFeature(Feature), InstancePackage.getFeatureInstance_Feature()

basicGetFeature

public Feature basicGetFeature()


setFeature

public void setFeature(Feature newFeature)

Specified by:
setFeature in interface FeatureInstance
Parameters:
newFeature - the new value of the 'Feature' reference.
See Also:
FeatureInstance.getFeature()

getSrcPortConnection

public org.eclipse.emf.common.util.EList getSrcPortConnection()

Specified by:
getSrcPortConnection in interface FeatureInstance
Returns:
the value of the 'Src Port Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcPortConnection(), PortConnectionInstance.getSrc()

addSrcPortConnection

public void addSrcPortConnection(PortConnectionInstance newSrcPortConnection)
phf: add element to multiplicity EList

Specified by:
addSrcPortConnection in interface FeatureInstance
Parameters:
newSrcPortConnection - the value to add to 'Src Port Connection' reference list.

getDstPortConnection

public org.eclipse.emf.common.util.EList getDstPortConnection()

Specified by:
getDstPortConnection in interface FeatureInstance
Returns:
the value of the 'Dst Port Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_DstPortConnection(), PortConnectionInstance.getDst()

addDstPortConnection

public void addDstPortConnection(PortConnectionInstance newDstPortConnection)
phf: add element to multiplicity EList

Specified by:
addDstPortConnection in interface FeatureInstance
Parameters:
newDstPortConnection - the value to add to 'Dst Port Connection' reference list.

getSrcModeTransitionConnection

public org.eclipse.emf.common.util.EList getSrcModeTransitionConnection()

Specified by:
getSrcModeTransitionConnection in interface FeatureInstance
Returns:
the value of the 'Src Mode Transition Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcModeTransitionConnection(), ModeTransitionConnectionInstance.getSrc()

addSrcModeTransitionConnection

public void addSrcModeTransitionConnection(ModeTransitionConnectionInstance newSrcModeTransitionConnection)
phf: add element to multiplicity EList

Specified by:
addSrcModeTransitionConnection in interface FeatureInstance
Parameters:
newSrcModeTransitionConnection - the value to add to 'Src Mode Transition Connection' reference list.

getFeatureInstance

public org.eclipse.emf.common.util.EList getFeatureInstance()

Specified by:
getFeatureInstance in interface FeatureInstance
Returns:
the value of the 'Feature Instance' containment reference list.
See Also:
InstancePackage.getFeatureInstance_FeatureInstance()

addFeatureInstance

public void addFeatureInstance(FeatureInstance newFeatureInstance)
phf: add element to multiplicity EList

Specified by:
addFeatureInstance in interface FeatureInstance
Parameters:
newFeatureInstance - the value to add to 'Feature Instance' containment reference list.

getCategory

public FeatureCategory getCategory()

Specified by:
getCategory in interface FeatureInstance
Returns:
the value of the 'Category' attribute.
See Also:
FeatureCategory, FeatureInstance.setCategory(FeatureCategory), InstancePackage.getFeatureInstance_Category()

setCategory

public void setCategory(FeatureCategory newCategory)

Specified by:
setCategory in interface FeatureInstance
Parameters:
newCategory - the new value of the 'Category' attribute.
See Also:
FeatureCategory, FeatureInstance.getCategory()

getDstAccessConnection

public org.eclipse.emf.common.util.EList getDstAccessConnection()

Specified by:
getDstAccessConnection in interface FeatureInstance
Returns:
the value of the 'Dst Access Connection' reference list.
See Also:
InstancePackage.getFeatureInstance_DstAccessConnection(), AccessConnectionInstance.getDst()

addDstAccessConnection

public void addDstAccessConnection(AccessConnectionInstance newDstAccessConnection)
phf: add element to multiplicity EList

Specified by:
addDstAccessConnection in interface FeatureInstance
Parameters:
newDstAccessConnection - the value to add to 'Dst Access Connection' reference list.

getSrcFlowSpec

public org.eclipse.emf.common.util.EList getSrcFlowSpec()

Specified by:
getSrcFlowSpec in interface FeatureInstance
Returns:
the value of the 'Src Flow Spec' reference list.
See Also:
InstancePackage.getFeatureInstance_SrcFlowSpec(), FlowSpecInstance.getSrc()

addSrcFlowSpec

public void addSrcFlowSpec(FlowSpecInstance newSrcFlowSpec)
phf: add element to multiplicity EList

Specified by:
addSrcFlowSpec in interface FeatureInstance
Parameters:
newSrcFlowSpec - the value to add to 'Src Flow Spec' reference list.

getDstFlowSpec

public org.eclipse.emf.common.util.EList getDstFlowSpec()

Specified by:
getDstFlowSpec in interface FeatureInstance
Returns:
the value of the 'Dst Flow Spec' reference list.
See Also:
InstancePackage.getFeatureInstance_DstFlowSpec(), FlowSpecInstance.getDst()

addDstFlowSpec

public void addDstFlowSpec(FlowSpecInstance newDstFlowSpec)
phf: add element to multiplicity EList

Specified by:
addDstFlowSpec in interface FeatureInstance
Parameters:
newDstFlowSpec - the value to add to 'Dst Flow Spec' reference list.

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class PropertyHolderImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class PropertyHolderImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class PropertyHolderImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class PropertyHolderImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class PropertyHolderImpl

toString

public java.lang.String toString()

Overrides:
toString in class NamedElementImpl

acceptsProperty

public final boolean acceptsProperty(PropertyDefinition property)
Description copied from interface: PropertyHolder
Query whether this object accepts values for the given property. That is, does the given property apply to this element?

Specified by:
acceptsProperty in interface PropertyHolder
Overrides:
acceptsProperty in class PropertyHolderImpl
Parameters:
property - The property definition to test.
Returns:
true if the given property applies to this element.

getInstantiatedObjects

public final java.util.List getInstantiatedObjects()
Description copied from class: InstanceObjectImpl
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.

Specified by:
getInstantiatedObjects in interface InstanceObject
Overrides:
getInstantiatedObjects in class InstanceObjectImpl
Returns:
A List of PropertyHolder objects that should be declarative model elements. Returns an empty list if no named declarative object exists, such as in the case of ModeTransitionInstances.

getExistsInModes

protected final java.util.List getExistsInModes()
Description copied from class: InstanceObjectImpl
Returns the System Operation Modes in which the element exists, or null if the element always exists.

Overrides:
getExistsInModes in class InstanceObjectImpl

findFeatureInstance

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

Specified by:
findFeatureInstance in interface FeatureInstance
Parameters:
feature - feature whose instance is to be found
Returns:
feature instance with the specified feature, or null

findInversePortGroup

public 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

Specified by:
findInversePortGroup in interface FeatureInstance
Parameters:
targetpgt - port group instance with port group type to be found
Returns:
feature instance with the specified feature, or null

getOutgoingPortConnectionInstance

public final org.eclipse.emf.common.util.EList getOutgoingPortConnectionInstance()
gets all semantic AbstractPort connections originating in the given FeatureInstance

Specified by:
getOutgoingPortConnectionInstance in interface FeatureInstance
Returns:
EList of PortConnectionInstance

getIncomingPortConnectionInstance

public final org.eclipse.emf.common.util.EList getIncomingPortConnectionInstance()
gets all semantic AbstractPort connections ending in the given FeatureInstance

Specified by:
getIncomingPortConnectionInstance in interface FeatureInstance
Returns:
EList of PortConnectionInstance

setCategory

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

Specified by:
setCategory in interface FeatureInstance
Parameters:
f - Feature

getSecondReferencedObject

public AObject getSecondReferencedObject()
return as src of connection as referenced object

Specified by:
getSecondReferencedObject in interface AObject
Overrides:
getSecondReferencedObject in class AObjectImpl