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'.- Since:
- 2.7
- See Also:
XAnnotationsPackage.getXAnnotation()- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.xtext.common.types.JvmTypegetAnnotationType()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.XExpressiongetValue()Returns the value of the 'Value' containment reference.voidsetAnnotationType(org.eclipse.xtext.common.types.JvmType value)Sets the value of the 'Annotation Type' reference.voidsetValue(XExpression value)Sets the value of the 'Value' containment reference.
-
-
-
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 typeXAnnotationElementValuePair.- Returns:
- the value of the 'Element Value Pairs' containment reference list.
- See Also:
XAnnotationsPackage.getXAnnotation_ElementValuePairs()- Model:
- containment="true"
- Generated:
-
getAnnotationType
org.eclipse.xtext.common.types.JvmType getAnnotationType()
Returns the value of the 'Annotation Type' reference.- Returns:
- the value of the 'Annotation Type' reference.
- See Also:
setAnnotationType(JvmType),XAnnotationsPackage.getXAnnotation_AnnotationType()- Model:
- Generated:
-
setAnnotationType
void setAnnotationType(org.eclipse.xtext.common.types.JvmType value)
Sets the value of the 'Annotation Type' reference.- Parameters:
value- the new value of the 'Annotation Type' reference.- See Also:
getAnnotationType()- Generated:
-
getValue
XExpression getValue()
Returns the value of the 'Value' containment reference.- Returns:
- the value of the 'Value' containment reference.
- See Also:
setValue(XExpression),XAnnotationsPackage.getXAnnotation_Value()- Model:
- containment="true"
- Generated:
-
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()- Generated:
-
-