| /** |
| * <copyright> |
| * </copyright> |
| * |
| * $Id: CDOResourceNode.java,v 1.2 2008-10-19 01:28:51 smcduff Exp $ |
| */ |
| package org.eclipse.emf.cdo.eresource; |
| |
| import org.eclipse.emf.cdo.CDOObject; |
| |
| /** |
| * <!-- begin-user-doc --> A representation of the model object '<em><b>CDO Resource Node</b></em>'. <!-- end-user-doc |
| * --> |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder <em>Folder</em>}</li> |
| * <li>{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getPath <em>Path</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode() |
| * @model abstract="true" |
| * @generated |
| * @since 2.0 |
| */ |
| public interface CDOResourceNode extends CDOObject |
| { |
| /** |
| * @ADDED |
| * @since 2.0 |
| */ |
| public static final String ROOT_PATH = "/"; |
| |
| /** |
| * @ADDED |
| * @since 2.0 |
| */ |
| public static final String ROOT_NAME = null; |
| |
| /** |
| * @ADDED |
| * @since 2.0 |
| */ |
| public boolean isRoot(); |
| |
| /** |
| * Returns the value of the '<em><b>Folder</b></em>' container reference. It is bidirectional and its opposite is ' |
| * {@link org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes <em>Nodes</em>}'. <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Folder</em>' container reference isn't clear, there really should be more of a |
| * description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Folder</em>' container reference. |
| * @see #setFolder(CDOResourceFolder) |
| * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Folder() |
| * @see org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes |
| * @model opposite="nodes" transient="false" |
| * @generated |
| */ |
| CDOResourceFolder getFolder(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder <em>Folder</em>}' container |
| * reference. <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Folder</em>' container reference. |
| * @see #getFolder() |
| * @generated |
| */ |
| void setFolder(CDOResourceFolder value); |
| |
| /** |
| * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>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>Name</em>' attribute. |
| * @see #setName(String) |
| * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Name() |
| * @model |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getName <em>Name</em>}' attribute. <!-- |
| * begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Path</b></em>' attribute. <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>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>Path</em>' attribute. |
| * @see #setPath(String) |
| * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResourceNode_Path() |
| * @model transient="true" volatile="true" derived="true" |
| * @generated |
| */ |
| String getPath(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getPath <em>Path</em>}' attribute. <!-- |
| * begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Path</em>' attribute. |
| * @see #getPath() |
| * @generated |
| */ |
| void setPath(String value); |
| |
| } // CDOResourceNode |