KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > ProjectRoles


1 /*
2 *
3 * ProjectRoles.java -
4 * Copyright (C) 2003 Ecoo Team
5 * valdes@loria.fr
6 *
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */

22
23 package hero.util;
24
25 import java.io.Serializable JavaDoc;
26 import java.util.*;
27
28 public final class ProjectRoles implements Serializable JavaDoc, java.lang.Cloneable JavaDoc {
29
30     // --------------------------------------------------- Instance Variables
31

32     /**
33      * The nodes
34      */

35     private Collection roles;
36
37     // ----------------------------------------------------------- Properties
38

39     /**
40      * Get the roles
41      *@return Collection
42      */

43     public Collection getRole() {
44         return (roles);
45     }
46
47     /**
48      * Set the roles.
49      * @param roles
50      */

51     public void setRole(Collection roles) {
52         this.roles = roles;
53     }
54
55     public ProjectRoles(){}
56
57     public Object JavaDoc clone() throws java.lang.CloneNotSupportedException JavaDoc{
58     return super.clone();
59     }
60
61 }
62
Popular Tags