Package de.uka.ipd.sdq.featuremodel.impl
Class ConstraintImpl
- 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.ConstraintImpl
-
- All Implemented Interfaces:
Constraint
,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
- Direct Known Subclasses:
ProhibitsConstraintImpl
,RequiredConstraintImpl
public abstract class ConstraintImpl extends NamedElementImpl implements Constraint
An implementation of the model object 'Constraint'.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 String
description
The cached value of the 'Description
' attribute.protected static String
DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.protected Feature
source
The cached value of the 'Source
' reference.protected EList<Feature>
target
The cached value of the 'Target
' reference list.-
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 protected
ConstraintImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature
basicGetSource()
Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
String
getDescription()
Feature
getSource()
EList<Feature>
getTarget()
void
setDescription(String newDescription)
void
setSource(Feature newSource)
String
toString()
-
Methods inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
getName, setName
-
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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, 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
-
source
protected Feature source
The cached value of the 'Source
' reference.- See Also:
getSource()
- Generated class or method.
- Ordered collection.
-
target
protected EList<Feature> target
The cached value of the 'Target
' reference list.- See Also:
getTarget()
- Generated class or method.
- Ordered collection.
-
DESCRIPTION_EDEFAULT
protected static final String DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.- See Also:
getDescription()
- Generated class or method.
- Ordered collection.
-
description
protected String description
The cached value of the 'Description
' attribute.- See Also:
getDescription()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classNamedElementImpl
- Generated class or method.
-
getSource
public Feature getSource()
- Specified by:
getSource
in interfaceConstraint
- Returns:
- the value of the 'Source' reference.
- See Also:
Constraint.setSource(Feature)
,featuremodelPackage.getConstraint_Source()
- Generated class or method.
-
basicGetSource
public Feature basicGetSource()
- Generated class or method.
-
setSource
public void setSource(Feature newSource)
- Specified by:
setSource
in interfaceConstraint
- Parameters:
newSource
- the new value of the 'Source' reference.- See Also:
Constraint.getSource()
- Generated class or method.
-
getTarget
public EList<Feature> getTarget()
- Specified by:
getTarget
in interfaceConstraint
- Returns:
- the value of the 'Target' reference list.
- See Also:
featuremodelPackage.getConstraint_Target()
- Generated class or method.
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceConstraint
- Returns:
- the value of the 'Description' attribute.
- See Also:
Constraint.setDescription(String)
,featuremodelPackage.getConstraint_Description()
- Generated class or method.
-
setDescription
public void setDescription(String newDescription)
- Specified by:
setDescription
in interfaceConstraint
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
Constraint.getDescription()
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classNamedElementImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classNamedElementImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classNamedElementImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classNamedElementImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classNamedElementImpl
- Generated class or method.
-
-