01: /*
02: * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
03: * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
04: * under the terms of the GNU Lesser General Public License as published by the Free Software
05: * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
06: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
07: * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
08: */
09: package net.refractions.udig.project.internal;
10:
11: import java.util.List;
12:
13: import net.refractions.udig.project.IProject;
14:
15: import org.eclipse.emf.ecore.EObject;
16:
17: /**
18: * The read/write interface for IProject.
19: *
20: * @author Jesse
21: * @since 1.0.0
22: * @model
23: */
24: public interface Project extends EObject, IProject {
25: /**
26: * <!-- begin-user-doc --> <!-- end-user-doc -->
27: * @generated
28: */
29: String copyright = "uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004, Refractions Research Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details."; //$NON-NLS-1$
30:
31: /**
32: * Returns an unmodifiable
33: */
34: public <E> List<E> getElements(Class<E> type);
35:
36: /**
37: * Returns a List with all elements in the project
38: * THis list is modifiable.
39: *
40: * @return a list with all in the project
41: * @model type="ProjectElement" opposite="projectInternal"
42: */
43: public List<ProjectElement> getElementsInternal();
44:
45: /**
46: * gets the name of the project
47: *
48: * @return the name of the project
49: * @uml.property name="name"
50: * @model
51: */
52: public String getName();
53:
54: /**
55: * Sets the value of the '{@link net.refractions.udig.project.internal.Project#getName <em>Name</em>}' attribute.
56: * <!-- begin-user-doc --> <!-- end-user-doc -->
57: * @param value the new value of the '<em>Name</em>' attribute.
58: * @see #getName()
59: * @generated
60: */
61: void setName(String value);
62:
63: }
|