KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > historic > PropertyHistoric


1 package hero.historic;
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: PropertyHistoric.java,v 1.1 2004/10/01 15:32:18 mvaldes Exp $
28 *
29 --------------------------------------------------------------------------
30 */

31
32
33 import java.io.Serializable JavaDoc;
34 import java.util.Vector JavaDoc;
35
36 public final class PropertyHistoric implements Serializable JavaDoc, java.lang.Cloneable JavaDoc {
37
38     // --------------------------------------------------- Instance Variables
39

40     private String JavaDoc key="";
41     private String JavaDoc value="";
42
43     // ----------------------------------------------------------- Properties
44

45     public String JavaDoc getKey() {
46         return (key);
47     }
48     
49     public void setKey(String JavaDoc key) {
50         this.key = key;
51     }
52     
53     public String JavaDoc getValue() {
54         return (value);
55     }
56     
57     public void setValue(String JavaDoc value) {
58         this.value= value;
59     }
60     
61     public PropertyHistoric(){}
62
63     public Object JavaDoc clone() throws java.lang.CloneNotSupportedException JavaDoc{
64     return super.clone();
65     }
66
67 }
68
Popular Tags