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.FlatEObjectImpl
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.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
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()
eGet
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class EModelElementImpl
eSet
public void eSet(int featureID,
Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class EModelElementImpl
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class EModelElementImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class EModelElementImpl