public class AnnotatedEObject
extends java.lang.Object
implements org.eclipse.emf.ecore.EObject
EObject
that adds support for String
annotations.
Additionally it holds a Stack
<EStructuralFeature
> to enable the backtracking of TupleLiteralExp
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_IN_DEBUG_MODE |
static java.lang.String |
NOT_IN_DEBUG_MODE_MESSAGE |
Constructor and Description |
---|
AnnotatedEObject(org.eclipse.emf.ecore.EObject objectReached,
AnnotatedEObject from,
java.lang.String comment) |
AnnotatedEObject(org.eclipse.emf.ecore.EObject objectReached,
java.lang.String comment)
Constructor of the
AnnotatedEObject . |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> |
eAdapters() |
org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> |
eAllContents() |
org.eclipse.emf.ecore.EClass |
eClass() |
org.eclipse.emf.ecore.EObject |
eContainer() |
org.eclipse.emf.ecore.EStructuralFeature |
eContainingFeature() |
org.eclipse.emf.ecore.EReference |
eContainmentFeature() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
eContents() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
eCrossReferences() |
boolean |
eDeliver() |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature feature) |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean resolve) |
java.lang.Object |
eInvoke(org.eclipse.emf.ecore.EOperation operation,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsProxy() |
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature) |
void |
eNotify(org.eclipse.emf.common.notify.Notification notification) |
boolean |
equals(java.lang.Object o) |
org.eclipse.emf.ecore.resource.Resource |
eResource() |
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object newValue) |
void |
eSetDeliver(boolean deliver) |
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature feature) |
org.eclipse.emf.ecore.EObject |
getAnnotatedObject() |
java.lang.String |
getComment() |
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.String NOT_IN_DEBUG_MODE_MESSAGE
public static final boolean IS_IN_DEBUG_MODE
public AnnotatedEObject(org.eclipse.emf.ecore.EObject objectReached, java.lang.String comment)
AnnotatedEObject
.objectReached
- the EObject to annotatecomment
- an annotationStringpublic AnnotatedEObject(org.eclipse.emf.ecore.EObject objectReached, AnnotatedEObject from, java.lang.String comment)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getComment()
public org.eclipse.emf.ecore.EObject getAnnotatedObject()
public org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> eAllContents()
eAllContents
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.ecore.EClass eClass()
eClass
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.ecore.EObject eContainer()
eContainer
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
eContainingFeature
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.ecore.EReference eContainmentFeature()
eContainmentFeature
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
eContents
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
eCrossReferences
in interface org.eclipse.emf.ecore.EObject
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
eGet
in interface org.eclipse.emf.ecore.EObject
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
public java.lang.Object eInvoke(org.eclipse.emf.ecore.EOperation operation, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.EObject
java.lang.reflect.InvocationTargetException
public boolean eIsProxy()
eIsProxy
in interface org.eclipse.emf.ecore.EObject
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.ecore.resource.Resource eResource()
eResource
in interface org.eclipse.emf.ecore.EObject
public void eSet(org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
eUnset
in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
eAdapters
in interface org.eclipse.emf.common.notify.Notifier
public boolean eDeliver()
eDeliver
in interface org.eclipse.emf.common.notify.Notifier
public void eNotify(org.eclipse.emf.common.notify.Notification notification)
eNotify
in interface org.eclipse.emf.common.notify.Notifier
public void eSetDeliver(boolean deliver)
eSetDeliver
in interface org.eclipse.emf.common.notify.Notifier
public java.lang.String toString()
toString
in class java.lang.Object