Package org.eclipse.gmt.modisco.java
Interface AnnotationMemberValuePair
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
AnnotationMemberValuePairImpl
public interface AnnotationMemberValuePair extends NamedElement
A representation of the model object 'Annotation Member Value Pair'.
The following features are supported:
-
Method Summary
Modifier and Type Method Description AnnotationTypeMemberDeclarationgetMember()Returns the value of the 'Member' reference.ExpressiongetValue()Returns the value of the 'Value' containment reference.voidsetMember(AnnotationTypeMemberDeclaration value)Sets the value of the 'Member' reference.voidsetValue(Expression value)Sets the value of the 'Value' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getMember
AnnotationTypeMemberDeclaration getMember()Returns the value of the 'Member' reference. It is bidirectional and its opposite is 'Usages'.- Returns:
- the value of the 'Member' reference.
- See Also:
setMember(AnnotationTypeMemberDeclaration),JavaPackage.getAnnotationMemberValuePair_Member(),AnnotationTypeMemberDeclaration.getUsages()
-
setMember
Sets the value of the 'Member' reference.- Parameters:
value- the new value of the 'Member' reference.- See Also:
getMember()
-
getValue
Expression getValue()Returns the value of the 'Value' containment reference.- Returns:
- the value of the 'Value' containment reference.
- See Also:
setValue(Expression),JavaPackage.getAnnotationMemberValuePair_Value()
-
setValue
Sets the value of the 'Value' containment reference.- Parameters:
value- the new value of the 'Value' containment reference.- See Also:
getValue()
-