01: package hero.struts.activity;
02:
03: import java.io.Serializable;
04:
05: public final class Event implements Serializable, java.lang.Cloneable {
06:
07: // --------------------------------------------------- Instance Variables
08:
09: /**
10: * The name of the node
11: */
12: private String name = null;
13:
14: /**
15: * The state of the node
16: */
17: private String mail = null;
18:
19: // ----------------------------------------------------------- Properties
20:
21: /**
22: * Get the name
23: *@return String
24: */
25: public String getName() {
26: return (name);
27: }
28:
29: /**
30: * Set the name.
31: * @param name
32: */
33: public void setName(String name) {
34: this .name = name;
35: }
36:
37: /**
38: * Get the state
39: *@return String
40: */
41: public String getMail() {
42: return (mail);
43: }
44:
45: /**
46: * Set the state.
47: * @param mail
48: */
49: public void setMail(String mail) {
50: this .mail = mail;
51: }
52:
53: public Event() {
54: }
55:
56: public Object clone() throws java.lang.CloneNotSupportedException {
57: return super.clone();
58: }
59:
60: }
|