org.eclipse.xtend.core.xtend.impl
Class XtendFieldImpl

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.XtendMemberImpl
                          extended by org.eclipse.xtend.core.xtend.impl.XtendMemberImplCustom
                              extended by org.eclipse.xtend.core.xtend.impl.XtendFieldImpl
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, XtendField, XtendMember

public class XtendFieldImpl
extends XtendMemberImplCustom
implements XtendField

An implementation of the model object 'Field'.

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 extension
          The cached value of the 'Extension' attribute.
protected static boolean EXTENSION_EDEFAULT
          The default value of the 'Extension' attribute.
protected  boolean final_
          The cached value of the 'Final' attribute.
protected static boolean FINAL_EDEFAULT
          The default value of the 'Final' attribute.
protected  XExpression initialValue
          The cached value of the 'Initial Value' containment reference.
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  boolean static_
          The cached value of the 'Static' attribute.
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute.
protected  JvmTypeReference type
          The cached value of the 'Type' containment reference.
protected  JvmVisibility visibility
          The cached value of the 'Visibility' attribute.
protected static JvmVisibility VISIBILITY_EDEFAULT
          The default value of the 'Visibility' attribute.
protected  boolean visibilityESet
          This is true if the Visibility attribute has been set.
 
Fields inherited from class org.eclipse.xtend.core.xtend.impl.XtendMemberImpl
annotationInfo
 
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 XtendFieldImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetInitialValue(XExpression newInitialValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetType(JvmTypeReference newType, 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)
           
 XExpression getInitialValue()
           
 java.lang.String getName()
           
 JvmTypeReference getType()
           
 JvmVisibility getVisibility()
           
 boolean isExtension()
           
 boolean isFinal()
           
 boolean isSetVisibility()
           
 boolean isStatic()
           
 void setExtension(boolean newExtension)
           
 void setFinal(boolean newFinal)
           
 void setInitialValue(XExpression newInitialValue)
           
 void setName(java.lang.String newName)
           
 void setStatic(boolean newStatic)
           
 void setType(JvmTypeReference newType)
           
 void setVisibility(JvmVisibility newVisibility)
           
 java.lang.String toString()
           
 void unsetVisibility()
           
 
Methods inherited from class org.eclipse.xtend.core.xtend.impl.XtendMemberImplCustom
getAnnotations
 
Methods inherited from class org.eclipse.xtend.core.xtend.impl.XtendMemberImpl
basicSetAnnotationInfo, getAnnotationInfo, setAnnotationInfo
 
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.XtendMember
getAnnotationInfo, setAnnotationInfo
 
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

FINAL_EDEFAULT

protected static final boolean FINAL_EDEFAULT
The default value of the 'Final' attribute.

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

final_

protected boolean final_
The cached value of the 'Final' attribute.

See Also:
isFinal()
EMF generated code
EMF ordered

type

protected JvmTypeReference type
The cached value of the 'Type' containment reference.

See Also:
getType()
EMF generated code
EMF ordered

EXTENSION_EDEFAULT

protected static final boolean EXTENSION_EDEFAULT
The default value of the 'Extension' attribute.

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

extension

protected boolean extension
The cached value of the 'Extension' attribute.

See Also:
isExtension()
EMF generated code
EMF ordered

VISIBILITY_EDEFAULT

protected static final JvmVisibility VISIBILITY_EDEFAULT
The default value of the 'Visibility' attribute.

See Also:
getVisibility()
EMF generated code
EMF ordered

visibility

protected JvmVisibility visibility
The cached value of the 'Visibility' attribute.

See Also:
getVisibility()
EMF generated code
EMF ordered

visibilityESet

protected boolean visibilityESet
This is true if the Visibility attribute has been set.

EMF generated code
EMF ordered

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

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

static_

protected boolean static_
The cached value of the 'Static' attribute.

See Also:
isStatic()
EMF generated code
EMF ordered

initialValue

protected XExpression initialValue
The cached value of the 'Initial Value' containment reference.

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

XtendFieldImpl

protected XtendFieldImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class XtendMemberImpl
EMF generated code

getName

public java.lang.String getName()

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

setName

public void setName(java.lang.String newName)

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

isFinal

public boolean isFinal()

Specified by:
isFinal in interface XtendField
Returns:
the value of the 'Final' attribute.
See Also:
XtendField.setFinal(boolean), XtendPackage.getXtendField_Final()
EMF generated code

setFinal

public void setFinal(boolean newFinal)

Specified by:
setFinal in interface XtendField
Parameters:
newFinal - the new value of the 'Final' attribute.
See Also:
XtendField.isFinal()
EMF generated code

getType

public JvmTypeReference getType()

Specified by:
getType in interface XtendField
Returns:
the value of the 'Type' containment reference.
See Also:
XtendField.setType(JvmTypeReference), XtendPackage.getXtendField_Type()
EMF generated code

basicSetType

public org.eclipse.emf.common.notify.NotificationChain basicSetType(JvmTypeReference newType,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setType

public void setType(JvmTypeReference newType)

Specified by:
setType in interface XtendField
Parameters:
newType - the new value of the 'Type' containment reference.
See Also:
XtendField.getType()
EMF generated code

isExtension

public boolean isExtension()

Specified by:
isExtension in interface XtendField
Returns:
the value of the 'Extension' attribute.
See Also:
XtendField.setExtension(boolean), XtendPackage.getXtendField_Extension()
EMF generated code

setExtension

public void setExtension(boolean newExtension)

Specified by:
setExtension in interface XtendField
Parameters:
newExtension - the new value of the 'Extension' attribute.
See Also:
XtendField.isExtension()
EMF generated code

getVisibility

public JvmVisibility getVisibility()

Specified by:
getVisibility in interface XtendField
Returns:
the value of the 'Visibility' attribute.
See Also:
JvmVisibility, XtendField.isSetVisibility(), XtendField.unsetVisibility(), XtendField.setVisibility(JvmVisibility), XtendPackage.getXtendField_Visibility()
EMF generated code

setVisibility

public void setVisibility(JvmVisibility newVisibility)

Specified by:
setVisibility in interface XtendField
Parameters:
newVisibility - the new value of the 'Visibility' attribute.
See Also:
JvmVisibility, XtendField.isSetVisibility(), XtendField.unsetVisibility(), XtendField.getVisibility()
EMF generated code

unsetVisibility

public void unsetVisibility()

Specified by:
unsetVisibility in interface XtendField
See Also:
XtendField.isSetVisibility(), XtendField.getVisibility(), XtendField.setVisibility(JvmVisibility)
EMF generated code

isSetVisibility

public boolean isSetVisibility()

Specified by:
isSetVisibility in interface XtendField
Returns:
whether the value of the 'Visibility' attribute is set.
See Also:
XtendField.unsetVisibility(), XtendField.getVisibility(), XtendField.setVisibility(JvmVisibility)
EMF generated code

isStatic

public boolean isStatic()

Specified by:
isStatic in interface XtendField
Returns:
the value of the 'Static' attribute.
See Also:
XtendField.setStatic(boolean), XtendPackage.getXtendField_Static()
EMF generated code

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface XtendField
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
XtendField.isStatic()
EMF generated code

getInitialValue

public XExpression getInitialValue()

Specified by:
getInitialValue in interface XtendField
Returns:
the value of the 'Initial Value' containment reference.
See Also:
XtendField.setInitialValue(XExpression), XtendPackage.getXtendField_InitialValue()
EMF generated code

basicSetInitialValue

public org.eclipse.emf.common.notify.NotificationChain basicSetInitialValue(XExpression newInitialValue,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setInitialValue

public void setInitialValue(XExpression newInitialValue)

Specified by:
setInitialValue in interface XtendField
Parameters:
newInitialValue - the new value of the 'Initial Value' containment reference.
See Also:
XtendField.getInitialValue()
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 XtendMemberImpl
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 XtendMemberImpl
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 XtendMemberImpl
EMF generated code

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

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