org.eclipse.xtext.xbase.annotations.xAnnotations
Interface XAnnotationElementValuePair

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
XAnnotationElementValuePairImpl

public interface XAnnotationElementValuePair
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'XAnnotation Element Value Pair'.

The following features are supported:

See Also:
XAnnotationsPackage.getXAnnotationElementValuePair()
EMF generated code
EMF model element

Method Summary
 JvmOperation getElement()
          Returns the value of the 'Element' reference.
 XExpression getValue()
          Returns the value of the 'Value' containment reference.
 void setElement(JvmOperation value)
          Sets the value of the 'Element' reference.
 void setValue(XExpression value)
          Sets the value of the 'Value' containment reference.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getValue

XExpression getValue()
Returns the value of the 'Value' containment reference.

If the meaning of the 'Value' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Value' containment reference.
See Also:
setValue(XExpression), XAnnotationsPackage.getXAnnotationElementValuePair_Value()
EMF generated code
EMF model element
containment="true"

setValue

void setValue(XExpression value)
Sets the value of the 'Value' containment reference.

Parameters:
value - the new value of the 'Value' containment reference.
See Also:
getValue()
EMF generated code

getElement

JvmOperation getElement()
Returns the value of the 'Element' reference.

If the meaning of the 'Element' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Element' reference.
See Also:
setElement(JvmOperation), XAnnotationsPackage.getXAnnotationElementValuePair_Element()
EMF generated code
EMF model element

setElement

void setElement(JvmOperation value)
Sets the value of the 'Element' reference.

Parameters:
value - the new value of the 'Element' reference.
See Also:
getElement()
EMF generated code