Class FeatureConfigImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- de.uka.ipd.sdq.featureconfig.impl.FeatureConfigImpl
-
- All Implemented Interfaces:
FeatureConfig
,Notifier
,EObject
,InternalEObject
public class FeatureConfigImpl extends EObjectImpl implements FeatureConfig
An implementation of the model object ' Feature Config'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected FeatureDiagram
annotatedElement
The cached value of the 'Annotated Element
' reference.protected EList<ConfigNode>
confignode
The cached value of the 'Confignode
' containment reference list.protected static org.eclipse.ocl.ecore.OCL
EOCL_ENV
The cached environment for evaluating OCL expressions.protected static FeatureConfigState
FEATURE_CONFIG_STATE_EDEFAULT
The default value of the 'Feature Config State
' attribute.protected FeatureConfigState
featureConfigState
The cached value of the 'Feature Config State
' attribute.protected static String
SHOW_FEATURE_CONFIG_STATE__EOCL_EXP
The cached OCL expression body for the 'Show Feature Config State
' operation.protected static org.eclipse.ocl.expressions.OCLExpression<EClassifier>
SHOW_FEATURE_CONFIG_STATE__EOCL_QRY
The cached OCL query for the 'Show Feature Config State
' query operation.-
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
Constructors Modifier Constructor Description protected
FeatureConfigImpl()
-
Method Summary
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, 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, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, 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 org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
FEATURE_CONFIG_STATE_EDEFAULT
protected static final FeatureConfigState FEATURE_CONFIG_STATE_EDEFAULT
The default value of the 'Feature Config State
' attribute.- See Also:
getFeatureConfigState()
- Generated class or method.
- Ordered collection.
-
featureConfigState
protected FeatureConfigState featureConfigState
The cached value of the 'Feature Config State
' attribute.- See Also:
getFeatureConfigState()
- Generated class or method.
- Ordered collection.
-
confignode
protected EList<ConfigNode> confignode
The cached value of the 'Confignode
' containment reference list.- See Also:
getConfignode()
- Generated class or method.
- Ordered collection.
-
annotatedElement
protected FeatureDiagram annotatedElement
The cached value of the 'Annotated Element
' reference.- See Also:
getAnnotatedElement()
- Generated class or method.
- Ordered collection.
-
SHOW_FEATURE_CONFIG_STATE__EOCL_EXP
protected static final String SHOW_FEATURE_CONFIG_STATE__EOCL_EXP
The cached OCL expression body for the 'Show Feature Config State
' operation.- See Also:
showFeatureConfigState()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
SHOW_FEATURE_CONFIG_STATE__EOCL_QRY
protected static org.eclipse.ocl.expressions.OCLExpression<EClassifier> SHOW_FEATURE_CONFIG_STATE__EOCL_QRY
The cached OCL query for the 'Show Feature Config State
' query operation.- See Also:
showFeatureConfigState()
- Generated class or method.
- Ordered collection.
-
EOCL_ENV
protected static final org.eclipse.ocl.ecore.OCL EOCL_ENV
The cached environment for evaluating OCL expressions.- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classEObjectImpl
- Generated class or method.
-
getFeatureConfigState
public FeatureConfigState getFeatureConfigState()
- Specified by:
getFeatureConfigState
in interfaceFeatureConfig
- Returns:
- the value of the 'Feature Config State' attribute.
- See Also:
FeatureConfigState
,FeatureConfig.setFeatureConfigState(FeatureConfigState)
,featureconfigPackage.getFeatureConfig_FeatureConfigState()
- Generated class or method.
-
setFeatureConfigState
public void setFeatureConfigState(FeatureConfigState newFeatureConfigState)
- Specified by:
setFeatureConfigState
in interfaceFeatureConfig
- Parameters:
newFeatureConfigState
- the new value of the 'Feature Config State' attribute.- See Also:
FeatureConfigState
,FeatureConfig.getFeatureConfigState()
- Generated class or method.
-
getFeatureConfigStateOld
public FeatureConfigState getFeatureConfigStateOld()
returns the result of showFeatureConfigState() showFeatureConfigState is defined by an OCL expression. The FeatureConfigState of a FeatureConfig is DEFAULT, if the FeatureConfig equals its configurationDefault.defaultConfig. It is OVERRIDE, if it is included in its configurationOverrides.configOverrides. If neither of these conditions applies, the FeatureConfigState is NOT_SET.- Generated class or method.
- not
-
getConfignode
public EList<ConfigNode> getConfignode()
- Specified by:
getConfignode
in interfaceFeatureConfig
- Returns:
- the value of the 'Confignode' containment reference list.
- See Also:
featureconfigPackage.getFeatureConfig_Confignode()
- Generated class or method.
-
getAnnotatedElement
public FeatureDiagram getAnnotatedElement()
- Specified by:
getAnnotatedElement
in interfaceFeatureConfig
- Returns:
- the value of the 'Annotated Element' reference.
- See Also:
FeatureConfig.setAnnotatedElement(FeatureDiagram)
,featureconfigPackage.getFeatureConfig_AnnotatedElement()
- Generated class or method.
-
basicGetAnnotatedElement
public FeatureDiagram basicGetAnnotatedElement()
- Generated class or method.
-
setAnnotatedElement
public void setAnnotatedElement(FeatureDiagram newAnnotatedElement)
- Specified by:
setAnnotatedElement
in interfaceFeatureConfig
- Parameters:
newAnnotatedElement
- the new value of the 'Annotated Element' reference.- See Also:
FeatureConfig.getAnnotatedElement()
- Generated class or method.
-
getConfigurationOverrides
public Configuration getConfigurationOverrides()
- Specified by:
getConfigurationOverrides
in interfaceFeatureConfig
- Returns:
- the value of the 'Configuration Overrides' container reference.
- See Also:
FeatureConfig.setConfigurationOverrides(Configuration)
,featureconfigPackage.getFeatureConfig_ConfigurationOverrides()
,Configuration.getConfigOverrides()
- Generated class or method.
-
basicSetConfigurationOverrides
public NotificationChain basicSetConfigurationOverrides(Configuration newConfigurationOverrides, NotificationChain msgs)
- Generated class or method.
-
setConfigurationOverrides
public void setConfigurationOverrides(Configuration newConfigurationOverrides)
- Specified by:
setConfigurationOverrides
in interfaceFeatureConfig
- Parameters:
newConfigurationOverrides
- the new value of the 'Configuration Overrides' container reference.- See Also:
FeatureConfig.getConfigurationOverrides()
- Generated class or method.
-
getConfigurationDefault
public Configuration getConfigurationDefault()
- Specified by:
getConfigurationDefault
in interfaceFeatureConfig
- Returns:
- the value of the 'Configuration Default' container reference.
- See Also:
FeatureConfig.setConfigurationDefault(Configuration)
,featureconfigPackage.getFeatureConfig_ConfigurationDefault()
,Configuration.getDefaultConfig()
- Generated class or method.
-
basicSetConfigurationDefault
public NotificationChain basicSetConfigurationDefault(Configuration newConfigurationDefault, NotificationChain msgs)
- Generated class or method.
-
setConfigurationDefault
public void setConfigurationDefault(Configuration newConfigurationDefault)
- Specified by:
setConfigurationDefault
in interfaceFeatureConfig
- Parameters:
newConfigurationDefault
- the new value of the 'Configuration Default' container reference.- See Also:
FeatureConfig.getConfigurationDefault()
- Generated class or method.
-
showFeatureConfigState
public FeatureConfigState showFeatureConfigState()
- Specified by:
showFeatureConfigState
in interfaceFeatureConfig
- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAdd
in classBasicEObjectImpl
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classBasicEObjectImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classBasicEObjectImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classBasicEObjectImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classBasicEObjectImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-