blob: 6845ed4a615246ab62011e9871f66954f3dc2606 [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:
*
* Fabien Giquel (Mia-Software) - initial API and implementation
* Gregoire DUPE (Mia-Software) - initial API and implementation
* *******************************************************************************
*/
package org.eclipse.modisco.java;
import org.eclipse.modisco.java.AbstractTypeDeclaration;
import org.eclipse.modisco.java.CompilationUnit;
import org.eclipse.modisco.java.NamedElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Class File</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.ClassFile#getOriginalFilePath <em>Original File Path</em>}</li>
* <li>{@link org.eclipse.modisco.java.ClassFile#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.modisco.java.ClassFile#getAttachedSource <em>Attached Source</em>}</li>
* <li>{@link org.eclipse.modisco.java.ClassFile#getPackage <em>Package</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getClassFile()
* @model
* @generated
*/
public interface ClassFile 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.nousages.cdo.meta.JavaPackage#getClassFile_OriginalFilePath()
* @model unique="false" required="true" ordered="false"
* @generated
*/
String getOriginalFilePath();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassFile#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>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' 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>' reference.
* @see #setType(AbstractTypeDeclaration)
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getClassFile_Type()
* @model ordered="false"
* @generated
*/
AbstractTypeDeclaration getType();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassFile#getType <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' reference.
* @see #getType()
* @generated
*/
void setType(AbstractTypeDeclaration value);
/**
* Returns the value of the '<em><b>Attached Source</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Attached Source</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Attached Source</em>' reference.
* @see #setAttachedSource(CompilationUnit)
* @see org.eclipse.modisco.java.nousages.cdo.meta.JavaPackage#getClassFile_AttachedSource()
* @model ordered="false"
* @generated
*/
CompilationUnit getAttachedSource();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassFile#getAttachedSource <em>Attached Source</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Attached Source</em>' reference.
* @see #getAttachedSource()
* @generated
*/
void setAttachedSource(CompilationUnit value);
/**
* 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.nousages.cdo.meta.JavaPackage#getClassFile_Package()
* @model ordered="false"
* @generated
*/
org.eclipse.modisco.java.Package getPackage();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassFile#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);
} // ClassFile