|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl
edu.cmu.sei.aadl.aadl2.impl.ElementImpl
edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl
edu.cmu.sei.aadl.aadl2.instance.impl.InstanceObjectImpl
edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl
edu.cmu.sei.aadl.aadl2.instance.impl.FeatureInstanceImpl
public class FeatureInstanceImpl
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 |
protected DirectionType |
direction
The cached value of the ' Direction ' attribute |
protected static DirectionType |
DIRECTION_EDEFAULT
The default value of the ' Direction ' attribute |
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
dstFlowSpecs
The cached value of the ' Dst Flow Spec ' reference list |
protected Feature |
feature
The cached value of the ' Feature ' reference |
protected org.eclipse.emf.common.util.EList<FeatureInstance> |
featureInstances
The cached value of the ' Feature Instance ' containment reference list |
protected org.eclipse.emf.common.util.EList<java.lang.Long> |
indices
The cached value of the ' Index ' attribute list |
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
srcFlowSpecs
The cached value of the ' Src Flow Spec ' reference list |
Fields inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl |
---|
dstConnectionInstances, srcConnectionInstances |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.NamedElementImpl |
---|
name, NAME_EDEFAULT, ownedPropertyAssociations, QUALIFIED_NAME_EDEFAULT |
Fields inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
OWNED_ELEMENT_ESUBSETS, ownedComments |
Fields inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
copyright, 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 edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
FeatureInstanceImpl()
|
Method Summary | |
---|---|
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)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
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()
|
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()
|
org.eclipse.emf.common.util.EList<java.lang.Long> |
getIndices()
|
java.util.List<Feature> |
getInstantiatedObjects()
Return the declarative objects that define this instance. |
org.eclipse.emf.common.util.EList<FlowSpecificationInstance> |
getSrcFlowSpecs()
|
boolean |
isActive(SystemOperationMode som)
|
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)
|
java.lang.String |
toString()
|
Methods inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.ConnectionInstanceEndImpl |
---|
getDstConnectionInstances, getSrcConnectionInstances |
Methods inherited from class edu.cmu.sei.aadl.aadl2.instance.impl.InstanceObjectImpl |
---|
acceptsProperty, getComponentInstancePath, getContainingComponentInstance, getContainingComponentInstanceOrSelf, getInstanceObjectPath, getPropertyValueFromDeclarativeModel, getPropertyValueInternal, getSystemInstance |
Methods inherited from class edu.cmu.sei.aadl.aadl2.impl.ElementImpl |
---|
allOwnedElements, create, createOwnedComment, getCacheAdapter, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, isSetOwner, mustBeOwned, not_own_self |
Methods inherited from class edu.cmu.sei.aadl.aadl2.parsesupport.AObjectImpl |
---|
getAdapter, getLocationReference, 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, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, 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, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, 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.aadl2.instance.ConnectionInstanceEnd |
---|
getDstConnectionInstances, getSrcConnectionInstances |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.InstanceObject |
---|
getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getSystemInstance |
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 |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> srcFlowSpecs
Src Flow Spec
' reference list.
getSrcFlowSpecs()
protected org.eclipse.emf.common.util.EList<FlowSpecificationInstance> dstFlowSpecs
Dst Flow Spec
' reference list.
getDstFlowSpecs()
protected org.eclipse.emf.common.util.EList<FeatureInstance> featureInstances
Feature Instance
' containment reference list.
getFeatureInstances()
protected static final FeatureCategory CATEGORY_EDEFAULT
Category
' attribute.
getCategory()
protected FeatureCategory category
Category
' attribute.
getCategory()
protected static final DirectionType DIRECTION_EDEFAULT
Direction
' attribute.
getDirection()
protected DirectionType direction
Direction
' attribute.
getDirection()
protected Feature feature
Feature
' reference.
getFeature()
protected org.eclipse.emf.common.util.EList<java.lang.Long> indices
Index
' attribute list.
getIndices()
Constructor Detail |
---|
protected FeatureInstanceImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ConnectionInstanceEndImpl
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 org.eclipse.emf.common.util.EList<java.lang.Long> getIndices()
getIndices
in interface FeatureInstance
InstancePackage.getFeatureInstance_Index()
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 found
public 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 found
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |