001: /*
002: *
003: * StrutsEdgeValue.java -
004: * Copyright (C) 2002 Ecoo Team
005: * valdes@loria.fr
006: *
007: *
008: * This program is free software; you can redistribute it and/or
009: * modify it under the terms of the GNU Lesser General Public License
010: * as published by the Free Software Foundation; either version 2
011: * of the License, or (at your option) any later version.
012: *
013: * This program is distributed in the hope that it will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016: * GNU Lesser General Public License for more details.
017: *
018: * You should have received a copy of the GNU Lesser General Public License
019: * along with this program; if not, write to the Free Software
020: * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
021: */
022:
023: package hero.util;
024:
025: import java.io.Serializable;
026:
027: public final class StrutsEdgeValue implements Serializable,
028: java.lang.Cloneable {
029:
030: // --------------------------------------------------- Instance Variables
031:
032: /**
033: * The name of the node
034: */
035: private String name = null;
036:
037: /**
038: * The state of the node
039: */
040: private String state = null;
041:
042: /**
043: * The in node
044: */
045: private String inNode = null;
046:
047: /**
048: * The out node
049: */
050: private String outNode = null;
051:
052: // ----------------------------------------------------------- Properties
053:
054: /**
055: * Get the name
056: *@return String
057: */
058: public String getName() {
059: return (name);
060: }
061:
062: /**
063: * Set the name.
064: * @param name
065: */
066: public void setName(String name) {
067: this .name = name;
068: }
069:
070: /**
071: * Get the state
072: *@return String
073: */
074: public String getState() {
075: return (state);
076: }
077:
078: /**
079: * Set the state.
080: * @param state
081: */
082: public void setState(String state) {
083: this .state = state;
084: }
085:
086: /**
087: * Get the in node
088: *@return String
089: */
090: public String getInNode() {
091: return (inNode);
092: }
093:
094: /**
095: * Set the in node.
096: * @param inNode
097: */
098: public void setInNode(String inNode) {
099: this .inNode = inNode;
100: }
101:
102: /**
103: * Get the out node
104: *@return String
105: */
106: public String getOutNode() {
107: return (outNode);
108: }
109:
110: /**
111: * Set the out node.
112: * @param outNode
113: */
114: public void setOutNode(String outNode) {
115: this .outNode = outNode;
116: }
117:
118: public StrutsEdgeValue() {
119: }
120:
121: public Object clone() throws java.lang.CloneNotSupportedException {
122: return super.clone();
123: }
124:
125: }
|