org.eclipse.emf.ecore.xcore.impl
Class XGenericTypeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.xcore.impl.XGenericTypeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XGenericType

public class XGenericTypeImpl
extends EObjectImpl
implements XGenericType

An implementation of the model object 'XGeneric Type'.

The following features are implemented:


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 java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  XGenericType lowerBound
          The cached value of the 'Lower Bound' containment reference
protected  GenBase type
          The cached value of the 'Type' reference
protected  EList<XGenericType> typeArguments
          The cached value of the 'Type Arguments' containment reference list
protected  XGenericType upperBound
          The cached value of the 'Upper Bound' containment reference
 
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
protected XGenericTypeImpl()
           
 
Method Summary
 GenBase basicGetType()
           
 NotificationChain basicSetLowerBound(XGenericType newLowerBound, NotificationChain msgs)
           
 NotificationChain basicSetUpperBound(XGenericType newUpperBound, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 XGenericType getLowerBound()
           
 GenBase getType()
           
 EList<XGenericType> getTypeArguments()
           
 XGenericType getUpperBound()
           
 void setLowerBound(XGenericType newLowerBound)
           
 void setType(GenBase newType)
           
 void setUpperBound(XGenericType newUpperBound)
           
 
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, 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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

upperBound

protected XGenericType upperBound
The cached value of the 'Upper Bound' containment reference.

See Also:
getUpperBound()

typeArguments

protected EList<XGenericType> typeArguments
The cached value of the 'Type Arguments' containment reference list.

See Also:
getTypeArguments()

lowerBound

protected XGenericType lowerBound
The cached value of the 'Lower Bound' containment reference.

See Also:
getLowerBound()

type

protected GenBase type
The cached value of the 'Type' reference.

See Also:
getType()
Constructor Detail

XGenericTypeImpl

protected XGenericTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getUpperBound

public XGenericType getUpperBound()

Specified by:
getUpperBound in interface XGenericType
Returns:
the value of the 'Upper Bound' containment reference.
See Also:
XGenericType.setUpperBound(XGenericType), XcorePackage.getXGenericType_UpperBound()

basicSetUpperBound

public NotificationChain basicSetUpperBound(XGenericType newUpperBound,
                                            NotificationChain msgs)


setUpperBound

public void setUpperBound(XGenericType newUpperBound)

Specified by:
setUpperBound in interface XGenericType
Parameters:
newUpperBound - the new value of the 'Upper Bound' containment reference.
See Also:
XGenericType.getUpperBound()

getTypeArguments

public EList<XGenericType> getTypeArguments()

Specified by:
getTypeArguments in interface XGenericType
Returns:
the value of the 'Type Arguments' containment reference list.
See Also:
XcorePackage.getXGenericType_TypeArguments()

getLowerBound

public XGenericType getLowerBound()

Specified by:
getLowerBound in interface XGenericType
Returns:
the value of the 'Lower Bound' containment reference.
See Also:
XGenericType.setLowerBound(XGenericType), XcorePackage.getXGenericType_LowerBound()

basicSetLowerBound

public NotificationChain basicSetLowerBound(XGenericType newLowerBound,
                                            NotificationChain msgs)


setLowerBound

public void setLowerBound(XGenericType newLowerBound)

Specified by:
setLowerBound in interface XGenericType
Parameters:
newLowerBound - the new value of the 'Lower Bound' containment reference.
See Also:
XGenericType.getLowerBound()

getType

public GenBase getType()

Specified by:
getType in interface XGenericType
Returns:
the value of the 'Type' reference.
See Also:
XGenericType.setType(GenBase), XcorePackage.getXGenericType_Type()

basicGetType

public GenBase basicGetType()


setType

public void setType(GenBase newType)

Specified by:
setType in interface XGenericType
Parameters:
newType - the new value of the 'Type' reference.
See Also:
XGenericType.getType()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
See Also:
EObject.eIsSet(EStructuralFeature)

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.