org.eclipse.emf.ecore.impl
Class EAnnotationImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EModelElementImpl
|
+--org.eclipse.emf.ecore.impl.EAnnotationImpl
- All Implemented Interfaces:
- EAnnotation, EModelElement, EObject, InternalEObject, Notifier
- public class EAnnotationImpl
- extends EModelElementImpl
- implements EAnnotation
An implementation of the model object 'EAnnotation'.
The following features are implemented:
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SOURCE_EDEFAULT
protected static final java.lang.String SOURCE_EDEFAULT
- The default value of the '
Source' attribute.
- See Also:
getSource()
source
protected java.lang.String source
- The cached value of the '
Source' attribute.
- See Also:
getSource()
details
protected EMap details
- The cached value of the '
Details' map.
- See Also:
getDetails()
contents
protected EList contents
- The cached value of the '
Contents' containment reference list.
- See Also:
getContents()
references
protected EList references
- The cached value of the '
References' reference list.
- See Also:
getReferences()
EAnnotationImpl
protected EAnnotationImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class EModelElementImpl
getSource
public java.lang.String getSource()
-
- Specified by:
getSource in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Returns:
- the value of the 'Source' attribute.
- See Also:
EModelElement.getEAnnotation(String),
EAnnotation.setSource(String),
EcorePackage.getEAnnotation_Source()
setSource
public void setSource(java.lang.String newSource)
-
- Specified by:
setSource in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Parameters:
value - the new value of the 'Source' attribute.- See Also:
EAnnotation.getSource()
getDetails
public EMap getDetails()
-
- Specified by:
getDetails in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Returns:
- the value of the 'Details' map.
- See Also:
EcorePackage.getEAnnotation_Details()
getEModelElement
public EModelElement getEModelElement()
-
- Specified by:
getEModelElement in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Returns:
- the value of the 'EModel Element' container reference.
- See Also:
EAnnotation.setEModelElement(EModelElement),
EcorePackage.getEAnnotation_EModelElement(),
EModelElement.getEAnnotations()
setEModelElement
public void setEModelElement(EModelElement newEModelElement)
-
- Specified by:
setEModelElement in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Parameters:
value - the new value of the 'EModel Element' container reference.- See Also:
EAnnotation.getEModelElement()
getContents
public EList getContents()
-
- Specified by:
getContents in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Returns:
- the value of the 'Contents' containment reference list.
- See Also:
EcorePackage.getEAnnotation_Contents()
getReferences
public EList getReferences()
-
- Specified by:
getReferences in interface EAnnotation
- Following copied from interface:
org.eclipse.emf.ecore.EAnnotation
- Returns:
- the value of the 'References' reference list.
- See Also:
EcorePackage.getEAnnotation_References()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseAdd in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainer in class EObjectImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet in interface EObject- Overrides:
eGet in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to fetch.resolve - whether to resolve.- Returns:
- the value of the given feature of the object.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
InternalEList.basicIterator(),
InternalEList.basicList(),
EcoreUtil.resolve(EObject, ResourceSet),
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to set.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.java.lang.ClassCastException - if there is a type conflict.ArrayStoreException - if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.- See Also:
EObject.eIsSet(EStructuralFeature),
EObject.eSet(EStructuralFeature, Object),
EObject.eGet(EStructuralFeature, boolean)
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet in interface EObject- Overrides:
eIsSet in class EModelElementImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Returns:
- whether the feature of the object is set.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
toString
public java.lang.String toString()
-
- Overrides:
toString in class EObjectImpl