01: package hero.util.values;
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: BonitaPropertyValue.java,v 1.2 2005/03/30 15:20:17 mvaldes Exp $
28: *
29: --------------------------------------------------------------------------
30: */
31:
32: import java.io.Serializable;
33: import java.util.Collection;
34: import java.util.Vector;
35:
36: public final class BonitaPropertyValue implements Serializable {
37:
38: // --------------------------------------------------- Instance Variables
39:
40: private String key = "";
41: private String value = "";
42: private boolean propagate = true;
43: private Collection possibleValues = null;
44:
45: // ----------------------------------------------------------- Properties
46:
47: public String getKey() {
48: return (key);
49: }
50:
51: public void setKey(String key) {
52: this .key = key;
53: }
54:
55: public String getValue() {
56: return (value);
57: }
58:
59: public void setValue(String value) {
60: this .value = value;
61: }
62:
63: public boolean getPropagate() {
64: return (propagate);
65: }
66:
67: public void setPropagate(boolean propagate) {
68: this .propagate = propagate;
69: }
70:
71: public Collection getPossibleValues() {
72: return (possibleValues);
73: }
74:
75: public void setPossibleValues(Collection possibleValues) {
76: this .possibleValues = possibleValues;
77: }
78:
79: public BonitaPropertyValue() {
80: }
81:
82: }
|