01: package hero.xpdl;
02:
03: /**
04: *
05: * Bonita
06: * Copyright (C) 1999 Bull S.A.
07: * Bull 68 route de versailles 78434 Louveciennes Cedex France
08: * Further information: bonita@objectweb.org
09: *
10: * This library is free software; you can redistribute it and/or
11: * modify it under the terms of the GNU Lesser General Public
12: * License as published by the Free Software Foundation; either
13: * version 2.1 of the License, or any later version.
14: *
15: * This library is distributed in the hope that it will be useful,
16: * but WITHOUT ANY WARRANTY; without even the implied warranty of
17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18: * Lesser General Public License for more details.
19: *
20: * You should have received a copy of the GNU Lesser General Public
21: * License along with this library; if not, write to the Free Software
22: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23: * USA
24: *
25: *
26: --------------------------------------------------------------------------
27: * $Id: XPDLTransition.java,v 1.1 2006/06/06 08:16:08 mvaldes Exp $
28: *
29: --------------------------------------------------------------------------
30: */
31:
32: import java.io.Serializable;
33:
34: public final class XPDLTransition implements Serializable,
35: java.lang.Cloneable {
36:
37: // --------------------------------------------------- Instance Variables
38:
39: private String id = "";
40: private String name = "";
41: private String to = "";
42: private String from = "";
43: private String condition = "";
44:
45: // ----------------------------------------------------------- Properties
46:
47: //id
48: public String getId() {
49: return (id);
50: }
51:
52: public void setId(String id) {
53: this .id = id;
54: }
55:
56: // Name
57: public String getName() {
58: return (name);
59: }
60:
61: public void setName(String name) {
62: this .name = name;
63: }
64:
65: // To
66: public String getTo() {
67: return (to);
68: }
69:
70: public void setTo(String to) {
71: this .to = to;
72: }
73:
74: // From
75: public String getFrom() {
76: return (from);
77: }
78:
79: public void setFrom(String from) {
80: this .from = from;
81: }
82:
83: // Condition
84: public String getCondition() {
85: return (condition);
86: }
87:
88: public void setCondition(String condition) {
89: this .condition = condition;
90: }
91:
92: public XPDLTransition() {
93: }
94:
95: public Object clone() throws java.lang.CloneNotSupportedException {
96: return super.clone();
97: }
98:
99: }
|