blob: 709025264e63afbbf353572ad36a3dbd8389eb6f [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.emf.common.util.EList;
import org.eclipse.modisco.java.AbstractTypeDeclaration;
import org.eclipse.modisco.java.Comment;
import org.eclipse.modisco.java.ImportDeclaration;
import org.eclipse.modisco.java.NamedElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Compilation Unit</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.CompilationUnit#getOriginalFilePath <em>Original File Path</em>}</li>
* <li>{@link org.eclipse.modisco.java.CompilationUnit#getCommentList <em>Comment List</em>}</li>
* <li>{@link org.eclipse.modisco.java.CompilationUnit#getImports <em>Imports</em>}</li>
* <li>{@link org.eclipse.modisco.java.CompilationUnit#getPackage <em>Package</em>}</li>
* <li>{@link org.eclipse.modisco.java.CompilationUnit#getTypes <em>Types</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit()
* @model
* @generated
*/
public interface CompilationUnit extends NamedElement {
/**
* Returns the value of the '<em><b>Original File Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Original File Path</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Original File Path</em>' attribute.
* @see #setOriginalFilePath(String)
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit_OriginalFilePath()
* @model unique="false" required="true" ordered="false"
* @generated
*/
String getOriginalFilePath();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.CompilationUnit#getOriginalFilePath <em>Original File Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Original File Path</em>' attribute.
* @see #getOriginalFilePath()
* @generated
*/
void setOriginalFilePath(String value);
/**
* Returns the value of the '<em><b>Comment List</b></em>' reference list.
* The list contents are of type {@link org.eclipse.modisco.java.Comment}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Comment List</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>Comment List</em>' reference list.
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit_CommentList()
* @model
* @generated
*/
EList<Comment> getCommentList();
/**
* Returns the value of the '<em><b>Imports</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.modisco.java.ImportDeclaration}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Imports</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Imports</em>' containment reference list.
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit_Imports()
* @model containment="true"
* @generated
*/
EList<ImportDeclaration> getImports();
/**
* Returns the value of the '<em><b>Package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Package</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Package</em>' reference.
* @see #setPackage(org.eclipse.modisco.java.Package)
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit_Package()
* @model ordered="false"
* @generated
*/
org.eclipse.modisco.java.Package getPackage();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.CompilationUnit#getPackage <em>Package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Package</em>' reference.
* @see #getPackage()
* @generated
*/
void setPackage(org.eclipse.modisco.java.Package value);
/**
* Returns the value of the '<em><b>Types</b></em>' reference list.
* The list contents are of type {@link org.eclipse.modisco.java.AbstractTypeDeclaration}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Types</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>Types</em>' reference list.
* @see org.eclipse.modisco.java.emf.JavaPackage#getCompilationUnit_Types()
* @model
* @generated
*/
EList<AbstractTypeDeclaration> getTypes();
} // CompilationUnit