Interface ElementReference
-
- All Superinterfaces:
AdditiveExpressionChild
,AndExpressionChild
,AnnotationValue
,ArrayInitializationValue
,AssignmentExpressionChild
,Commentable
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EObject
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MethodReferenceExpressionChild
,MultiplicativeExpressionChild
,Notifier
,PrimaryExpression
,Reference
,RelationExpressionChild
,Resource
,ShiftExpressionChild
,TypeArgumentable
,TypedElementExtension
,UnaryExpressionChild
,UnaryModificationExpressionChild
- All Known Subinterfaces:
IdentifierReference
,MethodCall
- All Known Implementing Classes:
ElementReferenceImpl
,IdentifierReferenceImpl
,MethodCallImpl
public interface ElementReference extends Reference, Resource
A representation of the model object 'Element Reference'.The following features are supported:
- See Also:
ReferencesPackage.getElementReference()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferenceableElement
getContainedTarget()
Returns the value of the 'Contained Target' containment reference.ReferenceableElement
getTarget()
Returns the value of the 'Target' reference.void
setContainedTarget(ReferenceableElement value)
Sets the value of the 'Contained Target
' containment reference.void
setTarget(ReferenceableElement value)
Sets the value of the 'Target
' reference.-
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.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
-
-
-
-
Method Detail
-
getTarget
ReferenceableElement getTarget()
Returns the value of the 'Target' reference.- Returns:
- the value of the 'Target' reference.
- See Also:
setTarget(ReferenceableElement)
,ReferencesPackage.getElementReference_Target()
- Generated class or method.
- EMF model class or method.
- required="true"
-
setTarget
void setTarget(ReferenceableElement value)
Sets the value of the 'Target
' reference.- Parameters:
value
- the new value of the 'Target' reference.- See Also:
getTarget()
- Generated class or method.
-
getContainedTarget
ReferenceableElement getContainedTarget()
Returns the value of the 'Contained Target' containment reference.- Returns:
- the value of the 'Contained Target' containment reference.
- See Also:
setContainedTarget(ReferenceableElement)
,ReferencesPackage.getElementReference_ContainedTarget()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setContainedTarget
void setContainedTarget(ReferenceableElement value)
Sets the value of the 'Contained Target
' containment reference.- Parameters:
value
- the new value of the 'Contained Target' containment reference.- See Also:
getContainedTarget()
- Generated class or method.
-
-