blob: b201a22a0c86d91c41e4ba1d43782f9250f1a0a4 [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.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.modisco.java;
import org.eclipse.modisco.java.ASTNode;
import org.eclipse.modisco.java.NamedElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Import Declaration</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.ImportDeclaration#isStatic <em>Static</em>}</li>
* <li>{@link org.eclipse.modisco.java.ImportDeclaration#getImportedElement <em>Imported Element</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.emf.JavaPackage#getImportDeclaration()
* @model
* @generated
*/
public interface ImportDeclaration extends ASTNode {
/**
* Returns the value of the '<em><b>Static</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Static</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Static</em>' attribute.
* @see #setStatic(boolean)
* @see org.eclipse.modisco.java.emf.JavaPackage#getImportDeclaration_Static()
* @model unique="false" ordered="false"
* @generated
*/
boolean isStatic();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ImportDeclaration#isStatic <em>Static</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Static</em>' attribute.
* @see #isStatic()
* @generated
*/
void setStatic(boolean value);
/**
* Returns the value of the '<em><b>Imported Element</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.NamedElement#getUsagesInImports <em>Usages In Imports</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Imported Element</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Imported Element</em>' reference.
* @see #setImportedElement(NamedElement)
* @see org.eclipse.modisco.java.emf.JavaPackage#getImportDeclaration_ImportedElement()
* @see org.eclipse.modisco.java.NamedElement#getUsagesInImports
* @model opposite="usagesInImports" required="true" ordered="false"
* @generated
*/
NamedElement getImportedElement();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ImportDeclaration#getImportedElement <em>Imported Element</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Imported Element</em>' reference.
* @see #getImportedElement()
* @generated
*/
void setImportedElement(NamedElement value);
} // ImportDeclaration