Package de.uka.ipd.sdq.featuremodel.impl
Class FeatureImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- de.uka.ipd.sdq.identifier.impl.IdentifierImpl
-
- de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
-
- de.uka.ipd.sdq.featuremodel.impl.FeatureImpl
-
- All Implemented Interfaces:
Feature,NamedElement,de.uka.ipd.sdq.identifier.Identifier,org.eclipse.emf.cdo.CDOObject,org.eclipse.emf.cdo.common.id.CDOWithID,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker,Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,org.eclipse.emf.spi.cdo.InternalCDOLoadable,org.eclipse.emf.spi.cdo.InternalCDOObject
public class FeatureImpl extends NamedElementImpl implements Feature
An implementation of the model object ' Feature'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
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 EList<Attribute>attributesThe cached value of the 'Attributes' containment reference list.protected ChildRelationchildrelationThe cached value of the 'Childrelation' containment reference.protected static StringEACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXPThe cached OCL expression body for the 'Each Attribute Name Defined Just Once' operation.protected static org.eclipse.ocl.ecore.ConstraintEACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INVThe cached OCL invariant for the 'Each Attribute Name Defined Just Once' invariant operation.protected static org.eclipse.ocl.ecore.OCLEOCL_ENVThe cached environment for evaluating OCL expressions.-
Fields inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
name, NAME_EDEFAULT
-
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFeatureImpl()
-
Method Summary
-
Methods inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
getName, setName, toString
-
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setId
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
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
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
-
Methods inherited from interface de.uka.ipd.sdq.featuremodel.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
attributes
protected EList<Attribute> attributes
The cached value of the 'Attributes' containment reference list.- See Also:
getAttributes()- Generated class or method.
- Ordered collection.
-
childrelation
protected ChildRelation childrelation
The cached value of the 'Childrelation' containment reference.- See Also:
getChildrelation()- Generated class or method.
- Ordered collection.
-
EACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String EACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'Each Attribute Name Defined Just Once' operation.- See Also:
EachAttributeNameDefinedJustOnce(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map), Constant Field Values- Generated class or method.
- Ordered collection.
-
EACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint EACH_ATTRIBUTE_NAME_DEFINED_JUST_ONCE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'Each Attribute Name Defined Just Once' invariant operation.- See Also:
EachAttributeNameDefinedJustOnce(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)- 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:
eStaticClassin classNamedElementImpl- Generated class or method.
-
getAttributes
public EList<Attribute> getAttributes()
- Specified by:
getAttributesin interfaceFeature- Returns:
- the value of the 'Attributes' containment reference list.
- See Also:
featuremodelPackage.getFeature_Attributes()- Generated class or method.
-
getChildrelation
public ChildRelation getChildrelation()
- Specified by:
getChildrelationin interfaceFeature- Returns:
- the value of the 'Childrelation' containment reference.
- See Also:
Feature.setChildrelation(ChildRelation),featuremodelPackage.getFeature_Childrelation()- Generated class or method.
-
basicSetChildrelation
public NotificationChain basicSetChildrelation(ChildRelation newChildrelation, NotificationChain msgs)
- Generated class or method.
-
setChildrelation
public void setChildrelation(ChildRelation newChildrelation)
- Specified by:
setChildrelationin interfaceFeature- Parameters:
newChildrelation- the new value of the 'Childrelation' containment reference.- See Also:
Feature.getChildrelation()- Generated class or method.
-
getSimpleMandatory
public Simple getSimpleMandatory()
- Specified by:
getSimpleMandatoryin interfaceFeature- Returns:
- the value of the 'Simple Mandatory' container reference.
- See Also:
Feature.setSimpleMandatory(Simple),featuremodelPackage.getFeature_SimpleMandatory(),Simple.getMandatoryChildren()- Generated class or method.
-
basicSetSimpleMandatory
public NotificationChain basicSetSimpleMandatory(Simple newSimpleMandatory, NotificationChain msgs)
- Generated class or method.
-
setSimpleMandatory
public void setSimpleMandatory(Simple newSimpleMandatory)
- Specified by:
setSimpleMandatoryin interfaceFeature- Parameters:
newSimpleMandatory- the new value of the 'Simple Mandatory' container reference.- See Also:
Feature.getSimpleMandatory()- Generated class or method.
-
getSimpleOptional
public Simple getSimpleOptional()
- Specified by:
getSimpleOptionalin interfaceFeature- Returns:
- the value of the 'Simple Optional' container reference.
- See Also:
Feature.setSimpleOptional(Simple),featuremodelPackage.getFeature_SimpleOptional(),Simple.getOptionalChildren()- Generated class or method.
-
basicSetSimpleOptional
public NotificationChain basicSetSimpleOptional(Simple newSimpleOptional, NotificationChain msgs)
- Generated class or method.
-
setSimpleOptional
public void setSimpleOptional(Simple newSimpleOptional)
- Specified by:
setSimpleOptionalin interfaceFeature- Parameters:
newSimpleOptional- the new value of the 'Simple Optional' container reference.- See Also:
Feature.getSimpleOptional()- Generated class or method.
-
getFeaturegroup
public FeatureGroup getFeaturegroup()
- Specified by:
getFeaturegroupin interfaceFeature- Returns:
- the value of the 'Featuregroup' container reference.
- See Also:
Feature.setFeaturegroup(FeatureGroup),featuremodelPackage.getFeature_Featuregroup(),FeatureGroup.getChildren()- Generated class or method.
-
basicSetFeaturegroup
public NotificationChain basicSetFeaturegroup(FeatureGroup newFeaturegroup, NotificationChain msgs)
- Generated class or method.
-
setFeaturegroup
public void setFeaturegroup(FeatureGroup newFeaturegroup)
- Specified by:
setFeaturegroupin interfaceFeature- Parameters:
newFeaturegroup- the new value of the 'Featuregroup' container reference.- See Also:
Feature.getFeaturegroup()- Generated class or method.
-
EachAttributeNameDefinedJustOnce
public boolean EachAttributeNameDefinedJustOnce(DiagnosticChain diagnostics, Map<Object,Object> context)
- Specified by:
EachAttributeNameDefinedJustOncein interfaceFeature- Parameters:
diagnostics- The chain of diagnostics to which problems are to be appended.context- The cache of context-specific information.- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseAddin classBasicEObjectImpl- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classBasicEObjectImpl- Generated class or method.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeaturein classBasicEObjectImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classNamedElementImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classNamedElementImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classNamedElementImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classNamedElementImpl- Generated class or method.
-
-