public abstract class ENamedElementImpl extends EModelElementImpl implements ENamedElement
The following features are implemented:
MinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
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. |
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGeContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETNILEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
ENamedElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
<any> |
eContents()
Returns a list view of the content objects; it is unmodifiable.
|
<any> |
eCrossReferences()
Returns a list view of the cross referenced objects; it is unmodifiable.
|
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()
Default is ID if name is null
|
java.lang.String |
getNameGen() |
void |
setName(java.lang.String newName) |
java.lang.String |
toString() |
eInverseAdd, eInverseRemove, eInvoke, eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozeneBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteNotificationRequiredprotected static final java.lang.String NAME_EDEFAULT
Name' attribute.
getName()protected EClass eStaticClass()
eStaticClass in class EModelElementImplpublic java.lang.String getName()
getName in interface ENamedElementENamedElement.setName(String),
EcorePackage.getENamedElement_Name()public java.lang.String toString()
toString in class BasicEObjectImplpublic java.lang.String getNameGen()
public void setName(java.lang.String newName)
setName in interface ENamedElementnewName - the new value of the 'Name' attribute.ENamedElement.getName()public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class EModelElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class EModelElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class EModelElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class EModelElementImplEObject.eIsSet(EStructuralFeature)public <any> eContents()
EObject
This will be the list of EObjects determined by the
contents
of the containment features
of this object's meta class.
Objects can, indirectly, be removed
and will change to reflect container changes.
The implicit tree of contents is also directly available.
eContents in interface EObjecteContents in class MinimalEObjectImplEObject.eContainer(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.remove(EObject),
EObject.eAllContents()public <any> eCrossReferences()
EObject
This will be the list of EObjects determined by the
contents
of the reference features
of this object's meta class,
excluding containment features
and their opposites.
The cross reference list's iterator will be of type EContentsEList.FeatureIterator,
for efficient determination of the feature
of each cross reference in the list, e.g.,
for (EContentsEList.FeatureIterator featureIterator =
(EContentsEList.FeatureIterator)eObject.eCrossReferences().iterator();
featureIterator.hasNext(); )
{
EObject eObject = (EObject)featureIterator.next();
EReference eReference = (EReference)featureIterator.feature();
...
}
eCrossReferences in interface EObjecteCrossReferences in class MinimalEObjectImplEObject.eContents(),
EClass.getEAllReferences(),
EClass.getEAllContainments(),
EObject.eGet(EStructuralFeature),
EcoreUtil.CrossReferencerCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature