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

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.XModelElementImpl
                  extended by org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
                      extended by org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
                          extended by org.eclipse.emf.ecore.xcore.impl.XMemberImpl
                              extended by org.eclipse.emf.ecore.xcore.impl.XStructuralFeatureImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XMember, XModelElement, XNamedElement, XStructuralFeature, XTypedElement
Direct Known Subclasses:
XAttributeImpl, XReferenceImpl

public abstract class XStructuralFeatureImpl
extends XMemberImpl
implements XStructuralFeature

An implementation of the model object 'XStructural Feature'.

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  boolean derived
          The cached value of the 'Derived' attribute
protected static boolean DERIVED_EDEFAULT
          The default value of the 'Derived' attribute
protected  org.eclipse.xtext.xbase.XBlockExpression getBody
          The cached value of the 'Get Body' containment reference
protected  org.eclipse.xtext.xbase.XBlockExpression isSetBody
          The cached value of the 'Is Set Body' containment reference
protected  boolean readonly
          The cached value of the 'Readonly' attribute
protected static boolean READONLY_EDEFAULT
          The default value of the 'Readonly' attribute
protected  org.eclipse.xtext.xbase.XBlockExpression setBody
          The cached value of the 'Set Body' containment reference
protected  boolean transient_
          The cached value of the 'Transient' attribute
protected static boolean TRANSIENT_EDEFAULT
          The default value of the 'Transient' attribute
protected  org.eclipse.xtext.xbase.XBlockExpression unsetBody
          The cached value of the 'Unset Body' containment reference
protected  boolean unsettable
          The cached value of the 'Unsettable' attribute
protected static boolean UNSETTABLE_EDEFAULT
          The default value of the 'Unsettable' attribute
protected  boolean volatile_
          The cached value of the 'Volatile' attribute
protected static boolean VOLATILE_EDEFAULT
          The default value of the 'Volatile' attribute
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
multiplicity, MULTIPLICITY_EDEFAULT, type, typeESet, unique, UNIQUE_EDEFAULT, unordered, UNORDERED_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
annotations
 
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 XStructuralFeatureImpl()
           
 
Method Summary
 NotificationChain basicSetGetBody(org.eclipse.xtext.xbase.XBlockExpression newGetBody, NotificationChain msgs)
           
 NotificationChain basicSetIsSetBody(org.eclipse.xtext.xbase.XBlockExpression newIsSetBody, NotificationChain msgs)
           
 NotificationChain basicSetSetBody(org.eclipse.xtext.xbase.XBlockExpression newSetBody, NotificationChain msgs)
           
 NotificationChain basicSetUnsetBody(org.eclipse.xtext.xbase.XBlockExpression newUnsetBody, 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)
           
 org.eclipse.xtext.xbase.XBlockExpression getGetBody()
           
 org.eclipse.xtext.xbase.XBlockExpression getIsSetBody()
           
 org.eclipse.xtext.xbase.XBlockExpression getSetBody()
           
 org.eclipse.xtext.xbase.XBlockExpression getUnsetBody()
           
 boolean isDerived()
           
 boolean isReadonly()
           
 boolean isTransient()
           
 boolean isUnsettable()
           
 boolean isVolatile()
           
 void setDerived(boolean newDerived)
           
 void setGetBody(org.eclipse.xtext.xbase.XBlockExpression newGetBody)
           
 void setIsSetBody(org.eclipse.xtext.xbase.XBlockExpression newIsSetBody)
           
 void setReadonly(boolean newReadonly)
           
 void setSetBody(org.eclipse.xtext.xbase.XBlockExpression newSetBody)
           
 void setTransient(boolean newTransient)
           
 void setUnsetBody(org.eclipse.xtext.xbase.XBlockExpression newUnsetBody)
           
 void setUnsettable(boolean newUnsettable)
           
 void setVolatile(boolean newVolatile)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XMemberImpl
eBasicRemoveFromContainerFeature, eInverseAdd, getContainingClass
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
basicSetType, basicUnsetType, getMultiplicity, getType, isSetType, isUnique, isUnordered, setMultiplicity, setType, setUnique, setUnordered, unsetType
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
getName, setName
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
getAnnotation, getAnnotations
 
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.xcore.XMember
getContainingClass
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XTypedElement
getMultiplicity, getType, isUnique, isUnordered, setMultiplicity, setType, setUnique, setUnordered
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XNamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XModelElement
getAnnotation, getAnnotations
 
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

