Class ElementReferenceImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.arrays.impl.ArrayInitializationValueImpl
-
- org.emftext.language.java.expressions.impl.ExpressionImpl
-
- org.emftext.language.java.expressions.impl.AssignmentExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ConditionalExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ConditionalOrExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ConditionalAndExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.InclusiveOrExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ExclusiveOrExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.AndExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.EqualityExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.InstanceOfExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.RelationExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.ShiftExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.AdditiveExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.MultiplicativeExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.UnaryExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.UnaryModificationExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.MethodReferenceExpressionChildImpl
-
- org.emftext.language.java.expressions.impl.PrimaryExpressionImpl
-
- org.emftext.language.java.references.impl.ReferenceImpl
-
- org.emftext.language.java.references.impl.ElementReferenceImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,AnnotationValue
,ArrayInitializationValue
,Commentable
,AdditiveExpressionChild
,AndExpressionChild
,AssignmentExpressionChild
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MethodReferenceExpressionChild
,MultiplicativeExpressionChild
,PrimaryExpression
,RelationExpressionChild
,ShiftExpressionChild
,UnaryExpressionChild
,UnaryModificationExpressionChild
,TypeArgumentable
,ElementReference
,Reference
,TypedElementExtension
,Resource
- Direct Known Subclasses:
IdentifierReferenceImpl
,MethodCallImpl
public abstract class ElementReferenceImpl extends ReferenceImpl implements ElementReference
An implementation of the model object 'Element Reference'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceableElement
containedTarget
The cached value of the 'Contained Target
' containment reference.protected ReferenceableElement
target
The cached value of the 'Target
' reference.-
Fields inherited from class org.emftext.language.java.references.impl.ReferenceImpl
actualTargets, arraySelectors, next, typeArguments
-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementReferenceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceableElement
basicGetContainedTarget()
ReferenceableElement
basicGetTarget()
NotificationChain
basicSetContainedTarget(ReferenceableElement newContainedTarget, NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
ReferenceableElement
getContainedTarget()
ReferenceableElement
getTarget()
void
setContainedTarget(ReferenceableElement newContainedTarget)
void
setTarget(ReferenceableElement newTarget)
-
Methods inherited from class org.emftext.language.java.references.impl.ReferenceImpl
basicGetNext, basicSetNext, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getActualTargets, getArraySelectors, getNext, getPrevious, getReferencedType, getReferencedTypeReference, getTypeArguments, setNext
-
Methods inherited from class org.emftext.language.java.expressions.impl.ExpressionImpl
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, 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, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.references.Reference
getArraySelectors, getNext, getPrevious, getReferencedType, getReferencedTypeReference, setNext
-
Methods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArguments
-
Methods inherited from interface org.emftext.language.java.types.TypedElementExtension
getActualTargets
-
-
-
-
Field Detail
-
target
protected ReferenceableElement target
The cached value of the 'Target
' reference.- See Also:
getTarget()
- Generated class or method.
- Ordered collection.
-
containedTarget
protected ReferenceableElement containedTarget
The cached value of the 'Contained Target
' containment reference.- See Also:
getContainedTarget()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classReferenceImpl
- Generated class or method.
-
getTarget
public ReferenceableElement getTarget()
- Specified by:
getTarget
in interfaceElementReference
- Returns:
- the value of the 'Target' reference.
- See Also:
ElementReference.setTarget(ReferenceableElement)
,ReferencesPackage.getElementReference_Target()
- Generated class or method.
-
basicGetTarget
public ReferenceableElement basicGetTarget()
- Generated class or method.
-
setTarget
public void setTarget(ReferenceableElement newTarget)
- Specified by:
setTarget
in interfaceElementReference
- Parameters:
newTarget
- the new value of the 'Target' reference.- See Also:
ElementReference.getTarget()
- Generated class or method.
-
getContainedTarget
public ReferenceableElement getContainedTarget()
- Specified by:
getContainedTarget
in interfaceElementReference
- Returns:
- the value of the 'Contained Target' containment reference.
- See Also:
ElementReference.setContainedTarget(ReferenceableElement)
,ReferencesPackage.getElementReference_ContainedTarget()
- Generated class or method.
-
basicGetContainedTarget
public ReferenceableElement basicGetContainedTarget()
- Generated class or method.
-
basicSetContainedTarget
public NotificationChain basicSetContainedTarget(ReferenceableElement newContainedTarget, NotificationChain msgs)
- Generated class or method.
-
setContainedTarget
public void setContainedTarget(ReferenceableElement newContainedTarget)
- Specified by:
setContainedTarget
in interfaceElementReference
- Parameters:
newContainedTarget
- the new value of the 'Contained Target' containment reference.- See Also:
ElementReference.getContainedTarget()
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classReferenceImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classReferenceImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classReferenceImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classReferenceImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classReferenceImpl
- Generated class or method.
-
-