01: /**
02: * Copyright (C) 2006 NetMind Consulting Bt.
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 3 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: */package hu.netmind.persistence;
18:
19: import java.util.List;
20: import java.util.Map;
21:
22: /**
23: * This is a superclass with every kind of attributes.
24: * @author Brautigam Robert
25: * @version Revision: $Revision$
26: */
27: public class Superclass {
28: private int primitive;
29: private List list;
30: private Map map;
31: private Superclass object;
32:
33: public Superclass() {
34: }
35:
36: public Superclass(int primitive) {
37: setPrimitive(primitive);
38: }
39:
40: public int getPrimitive() {
41: return primitive;
42: }
43:
44: public void setPrimitive(int primitive) {
45: this .primitive = primitive;
46: }
47:
48: public List getList() {
49: return list;
50: }
51:
52: public void setList(List list) {
53: this .list = list;
54: }
55:
56: public Map getMap() {
57: return map;
58: }
59:
60: public void setMap(Map map) {
61: this .map = map;
62: }
63:
64: public Superclass getObject() {
65: return object;
66: }
67:
68: public void setObject(Superclass object) {
69: this.object = object;
70: }
71:
72: }
|