org.eclipse.xtend.core.xtend.impl
Class XtendClassImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtend.core.xtend.impl.XtendAnnotationTargetImpl
                      extended by org.eclipse.xtend.core.xtend.impl.XtendClassImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, XtendAnnotationTarget, XtendClass
Direct Known Subclasses:
XtendClassImplCustom

public class XtendClassImpl
extends XtendAnnotationTargetImpl
implements XtendClass

An implementation of the model object 'Class'.

The following features are implemented:

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  boolean abstract_
          The cached value of the 'Abstract' attribute.
protected static boolean ABSTRACT_EDEFAULT
          The default value of the 'Abstract' attribute.
protected  JvmTypeReference extends_
          The cached value of the 'Extends' containment reference.
protected  org.eclipse.emf.common.util.EList<JvmTypeReference> implements_
          The cached value of the 'Implements' containment reference list.
protected  org.eclipse.emf.common.util.EList<XtendMember> members
          The cached value of the 'Members' containment reference list.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  org.eclipse.emf.common.util.EList<JvmTypeReference> superTypes
          The cached value of the 'Super Types' reference list.
protected  org.eclipse.emf.common.util.EList<JvmTypeParameter> typeParameters
          The cached value of the 'Type Parameters' containment reference list.
 
Fields inherited from class org.eclipse.xtend.core.xtend.impl.XtendAnnotationTargetImpl
annotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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
protected XtendClassImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetExtends(JvmTypeReference newExtends, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 JvmTypeReference getExtends()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getImplements()
           
 org.eclipse.emf.common.util.EList<XtendMember> getMembers()
           
 java.lang.String getName()
           
 java.lang.String getPackageName()
           
 java.lang.String getSimpleName()
           
 org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()
           
 org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()
           
 boolean isAbstract()
           
 void setAbstract(boolean newAbstract)
           
 void setExtends(JvmTypeReference newExtends)
           
 void setName(java.lang.String newName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtend.core.xtend.impl.XtendAnnotationTargetImpl
getAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

ABSTRACT_EDEFAULT

protected static final boolean ABSTRACT_EDEFAULT
The default value of the 'Abstract' attribute.

See Also:
isAbstract(), Constant Field Values
EMF generated code
EMF ordered

abstract_

protected boolean abstract_
The cached value of the 'Abstract' attribute.

See Also:
isAbstract()
EMF generated code
EMF ordered

extends_

protected JvmTypeReference extends_
The cached value of the 'Extends' containment reference.

See Also:
getExtends()
EMF generated code
EMF ordered

implements_

protected org.eclipse.emf.common.util.EList<JvmTypeReference> implements_
The cached value of the 'Implements' containment reference list.

See Also:
getImplements()
EMF generated code
EMF ordered

superTypes

protected org.eclipse.emf.common.util.EList<JvmTypeReference> superTypes
The cached value of the 'Super Types' reference list.

See Also:
getSuperTypes()
EMF generated code
EMF ordered

members

protected org.eclipse.emf.common.util.EList<XtendMember> members
The cached value of the 'Members' containment reference list.

See Also:
getMembers()
EMF generated code
EMF ordered

typeParameters

protected org.eclipse.emf.common.util.EList<JvmTypeParameter> typeParameters
The cached value of the 'Type Parameters' containment reference list.

See Also:
getTypeParameters()
EMF generated code
EMF ordered
Constructor Detail

XtendClassImpl

protected XtendClassImpl()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class XtendAnnotationTargetImpl
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface XtendClass
Returns:
the value of the 'Name' attribute.
See Also:
XtendClass.setName(String), XtendPackage.getXtendClass_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface XtendClass
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
XtendClass.getName()
EMF generated code

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface XtendClass
Returns:
the value of the 'Abstract' attribute.
See Also:
XtendClass.setAbstract(boolean), XtendPackage.getXtendClass_Abstract()
EMF generated code

setAbstract

public void setAbstract(boolean newAbstract)

Specified by:
setAbstract in interface XtendClass
Parameters:
newAbstract - the new value of the 'Abstract' attribute.
See Also:
XtendClass.isAbstract()
EMF generated code

getExtends

public JvmTypeReference getExtends()

Specified by:
getExtends in interface XtendClass
Returns:
the value of the 'Extends' containment reference.
See Also:
XtendClass.setExtends(JvmTypeReference), XtendPackage.getXtendClass_Extends()
EMF generated code

basicSetExtends

public org.eclipse.emf.common.notify.NotificationChain basicSetExtends(JvmTypeReference newExtends,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setExtends

public void setExtends(JvmTypeReference newExtends)

Specified by:
setExtends in interface XtendClass
Parameters:
newExtends - the new value of the 'Extends' containment reference.
See Also:
XtendClass.getExtends()
EMF generated code

getImplements

public org.eclipse.emf.common.util.EList<JvmTypeReference> getImplements()

Specified by:
getImplements in interface XtendClass
Returns:
the value of the 'Implements' containment reference list.
See Also:
XtendPackage.getXtendClass_Implements()
EMF generated code

getSuperTypes

public org.eclipse.emf.common.util.EList<JvmTypeReference> getSuperTypes()

Specified by:
getSuperTypes in interface XtendClass
Returns:
the value of the 'Super Types' reference list.
See Also:
XtendPackage.getXtendClass_SuperTypes()
EMF generated code

getMembers

public org.eclipse.emf.common.util.EList<XtendMember> getMembers()

Specified by:
getMembers in interface XtendClass
Returns:
the value of the 'Members' containment reference list.
See Also:
XtendPackage.getXtendClass_Members()
EMF generated code

getTypeParameters

public org.eclipse.emf.common.util.EList<JvmTypeParameter> getTypeParameters()

Specified by:
getTypeParameters in interface XtendClass
Returns:
the value of the 'Type Parameters' containment reference list.
See Also:
XtendPackage.getXtendClass_TypeParameters()
EMF generated code

getPackageName

public java.lang.String getPackageName()

Specified by:
getPackageName in interface XtendClass
EMF generated code

getSimpleName

public java.lang.String getSimpleName()

Specified by:
getSimpleName in interface XtendClass
EMF generated code

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class XtendAnnotationTargetImpl
EMF generated code

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class XtendAnnotationTargetImpl
EMF generated code

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class XtendAnnotationTargetImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class XtendAnnotationTargetImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class XtendAnnotationTargetImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code