01: /*
02: $Header: /cvsroot/xorm/xorm/src/org/xorm/util/jdoxml/JDOMap.java,v 1.1 2002/10/03 06:54:57 wbiggs Exp $
03:
04: This file is part of XORM.
05:
06: XORM is free software; you can redistribute it and/or modify
07: it under the terms of the GNU General Public License as published by
08: the Free Software Foundation; either version 2 of the License, or
09: (at your option) any later version.
10:
11: XORM is distributed in the hope that it will be useful,
12: but WITHOUT ANY WARRANTY; without even the implied warranty of
13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: GNU General Public License for more details.
15:
16: You should have received a copy of the GNU General Public License
17: along with XORM; if not, write to the Free Software
18: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: */
20: package org.xorm.util.jdoxml;
21:
22: import java.util.ArrayList;
23: import java.util.Collection;
24:
25: /**
26: * Represents a JDO XML map declaration.
27: */
28: public class JDOMap {
29: private Collection extensions = new ArrayList();
30: private String keyType;
31: private Boolean embeddedKey;
32: private String valueType;
33: private Boolean embeddedValue;
34:
35: public Collection getExtensions() {
36: return extensions;
37: }
38:
39: public String getKeyType() {
40: return keyType;
41: }
42:
43: public void setKeyType(String keyType) {
44: this .keyType = keyType;
45: }
46:
47: public Boolean isEmbeddedKey() {
48: return embeddedKey;
49: }
50:
51: public void setEmbeddedKey(Boolean value) {
52: this .embeddedKey = value;
53: }
54:
55: public String getValueType() {
56: return valueType;
57: }
58:
59: public void setValueType(String valueType) {
60: this .valueType = valueType;
61: }
62:
63: public Boolean isEmbeddedValue() {
64: return embeddedValue;
65: }
66:
67: public void setEmbeddedValue(Boolean value) {
68: this.embeddedValue = value;
69: }
70: }
|