public class FeatureInstanceImpl extends ConnectionInstanceEndImpl implements FeatureInstance
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
Feature |
basicGetFeature() |
FeatureInstance |
createFeatureInstance() |
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) |
void |
eUnset(int featureID) |
FeatureInstance |
findFeatureInstance(Feature feature)
find the feature instance of this feature instance
|
java.util.Collection<FeatureInstance> |
findFeatureInstances(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
Get all feature instances that fit a given path in a feature group.
|
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() |
DirectionType |
getDirection() |
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
getDstFlowSpecs() |
java.util.List<SystemOperationMode> |
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<FeatureInstance> |
getFeatureInstances() |
long |
getIndex() |
java.util.List<Feature> |
getInstantiatedObjects()
Return the declarative objects that define this instance.
|
java.lang.String |
getPathName()
Get the component name including array indices
|
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
getSrcFlowSpecs() |
boolean |
isActive(SystemOperationMode som) |
boolean |
matchesIndex(java.util.List<ArrayRange> ranges) |
void |
setCategory(Feature f)
set the featureinstance category to that of the supplied feature
|
void |
setCategory(FeatureCategory newCategory) |
void |
setDirection(DirectionType newDirection) |
void |
setFeature(Feature newFeature) |
void |
setIndex(long newIndex) |
java.lang.String |
toString() |
getDstConnectionInstances, getSrcConnectionInstances
acceptsProperty, allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getPropertyValueInternal, getSystemInstance
allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDstConnectionInstances, getSrcConnectionInstances
allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getSystemInstance
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public Feature getFeature()
getFeature
in interface FeatureInstance
FeatureInstance.setFeature(Feature)
,
InstancePackage.getFeatureInstance_Feature()
public Feature basicGetFeature()
public void setFeature(Feature newFeature)
setFeature
in interface FeatureInstance
newFeature
- the new value of the 'Feature' reference.FeatureInstance.getFeature()
public long getIndex()
getIndex
in interface FeatureInstance
FeatureInstance.setIndex(long)
,
InstancePackage.getFeatureInstance_Index()
public void setIndex(long newIndex)
setIndex
in interface FeatureInstance
newIndex
- the new value of the 'Index' attribute.FeatureInstance.getIndex()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class ConnectionInstanceEndImpl
public org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getSrcFlowSpecs()
getSrcFlowSpecs
in interface FeatureInstance
InstancePackage.getFeatureInstance_SrcFlowSpec()
,
FlowSpecificationInstance.getSource()
public org.eclipse.emf.common.util.EList<FlowSpecificationInstance> getDstFlowSpecs()
getDstFlowSpecs
in interface FeatureInstance
InstancePackage.getFeatureInstance_DstFlowSpec()
,
FlowSpecificationInstance.getDestination()
public org.eclipse.emf.common.util.EList<FeatureInstance> getFeatureInstances()
getFeatureInstances
in interface FeatureInstance
InstancePackage.getFeatureInstance_FeatureInstance()
public FeatureInstance createFeatureInstance()
createFeatureInstance
in interface FeatureInstance
FeatureInstance
.FeatureInstance.getFeatureInstances()
public FeatureCategory getCategory()
getCategory
in interface FeatureInstance
FeatureCategory
,
FeatureInstance.setCategory(FeatureCategory)
,
InstancePackage.getFeatureInstance_Category()
public void setCategory(FeatureCategory newCategory)
setCategory
in interface FeatureInstance
newCategory
- the new value of the 'Category' attribute.FeatureCategory
,
FeatureInstance.getCategory()
public DirectionType getDirection()
getDirection
in interface FeatureInstance
DirectionType
,
FeatureInstance.setDirection(DirectionType)
,
InstancePackage.getFeatureInstance_Direction()
public void setDirection(DirectionType newDirection)
setDirection
in interface FeatureInstance
newDirection
- the new value of the 'Direction' attribute.DirectionType
,
FeatureInstance.getDirection()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ConnectionInstanceEndImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ConnectionInstanceEndImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ConnectionInstanceEndImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ConnectionInstanceEndImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ConnectionInstanceEndImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public FeatureInstance findInverseFeatureGroup(FeatureGroupType targetpgt)
findInverseFeatureGroup
in interface FeatureInstance
targetpgt
- feature group instance with feature group type to be foundpublic void setCategory(Feature f)
setCategory
in interface FeatureInstance
f
- Featurepublic FeatureInstance findFeatureInstance(Feature feature)
findFeatureInstance
in interface FeatureInstance
feature
- feature whose instance is to be foundpublic java.util.Collection<FeatureInstance> findFeatureInstances(org.eclipse.emf.common.util.EList<ContainmentPathElement> referencePath)
findFeatureInstances
in interface FeatureInstance
public final java.util.List<SystemOperationMode> getExistsInModes()
InstanceObjectImpl
null
if the element always exists.getExistsInModes
in interface InstanceObject
getExistsInModes
in class InstanceObjectImpl
public java.util.List<Feature> getInstantiatedObjects()
InstanceObjectImpl
getInstantiatedObjects
in interface InstanceObject
getInstantiatedObjects
in class InstanceObjectImpl
ModeTransitionInstance
s.public boolean isActive(SystemOperationMode som)
isActive
in interface InstanceObject
public java.lang.String getPathName()
InstanceObject
getPathName
in interface InstanceObject
getPathName
in class InstanceObjectImpl
public boolean matchesIndex(java.util.List<ArrayRange> ranges)
matchesIndex
in interface InstanceObject
matchesIndex
in class InstanceObjectImpl