01: package hero.util;
02:
03: /*
04: *
05: * UserProperties.java -
06: * Copyright (C) 2003 Ecoo Team
07: * valdes@loria.fr
08: *
09: *
10: * This program is free software; you can redistribute it and/or
11: * modify it under the terms of the GNU Lesser General Public License
12: * as published by the Free Software Foundation; either version 2
13: * of the License, or (at your option) any later version.
14: *
15: * This program 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
18: * GNU Lesser General Public License for more details.
19: *
20: * You should have received a copy of the GNU Lesser General Public License
21: * along with this program; if not, write to the Free Software
22: * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23: */
24:
25: import java.io.Serializable;
26: import java.util.*;
27:
28: public final class UserProperties implements Serializable,
29: java.lang.Cloneable {
30:
31: // --------------------------------------------------- Instance Variables
32:
33: /**
34: * The users
35: */
36: private Collection properties;
37:
38: // ----------------------------------------------------------- Properties
39:
40: /**
41: * Get the properties
42: *@return Collection
43: */
44: public Collection getProperty() {
45: return (properties);
46: }
47:
48: /**
49: * Set the properties.
50: * @param properties
51: */
52: public void setProperty(Collection properties) {
53: this .properties = properties;
54: }
55:
56: public UserProperties() {
57: }
58:
59: public Object clone() throws java.lang.CloneNotSupportedException {
60: return super.clone();
61: }
62:
63: }
|