KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > values > BonitaPropertyValue


1 package hero.util.values;
2
3 /**
4 *
5 * Bonita
6 * Copyright (C) 1999 Bull S.A.
7 * Bull 68 route de versailles 78434 Louveciennes Cedex France
8 * Further information: bonita@objectweb.org
9 *
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
33 import java.io.Serializable JavaDoc;
34 import java.util.Collection JavaDoc;
35 import java.util.Vector JavaDoc;
36
37 public final class BonitaPropertyValue implements Serializable JavaDoc {
38
39     // --------------------------------------------------- Instance Variables
40

41     private String JavaDoc key="";
42     private String JavaDoc value="";
43     private boolean propagate = true;
44     private Collection JavaDoc possibleValues=null;
45
46     // ----------------------------------------------------------- Properties
47

48     public String JavaDoc getKey() {
49         return (key);
50     }
51     
52     public void setKey(String JavaDoc key) {
53         this.key = key;
54     }
55     
56     public String JavaDoc getValue() {
57         return (value);
58     }
59     
60     public void setValue(String JavaDoc value) {
61         this.value= value;
62     }
63     
64     public boolean getPropagate() {
65         return (propagate);
66     }
67     
68     public void setPropagate(boolean propagate) {
69         this.propagate= propagate;
70     }
71     
72     public Collection JavaDoc getPossibleValues() {
73         return (possibleValues);
74     }
75     
76     public void setPossibleValues(Collection JavaDoc possibleValues) {
77         this.possibleValues= possibleValues;
78     }
79     
80     public BonitaPropertyValue(){}
81
82 }
83
Popular Tags