KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > NodeHooks


1 /*
2 *
3 * NodeHooks.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 NodeHooks implements Serializable JavaDoc, java.lang.Cloneable JavaDoc {
29
30     // --------------------------------------------------- Instance Variables
31

32     private Collection hooks;
33
34     private String JavaDoc projectName;
35
36     // ----------------------------------------------------------- Properties
37

38
39     /**
40      * Get the projectName
41      *@return String
42      */

43     public String JavaDoc getProjectName() {
44         return (projectName);
45     }
46
47     /**
48      * Set the project name.
49      * @param projectName
50      */

51     public void setProjectName(String JavaDoc 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     public Object JavaDoc clone() throws java.lang.CloneNotSupportedException JavaDoc{
74     return super.clone();
75     }
76
77 }
78
Popular Tags