READONLY_EDEFAULT

protected static final boolean READONLY_EDEFAULT
The default value of the 'Readonly' attribute.

See Also:
isReadonly(), Constant Field Values

readonly

protected boolean readonly
The cached value of the 'Readonly' attribute.

See Also:
isReadonly()

VOLATILE_EDEFAULT

protected static final boolean VOLATILE_EDEFAULT
The default value of the 'Volatile' attribute.

See Also:
isVolatile(), Constant Field Values

volatile_

protected boolean volatile_
The cached value of the 'Volatile' attribute.

See Also:
isVolatile()

TRANSIENT_EDEFAULT

protected static final boolean TRANSIENT_EDEFAULT
The default value of the 'Transient' attribute.

See Also:
isTransient(), Constant Field Values

transient_

protected boolean transient_
The cached value of the 'Transient' attribute.

See Also:
isTransient()

UNSETTABLE_EDEFAULT

protected static final boolean UNSETTABLE_EDEFAULT
The default value of the 'Unsettable' attribute.

See Also:
isUnsettable(), Constant Field Values

unsettable

protected boolean unsettable
The cached value of the 'Unsettable' attribute.

See Also:
isUnsettable()

DERIVED_EDEFAULT

protected static final boolean DERIVED_EDEFAULT
The default value of the 'Derived' attribute.

See Also:
isDerived(), Constant Field Values

derived

protected boolean derived
The cached value of the 'Derived' attribute.

See Also:
isDerived()

getBody

protected org.eclipse.xtext.xbase.XBlockExpression getBody
The cached value of the 'Get Body' containment reference.

See Also:
getGetBody()

setBody

protected org.eclipse.xtext.xbase.XBlockExpression setBody
The cached value of the 'Set Body' containment reference.

See Also:
getSetBody()

isSetBody

protected org.eclipse.xtext.xbase.XBlockExpression isSetBody
The cached value of the 'Is Set Body' containment reference.

See Also:
getIsSetBody()

unsetBody

protected org.eclipse.xtext.xbase.XBlockExpression unsetBody
The cached value of the 'Unset Body' containment reference.

See Also:
getUnsetBody()
Constructor Detail

XStructuralFeatureImpl

protected XStructuralFeatureImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XMemberImpl

isReadonly

public boolean isReadonly()

Specified by:
isReadonly in interface XStructuralFeature
Returns:
the value of the 'Readonly' attribute.
See Also:
XStructuralFeature.setReadonly(boolean), XcorePackage.getXStructuralFeature_Readonly()

setReadonly

public void setReadonly(boolean newReadonly)

Specified by:
setReadonly in interface XStructuralFeature
Parameters:
newReadonly - the new value of the 'Readonly' attribute.
See Also:
XStructuralFeature.isReadonly()

isVolatile

public boolean isVolatile()

Specified by:
isVolatile in interface XStructuralFeature
Returns:
the value of the 'Volatile' attribute.
See Also:
XStructuralFeature.setVolatile(boolean), XcorePackage.getXStructuralFeature_Volatile()

setVolatile

public void setVolatile(boolean newVolatile)

Specified by:
setVolatile in interface XStructuralFeature
Parameters:
newVolatile - the new value of the 'Volatile' attribute.
See Also:
XStructuralFeature.isVolatile()

isTransient

public boolean isTransient()

Specified by:
isTransient in interface XStructuralFeature
Returns:
the value of the 'Transient' attribute.
See Also:
XStructuralFeature.setTransient(boolean), XcorePackage.getXStructuralFeature_Transient()

setTransient

public void setTransient(boolean newTransient)

Specified by:
setTransient in interface XStructuralFeature
Parameters:
newTransient - the new value of the 'Transient' attribute.
See Also:
XStructuralFeature.isTransient()

isUnsettable

public boolean isUnsettable()

Specified by:
isUnsettable in interface XStructuralFeature
Returns:
the value of the 'Unsettable' attribute.
See Also:
XStructuralFeature.setUnsettable(boolean), XcorePackage.getXStructuralFeature_Unsettable()

