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
public class FeatureGroupImpl extends ChildRelationImpl implements FeatureGroup
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
Fields Modifier and Type Field Description protected static String
ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'ALL Implies Cardinalities To Be Minus One
' operation.protected static org.eclipse.ocl.ecore.Constraint
ALL_IMPLIES_CARDINALITIES_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'ALL Implies Cardinalities To Be Minus One
' invariant operation.protected EList<Feature>
children
The cached value of the 'Children
' containment reference list.protected static org.eclipse.ocl.ecore.OCL
EOCL_ENV
The cached environment for evaluating OCL expressions.protected int
max
The cached value of the 'Max
' attribute.protected static int
MAX_EDEFAULT
The default value of the 'Max
' attribute.protected int
min
The cached value of the 'Min
' attribute.protected static int
MIN_EDEFAULT
The default value of the 'Min
' attribute.protected static String
OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
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
OR_IMPLIES_CARDINALITIES_MIN_TO_BE_ONE_AND_MAX_TO_BE_MINUS_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' invariant operation.protected static String
XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the 'XO Ror OR Implies Children Are Mandatory
' operation.protected static org.eclipse.ocl.ecore.Constraint
XO_ROR_OR_IMPLIES_CHILDREN_ARE_MANDATORY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the 'XO Ror OR Implies Children Are Mandatory
' invariant operation.protected static String
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.protected static org.eclipse.ocl.ecore.Constraint
XOR_IMPLIES_CARDINALITIES_TO_BE_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
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
Constructors Modifier Constructor Description protected
FeatureGroupImpl()
-
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, 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 Detail
-
MIN_EDEFAULT
protected static final int MIN_EDEFAULT
The default value of the 'Min
' attribute.- See Also:
getMin()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
min
protected int min
The cached value of the 'Min
' attribute.- See Also:
getMin()
- Generated class or method.
- Ordered collection.
-
MAX_EDEFAULT
protected static final int MAX_EDEFAULT
The default value of the 'Max
' attribute.- See Also:
getMax()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
max
protected int max
The cached value of the 'Max
' attribute.- See Also:
getMax()
- Generated class or method.
- Ordered collection.
-
children
protected EList<Feature> children
The cached value of the 'Children
' containment reference list.- See Also:
getChildren()
- 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_EXP
The cached OCL expression body for the 'XO Ror OR Implies Children Are Mandatory
' operation.- See Also:
XORorORImpliesChildrenAreMandatory(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
, Constant Field Values- 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_INV
The cached OCL invariant for the 'XO Ror OR Implies Children Are Mandatory
' invariant operation.- See Also:
XORorORImpliesChildrenAreMandatory(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- 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_EXP
The cached OCL expression body for the 'ALL Implies Cardinalities To Be Minus One
' operation.- See Also:
ALLImpliesCardinalitiesToBeMinusOne(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
, Constant Field Values- 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_INV
The cached OCL invariant for the 'ALL Implies Cardinalities To Be Minus One
' invariant operation.- See Also:
ALLImpliesCardinalitiesToBeMinusOne(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- 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_EXP
The cached OCL expression body for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' operation.- See Also:
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
, Constant Field Values- 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_INV
The cached OCL invariant for the 'OR Implies Cardinalities Min To Be One And Max To Be Minus One
' invariant operation.- See Also:
ORImpliesCardinalitiesMinToBeOneAndMaxToBeMinusOne(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- Generated class or method.
- Ordered collection.
-
XOR_IMPLIES_CARDINALITIES_TO_BE_ONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
protected static final String 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:
XORImpliesCardinalitiesToBeOne(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
, Constant Field Values- 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_INV
The cached OCL invariant for the 'XOR Implies Cardinalities To Be One
' invariant operation.- See Also:
XORImpliesCardinalitiesToBeOne(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.
-
getMin
public int getMin()
- Specified by:
getMin
in interfaceFeatureGroup
- Returns:
- the value of the 'Min' attribute.
- See Also:
FeatureGroup.setMin(int)
,featuremodelPackage.getFeatureGroup_Min()
- 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:
FeatureGroup.getMin()
- Generated class or method.
-
getMax
public int getMax()
- Specified by:
getMax
in interfaceFeatureGroup
- Returns:
- the value of the 'Max' attribute.
- See Also:
FeatureGroup.setMax(int)
,featuremodelPackage.getFeatureGroup_Max()
- 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:
FeatureGroup.getMax()
- Generated class or method.
-
getChildren
public EList<Feature> getChildren()
- Specified by:
getChildren
in interfaceFeatureGroup
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
featuremodelPackage.getFeatureGroup_Children()
,Feature.getFeaturegroup()
- 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
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.
-
-