blob: 494120173fe7ff806036d20d8a32d0b600e2dafd [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009 Mia-Software.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Sebastien Minguet (Mia-Software) - initial API and implementation
* Frederic Madiot (Mia-Software) - initial API and implementation
* Fabien Giquel (Mia-Software) - initial API and implementation
* Gabriel Barbier (Mia-Software) - initial API and implementation
* Erwan Breton (Sodifrance) - initial API and implementation
* Romain Dervaux (Mia-Software) - initial API and implementation
* *******************************************************************************
*
* $Id$
*/
package org.eclipse.gmt.modisco.java;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Annotation Type Member Declaration</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration#getDefault <em>Default</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration#getUsages <em>Usages</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getAnnotationTypeMemberDeclaration()
* @model
* @generated
*/
public interface AnnotationTypeMemberDeclaration extends BodyDeclaration {
/**
* Returns the value of the '<em><b>Default</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Default</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Default</em>' containment reference.
* @see #setDefault(Expression)
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getAnnotationTypeMemberDeclaration_Default()
* @model containment="true" ordered="false"
* @generated
*/
Expression getDefault();
/**
* Sets the value of the '{@link org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration#getDefault <em>Default</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Default</em>' containment reference.
* @see #getDefault()
* @generated
*/
void setDefault(Expression value);
/**
* Returns the value of the '<em><b>Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' containment reference.
* @see #setType(TypeAccess)
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getAnnotationTypeMemberDeclaration_Type()
* @model containment="true" required="true" ordered="false"
* @generated
*/
TypeAccess getType();
/**
* Sets the value of the '{@link org.eclipse.gmt.modisco.java.AnnotationTypeMemberDeclaration#getType <em>Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' containment reference.
* @see #getType()
* @generated
*/
void setType(TypeAccess value);
/**
* Returns the value of the '<em><b>Usages</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmt.modisco.java.AnnotationMemberValuePair}.
* It is bidirectional and its opposite is '{@link org.eclipse.gmt.modisco.java.AnnotationMemberValuePair#getMember <em>Member</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Usages</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Usages</em>' reference list.
* @see org.eclipse.gmt.modisco.java.emf.JavaPackage#getAnnotationTypeMemberDeclaration_Usages()
* @see org.eclipse.gmt.modisco.java.AnnotationMemberValuePair#getMember
* @model opposite="member" ordered="false"
* @generated
*/
EList<AnnotationMemberValuePair> getUsages();
} // AnnotationTypeMemberDeclaration