Package de.uka.ipd.sdq.featuremodel.impl
Class FeatureGroupImpl
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.FeatureGroupImpl
- All Implemented Interfaces:
ChildRelation
,FeatureGroup
,Notifier
,EObject
,InternalEObject
An implementation of the model object 'Feature Group'.
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
Modifier and TypeFieldDescriptionprotected static final String
The cached OCL expression body for the 'ALL Implies Cardinalities To Be Minus One
' operation.protected static org.eclipse.ocl.ecore.Constraint
The cached OCL invariant for the 'ALL Implies Cardinalities To Be Minus One
' invariant operation.The cached value of the 'Children
' containment reference list.protected static final org.eclipse.ocl.ecore.OCL
The cached environment for evaluating OCL expressions.protected int
The cached value of the 'Max
' attribute.protected static final int
The default value of the 'Max
' attribute.protected int
The cached value of the 'Min
' attribute.protected static final int
The default value of the 'Min
' attribute.protected static final String
The cached OCL expression body for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' operation.protected static org.eclipse.ocl.ecore.Constraint
The cached OCL invariant for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' invariant operation.protected static final String
The cached OCL expression body for the 'XO Ror OR Implies Children Are Mandatory
' operation.protected static org.eclipse.ocl.ecore.Constraint
The cached OCL invariant for the 'XO Ror OR Implies Children Are Mandatory
' invariant operation.protected static final String
The cached OCL expression body for the 'XOR Implies Cardinalities To Be One
' operation.protected static org.eclipse.ocl.ecore.Constraint
The cached OCL invariant for the 'XOR Implies Cardinalities To Be One
' invariant 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ALLImpliesCardinalitiesToBeMinusOne
(DiagnosticChain diagnostics, Map<Object, Object> context) eGet
(int featureID, boolean resolve, boolean coreType) eInverseAdd
(InternalEObject otherEnd, int featureID, NotificationChain msgs) eInverseRemove
(InternalEObject otherEnd, int featureID, NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected EClass
void
eUnset
(int featureID) int
getMax()
int
getMin()
boolean
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne
(DiagnosticChain diagnostics, Map<Object, Object> context) void
setMax
(int newMax) void
setMin
(int newMin) toString()
boolean
XORImpliesCardinalitiesToBeOne
(DiagnosticChain diagnostics, Map<Object, Object> context) boolean
XORorORImpliesChildrenAreMandatory
(DiagnosticChain diagnostics, Map<Object, Object> context) 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
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 Details
-
MIN_EDEFAULT
protected static final int MIN_EDEFAULTThe default value of the 'Min
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
min
protected int minThe cached value of the 'Min
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
MAX_EDEFAULT
protected static final int MAX_EDEFAULTThe default value of the 'Max
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
max
protected int maxThe cached value of the 'Max
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
children
The cached value of the 'Children
' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_EXPThe cached OCL expression body for the 'XO Ror OR Implies Children Are Mandatory
' operation.- See Also:
- Generated class or method.
- Ordered collection.
-
XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INVThe cached OCL invariant for the 'XO Ror OR Implies Children Are Mandatory
' invariant operation.- See Also:
- Generated class or method.
- Ordered collection.
-
ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXPThe cached OCL expression body for the 'ALL Implies Cardinalities To Be Minus One
' operation.- See Also:
- Generated class or method.
- Ordered collection.
-
ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INVThe cached OCL invariant for the 'ALL Implies Cardinalities To Be Minus One
' invariant operation.- See Also:
- Generated class or method.
- Ordered collection.
-
OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXPThe cached OCL expression body for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' operation.- See Also:
- Generated class or method.
- Ordered collection.
-
OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INVThe cached OCL invariant for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' invariant operation.- See Also:
- Generated class or method.
- Ordered collection.
-
XOR_IMPLIES_CARDINALITIES_TO_BE_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'XOR Implies Cardinalities To Be One
' operation.- See Also:
- Generated class or method.
- Ordered collection.
-
XOR_IMPLIES_CARDINALITIES_TO_BE_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
protected static org.eclipse.ocl.ecore.Constraint XOR_IMPLIES_CARDINALITIES_TO_BE_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INVThe cached OCL invariant for the 'XOR Implies Cardinalities To Be One
' invariant operation.- See Also:
- Generated class or method.
- Ordered collection.
-
EOCL_ENV
protected static final org.eclipse.ocl.ecore.OCL EOCL_ENVThe cached environment for evaluating OCL expressions.- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
FeatureGroupImpl
protected FeatureGroupImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classChildRelationImpl
- Generated class or method.
-
getMin
public int getMin()- Specified by:
getMin
in interfaceFeatureGroup
- Returns:
- the value of the 'Min' attribute.
- See Also:
- Generated class or method.
-
setMin
public void setMin(int newMin) - Specified by:
setMin
in interfaceFeatureGroup
- Parameters:
newMin
- the new value of the 'Min' attribute.- See Also:
- Generated class or method.
-
getMax
public int getMax()- Specified by:
getMax
in interfaceFeatureGroup
- Returns:
- the value of the 'Max' attribute.
- See Also:
- Generated class or method.
-
setMax
public void setMax(int newMax) - Specified by:
setMax
in interfaceFeatureGroup
- Parameters:
newMax
- the new value of the 'Max' attribute.- See Also:
- Generated class or method.
-
getChildren
- Specified by:
getChildren
in interfaceFeatureGroup
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
- Generated class or method.
-
XORorORImpliesChildrenAreMandatory
public boolean XORorORImpliesChildrenAreMandatory(DiagnosticChain diagnostics, Map<Object, Object> context) - Specified by:
XORorORImpliesChildrenAreMandatory
in interfaceFeatureGroup
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
-
ALLImpliesCardinalitiesToBeMinusOne
public boolean ALLImpliesCardinalitiesToBeMinusOne(DiagnosticChain diagnostics, Map<Object, Object> context) - Specified by:
ALLImpliesCardinalitiesToBeMinusOne
in interfaceFeatureGroup
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
-
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne
public boolean ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(DiagnosticChain diagnostics, Map<Object, Object> context) - Specified by:
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne
in interfaceFeatureGroup
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
-
XORImpliesCardinalitiesToBeOne
public boolean XORImpliesCardinalitiesToBeOne(DiagnosticChain diagnostics, Map<Object, Object> context) - Specified by:
XORImpliesCardinalitiesToBeOne
in interfaceFeatureGroup
- 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
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated class or method.
-
eSet
- 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
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-