setUnsettable

public void setUnsettable(boolean newUnsettable)

Specified by:
setUnsettable in interface XStructuralFeature
Parameters:
newUnsettable - the new value of the 'Unsettable' attribute.
See Also:
XStructuralFeature.isUnsettable()

isDerived

public boolean isDerived()

Specified by:
isDerived in interface XStructuralFeature
Returns:
the value of the 'Derived' attribute.
See Also:
XStructuralFeature.setDerived(boolean), XcorePackage.getXStructuralFeature_Derived()

setDerived

public void setDerived(boolean newDerived)

Specified by:
setDerived in interface XStructuralFeature
Parameters:
newDerived - the new value of the 'Derived' attribute.
See Also:
XStructuralFeature.isDerived()

getGetBody

public org.eclipse.xtext.xbase.XBlockExpression getGetBody()

Specified by:
getGetBody in interface XStructuralFeature
Returns:
the value of the 'Get Body' containment reference.
See Also:
XStructuralFeature.setGetBody(XBlockExpression), XcorePackage.getXStructuralFeature_GetBody()

basicSetGetBody

public NotificationChain basicSetGetBody(org.eclipse.xtext.xbase.XBlockExpression newGetBody,
                                         NotificationChain msgs)


setGetBody

public void setGetBody(org.eclipse.xtext.xbase.XBlockExpression newGetBody)

Specified by:
setGetBody in interface XStructuralFeature
Parameters:
newGetBody - the new value of the 'Get Body' containment reference.
See Also:
XStructuralFeature.getGetBody()

getSetBody

public org.eclipse.xtext.xbase.XBlockExpression getSetBody()

Specified by:
getSetBody in interface XStructuralFeature
Returns:
the value of the 'Set Body' containment reference.
See Also:
XStructuralFeature.setSetBody(XBlockExpression), XcorePackage.getXStructuralFeature_SetBody()

basicSetSetBody

public NotificationChain basicSetSetBody(org.eclipse.xtext.xbase.XBlockExpression newSetBody,
                                         NotificationChain msgs)


setSetBody

public void setSetBody(org.eclipse.xtext.xbase.XBlockExpression newSetBody)

Specified by:
setSetBody in interface XStructuralFeature
Parameters:
newSetBody - the new value of the 'Set Body' containment reference.
See Also:
XStructuralFeature.getSetBody()

getIsSetBody

public org.eclipse.xtext.xbase.XBlockExpression getIsSetBody()

Specified by:
getIsSetBody in interface XStructuralFeature
Returns:
the value of the 'Is Set Body' containment reference.
See Also:
XStructuralFeature.setIsSetBody(XBlockExpression), XcorePackage.getXStructuralFeature_IsSetBody()

basicSetIsSetBody

public NotificationChain basicSetIsSetBody(org.eclipse.xtext.xbase.XBlockExpression newIsSetBody,
                                           NotificationChain msgs)


setIsSetBody

public void setIsSetBody(org.eclipse.xtext.xbase.XBlockExpression newIsSetBody)

Specified by:
setIsSetBody in interface XStructuralFeature
Parameters:
newIsSetBody - the new value of the 'Is Set Body' containment reference.
See Also:
XStructuralFeature.getIsSetBody()

getUnsetBody

public org.eclipse.xtext.xbase.XBlockExpression getUnsetBody()

Specified by:
getUnsetBody in interface XStructuralFeature
Returns:
the value of the 'Unset Body' containment reference.
See Also:
XStructuralFeature.setUnsetBody(XBlockExpression), XcorePackage.getXStructuralFeature_UnsetBody()

basicSetUnsetBody

public NotificationChain basicSetUnsetBody(org.eclipse.xtext.xbase.XBlockExpression newUnsetBody,
                                           NotificationChain msgs)


setUnsetBody

public void setUnsetBody(org.eclipse.xtext.xbase.XBlockExpression newUnsetBody)

Specified by:
setUnsetBody in interface XStructuralFeature
Parameters:
newUnsetBody - the new value of the 'Unset Body' containment reference.
See Also:
XStructuralFeature.getUnsetBody()

eInverseRemove

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

Overrides:
eInverseRemove in class XMemberImpl

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class XMemberImpl
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 XTypedElementImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class XTypedElementImpl

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