Project.java revision 271
98N/A * CDDL HEADER START 98N/A * The contents of this file are subject to the terms of the 98N/A * Common Development and Distribution License (the "License"). 98N/A * You may not use this file except in compliance with the License. 98N/A * language governing permissions and limitations under the License. 98N/A * When distributing Covered Code, include this CDDL HEADER in each 98N/A * If applicable, add the following below this CDDL HEADER, with the 98N/A * fields enclosed by brackets "[]" replaced with your own identifying 98N/A * information: Portions Copyright [yyyy] [name of copyright owner] 98N/A * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 98N/A * Use is subject to license terms. 98N/A * Placeholder for the information that builds up a project 98N/A * Get a textual description of this project 199N/A * @return a textual description of the project 199N/A * Get the path (relative from source root) where this project is located 98N/A * @return the relative path 98N/A * Get the project id 98N/A * @return the id of the project 98N/A * Set a textual description of this project 98N/A * @param description a textual description of the project 98N/A * Set the path (relative from source root) this project is located 98N/A * @param path the relative path from source sroot where this project is * Creates a new instance of Project * Create a new instance of Project with a given description and path * @param description the description of this project * @param path the path to where this project is located (relative from source root) * Get the project for a specific file * @param path the file to lookup (relative from source root) * @return the project that this file belongs to (or null if the file * doesn't belong to a project) * Get the project for a specific file * @param file the file to lookup * @return the project that this file belongs to (or null if the file * doesn't belong to a project)