org.eclipse.emf.ecore.impl
Class ENamedElementImpl
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.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
- All Implemented Interfaces:
- EModelElement, ENamedElement, EObject, InternalEObject, Notifier
- Direct Known Subclasses:
- EClassifierImpl, EEnumLiteralImpl, EPackageImpl, ETypedElementImpl
- public abstract class ENamedElementImpl
- extends EModelElementImpl
- implements ENamedElement
An implementation of the model object 'ENamed Element'.
The following features are implemented:
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore |
NAME_EDEFAULT
protected static final String NAME_EDEFAULT
- The default value of the '
Name
' attribute.
- See Also:
getName()
name
protected String name
- The cached value of the '
Name
' attribute.
- See Also:
getName()
ENamedElementImpl
protected ENamedElementImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class EModelElementImpl
getName
public String getName()
- Default is ID if name is null
- Specified by:
getName
in interface ENamedElement
- Returns:
- the value of the 'Name' attribute.
- See Also:
ENamedElement.setName(String)
,
EcorePackage.getENamedElement_Name()
toString
public String toString()
-
- Overrides:
toString
in class BasicEObjectImpl
getNameGen
public String getNameGen()
-
setName
public void setName(String newName)
-
- Specified by:
setName
in interface ENamedElement
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
ENamedElement.getName()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseAdd
in interface InternalEObject
- Overrides:
eInverseAdd
in class EModelElementImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseRemove
in interface InternalEObject
- Overrides:
eInverseRemove
in class EModelElementImpl
eGet
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface EObject
- Overrides:
eGet
in class EModelElementImpl
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface EObject
- Overrides:
eIsSet
in class EModelElementImpl
eSet
public void eSet(EStructuralFeature eFeature,
Object newValue)
-
- Specified by:
eSet
in interface EObject
- Overrides:
eSet
in class EModelElementImpl
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface EObject
- Overrides:
eUnset
in class EModelElementImpl