/** * <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: * <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> * <li>{@link org.eclipse.emf.henshin.model.Module#isNullValueMatching <em>Null Value Matching</em>}</li> * </ul> * </p> * * @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" * @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" * @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" * @generated */ EList<Graph> getInstances(); /** * Returns the value of the '<em><b>Null Value Matching</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Null Value Matching</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Null Value Matching</em>' attribute. * @see #setNullValueMatching(boolean) * @see org.eclipse.emf.henshin.model.HenshinPackage#getModule_NullValueMatching() * @model default="true" * @generated */ boolean isNullValueMatching(); /** * Sets the value of the '{@link org.eclipse.emf.henshin.model.Module#isNullValueMatching <em>Null Value Matching</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Null Value Matching</em>' attribute. * @see #isNullValueMatching() * @generated */ void setNullValueMatching(boolean value); /** * <!-- 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); } // Module