org.eclipse.emf.ecore.xcore.impl
Class XNamedElementImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, XModelElement, XNamedElement
- Direct Known Subclasses:
- XAnnotationDirectiveImpl, XClassifierImpl, XEnumLiteralImpl, XPackageImpl, XTypedElementImpl, XTypeParameterImpl
public abstract class XNamedElementImpl
- extends XModelElementImpl
- implements XNamedElement
An implementation of the model object 'XNamed Element'.
The following features are implemented:
Field Summary |
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 |
Method Summary |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.String |
getName()
|
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
|
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, 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 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 |
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULT
- The default value of the '
Name
' attribute.
- See Also:
getName()
name
protected java.lang.String name
- The cached value of the '
Name
' attribute.
- See Also:
getName()
XNamedElementImpl
protected XNamedElementImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class XModelElementImpl
getName
public java.lang.String getName()
-
- Specified by:
getName
in interface XNamedElement
- Returns:
- the value of the 'Name' attribute.
- See Also:
XNamedElement.setName(String)
,
XcorePackage.getXNamedElement_Name()
setName
public void setName(java.lang.String newName)
-
- Specified by:
setName
in interface XNamedElement
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
XNamedElement.getName()
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class XModelElementImpl
- 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 XModelElementImpl
- See Also:
EObject.eSet(EStructuralFeature, Object)
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class XModelElementImpl
- See Also:
EObject.eUnset(EStructuralFeature)
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class XModelElementImpl
- See Also:
EObject.eIsSet(EStructuralFeature)
toString
public java.lang.String toString()
-
- Overrides:
toString
in class BasicEObjectImpl