Class ExtensionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.modelversioning.emfprofile.impl.ExtensionImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,InternalEObject
,Extension
public class ExtensionImpl extends EObjectImpl implements Extension
An implementation of the model object ' Extension'.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 int
LOWER_BOUND_EDEFAULT
The default value of the 'Lower Bound
' attribute.protected int
lowerBound
The cached value of the 'Lower Bound
' attribute.protected EList<Extension>
redefined
The cached value of the 'Redefined
' reference list.protected EList<Extension>
redefining
The cached value of the 'Redefining
' reference list.protected EList<Extension>
subsetted
The cached value of the 'Subsetted
' reference list.protected EList<Extension>
subsetting
The cached value of the 'Subsetting
' reference list.protected EClass
target
The cached value of the 'Target
' reference.protected static int
UPPER_BOUND_EDEFAULT
The default value of the 'Upper Bound
' attribute.protected int
upperBound
The cached value of the 'Upper Bound
' attribute.-
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
ExtensionImpl()
-
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, 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
-
target
protected EClass target
The cached value of the 'Target
' reference.- See Also:
getTarget()
- Generated class or method.
- Ordered collection.
-
LOWER_BOUND_EDEFAULT
protected static final int LOWER_BOUND_EDEFAULT
The default value of the 'Lower Bound
' attribute.- See Also:
getLowerBound()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
lowerBound
protected int lowerBound
The cached value of the 'Lower Bound
' attribute.- See Also:
getLowerBound()
- Generated class or method.
- Ordered collection.
-
UPPER_BOUND_EDEFAULT
protected static final int UPPER_BOUND_EDEFAULT
The default value of the 'Upper Bound
' attribute.- See Also:
getUpperBound()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
upperBound
protected int upperBound
The cached value of the 'Upper Bound
' attribute.- See Also:
getUpperBound()
- Generated class or method.
- Ordered collection.
-
redefined
protected EList<Extension> redefined
The cached value of the 'Redefined
' reference list.- See Also:
getRedefined()
- Generated class or method.
- Ordered collection.
-
subsetted
protected EList<Extension> subsetted
The cached value of the 'Subsetted
' reference list.- See Also:
getSubsetted()
- Generated class or method.
- Ordered collection.
-
redefining
protected EList<Extension> redefining
The cached value of the 'Redefining
' reference list.- See Also:
getRedefining()
- Generated class or method.
- Ordered collection.
-
subsetting
protected EList<Extension> subsetting
The cached value of the 'Subsetting
' reference list.- See Also:
getSubsetting()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classEObjectImpl
- Generated class or method.
-
getSource
public Stereotype getSource()
- Specified by:
getSource
in interfaceExtension
- Returns:
- the value of the 'Source' container reference.
- See Also:
Extension.setSource(Stereotype)
,EMFProfilePackage.getExtension_Source()
,Stereotype.getExtensions()
- Generated class or method.
-
basicSetSource
public NotificationChain basicSetSource(Stereotype newSource, NotificationChain msgs)
- Generated class or method.
-
setSource
public void setSource(Stereotype newSource)
- Specified by:
setSource
in interfaceExtension
- Parameters:
newSource
- the new value of the 'Source' container reference.- See Also:
Extension.getSource()
- Generated class or method.
-
getTarget
public EClass getTarget()
- Specified by:
getTarget
in interfaceExtension
- Returns:
- the value of the 'Target' reference.
- See Also:
Extension.setTarget(EClass)
,EMFProfilePackage.getExtension_Target()
- Generated class or method.
-
basicGetTarget
public EClass basicGetTarget()
- Generated class or method.
-
setTarget
public void setTarget(EClass newTarget)
- Specified by:
setTarget
in interfaceExtension
- Parameters:
newTarget
- the new value of the 'Target' reference.- See Also:
Extension.getTarget()
- Generated class or method.
-
getLowerBound
public int getLowerBound()
- Specified by:
getLowerBound
in interfaceExtension
- Returns:
- the value of the 'Lower Bound' attribute.
- See Also:
Extension.setLowerBound(int)
,EMFProfilePackage.getExtension_LowerBound()
- Generated class or method.
-
setLowerBound
public void setLowerBound(int newLowerBound)
- Specified by:
setLowerBound
in interfaceExtension
- Parameters:
newLowerBound
- the new value of the 'Lower Bound' attribute.- See Also:
Extension.getLowerBound()
- Generated class or method.
-
getUpperBound
public int getUpperBound()
- Specified by:
getUpperBound
in interfaceExtension
- Returns:
- the value of the 'Upper Bound' attribute.
- See Also:
Extension.setUpperBound(int)
,EMFProfilePackage.getExtension_UpperBound()
- Generated class or method.
-
setUpperBound
public void setUpperBound(int newUpperBound)
- Specified by:
setUpperBound
in interfaceExtension
- Parameters:
newUpperBound
- the new value of the 'Upper Bound' attribute.- See Also:
Extension.getUpperBound()
- Generated class or method.
-
getRedefined
public EList<Extension> getRedefined()
- Specified by:
getRedefined
in interfaceExtension
- Returns:
- the value of the 'Redefined' reference list.
- See Also:
EMFProfilePackage.getExtension_Redefined()
,Extension.getRedefining()
- Generated class or method.
-
getSubsetted
public EList<Extension> getSubsetted()
- Specified by:
getSubsetted
in interfaceExtension
- Returns:
- the value of the 'Subsetted' reference list.
- See Also:
EMFProfilePackage.getExtension_Subsetted()
,Extension.getSubsetting()
- Generated class or method.
-
getRedefining
public EList<Extension> getRedefining()
- Specified by:
getRedefining
in interfaceExtension
- Returns:
- the value of the 'Redefining' reference list.
- See Also:
Extension.isSetRedefining()
,EMFProfilePackage.getExtension_Redefining()
,Extension.getRedefined()
- Generated class or method.
-
isSetRedefining
public boolean isSetRedefining()
- Specified by:
isSetRedefining
in interfaceExtension
- Returns:
- whether the value of the 'Redefining' reference list is set.
- See Also:
Extension.getRedefining()
- Generated class or method.
-
getSubsetting
public EList<Extension> getSubsetting()
- Specified by:
getSubsetting
in interfaceExtension
- Returns:
- the value of the 'Subsetting' reference list.
- See Also:
Extension.isSetSubsetting()
,EMFProfilePackage.getExtension_Subsetting()
,Extension.getSubsetted()
- Generated class or method.
-
isSetSubsetting
public boolean isSetSubsetting()
- Specified by:
isSetSubsetting
in interfaceExtension
- Returns:
- whether the value of the 'Subsetting' reference list is set.
- See Also:
Extension.getSubsetting()
- Generated class or method.
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfaceExtension
- Generated class or method.
- NOT
-
isApplicable
public boolean isApplicable(EClass eClass)
- Specified by:
isApplicable
in interfaceExtension
- Generated class or method.
- NOT
-
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.
-
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
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.
- NOT
-
-