01: /*
02: *
03: * ProjectRoles.java -
04: * Copyright (C) 2003 Ecoo Team
05: * valdes@loria.fr
06: *
07: *
08: * This program is free software; you can redistribute it and/or
09: * 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;
26: import java.util.*;
27:
28: public final class ProjectRoles implements Serializable,
29: java.lang.Cloneable {
30:
31: // --------------------------------------------------- Instance Variables
32:
33: /**
34: * The nodes
35: */
36: private Collection roles;
37:
38: // ----------------------------------------------------------- Properties
39:
40: /**
41: * Get the roles
42: *@return Collection
43: */
44: public Collection getRole() {
45: return (roles);
46: }
47:
48: /**
49: * Set the roles.
50: * @param roles
51: */
52: public void setRole(Collection roles) {
53: this .roles = roles;
54: }
55:
56: public ProjectRoles() {
57: }
58:
59: public Object clone() throws java.lang.CloneNotSupportedException {
60: return super.clone();
61: }
62:
63: }
|