blob: 09823269635d6f9ea21755aecadf90577680da11 [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.emf.henshin.model;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EPackage;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Module</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.emf.henshin.model.Module#getSubModules <em>Sub Modules</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Module#getSuperModule <em>Super Module</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Module#getImports <em>Imports</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Module#getUnits <em>Units</em>}</li>
* <li>{@link org.eclipse.emf.henshin.model.Module#getInstances <em>Instances</em>}</li>
* </ul>
*
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule()
* @model
* @generated
*/
public interface Module extends NamedElement {
/**
* Returns the value of the '<em><b>Sub Modules</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.henshin.model.Module}.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.henshin.model.Module#getSuperModule <em>Super Module</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Sub Modules</em>' containment reference list.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_SubModules()
* @see org.eclipse.emf.henshin.model.Module#getSuperModule
* @model opposite="superModule" containment="true" resolveProxies="true"
* @generated
*/
EList<Module> getSubModules();
/**
* Returns the value of the '<em><b>Super Module</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.henshin.model.Module#getSubModules <em>Sub Modules</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Super Module</em>' container reference.
* @see #setSuperModule(Module)
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_SuperModule()
* @see org.eclipse.emf.henshin.model.Module#getSubModules
* @model opposite="subModules" transient="false"
* @generated
*/
Module getSuperModule();
/**
* Sets the value of the '{@link org.eclipse.emf.henshin.model.Module#getSuperModule <em>Super Module</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Super Module</em>' container reference.
* @see #getSuperModule()
* @generated
*/
void setSuperModule(Module value);
/**
* Returns the value of the '<em><b>Imports</b></em>' reference list.
* The list contents are of type {@link org.eclipse.emf.ecore.EPackage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Imports</em>' reference list.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_Imports()
* @model
* @generated
*/
EList<EPackage> getImports();
/**
* Returns the value of the '<em><b>Units</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.henshin.model.Unit}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Units</em>' containment reference list.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_Units()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<Unit> getUnits();
/**
* Returns the value of the '<em><b>Instances</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.henshin.model.Graph}.
* <!-- begin-user-doc -->
* @deprecated Will not be supported in the future.
* <!-- end-user-doc -->
* @return the value of the '<em>Instances</em>' containment reference list.
* @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_Instances()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<Graph> getInstances();
/**
* <!-- begin-user-doc -->
* Get the unit with a specified name.
* <!-- end-user-doc -->
* @model
* @generated
*/
Unit getUnit(String name);
/**
* <!-- begin-user-doc -->
* Get the submodule with a specified name.
* <!-- end-user-doc -->
* @model
* @generated
*/
Module getSubModule(String name);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model kind="operation"
* @generated
*/
EList<Rule> getAllRules();
} // Module