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

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

public interface XAnnotation
extends XExpression

A representation of the model object 'XAnnotation'.

The following features are supported:

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

Method Summary
 JvmAnnotationType getAnnotationType()
          Returns the value of the 'Annotation Type' reference
 org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> getElementValuePairs()
          Returns the value of the 'Element Value Pairs' containment reference list.
 XExpression getValue()
          Returns the value of the 'Value' containment reference
 void setAnnotationType(JvmAnnotationType value)
          Sets the value of the 'Annotation Type' 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getElementValuePairs

org.eclipse.emf.common.util.EList<XAnnotationElementValuePair> getElementValuePairs()
Returns the value of the 'Element Value Pairs' containment reference list. The list contents are of type XAnnotationElementValuePair.

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

Returns:
the value of the 'Element Value Pairs' containment reference list.
See Also:
XAnnotationsPackage.getXAnnotation_ElementValuePairs()
EMF generated code
EMF model element
containment="true"

getAnnotationType

JvmAnnotationType getAnnotationType()
Returns the value of the 'Annotation Type' reference.

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

Returns:
the value of the 'Annotation Type' reference.
See Also:
setAnnotationType(JvmAnnotationType), XAnnotationsPackage.getXAnnotation_AnnotationType()
EMF generated code
EMF model element

setAnnotationType

void setAnnotationType(JvmAnnotationType value)
Sets the value of the 'Annotation Type' reference.

Parameters:
value - the new value of the 'Annotation Type' reference.
See Also:
getAnnotationType()
EMF generated code

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.getXAnnotation_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