01: /*
02: *
03: * NodeHooks.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 NodeHooks implements Serializable,
29: java.lang.Cloneable {
30:
31: // --------------------------------------------------- Instance Variables
32:
33: private Collection hooks;
34:
35: private String projectName;
36:
37: // ----------------------------------------------------------- Properties
38:
39: /**
40: * Get the projectName
41: *@return String
42: */
43: public String getProjectName() {
44: return (projectName);
45: }
46:
47: /**
48: * Set the project name.
49: * @param projectName
50: */
51: public void setProjectName(String projectName) {
52: this .projectName = projectName;
53: }
54:
55: /**
56: * Get the hooks
57: *@return Collection
58: */
59: public Collection getHook() {
60: return (hooks);
61: }
62:
63: /**
64: * Set the hooks.
65: * @param hooks
66: */
67: public void setHook(Collection hooks) {
68: this .hooks = hooks;
69: }
70:
71: public NodeHooks() {
72: }
73:
74: public Object clone() throws java.lang.CloneNotSupportedException {
75: return super.clone();
76: }
77:
78: }
|