KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > StrutsEdgeValue


1 /*
2 *
3 * StrutsEdgeValue.java -
4 * Copyright (C) 2002 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
24 package hero.util;
25
26 import java.io.Serializable JavaDoc;
27
28 public final class StrutsEdgeValue implements Serializable JavaDoc, java.lang.Cloneable JavaDoc {
29
30     // --------------------------------------------------- Instance Variables
31

32     /**
33      * The name of the node
34      */

35     private String JavaDoc name = null;
36
37     /**
38      * The state of the node
39      */

40     private String JavaDoc state = null;
41
42     /**
43      * The in node
44      */

45     private String JavaDoc inNode = null;
46
47     /**
48      * The out node
49      */

50     private String JavaDoc outNode = null;
51
52     // ----------------------------------------------------------- Properties
53

54     /**
55      * Get the name
56      *@return String
57      */

58     public String JavaDoc getName() {
59         return (name);
60     }
61
62     /**
63      * Set the name.
64      * @param name
65      */

66     public void setName(String JavaDoc name) {
67         this.name = name;
68     }
69
70     /**
71      * Get the state
72      *@return String
73      */

74     public String JavaDoc getState() {
75         return (state);
76     }
77
78     /**
79      * Set the state.
80      * @param state
81      */

82     public void setState(String JavaDoc state) {
83         this.state = state;
84     }
85
86     /**
87      * Get the in node
88      *@return String
89      */

90     public String JavaDoc getInNode() {
91         return (inNode);
92     }
93
94     /**
95      * Set the in node.
96      * @param inNode
97      */

98     public void setInNode(String JavaDoc inNode) {
99         this.inNode = inNode;
100     }
101
102     /**
103      * Get the out node
104      *@return String
105      */

106     public String JavaDoc getOutNode() {
107         return (outNode);
108     }
109
110     /**
111      * Set the out node.
112      * @param outNode
113      */

114     public void setOutNode(String JavaDoc outNode) {
115         this.outNode = outNode;
116     }
117
118
119     public StrutsEdgeValue(){}
120
121     public Object JavaDoc clone() throws java.lang.CloneNotSupportedException JavaDoc{
122     return super.clone();
123     }
124
125 }
126
Popular Tags