Package de.uka.ipd.sdq.featuremodel.impl
Class SimpleImpl
- 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.featuremodel.impl.ChildRelationImpl
-
- de.uka.ipd.sdq.featuremodel.impl.SimpleImpl
-
- All Implemented Interfaces:
ChildRelation
,Simple
,Notifier
,EObject
,InternalEObject
public class SimpleImpl extends ChildRelationImpl implements Simple
An implementation of the model object 'Simple'.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 static String
AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'At Least One Child
' operation.protected static org.eclipse.ocl.ecore.Constraint
AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'At Least One Child
' invariant operation.protected static org.eclipse.ocl.ecore.OCL
EOCL_ENV
The cached environment for evaluating OCL expressions.protected EList<Feature>
mandatoryChildren
The cached value of the 'Mandatory Children
' containment reference list.protected EList<Feature>
optionalChildren
The cached value of the 'Optional Children
' containment reference list.-
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
SimpleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
atLeastOneChild(DiagnosticChain diagnostics, Map<Object,Object> context)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
EList<Feature>
getMandatoryChildren()
EList<Feature>
getOptionalChildren()
-
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, eBasicRemoveFromContainerFeature, 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, toString
-
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
-
optionalChildren
protected EList<Feature> optionalChildren
The cached value of the 'Optional Children
' containment reference list.- See Also:
getOptionalChildren()
- Generated class or method.
- Ordered collection.
-
mandatoryChildren
protected EList<Feature> mandatoryChildren
The cached value of the 'Mandatory Children
' containment reference list.- See Also:
getMandatoryChildren()
- Generated class or method.
- Ordered collection.
-
AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'At Least One Child
' operation.- See Also:
atLeastOneChild(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
, Constant Field Values- Generated class or method.
- Ordered collection.
-
AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint AT_LEAST_ONE_CHILD__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'At Least One Child
' invariant operation.- See Also:
atLeastOneChild(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:
eStaticClass
in classChildRelationImpl
- Generated class or method.
-
getMandatoryChildren
public EList<Feature> getMandatoryChildren()
- Specified by:
getMandatoryChildren
in interfaceSimple
- Returns:
- the value of the 'Mandatory Children' containment reference list.
- See Also:
featuremodelPackage.getSimple_MandatoryChildren()
,Feature.getSimpleMandatory()
- Generated class or method.
-
getOptionalChildren
public EList<Feature> getOptionalChildren()
- Specified by:
getOptionalChildren
in interfaceSimple
- Returns:
- the value of the 'Optional Children' containment reference list.
- See Also:
featuremodelPackage.getSimple_OptionalChildren()
,Feature.getSimpleOptional()
- Generated class or method.
-
atLeastOneChild
public boolean atLeastOneChild(DiagnosticChain diagnostics, Map<Object,Object> context)
- Specified by:
atLeastOneChild
in interfaceSimple
- 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:
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.
-
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.
-
-