Interface NamedElement
- All Known Subinterfaces:
Entity
- All Known Implementing Classes:
EntityImpl
,NamedElementImpl
A representation of the model object 'Named Element'.
The NamedElement meta class is inherited by all PCM classes whose instances bear a name. Thus, the semantic of "bearing a name" is given to all inheriting classes, so that the name can be used in visualisations, for example.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Entity Name' attribute.void
setEntityName
(String value) Sets the value of the 'Entity Name
' attribute.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
-
Method Details
-
getEntityName
String getEntityName()Returns the value of the 'Entity Name' attribute. The default value is"aName"
.- Returns:
- the value of the 'Entity Name' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="aName" required="true"
-
setEntityName
Sets the value of the 'Entity Name
' attribute.- Parameters:
value
- the new value of the 'Entity Name' attribute.- See Also:
- Generated class or method.
-