| /*************************************************************************************************** |
| * Copyright (c) 2003, 2004 IBM Corporation and others. All rights reserved. This program and the |
| * accompanying materials are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: IBM Corporation - initial API and implementation |
| **************************************************************************************************/ |
| package org.eclipse.wst.common.modulecore; |
| |
| import org.eclipse.emf.common.util.EList; |
| import org.eclipse.emf.common.util.URI; |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An EMF representation of a development-time module contained by an Eclipse project. |
| * <p> |
| * See the package overview for an <a href="package-summary.html">overview of the model components</a>. |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getHandle <em>Handle</em>}</li> |
| * <li>{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getDeployedName <em>Deployed Name</em>}</li> |
| * <li>{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getResources <em>Resources</em>}</li> |
| * <li>{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getModuleType <em>Module Type</em>}</li> |
| * <li>{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getModules <em>Modules</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule() |
| * @model |
| * @generated |
| */ |
| public interface WorkbenchModule extends EObject{ |
| /** |
| * Returns the value of the '<em><b>Handle</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Handle</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Handle</em>' attribute. |
| * @see #setHandle(URI) |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule_Handle() |
| * @model dataType="org.eclipse.wst.common.modulecore.URI" |
| * @generated |
| */ |
| URI getHandle(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getHandle <em>Handle</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Handle</em>' attribute. |
| * @see #getHandle() |
| * @generated |
| */ |
| void setHandle(URI value); |
| |
| /** |
| * Returns the value of the '<em><b>Deployed Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Deployed Name</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Deployed Name</em>' attribute. |
| * @see #setDeployedName(String) |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule_DeployedName() |
| * @model |
| * @generated |
| */ |
| String getDeployedName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getDeployedName <em>Deployed Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Deployed Name</em>' attribute. |
| * @see #getDeployedName() |
| * @generated |
| */ |
| void setDeployedName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Modules</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.wst.common.modulecore.DependentModule}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Modules</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>Modules</em>' reference list. |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule_Modules() |
| * @model type="org.eclipse.wst.common.modulecore.DependentModule" |
| * @generated |
| */ |
| EList getModules(); |
| |
| /** |
| * Returns the value of the '<em><b>Resources</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.wst.common.modulecore.WorkbenchModuleResource}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.wst.common.modulecore.WorkbenchModuleResource#getModule <em>Module</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Resources</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>Resources</em>' containment reference list. |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule_Resources() |
| * @see org.eclipse.wst.common.modulecore.WorkbenchModuleResource#getModule |
| * @model type="org.eclipse.wst.common.modulecore.WorkbenchModuleResource" opposite="module" containment="true" |
| * @generated |
| */ |
| EList getResources(); |
| |
| /** |
| * Returns the value of the '<em><b>Module Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Module Type</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>Module Type</em>' reference. |
| * @see #setModuleType(ModuleType) |
| * @see org.eclipse.wst.common.modulecore.ModuleCorePackage#getWorkbenchModule_ModuleType() |
| * @model required="true" |
| * @generated |
| */ |
| ModuleType getModuleType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.wst.common.modulecore.WorkbenchModule#getModuleType <em>Module Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Module Type</em>' reference. |
| * @see #getModuleType() |
| * @generated |
| */ |
| void setModuleType(ModuleType value); |
| |
| WorkbenchModuleResource[] findWorkbenchModuleResourceByDeployPath(URI aDeployPath); |
| |
| WorkbenchModuleResource[] findWorkbenchModuleResourceBySourcePath(URI aSourcePath); |
| |
| } // WorkbenchModule |