db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r158179 [33/61] - in incubator/jdo/trunk/tck11: ./ assertions/ iut_jars/ test/ test/conf/ test/java/ test/java/org/ test/java/org/apache/ test/java/org/apache/jdo/ test/java/org/apache/jdo/tck/ test/java/org/apache/jdo/tck/api/ test/java/org/apache/jdo/tck/api/instancecallbacks/ test/java/org/apache/jdo/tck/api/jdohelper/ test/java/org/apache/jdo/tck/api/persistencemanager/ test/java/org/apache/jdo/tck/api/persistencemanagerfactory/ test/java/org/apache/jdo/tck/enhancement/ test/java/org/apache/jdo/tck/extents/ test/java/org/apache/jdo/tck/lifecycle/ test/java/org/apache/jdo/tck/lifecycle/nontransactional/ test/java/org/apache/jdo/tck/models/ test/java/org/apache/jdo/tck/models/embedded/ test/java/org/apache/jdo/tck/models/fieldtypes/ test/java/org/apache/jdo/tck/models/inheritance/ test/java/org/apache/jdo/tck/pc/ test/java/org/apache/jdo/tck/pc/company/ test/java/org/apache/jdo/tck/pc/fieldtypes/ test/java/org/apache/jdo/tck/pc/inheritance/ test/java/org/apache/jdo/tck/pc/instancecallbacks/ test/java/org/apache/jdo/tck/pc/lifecycle/ test/java/org/apache/jdo/tck/pc/mylib/ test/java/org/apache/jdo/tck/query/ test/java/org/apache/jdo/tck/query/operators/ test/java/org/apache/jdo/tck/transactions/ test/java/org/apache/jdo/tck/util/ test/jdo/ test/jdo/applicationidentity/ test/jdo/applicationidentity/org/ test/jdo/applicationidentity/org/apache/ test/jdo/applicationidentity/org/apache/jdo/ test/jdo/applicationidentity/org/apache/jdo/tck/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/lifecycle/ test/jdo/applicationidentity/org/apache/jdo/tck/pc/mylib/ test/jdo/datastoreidentity/ test/jdo/datastoreidentity/org/ test/jdo/datastoreidentity/org/apache/ test/jdo/datastoreidentity/org/apache/jdo/ test/jdo/datastoreidentity/org/apache/jdo/tck/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/lifecycle/ test/jdo/datastoreidentity/org/apache/jdo/tck/pc/mylib/
Date Sat, 19 Mar 2005 01:09:51 GMT
Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,366 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.io.Serializable;
+import java.util.List;
+
+public class ListCollections { 
+  public int identifier;
+  public List ListOfObject0;
+  public List ListOfObject1;
+  public List ListOfObject2;
+  public List ListOfSimpleClass3;
+  public List ListOfSimpleClass4;
+  public List ListOfSimpleClass5;
+  public List ListOfSimpleInterface6;
+  public List ListOfSimpleInterface7;
+  public List ListOfSimpleInterface8;
+  public List ListOfString9;
+  public List ListOfString10;
+  public List ListOfString11;
+  public List ListOfDate12;
+  public List ListOfDate13;
+  public List ListOfDate14;
+  public List ListOfLocale15;
+  public List ListOfLocale16;
+  public List ListOfLocale17;
+  public List ListOfBigDecimal18;
+  public List ListOfBigDecimal19;
+  public List ListOfBigDecimal20;
+  public List ListOfBigInteger21;
+  public List ListOfBigInteger22;
+  public List ListOfBigInteger23;
+  public List ListOfByte24;
+  public List ListOfByte25;
+  public List ListOfByte26;
+  public List ListOfDouble27;
+  public List ListOfDouble28;
+  public List ListOfDouble29;
+  public List ListOfFloat30;
+  public List ListOfFloat31;
+  public List ListOfFloat32;
+  public List ListOfInteger33;
+  public List ListOfInteger34;
+  public List ListOfInteger35;
+  public List ListOfLong36;
+  public List ListOfLong37;
+  public List ListOfLong38;
+  public List ListOfShort39;
+  public List ListOfShort40;
+  public List ListOfShort41;
+
+  public static final String [] fieldSpecs = { 
+  "public List ListOfObject0",
+  "embedded-element=true public List ListOfObject1",
+  "embedded-element=false public List ListOfObject2",
+  "public List ListOfSimpleClass3",
+  "embedded-element=true public List ListOfSimpleClass4",
+  "embedded-element=false public List ListOfSimpleClass5",
+  "public List ListOfSimpleInterface6",
+  "embedded-element=true public List ListOfSimpleInterface7",
+  "embedded-element=false public List ListOfSimpleInterface8",
+  "public List ListOfString9",
+  "embedded-element=true public List ListOfString10",
+  "embedded-element=false public List ListOfString11",
+  "public List ListOfDate12",
+  "embedded-element=true public List ListOfDate13",
+  "embedded-element=false public List ListOfDate14",
+  "public List ListOfLocale15",
+  "embedded-element=true public List ListOfLocale16",
+  "embedded-element=false public List ListOfLocale17",
+  "public List ListOfBigDecimal18",
+  "embedded-element=true public List ListOfBigDecimal19",
+  "embedded-element=false public List ListOfBigDecimal20",
+  "public List ListOfBigInteger21",
+  "embedded-element=true public List ListOfBigInteger22",
+  "embedded-element=false public List ListOfBigInteger23",
+  "public List ListOfByte24",
+  "embedded-element=true public List ListOfByte25",
+  "embedded-element=false public List ListOfByte26",
+  "public List ListOfDouble27",
+  "embedded-element=true public List ListOfDouble28",
+  "embedded-element=false public List ListOfDouble29",
+  "public List ListOfFloat30",
+  "embedded-element=true public List ListOfFloat31",
+  "embedded-element=false public List ListOfFloat32",
+  "public List ListOfInteger33",
+  "embedded-element=true public List ListOfInteger34",
+  "embedded-element=false public List ListOfInteger35",
+  "public List ListOfLong36",
+  "embedded-element=true public List ListOfLong37",
+  "embedded-element=false public List ListOfLong38",
+  "public List ListOfShort39",
+  "embedded-element=true public List ListOfShort40",
+  "embedded-element=false public List ListOfShort41"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public List get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return ListOfObject0;
+      case(1):
+        return ListOfObject1;
+      case(2):
+        return ListOfObject2;
+      case(3):
+        return ListOfSimpleClass3;
+      case(4):
+        return ListOfSimpleClass4;
+      case(5):
+        return ListOfSimpleClass5;
+      case(6):
+        return ListOfSimpleInterface6;
+      case(7):
+        return ListOfSimpleInterface7;
+      case(8):
+        return ListOfSimpleInterface8;
+      case(9):
+        return ListOfString9;
+      case(10):
+        return ListOfString10;
+      case(11):
+        return ListOfString11;
+      case(12):
+        return ListOfDate12;
+      case(13):
+        return ListOfDate13;
+      case(14):
+        return ListOfDate14;
+      case(15):
+        return ListOfLocale15;
+      case(16):
+        return ListOfLocale16;
+      case(17):
+        return ListOfLocale17;
+      case(18):
+        return ListOfBigDecimal18;
+      case(19):
+        return ListOfBigDecimal19;
+      case(20):
+        return ListOfBigDecimal20;
+      case(21):
+        return ListOfBigInteger21;
+      case(22):
+        return ListOfBigInteger22;
+      case(23):
+        return ListOfBigInteger23;
+      case(24):
+        return ListOfByte24;
+      case(25):
+        return ListOfByte25;
+      case(26):
+        return ListOfByte26;
+      case(27):
+        return ListOfDouble27;
+      case(28):
+        return ListOfDouble28;
+      case(29):
+        return ListOfDouble29;
+      case(30):
+        return ListOfFloat30;
+      case(31):
+        return ListOfFloat31;
+      case(32):
+        return ListOfFloat32;
+      case(33):
+        return ListOfInteger33;
+      case(34):
+        return ListOfInteger34;
+      case(35):
+        return ListOfInteger35;
+      case(36):
+        return ListOfLong36;
+      case(37):
+        return ListOfLong37;
+      case(38):
+        return ListOfLong38;
+      case(39):
+        return ListOfShort39;
+      case(40):
+        return ListOfShort40;
+      case(41):
+        return ListOfShort41;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,List value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        ListOfObject0= value;
+         break;
+      case(1):
+        ListOfObject1= value;
+         break;
+      case(2):
+        ListOfObject2= value;
+         break;
+      case(3):
+        ListOfSimpleClass3= value;
+         break;
+      case(4):
+        ListOfSimpleClass4= value;
+         break;
+      case(5):
+        ListOfSimpleClass5= value;
+         break;
+      case(6):
+        ListOfSimpleInterface6= value;
+         break;
+      case(7):
+        ListOfSimpleInterface7= value;
+         break;
+      case(8):
+        ListOfSimpleInterface8= value;
+         break;
+      case(9):
+        ListOfString9= value;
+         break;
+      case(10):
+        ListOfString10= value;
+         break;
+      case(11):
+        ListOfString11= value;
+         break;
+      case(12):
+        ListOfDate12= value;
+         break;
+      case(13):
+        ListOfDate13= value;
+         break;
+      case(14):
+        ListOfDate14= value;
+         break;
+      case(15):
+        ListOfLocale15= value;
+         break;
+      case(16):
+        ListOfLocale16= value;
+         break;
+      case(17):
+        ListOfLocale17= value;
+         break;
+      case(18):
+        ListOfBigDecimal18= value;
+         break;
+      case(19):
+        ListOfBigDecimal19= value;
+         break;
+      case(20):
+        ListOfBigDecimal20= value;
+         break;
+      case(21):
+        ListOfBigInteger21= value;
+         break;
+      case(22):
+        ListOfBigInteger22= value;
+         break;
+      case(23):
+        ListOfBigInteger23= value;
+         break;
+      case(24):
+        ListOfByte24= value;
+         break;
+      case(25):
+        ListOfByte25= value;
+         break;
+      case(26):
+        ListOfByte26= value;
+         break;
+      case(27):
+        ListOfDouble27= value;
+         break;
+      case(28):
+        ListOfDouble28= value;
+         break;
+      case(29):
+        ListOfDouble29= value;
+         break;
+      case(30):
+        ListOfFloat30= value;
+         break;
+      case(31):
+        ListOfFloat31= value;
+         break;
+      case(32):
+        ListOfFloat32= value;
+         break;
+      case(33):
+        ListOfInteger33= value;
+         break;
+      case(34):
+        ListOfInteger34= value;
+         break;
+      case(35):
+        ListOfInteger35= value;
+         break;
+      case(36):
+        ListOfLong36= value;
+         break;
+      case(37):
+        ListOfLong37= value;
+         break;
+      case(38):
+        ListOfLong38= value;
+         break;
+      case(39):
+        ListOfShort39= value;
+         break;
+      case(40):
+        ListOfShort40= value;
+         break;
+      case(41):
+        ListOfShort41= value;
+         break;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+    return true;
+  }
+
+    public static class Oid implements Serializable {
+        public int identifier;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { identifier = Integer.parseInt(s); }
+
+        public String toString() { return this.getClass().getName() + ": "  + identifier;}
+
+        public int hashCode() { return (int)identifier ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.identifier == this.identifier;
+            }
+            return false;
+        }
+
+    }   
+}

Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,954 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.io.Serializable;
+import java.util.Map;
+
+public class MapStringKeyCollections { 
+  public int identifier;
+  public Map MapOfString_Object0;
+  public Map MapOfString_Object1;
+  public Map MapOfString_Object2;
+  public Map MapOfString_SimpleClass3;
+  public Map MapOfString_SimpleClass4;
+  public Map MapOfString_SimpleClass5;
+  public Map MapOfString_SimpleInterface6;
+  public Map MapOfString_SimpleInterface7;
+  public Map MapOfString_SimpleInterface8;
+  public Map MapOfString_String9;
+  public Map MapOfString_String10;
+  public Map MapOfString_String11;
+  public Map MapOfString_Date12;
+  public Map MapOfString_Date13;
+  public Map MapOfString_Date14;
+  public Map MapOfString_Locale15;
+  public Map MapOfString_Locale16;
+  public Map MapOfString_Locale17;
+  public Map MapOfString_BigDecimal18;
+  public Map MapOfString_BigDecimal19;
+  public Map MapOfString_BigDecimal20;
+  public Map MapOfString_BigInteger21;
+  public Map MapOfString_BigInteger22;
+  public Map MapOfString_BigInteger23;
+  public Map MapOfString_Byte24;
+  public Map MapOfString_Byte25;
+  public Map MapOfString_Byte26;
+  public Map MapOfString_Double27;
+  public Map MapOfString_Double28;
+  public Map MapOfString_Double29;
+  public Map MapOfString_Float30;
+  public Map MapOfString_Float31;
+  public Map MapOfString_Float32;
+  public Map MapOfString_Integer33;
+  public Map MapOfString_Integer34;
+  public Map MapOfString_Integer35;
+  public Map MapOfString_Long36;
+  public Map MapOfString_Long37;
+  public Map MapOfString_Long38;
+  public Map MapOfString_Short39;
+  public Map MapOfString_Short40;
+  public Map MapOfString_Short41;
+  public Map MapOfString_Object42;
+  public Map MapOfString_Object43;
+  public Map MapOfString_Object44;
+  public Map MapOfString_SimpleClass45;
+  public Map MapOfString_SimpleClass46;
+  public Map MapOfString_SimpleClass47;
+  public Map MapOfString_SimpleInterface48;
+  public Map MapOfString_SimpleInterface49;
+  public Map MapOfString_SimpleInterface50;
+  public Map MapOfString_String51;
+  public Map MapOfString_String52;
+  public Map MapOfString_String53;
+  public Map MapOfString_Date54;
+  public Map MapOfString_Date55;
+  public Map MapOfString_Date56;
+  public Map MapOfString_Locale57;
+  public Map MapOfString_Locale58;
+  public Map MapOfString_Locale59;
+  public Map MapOfString_BigDecimal60;
+  public Map MapOfString_BigDecimal61;
+  public Map MapOfString_BigDecimal62;
+  public Map MapOfString_BigInteger63;
+  public Map MapOfString_BigInteger64;
+  public Map MapOfString_BigInteger65;
+  public Map MapOfString_Byte66;
+  public Map MapOfString_Byte67;
+  public Map MapOfString_Byte68;
+  public Map MapOfString_Double69;
+  public Map MapOfString_Double70;
+  public Map MapOfString_Double71;
+  public Map MapOfString_Float72;
+  public Map MapOfString_Float73;
+  public Map MapOfString_Float74;
+  public Map MapOfString_Integer75;
+  public Map MapOfString_Integer76;
+  public Map MapOfString_Integer77;
+  public Map MapOfString_Long78;
+  public Map MapOfString_Long79;
+  public Map MapOfString_Long80;
+  public Map MapOfString_Short81;
+  public Map MapOfString_Short82;
+  public Map MapOfString_Short83;
+  public Map MapOfString_Object84;
+  public Map MapOfString_Object85;
+  public Map MapOfString_Object86;
+  public Map MapOfString_SimpleClass87;
+  public Map MapOfString_SimpleClass88;
+  public Map MapOfString_SimpleClass89;
+  public Map MapOfString_SimpleInterface90;
+  public Map MapOfString_SimpleInterface91;
+  public Map MapOfString_SimpleInterface92;
+  public Map MapOfString_String93;
+  public Map MapOfString_String94;
+  public Map MapOfString_String95;
+  public Map MapOfString_Date96;
+  public Map MapOfString_Date97;
+  public Map MapOfString_Date98;
+  public Map MapOfString_Locale99;
+  public Map MapOfString_Locale100;
+  public Map MapOfString_Locale101;
+  public Map MapOfString_BigDecimal102;
+  public Map MapOfString_BigDecimal103;
+  public Map MapOfString_BigDecimal104;
+  public Map MapOfString_BigInteger105;
+  public Map MapOfString_BigInteger106;
+  public Map MapOfString_BigInteger107;
+  public Map MapOfString_Byte108;
+  public Map MapOfString_Byte109;
+  public Map MapOfString_Byte110;
+  public Map MapOfString_Double111;
+  public Map MapOfString_Double112;
+  public Map MapOfString_Double113;
+  public Map MapOfString_Float114;
+  public Map MapOfString_Float115;
+  public Map MapOfString_Float116;
+  public Map MapOfString_Integer117;
+  public Map MapOfString_Integer118;
+  public Map MapOfString_Integer119;
+  public Map MapOfString_Long120;
+  public Map MapOfString_Long121;
+  public Map MapOfString_Long122;
+  public Map MapOfString_Short123;
+  public Map MapOfString_Short124;
+  public Map MapOfString_Short125;
+
+  public static final String [] fieldSpecs = { 
+  "public Map MapOfString_Object0",
+  "embedded-value=true public Map MapOfString_Object1",
+  "embedded-value=false public Map MapOfString_Object2",
+  "public Map MapOfString_SimpleClass3",
+  "embedded-value=true public Map MapOfString_SimpleClass4",
+  "embedded-value=false public Map MapOfString_SimpleClass5",
+  "public Map MapOfString_SimpleInterface6",
+  "embedded-value=true public Map MapOfString_SimpleInterface7",
+  "embedded-value=false public Map MapOfString_SimpleInterface8",
+  "public Map MapOfString_String9",
+  "embedded-value=true public Map MapOfString_String10",
+  "embedded-value=false public Map MapOfString_String11",
+  "public Map MapOfString_Date12",
+  "embedded-value=true public Map MapOfString_Date13",
+  "embedded-value=false public Map MapOfString_Date14",
+  "public Map MapOfString_Locale15",
+  "embedded-value=true public Map MapOfString_Locale16",
+  "embedded-value=false public Map MapOfString_Locale17",
+  "public Map MapOfString_BigDecimal18",
+  "embedded-value=true public Map MapOfString_BigDecimal19",
+  "embedded-value=false public Map MapOfString_BigDecimal20",
+  "public Map MapOfString_BigInteger21",
+  "embedded-value=true public Map MapOfString_BigInteger22",
+  "embedded-value=false public Map MapOfString_BigInteger23",
+  "public Map MapOfString_Byte24",
+  "embedded-value=true public Map MapOfString_Byte25",
+  "embedded-value=false public Map MapOfString_Byte26",
+  "public Map MapOfString_Double27",
+  "embedded-value=true public Map MapOfString_Double28",
+  "embedded-value=false public Map MapOfString_Double29",
+  "public Map MapOfString_Float30",
+  "embedded-value=true public Map MapOfString_Float31",
+  "embedded-value=false public Map MapOfString_Float32",
+  "public Map MapOfString_Integer33",
+  "embedded-value=true public Map MapOfString_Integer34",
+  "embedded-value=false public Map MapOfString_Integer35",
+  "public Map MapOfString_Long36",
+  "embedded-value=true public Map MapOfString_Long37",
+  "embedded-value=false public Map MapOfString_Long38",
+  "public Map MapOfString_Short39",
+  "embedded-value=true public Map MapOfString_Short40",
+  "embedded-value=false public Map MapOfString_Short41",
+  "embedded-key=true  public Map MapOfString_Object42",
+  "embedded-key=true embedded-value=true public Map MapOfString_Object43",
+  "embedded-key=true embedded-value=false public Map MapOfString_Object44",
+  "embedded-key=true  public Map MapOfString_SimpleClass45",
+  "embedded-key=true embedded-value=true public Map MapOfString_SimpleClass46",
+  "embedded-key=true embedded-value=false public Map MapOfString_SimpleClass47",
+  "embedded-key=true  public Map MapOfString_SimpleInterface48",
+  "embedded-key=true embedded-value=true public Map MapOfString_SimpleInterface49",
+  "embedded-key=true embedded-value=false public Map MapOfString_SimpleInterface50",
+  "embedded-key=true  public Map MapOfString_String51",
+  "embedded-key=true embedded-value=true public Map MapOfString_String52",
+  "embedded-key=true embedded-value=false public Map MapOfString_String53",
+  "embedded-key=true  public Map MapOfString_Date54",
+  "embedded-key=true embedded-value=true public Map MapOfString_Date55",
+  "embedded-key=true embedded-value=false public Map MapOfString_Date56",
+  "embedded-key=true  public Map MapOfString_Locale57",
+  "embedded-key=true embedded-value=true public Map MapOfString_Locale58",
+  "embedded-key=true embedded-value=false public Map MapOfString_Locale59",
+  "embedded-key=true  public Map MapOfString_BigDecimal60",
+  "embedded-key=true embedded-value=true public Map MapOfString_BigDecimal61",
+  "embedded-key=true embedded-value=false public Map MapOfString_BigDecimal62",
+  "embedded-key=true  public Map MapOfString_BigInteger63",
+  "embedded-key=true embedded-value=true public Map MapOfString_BigInteger64",
+  "embedded-key=true embedded-value=false public Map MapOfString_BigInteger65",
+  "embedded-key=true  public Map MapOfString_Byte66",
+  "embedded-key=true embedded-value=true public Map MapOfString_Byte67",
+  "embedded-key=true embedded-value=false public Map MapOfString_Byte68",
+  "embedded-key=true  public Map MapOfString_Double69",
+  "embedded-key=true embedded-value=true public Map MapOfString_Double70",
+  "embedded-key=true embedded-value=false public Map MapOfString_Double71",
+  "embedded-key=true  public Map MapOfString_Float72",
+  "embedded-key=true embedded-value=true public Map MapOfString_Float73",
+  "embedded-key=true embedded-value=false public Map MapOfString_Float74",
+  "embedded-key=true  public Map MapOfString_Integer75",
+  "embedded-key=true embedded-value=true public Map MapOfString_Integer76",
+  "embedded-key=true embedded-value=false public Map MapOfString_Integer77",
+  "embedded-key=true  public Map MapOfString_Long78",
+  "embedded-key=true embedded-value=true public Map MapOfString_Long79",
+  "embedded-key=true embedded-value=false public Map MapOfString_Long80",
+  "embedded-key=true  public Map MapOfString_Short81",
+  "embedded-key=true embedded-value=true public Map MapOfString_Short82",
+  "embedded-key=true embedded-value=false public Map MapOfString_Short83",
+  "embedded-key=false  public Map MapOfString_Object84",
+  "embedded-key=false embedded-value=true public Map MapOfString_Object85",
+  "embedded-key=false embedded-value=false public Map MapOfString_Object86",
+  "embedded-key=false  public Map MapOfString_SimpleClass87",
+  "embedded-key=false embedded-value=true public Map MapOfString_SimpleClass88",
+  "embedded-key=false embedded-value=false public Map MapOfString_SimpleClass89",
+  "embedded-key=false  public Map MapOfString_SimpleInterface90",
+  "embedded-key=false embedded-value=true public Map MapOfString_SimpleInterface91",
+  "embedded-key=false embedded-value=false public Map MapOfString_SimpleInterface92",
+  "embedded-key=false  public Map MapOfString_String93",
+  "embedded-key=false embedded-value=true public Map MapOfString_String94",
+  "embedded-key=false embedded-value=false public Map MapOfString_String95",
+  "embedded-key=false  public Map MapOfString_Date96",
+  "embedded-key=false embedded-value=true public Map MapOfString_Date97",
+  "embedded-key=false embedded-value=false public Map MapOfString_Date98",
+  "embedded-key=false  public Map MapOfString_Locale99",
+  "embedded-key=false embedded-value=true public Map MapOfString_Locale100",
+  "embedded-key=false embedded-value=false public Map MapOfString_Locale101",
+  "embedded-key=false  public Map MapOfString_BigDecimal102",
+  "embedded-key=false embedded-value=true public Map MapOfString_BigDecimal103",
+  "embedded-key=false embedded-value=false public Map MapOfString_BigDecimal104",
+  "embedded-key=false  public Map MapOfString_BigInteger105",
+  "embedded-key=false embedded-value=true public Map MapOfString_BigInteger106",
+  "embedded-key=false embedded-value=false public Map MapOfString_BigInteger107",
+  "embedded-key=false  public Map MapOfString_Byte108",
+  "embedded-key=false embedded-value=true public Map MapOfString_Byte109",
+  "embedded-key=false embedded-value=false public Map MapOfString_Byte110",
+  "embedded-key=false  public Map MapOfString_Double111",
+  "embedded-key=false embedded-value=true public Map MapOfString_Double112",
+  "embedded-key=false embedded-value=false public Map MapOfString_Double113",
+  "embedded-key=false  public Map MapOfString_Float114",
+  "embedded-key=false embedded-value=true public Map MapOfString_Float115",
+  "embedded-key=false embedded-value=false public Map MapOfString_Float116",
+  "embedded-key=false  public Map MapOfString_Integer117",
+  "embedded-key=false embedded-value=true public Map MapOfString_Integer118",
+  "embedded-key=false embedded-value=false public Map MapOfString_Integer119",
+  "embedded-key=false  public Map MapOfString_Long120",
+  "embedded-key=false embedded-value=true public Map MapOfString_Long121",
+  "embedded-key=false embedded-value=false public Map MapOfString_Long122",
+  "embedded-key=false  public Map MapOfString_Short123",
+  "embedded-key=false embedded-value=true public Map MapOfString_Short124",
+  "embedded-key=false embedded-value=false public Map MapOfString_Short125"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Map get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return MapOfString_Object0;
+      case(1):
+        return MapOfString_Object1;
+      case(2):
+        return MapOfString_Object2;
+      case(3):
+        return MapOfString_SimpleClass3;
+      case(4):
+        return MapOfString_SimpleClass4;
+      case(5):
+        return MapOfString_SimpleClass5;
+      case(6):
+        return MapOfString_SimpleInterface6;
+      case(7):
+        return MapOfString_SimpleInterface7;
+      case(8):
+        return MapOfString_SimpleInterface8;
+      case(9):
+        return MapOfString_String9;
+      case(10):
+        return MapOfString_String10;
+      case(11):
+        return MapOfString_String11;
+      case(12):
+        return MapOfString_Date12;
+      case(13):
+        return MapOfString_Date13;
+      case(14):
+        return MapOfString_Date14;
+      case(15):
+        return MapOfString_Locale15;
+      case(16):
+        return MapOfString_Locale16;
+      case(17):
+        return MapOfString_Locale17;
+      case(18):
+        return MapOfString_BigDecimal18;
+      case(19):
+        return MapOfString_BigDecimal19;
+      case(20):
+        return MapOfString_BigDecimal20;
+      case(21):
+        return MapOfString_BigInteger21;
+      case(22):
+        return MapOfString_BigInteger22;
+      case(23):
+        return MapOfString_BigInteger23;
+      case(24):
+        return MapOfString_Byte24;
+      case(25):
+        return MapOfString_Byte25;
+      case(26):
+        return MapOfString_Byte26;
+      case(27):
+        return MapOfString_Double27;
+      case(28):
+        return MapOfString_Double28;
+      case(29):
+        return MapOfString_Double29;
+      case(30):
+        return MapOfString_Float30;
+      case(31):
+        return MapOfString_Float31;
+      case(32):
+        return MapOfString_Float32;
+      case(33):
+        return MapOfString_Integer33;
+      case(34):
+        return MapOfString_Integer34;
+      case(35):
+        return MapOfString_Integer35;
+      case(36):
+        return MapOfString_Long36;
+      case(37):
+        return MapOfString_Long37;
+      case(38):
+        return MapOfString_Long38;
+      case(39):
+        return MapOfString_Short39;
+      case(40):
+        return MapOfString_Short40;
+      case(41):
+        return MapOfString_Short41;
+      case(42):
+        return MapOfString_Object42;
+      case(43):
+        return MapOfString_Object43;
+      case(44):
+        return MapOfString_Object44;
+      case(45):
+        return MapOfString_SimpleClass45;
+      case(46):
+        return MapOfString_SimpleClass46;
+      case(47):
+        return MapOfString_SimpleClass47;
+      case(48):
+        return MapOfString_SimpleInterface48;
+      case(49):
+        return MapOfString_SimpleInterface49;
+      case(50):
+        return MapOfString_SimpleInterface50;
+      case(51):
+        return MapOfString_String51;
+      case(52):
+        return MapOfString_String52;
+      case(53):
+        return MapOfString_String53;
+      case(54):
+        return MapOfString_Date54;
+      case(55):
+        return MapOfString_Date55;
+      case(56):
+        return MapOfString_Date56;
+      case(57):
+        return MapOfString_Locale57;
+      case(58):
+        return MapOfString_Locale58;
+      case(59):
+        return MapOfString_Locale59;
+      case(60):
+        return MapOfString_BigDecimal60;
+      case(61):
+        return MapOfString_BigDecimal61;
+      case(62):
+        return MapOfString_BigDecimal62;
+      case(63):
+        return MapOfString_BigInteger63;
+      case(64):
+        return MapOfString_BigInteger64;
+      case(65):
+        return MapOfString_BigInteger65;
+      case(66):
+        return MapOfString_Byte66;
+      case(67):
+        return MapOfString_Byte67;
+      case(68):
+        return MapOfString_Byte68;
+      case(69):
+        return MapOfString_Double69;
+      case(70):
+        return MapOfString_Double70;
+      case(71):
+        return MapOfString_Double71;
+      case(72):
+        return MapOfString_Float72;
+      case(73):
+        return MapOfString_Float73;
+      case(74):
+        return MapOfString_Float74;
+      case(75):
+        return MapOfString_Integer75;
+      case(76):
+        return MapOfString_Integer76;
+      case(77):
+        return MapOfString_Integer77;
+      case(78):
+        return MapOfString_Long78;
+      case(79):
+        return MapOfString_Long79;
+      case(80):
+        return MapOfString_Long80;
+      case(81):
+        return MapOfString_Short81;
+      case(82):
+        return MapOfString_Short82;
+      case(83):
+        return MapOfString_Short83;
+      case(84):
+        return MapOfString_Object84;
+      case(85):
+        return MapOfString_Object85;
+      case(86):
+        return MapOfString_Object86;
+      case(87):
+        return MapOfString_SimpleClass87;
+      case(88):
+        return MapOfString_SimpleClass88;
+      case(89):
+        return MapOfString_SimpleClass89;
+      case(90):
+        return MapOfString_SimpleInterface90;
+      case(91):
+        return MapOfString_SimpleInterface91;
+      case(92):
+        return MapOfString_SimpleInterface92;
+      case(93):
+        return MapOfString_String93;
+      case(94):
+        return MapOfString_String94;
+      case(95):
+        return MapOfString_String95;
+      case(96):
+        return MapOfString_Date96;
+      case(97):
+        return MapOfString_Date97;
+      case(98):
+        return MapOfString_Date98;
+      case(99):
+        return MapOfString_Locale99;
+      case(100):
+        return MapOfString_Locale100;
+      case(101):
+        return MapOfString_Locale101;
+      case(102):
+        return MapOfString_BigDecimal102;
+      case(103):
+        return MapOfString_BigDecimal103;
+      case(104):
+        return MapOfString_BigDecimal104;
+      case(105):
+        return MapOfString_BigInteger105;
+      case(106):
+        return MapOfString_BigInteger106;
+      case(107):
+        return MapOfString_BigInteger107;
+      case(108):
+        return MapOfString_Byte108;
+      case(109):
+        return MapOfString_Byte109;
+      case(110):
+        return MapOfString_Byte110;
+      case(111):
+        return MapOfString_Double111;
+      case(112):
+        return MapOfString_Double112;
+      case(113):
+        return MapOfString_Double113;
+      case(114):
+        return MapOfString_Float114;
+      case(115):
+        return MapOfString_Float115;
+      case(116):
+        return MapOfString_Float116;
+      case(117):
+        return MapOfString_Integer117;
+      case(118):
+        return MapOfString_Integer118;
+      case(119):
+        return MapOfString_Integer119;
+      case(120):
+        return MapOfString_Long120;
+      case(121):
+        return MapOfString_Long121;
+      case(122):
+        return MapOfString_Long122;
+      case(123):
+        return MapOfString_Short123;
+      case(124):
+        return MapOfString_Short124;
+      case(125):
+        return MapOfString_Short125;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Map value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        MapOfString_Object0= value;
+         break;
+      case(1):
+        MapOfString_Object1= value;
+         break;
+      case(2):
+        MapOfString_Object2= value;
+         break;
+      case(3):
+        MapOfString_SimpleClass3= value;
+         break;
+      case(4):
+        MapOfString_SimpleClass4= value;
+         break;
+      case(5):
+        MapOfString_SimpleClass5= value;
+         break;
+      case(6):
+        MapOfString_SimpleInterface6= value;
+         break;
+      case(7):
+        MapOfString_SimpleInterface7= value;
+         break;
+      case(8):
+        MapOfString_SimpleInterface8= value;
+         break;
+      case(9):
+        MapOfString_String9= value;
+         break;
+      case(10):
+        MapOfString_String10= value;
+         break;
+      case(11):
+        MapOfString_String11= value;
+         break;
+      case(12):
+        MapOfString_Date12= value;
+         break;
+      case(13):
+        MapOfString_Date13= value;
+         break;
+      case(14):
+        MapOfString_Date14= value;
+         break;
+      case(15):
+        MapOfString_Locale15= value;
+         break;
+      case(16):
+        MapOfString_Locale16= value;
+         break;
+      case(17):
+        MapOfString_Locale17= value;
+         break;
+      case(18):
+        MapOfString_BigDecimal18= value;
+         break;
+      case(19):
+        MapOfString_BigDecimal19= value;
+         break;
+      case(20):
+        MapOfString_BigDecimal20= value;
+         break;
+      case(21):
+        MapOfString_BigInteger21= value;
+         break;
+      case(22):
+        MapOfString_BigInteger22= value;
+         break;
+      case(23):
+        MapOfString_BigInteger23= value;
+         break;
+      case(24):
+        MapOfString_Byte24= value;
+         break;
+      case(25):
+        MapOfString_Byte25= value;
+         break;
+      case(26):
+        MapOfString_Byte26= value;
+         break;
+      case(27):
+        MapOfString_Double27= value;
+         break;
+      case(28):
+        MapOfString_Double28= value;
+         break;
+      case(29):
+        MapOfString_Double29= value;
+         break;
+      case(30):
+        MapOfString_Float30= value;
+         break;
+      case(31):
+        MapOfString_Float31= value;
+         break;
+      case(32):
+        MapOfString_Float32= value;
+         break;
+      case(33):
+        MapOfString_Integer33= value;
+         break;
+      case(34):
+        MapOfString_Integer34= value;
+         break;
+      case(35):
+        MapOfString_Integer35= value;
+         break;
+      case(36):
+        MapOfString_Long36= value;
+         break;
+      case(37):
+        MapOfString_Long37= value;
+         break;
+      case(38):
+        MapOfString_Long38= value;
+         break;
+      case(39):
+        MapOfString_Short39= value;
+         break;
+      case(40):
+        MapOfString_Short40= value;
+         break;
+      case(41):
+        MapOfString_Short41= value;
+         break;
+      case(42):
+        MapOfString_Object42= value;
+         break;
+      case(43):
+        MapOfString_Object43= value;
+         break;
+      case(44):
+        MapOfString_Object44= value;
+         break;
+      case(45):
+        MapOfString_SimpleClass45= value;
+         break;
+      case(46):
+        MapOfString_SimpleClass46= value;
+         break;
+      case(47):
+        MapOfString_SimpleClass47= value;
+         break;
+      case(48):
+        MapOfString_SimpleInterface48= value;
+         break;
+      case(49):
+        MapOfString_SimpleInterface49= value;
+         break;
+      case(50):
+        MapOfString_SimpleInterface50= value;
+         break;
+      case(51):
+        MapOfString_String51= value;
+         break;
+      case(52):
+        MapOfString_String52= value;
+         break;
+      case(53):
+        MapOfString_String53= value;
+         break;
+      case(54):
+        MapOfString_Date54= value;
+         break;
+      case(55):
+        MapOfString_Date55= value;
+         break;
+      case(56):
+        MapOfString_Date56= value;
+         break;
+      case(57):
+        MapOfString_Locale57= value;
+         break;
+      case(58):
+        MapOfString_Locale58= value;
+         break;
+      case(59):
+        MapOfString_Locale59= value;
+         break;
+      case(60):
+        MapOfString_BigDecimal60= value;
+         break;
+      case(61):
+        MapOfString_BigDecimal61= value;
+         break;
+      case(62):
+        MapOfString_BigDecimal62= value;
+         break;
+      case(63):
+        MapOfString_BigInteger63= value;
+         break;
+      case(64):
+        MapOfString_BigInteger64= value;
+         break;
+      case(65):
+        MapOfString_BigInteger65= value;
+         break;
+      case(66):
+        MapOfString_Byte66= value;
+         break;
+      case(67):
+        MapOfString_Byte67= value;
+         break;
+      case(68):
+        MapOfString_Byte68= value;
+         break;
+      case(69):
+        MapOfString_Double69= value;
+         break;
+      case(70):
+        MapOfString_Double70= value;
+         break;
+      case(71):
+        MapOfString_Double71= value;
+         break;
+      case(72):
+        MapOfString_Float72= value;
+         break;
+      case(73):
+        MapOfString_Float73= value;
+         break;
+      case(74):
+        MapOfString_Float74= value;
+         break;
+      case(75):
+        MapOfString_Integer75= value;
+         break;
+      case(76):
+        MapOfString_Integer76= value;
+         break;
+      case(77):
+        MapOfString_Integer77= value;
+         break;
+      case(78):
+        MapOfString_Long78= value;
+         break;
+      case(79):
+        MapOfString_Long79= value;
+         break;
+      case(80):
+        MapOfString_Long80= value;
+         break;
+      case(81):
+        MapOfString_Short81= value;
+         break;
+      case(82):
+        MapOfString_Short82= value;
+         break;
+      case(83):
+        MapOfString_Short83= value;
+         break;
+      case(84):
+        MapOfString_Object84= value;
+         break;
+      case(85):
+        MapOfString_Object85= value;
+         break;
+      case(86):
+        MapOfString_Object86= value;
+         break;
+      case(87):
+        MapOfString_SimpleClass87= value;
+         break;
+      case(88):
+        MapOfString_SimpleClass88= value;
+         break;
+      case(89):
+        MapOfString_SimpleClass89= value;
+         break;
+      case(90):
+        MapOfString_SimpleInterface90= value;
+         break;
+      case(91):
+        MapOfString_SimpleInterface91= value;
+         break;
+      case(92):
+        MapOfString_SimpleInterface92= value;
+         break;
+      case(93):
+        MapOfString_String93= value;
+         break;
+      case(94):
+        MapOfString_String94= value;
+         break;
+      case(95):
+        MapOfString_String95= value;
+         break;
+      case(96):
+        MapOfString_Date96= value;
+         break;
+      case(97):
+        MapOfString_Date97= value;
+         break;
+      case(98):
+        MapOfString_Date98= value;
+         break;
+      case(99):
+        MapOfString_Locale99= value;
+         break;
+      case(100):
+        MapOfString_Locale100= value;
+         break;
+      case(101):
+        MapOfString_Locale101= value;
+         break;
+      case(102):
+        MapOfString_BigDecimal102= value;
+         break;
+      case(103):
+        MapOfString_BigDecimal103= value;
+         break;
+      case(104):
+        MapOfString_BigDecimal104= value;
+         break;
+      case(105):
+        MapOfString_BigInteger105= value;
+         break;
+      case(106):
+        MapOfString_BigInteger106= value;
+         break;
+      case(107):
+        MapOfString_BigInteger107= value;
+         break;
+      case(108):
+        MapOfString_Byte108= value;
+         break;
+      case(109):
+        MapOfString_Byte109= value;
+         break;
+      case(110):
+        MapOfString_Byte110= value;
+         break;
+      case(111):
+        MapOfString_Double111= value;
+         break;
+      case(112):
+        MapOfString_Double112= value;
+         break;
+      case(113):
+        MapOfString_Double113= value;
+         break;
+      case(114):
+        MapOfString_Float114= value;
+         break;
+      case(115):
+        MapOfString_Float115= value;
+         break;
+      case(116):
+        MapOfString_Float116= value;
+         break;
+      case(117):
+        MapOfString_Integer117= value;
+         break;
+      case(118):
+        MapOfString_Integer118= value;
+         break;
+      case(119):
+        MapOfString_Integer119= value;
+         break;
+      case(120):
+        MapOfString_Long120= value;
+         break;
+      case(121):
+        MapOfString_Long121= value;
+         break;
+      case(122):
+        MapOfString_Long122= value;
+         break;
+      case(123):
+        MapOfString_Short123= value;
+         break;
+      case(124):
+        MapOfString_Short124= value;
+         break;
+      case(125):
+        MapOfString_Short125= value;
+         break;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+    return true;
+  }
+
+    public static class Oid implements Serializable {
+        public int identifier;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { identifier = Integer.parseInt(s); }
+
+        public String toString() { return this.getClass().getName() + ": "  + identifier;}
+
+        public int hashCode() { return (int)identifier ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.identifier == this.identifier;
+            }
+            return false;
+        }
+
+    }   
+}

Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,891 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.io.Serializable;
+import java.util.Map;
+
+public class MapStringValueCollections { 
+  public int identifier;
+  public Map MapOfObject_String0;
+  public Map MapOfObject_String1;
+  public Map MapOfObject_String2;
+  public Map MapOfObject_String3;
+  public Map MapOfObject_String4;
+  public Map MapOfObject_String5;
+  public Map MapOfObject_String6;
+  public Map MapOfObject_String7;
+  public Map MapOfObject_String8;
+  public Map MapOfSimpleClass_String9;
+  public Map MapOfSimpleClass_String10;
+  public Map MapOfSimpleClass_String11;
+  public Map MapOfSimpleClass_String12;
+  public Map MapOfSimpleClass_String13;
+  public Map MapOfSimpleClass_String14;
+  public Map MapOfSimpleClass_String15;
+  public Map MapOfSimpleClass_String16;
+  public Map MapOfSimpleClass_String17;
+  public Map MapOfSimpleInterface_String18;
+  public Map MapOfSimpleInterface_String19;
+  public Map MapOfSimpleInterface_String20;
+  public Map MapOfSimpleInterface_String21;
+  public Map MapOfSimpleInterface_String22;
+  public Map MapOfSimpleInterface_String23;
+  public Map MapOfSimpleInterface_String24;
+  public Map MapOfSimpleInterface_String25;
+  public Map MapOfSimpleInterface_String26;
+  public Map MapOfString_String27;
+  public Map MapOfString_String28;
+  public Map MapOfString_String29;
+  public Map MapOfString_String30;
+  public Map MapOfString_String31;
+  public Map MapOfString_String32;
+  public Map MapOfString_String33;
+  public Map MapOfString_String34;
+  public Map MapOfString_String35;
+  public Map MapOfDate_String36;
+  public Map MapOfDate_String37;
+  public Map MapOfDate_String38;
+  public Map MapOfDate_String39;
+  public Map MapOfDate_String40;
+  public Map MapOfDate_String41;
+  public Map MapOfDate_String42;
+  public Map MapOfDate_String43;
+  public Map MapOfDate_String44;
+  public Map MapOfBigDecimal_String45;
+  public Map MapOfBigDecimal_String46;
+  public Map MapOfBigDecimal_String47;
+  public Map MapOfBigDecimal_String48;
+  public Map MapOfBigDecimal_String49;
+  public Map MapOfBigDecimal_String50;
+  public Map MapOfBigDecimal_String51;
+  public Map MapOfBigDecimal_String52;
+  public Map MapOfBigDecimal_String53;
+  public Map MapOfBigInteger_String54;
+  public Map MapOfBigInteger_String55;
+  public Map MapOfBigInteger_String56;
+  public Map MapOfBigInteger_String57;
+  public Map MapOfBigInteger_String58;
+  public Map MapOfBigInteger_String59;
+  public Map MapOfBigInteger_String60;
+  public Map MapOfBigInteger_String61;
+  public Map MapOfBigInteger_String62;
+  public Map MapOfByte_String63;
+  public Map MapOfByte_String64;
+  public Map MapOfByte_String65;
+  public Map MapOfByte_String66;
+  public Map MapOfByte_String67;
+  public Map MapOfByte_String68;
+  public Map MapOfByte_String69;
+  public Map MapOfByte_String70;
+  public Map MapOfByte_String71;
+  public Map MapOfDouble_String72;
+  public Map MapOfDouble_String73;
+  public Map MapOfDouble_String74;
+  public Map MapOfDouble_String75;
+  public Map MapOfDouble_String76;
+  public Map MapOfDouble_String77;
+  public Map MapOfDouble_String78;
+  public Map MapOfDouble_String79;
+  public Map MapOfDouble_String80;
+  public Map MapOfFloat_String81;
+  public Map MapOfFloat_String82;
+  public Map MapOfFloat_String83;
+  public Map MapOfFloat_String84;
+  public Map MapOfFloat_String85;
+  public Map MapOfFloat_String86;
+  public Map MapOfFloat_String87;
+  public Map MapOfFloat_String88;
+  public Map MapOfFloat_String89;
+  public Map MapOfInteger_String90;
+  public Map MapOfInteger_String91;
+  public Map MapOfInteger_String92;
+  public Map MapOfInteger_String93;
+  public Map MapOfInteger_String94;
+  public Map MapOfInteger_String95;
+  public Map MapOfInteger_String96;
+  public Map MapOfInteger_String97;
+  public Map MapOfInteger_String98;
+  public Map MapOfLong_String99;
+  public Map MapOfLong_String100;
+  public Map MapOfLong_String101;
+  public Map MapOfLong_String102;
+  public Map MapOfLong_String103;
+  public Map MapOfLong_String104;
+  public Map MapOfLong_String105;
+  public Map MapOfLong_String106;
+  public Map MapOfLong_String107;
+  public Map MapOfShort_String108;
+  public Map MapOfShort_String109;
+  public Map MapOfShort_String110;
+  public Map MapOfShort_String111;
+  public Map MapOfShort_String112;
+  public Map MapOfShort_String113;
+  public Map MapOfShort_String114;
+  public Map MapOfShort_String115;
+  public Map MapOfShort_String116;
+
+  public static final String [] fieldSpecs = { 
+  "public Map MapOfObject_String0",
+  "embedded-value=true public Map MapOfObject_String1",
+  "embedded-value=false public Map MapOfObject_String2",
+  "embedded-key=true  public Map MapOfObject_String3",
+  "embedded-key=true embedded-value=true public Map MapOfObject_String4",
+  "embedded-key=true embedded-value=false public Map MapOfObject_String5",
+  "embedded-key=false  public Map MapOfObject_String6",
+  "embedded-key=false embedded-value=true public Map MapOfObject_String7",
+  "embedded-key=false embedded-value=false public Map MapOfObject_String8",
+  "public Map MapOfSimpleClass_String9",
+  "embedded-value=true public Map MapOfSimpleClass_String10",
+  "embedded-value=false public Map MapOfSimpleClass_String11",
+  "embedded-key=true  public Map MapOfSimpleClass_String12",
+  "embedded-key=true embedded-value=true public Map MapOfSimpleClass_String13",
+  "embedded-key=true embedded-value=false public Map MapOfSimpleClass_String14",
+  "embedded-key=false  public Map MapOfSimpleClass_String15",
+  "embedded-key=false embedded-value=true public Map MapOfSimpleClass_String16",
+  "embedded-key=false embedded-value=false public Map MapOfSimpleClass_String17",
+  "public Map MapOfSimpleInterface_String18",
+  "embedded-value=true public Map MapOfSimpleInterface_String19",
+  "embedded-value=false public Map MapOfSimpleInterface_String20",
+  "embedded-key=true  public Map MapOfSimpleInterface_String21",
+  "embedded-key=true embedded-value=true public Map MapOfSimpleInterface_String22",
+  "embedded-key=true embedded-value=false public Map MapOfSimpleInterface_String23",
+  "embedded-key=false  public Map MapOfSimpleInterface_String24",
+  "embedded-key=false embedded-value=true public Map MapOfSimpleInterface_String25",
+  "embedded-key=false embedded-value=false public Map MapOfSimpleInterface_String26",
+  "public Map MapOfString_String27",
+  "embedded-value=true public Map MapOfString_String28",
+  "embedded-value=false public Map MapOfString_String29",
+  "embedded-key=true  public Map MapOfString_String30",
+  "embedded-key=true embedded-value=true public Map MapOfString_String31",
+  "embedded-key=true embedded-value=false public Map MapOfString_String32",
+  "embedded-key=false  public Map MapOfString_String33",
+  "embedded-key=false embedded-value=true public Map MapOfString_String34",
+  "embedded-key=false embedded-value=false public Map MapOfString_String35",
+  "public Map MapOfDate_String36",
+  "embedded-value=true public Map MapOfDate_String37",
+  "embedded-value=false public Map MapOfDate_String38",
+  "embedded-key=true  public Map MapOfDate_String39",
+  "embedded-key=true embedded-value=true public Map MapOfDate_String40",
+  "embedded-key=true embedded-value=false public Map MapOfDate_String41",
+  "embedded-key=false  public Map MapOfDate_String42",
+  "embedded-key=false embedded-value=true public Map MapOfDate_String43",
+  "embedded-key=false embedded-value=false public Map MapOfDate_String44",
+  "public Map MapOfBigDecimal_String45",
+  "embedded-value=true public Map MapOfBigDecimal_String46",
+  "embedded-value=false public Map MapOfBigDecimal_String47",
+  "embedded-key=true  public Map MapOfBigDecimal_String48",
+  "embedded-key=true embedded-value=true public Map MapOfBigDecimal_String49",
+  "embedded-key=true embedded-value=false public Map MapOfBigDecimal_String50",
+  "embedded-key=false  public Map MapOfBigDecimal_String51",
+  "embedded-key=false embedded-value=true public Map MapOfBigDecimal_String52",
+  "embedded-key=false embedded-value=false public Map MapOfBigDecimal_String53",
+  "public Map MapOfBigInteger_String54",
+  "embedded-value=true public Map MapOfBigInteger_String55",
+  "embedded-value=false public Map MapOfBigInteger_String56",
+  "embedded-key=true  public Map MapOfBigInteger_String57",
+  "embedded-key=true embedded-value=true public Map MapOfBigInteger_String58",
+  "embedded-key=true embedded-value=false public Map MapOfBigInteger_String59",
+  "embedded-key=false  public Map MapOfBigInteger_String60",
+  "embedded-key=false embedded-value=true public Map MapOfBigInteger_String61",
+  "embedded-key=false embedded-value=false public Map MapOfBigInteger_String62",
+  "public Map MapOfByte_String63",
+  "embedded-value=true public Map MapOfByte_String64",
+  "embedded-value=false public Map MapOfByte_String65",
+  "embedded-key=true  public Map MapOfByte_String66",
+  "embedded-key=true embedded-value=true public Map MapOfByte_String67",
+  "embedded-key=true embedded-value=false public Map MapOfByte_String68",
+  "embedded-key=false  public Map MapOfByte_String69",
+  "embedded-key=false embedded-value=true public Map MapOfByte_String70",
+  "embedded-key=false embedded-value=false public Map MapOfByte_String71",
+  "public Map MapOfDouble_String72",
+  "embedded-value=true public Map MapOfDouble_String73",
+  "embedded-value=false public Map MapOfDouble_String74",
+  "embedded-key=true  public Map MapOfDouble_String75",
+  "embedded-key=true embedded-value=true public Map MapOfDouble_String76",
+  "embedded-key=true embedded-value=false public Map MapOfDouble_String77",
+  "embedded-key=false  public Map MapOfDouble_String78",
+  "embedded-key=false embedded-value=true public Map MapOfDouble_String79",
+  "embedded-key=false embedded-value=false public Map MapOfDouble_String80",
+  "public Map MapOfFloat_String81",
+  "embedded-value=true public Map MapOfFloat_String82",
+  "embedded-value=false public Map MapOfFloat_String83",
+  "embedded-key=true  public Map MapOfFloat_String84",
+  "embedded-key=true embedded-value=true public Map MapOfFloat_String85",
+  "embedded-key=true embedded-value=false public Map MapOfFloat_String86",
+  "embedded-key=false  public Map MapOfFloat_String87",
+  "embedded-key=false embedded-value=true public Map MapOfFloat_String88",
+  "embedded-key=false embedded-value=false public Map MapOfFloat_String89",
+  "public Map MapOfInteger_String90",
+  "embedded-value=true public Map MapOfInteger_String91",
+  "embedded-value=false public Map MapOfInteger_String92",
+  "embedded-key=true  public Map MapOfInteger_String93",
+  "embedded-key=true embedded-value=true public Map MapOfInteger_String94",
+  "embedded-key=true embedded-value=false public Map MapOfInteger_String95",
+  "embedded-key=false  public Map MapOfInteger_String96",
+  "embedded-key=false embedded-value=true public Map MapOfInteger_String97",
+  "embedded-key=false embedded-value=false public Map MapOfInteger_String98",
+  "public Map MapOfLong_String99",
+  "embedded-value=true public Map MapOfLong_String100",
+  "embedded-value=false public Map MapOfLong_String101",
+  "embedded-key=true  public Map MapOfLong_String102",
+  "embedded-key=true embedded-value=true public Map MapOfLong_String103",
+  "embedded-key=true embedded-value=false public Map MapOfLong_String104",
+  "embedded-key=false  public Map MapOfLong_String105",
+  "embedded-key=false embedded-value=true public Map MapOfLong_String106",
+  "embedded-key=false embedded-value=false public Map MapOfLong_String107",
+  "public Map MapOfShort_String108",
+  "embedded-value=true public Map MapOfShort_String109",
+  "embedded-value=false public Map MapOfShort_String110",
+  "embedded-key=true  public Map MapOfShort_String111",
+  "embedded-key=true embedded-value=true public Map MapOfShort_String112",
+  "embedded-key=true embedded-value=false public Map MapOfShort_String113",
+  "embedded-key=false  public Map MapOfShort_String114",
+  "embedded-key=false embedded-value=true public Map MapOfShort_String115",
+  "embedded-key=false embedded-value=false public Map MapOfShort_String116"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Map get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return MapOfObject_String0;
+      case(1):
+        return MapOfObject_String1;
+      case(2):
+        return MapOfObject_String2;
+      case(3):
+        return MapOfObject_String3;
+      case(4):
+        return MapOfObject_String4;
+      case(5):
+        return MapOfObject_String5;
+      case(6):
+        return MapOfObject_String6;
+      case(7):
+        return MapOfObject_String7;
+      case(8):
+        return MapOfObject_String8;
+      case(9):
+        return MapOfSimpleClass_String9;
+      case(10):
+        return MapOfSimpleClass_String10;
+      case(11):
+        return MapOfSimpleClass_String11;
+      case(12):
+        return MapOfSimpleClass_String12;
+      case(13):
+        return MapOfSimpleClass_String13;
+      case(14):
+        return MapOfSimpleClass_String14;
+      case(15):
+        return MapOfSimpleClass_String15;
+      case(16):
+        return MapOfSimpleClass_String16;
+      case(17):
+        return MapOfSimpleClass_String17;
+      case(18):
+        return MapOfSimpleInterface_String18;
+      case(19):
+        return MapOfSimpleInterface_String19;
+      case(20):
+        return MapOfSimpleInterface_String20;
+      case(21):
+        return MapOfSimpleInterface_String21;
+      case(22):
+        return MapOfSimpleInterface_String22;
+      case(23):
+        return MapOfSimpleInterface_String23;
+      case(24):
+        return MapOfSimpleInterface_String24;
+      case(25):
+        return MapOfSimpleInterface_String25;
+      case(26):
+        return MapOfSimpleInterface_String26;
+      case(27):
+        return MapOfString_String27;
+      case(28):
+        return MapOfString_String28;
+      case(29):
+        return MapOfString_String29;
+      case(30):
+        return MapOfString_String30;
+      case(31):
+        return MapOfString_String31;
+      case(32):
+        return MapOfString_String32;
+      case(33):
+        return MapOfString_String33;
+      case(34):
+        return MapOfString_String34;
+      case(35):
+        return MapOfString_String35;
+      case(36):
+        return MapOfDate_String36;
+      case(37):
+        return MapOfDate_String37;
+      case(38):
+        return MapOfDate_String38;
+      case(39):
+        return MapOfDate_String39;
+      case(40):
+        return MapOfDate_String40;
+      case(41):
+        return MapOfDate_String41;
+      case(42):
+        return MapOfDate_String42;
+      case(43):
+        return MapOfDate_String43;
+      case(44):
+        return MapOfDate_String44;
+      case(45):
+        return MapOfBigDecimal_String45;
+      case(46):
+        return MapOfBigDecimal_String46;
+      case(47):
+        return MapOfBigDecimal_String47;
+      case(48):
+        return MapOfBigDecimal_String48;
+      case(49):
+        return MapOfBigDecimal_String49;
+      case(50):
+        return MapOfBigDecimal_String50;
+      case(51):
+        return MapOfBigDecimal_String51;
+      case(52):
+        return MapOfBigDecimal_String52;
+      case(53):
+        return MapOfBigDecimal_String53;
+      case(54):
+        return MapOfBigInteger_String54;
+      case(55):
+        return MapOfBigInteger_String55;
+      case(56):
+        return MapOfBigInteger_String56;
+      case(57):
+        return MapOfBigInteger_String57;
+      case(58):
+        return MapOfBigInteger_String58;
+      case(59):
+        return MapOfBigInteger_String59;
+      case(60):
+        return MapOfBigInteger_String60;
+      case(61):
+        return MapOfBigInteger_String61;
+      case(62):
+        return MapOfBigInteger_String62;
+      case(63):
+        return MapOfByte_String63;
+      case(64):
+        return MapOfByte_String64;
+      case(65):
+        return MapOfByte_String65;
+      case(66):
+        return MapOfByte_String66;
+      case(67):
+        return MapOfByte_String67;
+      case(68):
+        return MapOfByte_String68;
+      case(69):
+        return MapOfByte_String69;
+      case(70):
+        return MapOfByte_String70;
+      case(71):
+        return MapOfByte_String71;
+      case(72):
+        return MapOfDouble_String72;
+      case(73):
+        return MapOfDouble_String73;
+      case(74):
+        return MapOfDouble_String74;
+      case(75):
+        return MapOfDouble_String75;
+      case(76):
+        return MapOfDouble_String76;
+      case(77):
+        return MapOfDouble_String77;
+      case(78):
+        return MapOfDouble_String78;
+      case(79):
+        return MapOfDouble_String79;
+      case(80):
+        return MapOfDouble_String80;
+      case(81):
+        return MapOfFloat_String81;
+      case(82):
+        return MapOfFloat_String82;
+      case(83):
+        return MapOfFloat_String83;
+      case(84):
+        return MapOfFloat_String84;
+      case(85):
+        return MapOfFloat_String85;
+      case(86):
+        return MapOfFloat_String86;
+      case(87):
+        return MapOfFloat_String87;
+      case(88):
+        return MapOfFloat_String88;
+      case(89):
+        return MapOfFloat_String89;
+      case(90):
+        return MapOfInteger_String90;
+      case(91):
+        return MapOfInteger_String91;
+      case(92):
+        return MapOfInteger_String92;
+      case(93):
+        return MapOfInteger_String93;
+      case(94):
+        return MapOfInteger_String94;
+      case(95):
+        return MapOfInteger_String95;
+      case(96):
+        return MapOfInteger_String96;
+      case(97):
+        return MapOfInteger_String97;
+      case(98):
+        return MapOfInteger_String98;
+      case(99):
+        return MapOfLong_String99;
+      case(100):
+        return MapOfLong_String100;
+      case(101):
+        return MapOfLong_String101;
+      case(102):
+        return MapOfLong_String102;
+      case(103):
+        return MapOfLong_String103;
+      case(104):
+        return MapOfLong_String104;
+      case(105):
+        return MapOfLong_String105;
+      case(106):
+        return MapOfLong_String106;
+      case(107):
+        return MapOfLong_String107;
+      case(108):
+        return MapOfShort_String108;
+      case(109):
+        return MapOfShort_String109;
+      case(110):
+        return MapOfShort_String110;
+      case(111):
+        return MapOfShort_String111;
+      case(112):
+        return MapOfShort_String112;
+      case(113):
+        return MapOfShort_String113;
+      case(114):
+        return MapOfShort_String114;
+      case(115):
+        return MapOfShort_String115;
+      case(116):
+        return MapOfShort_String116;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Map value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        MapOfObject_String0= value;
+         break;
+      case(1):
+        MapOfObject_String1= value;
+         break;
+      case(2):
+        MapOfObject_String2= value;
+         break;
+      case(3):
+        MapOfObject_String3= value;
+         break;
+      case(4):
+        MapOfObject_String4= value;
+         break;
+      case(5):
+        MapOfObject_String5= value;
+         break;
+      case(6):
+        MapOfObject_String6= value;
+         break;
+      case(7):
+        MapOfObject_String7= value;
+         break;
+      case(8):
+        MapOfObject_String8= value;
+         break;
+      case(9):
+        MapOfSimpleClass_String9= value;
+         break;
+      case(10):
+        MapOfSimpleClass_String10= value;
+         break;
+      case(11):
+        MapOfSimpleClass_String11= value;
+         break;
+      case(12):
+        MapOfSimpleClass_String12= value;
+         break;
+      case(13):
+        MapOfSimpleClass_String13= value;
+         break;
+      case(14):
+        MapOfSimpleClass_String14= value;
+         break;
+      case(15):
+        MapOfSimpleClass_String15= value;
+         break;
+      case(16):
+        MapOfSimpleClass_String16= value;
+         break;
+      case(17):
+        MapOfSimpleClass_String17= value;
+         break;
+      case(18):
+        MapOfSimpleInterface_String18= value;
+         break;
+      case(19):
+        MapOfSimpleInterface_String19= value;
+         break;
+      case(20):
+        MapOfSimpleInterface_String20= value;
+         break;
+      case(21):
+        MapOfSimpleInterface_String21= value;
+         break;
+      case(22):
+        MapOfSimpleInterface_String22= value;
+         break;
+      case(23):
+        MapOfSimpleInterface_String23= value;
+         break;
+      case(24):
+        MapOfSimpleInterface_String24= value;
+         break;
+      case(25):
+        MapOfSimpleInterface_String25= value;
+         break;
+      case(26):
+        MapOfSimpleInterface_String26= value;
+         break;
+      case(27):
+        MapOfString_String27= value;
+         break;
+      case(28):
+        MapOfString_String28= value;
+         break;
+      case(29):
+        MapOfString_String29= value;
+         break;
+      case(30):
+        MapOfString_String30= value;
+         break;
+      case(31):
+        MapOfString_String31= value;
+         break;
+      case(32):
+        MapOfString_String32= value;
+         break;
+      case(33):
+        MapOfString_String33= value;
+         break;
+      case(34):
+        MapOfString_String34= value;
+         break;
+      case(35):
+        MapOfString_String35= value;
+         break;
+      case(36):
+        MapOfDate_String36= value;
+         break;
+      case(37):
+        MapOfDate_String37= value;
+         break;
+      case(38):
+        MapOfDate_String38= value;
+         break;
+      case(39):
+        MapOfDate_String39= value;
+         break;
+      case(40):
+        MapOfDate_String40= value;
+         break;
+      case(41):
+        MapOfDate_String41= value;
+         break;
+      case(42):
+        MapOfDate_String42= value;
+         break;
+      case(43):
+        MapOfDate_String43= value;
+         break;
+      case(44):
+        MapOfDate_String44= value;
+         break;
+      case(45):
+        MapOfBigDecimal_String45= value;
+         break;
+      case(46):
+        MapOfBigDecimal_String46= value;
+         break;
+      case(47):
+        MapOfBigDecimal_String47= value;
+         break;
+      case(48):
+        MapOfBigDecimal_String48= value;
+         break;
+      case(49):
+        MapOfBigDecimal_String49= value;
+         break;
+      case(50):
+        MapOfBigDecimal_String50= value;
+         break;
+      case(51):
+        MapOfBigDecimal_String51= value;
+         break;
+      case(52):
+        MapOfBigDecimal_String52= value;
+         break;
+      case(53):
+        MapOfBigDecimal_String53= value;
+         break;
+      case(54):
+        MapOfBigInteger_String54= value;
+         break;
+      case(55):
+        MapOfBigInteger_String55= value;
+         break;
+      case(56):
+        MapOfBigInteger_String56= value;
+         break;
+      case(57):
+        MapOfBigInteger_String57= value;
+         break;
+      case(58):
+        MapOfBigInteger_String58= value;
+         break;
+      case(59):
+        MapOfBigInteger_String59= value;
+         break;
+      case(60):
+        MapOfBigInteger_String60= value;
+         break;
+      case(61):
+        MapOfBigInteger_String61= value;
+         break;
+      case(62):
+        MapOfBigInteger_String62= value;
+         break;
+      case(63):
+        MapOfByte_String63= value;
+         break;
+      case(64):
+        MapOfByte_String64= value;
+         break;
+      case(65):
+        MapOfByte_String65= value;
+         break;
+      case(66):
+        MapOfByte_String66= value;
+         break;
+      case(67):
+        MapOfByte_String67= value;
+         break;
+      case(68):
+        MapOfByte_String68= value;
+         break;
+      case(69):
+        MapOfByte_String69= value;
+         break;
+      case(70):
+        MapOfByte_String70= value;
+         break;
+      case(71):
+        MapOfByte_String71= value;
+         break;
+      case(72):
+        MapOfDouble_String72= value;
+         break;
+      case(73):
+        MapOfDouble_String73= value;
+         break;
+      case(74):
+        MapOfDouble_String74= value;
+         break;
+      case(75):
+        MapOfDouble_String75= value;
+         break;
+      case(76):
+        MapOfDouble_String76= value;
+         break;
+      case(77):
+        MapOfDouble_String77= value;
+         break;
+      case(78):
+        MapOfDouble_String78= value;
+         break;
+      case(79):
+        MapOfDouble_String79= value;
+         break;
+      case(80):
+        MapOfDouble_String80= value;
+         break;
+      case(81):
+        MapOfFloat_String81= value;
+         break;
+      case(82):
+        MapOfFloat_String82= value;
+         break;
+      case(83):
+        MapOfFloat_String83= value;
+         break;
+      case(84):
+        MapOfFloat_String84= value;
+         break;
+      case(85):
+        MapOfFloat_String85= value;
+         break;
+      case(86):
+        MapOfFloat_String86= value;
+         break;
+      case(87):
+        MapOfFloat_String87= value;
+         break;
+      case(88):
+        MapOfFloat_String88= value;
+         break;
+      case(89):
+        MapOfFloat_String89= value;
+         break;
+      case(90):
+        MapOfInteger_String90= value;
+         break;
+      case(91):
+        MapOfInteger_String91= value;
+         break;
+      case(92):
+        MapOfInteger_String92= value;
+         break;
+      case(93):
+        MapOfInteger_String93= value;
+         break;
+      case(94):
+        MapOfInteger_String94= value;
+         break;
+      case(95):
+        MapOfInteger_String95= value;
+         break;
+      case(96):
+        MapOfInteger_String96= value;
+         break;
+      case(97):
+        MapOfInteger_String97= value;
+         break;
+      case(98):
+        MapOfInteger_String98= value;
+         break;
+      case(99):
+        MapOfLong_String99= value;
+         break;
+      case(100):
+        MapOfLong_String100= value;
+         break;
+      case(101):
+        MapOfLong_String101= value;
+         break;
+      case(102):
+        MapOfLong_String102= value;
+         break;
+      case(103):
+        MapOfLong_String103= value;
+         break;
+      case(104):
+        MapOfLong_String104= value;
+         break;
+      case(105):
+        MapOfLong_String105= value;
+         break;
+      case(106):
+        MapOfLong_String106= value;
+         break;
+      case(107):
+        MapOfLong_String107= value;
+         break;
+      case(108):
+        MapOfShort_String108= value;
+         break;
+      case(109):
+        MapOfShort_String109= value;
+         break;
+      case(110):
+        MapOfShort_String110= value;
+         break;
+      case(111):
+        MapOfShort_String111= value;
+         break;
+      case(112):
+        MapOfShort_String112= value;
+         break;
+      case(113):
+        MapOfShort_String113= value;
+         break;
+      case(114):
+        MapOfShort_String114= value;
+         break;
+      case(115):
+        MapOfShort_String115= value;
+         break;
+      case(116):
+        MapOfShort_String116= value;
+         break;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+    return true;
+  }
+
+    public static class Oid implements Serializable {
+        public int identifier;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { identifier = Integer.parseInt(s); }
+
+        public String toString() { return this.getClass().getName() + ": "  + identifier;}
+
+        public int hashCode() { return (int)identifier ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.identifier == this.identifier;
+            }
+            return false;
+        }
+
+    }   
+}

Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SetCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SetCollections.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SetCollections.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SetCollections.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,366 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.io.Serializable;
+import java.util.Set;
+
+public class SetCollections { 
+  public int identifier;
+  public Set SetOfObject0;
+  public Set SetOfObject1;
+  public Set SetOfObject2;
+  public Set SetOfSimpleClass3;
+  public Set SetOfSimpleClass4;
+  public Set SetOfSimpleClass5;
+  public Set SetOfSimpleInterface6;
+  public Set SetOfSimpleInterface7;
+  public Set SetOfSimpleInterface8;
+  public Set SetOfString9;
+  public Set SetOfString10;
+  public Set SetOfString11;
+  public Set SetOfDate12;
+  public Set SetOfDate13;
+  public Set SetOfDate14;
+  public Set SetOfLocale15;
+  public Set SetOfLocale16;
+  public Set SetOfLocale17;
+  public Set SetOfBigDecimal18;
+  public Set SetOfBigDecimal19;
+  public Set SetOfBigDecimal20;
+  public Set SetOfBigInteger21;
+  public Set SetOfBigInteger22;
+  public Set SetOfBigInteger23;
+  public Set SetOfByte24;
+  public Set SetOfByte25;
+  public Set SetOfByte26;
+  public Set SetOfDouble27;
+  public Set SetOfDouble28;
+  public Set SetOfDouble29;
+  public Set SetOfFloat30;
+  public Set SetOfFloat31;
+  public Set SetOfFloat32;
+  public Set SetOfInteger33;
+  public Set SetOfInteger34;
+  public Set SetOfInteger35;
+  public Set SetOfLong36;
+  public Set SetOfLong37;
+  public Set SetOfLong38;
+  public Set SetOfShort39;
+  public Set SetOfShort40;
+  public Set SetOfShort41;
+
+  public static final String [] fieldSpecs = { 
+  "public Set SetOfObject0",
+  "embedded-element=true public Set SetOfObject1",
+  "embedded-element=false public Set SetOfObject2",
+  "public Set SetOfSimpleClass3",
+  "embedded-element=true public Set SetOfSimpleClass4",
+  "embedded-element=false public Set SetOfSimpleClass5",
+  "public Set SetOfSimpleInterface6",
+  "embedded-element=true public Set SetOfSimpleInterface7",
+  "embedded-element=false public Set SetOfSimpleInterface8",
+  "public Set SetOfString9",
+  "embedded-element=true public Set SetOfString10",
+  "embedded-element=false public Set SetOfString11",
+  "public Set SetOfDate12",
+  "embedded-element=true public Set SetOfDate13",
+  "embedded-element=false public Set SetOfDate14",
+  "public Set SetOfLocale15",
+  "embedded-element=true public Set SetOfLocale16",
+  "embedded-element=false public Set SetOfLocale17",
+  "public Set SetOfBigDecimal18",
+  "embedded-element=true public Set SetOfBigDecimal19",
+  "embedded-element=false public Set SetOfBigDecimal20",
+  "public Set SetOfBigInteger21",
+  "embedded-element=true public Set SetOfBigInteger22",
+  "embedded-element=false public Set SetOfBigInteger23",
+  "public Set SetOfByte24",
+  "embedded-element=true public Set SetOfByte25",
+  "embedded-element=false public Set SetOfByte26",
+  "public Set SetOfDouble27",
+  "embedded-element=true public Set SetOfDouble28",
+  "embedded-element=false public Set SetOfDouble29",
+  "public Set SetOfFloat30",
+  "embedded-element=true public Set SetOfFloat31",
+  "embedded-element=false public Set SetOfFloat32",
+  "public Set SetOfInteger33",
+  "embedded-element=true public Set SetOfInteger34",
+  "embedded-element=false public Set SetOfInteger35",
+  "public Set SetOfLong36",
+  "embedded-element=true public Set SetOfLong37",
+  "embedded-element=false public Set SetOfLong38",
+  "public Set SetOfShort39",
+  "embedded-element=true public Set SetOfShort40",
+  "embedded-element=false public Set SetOfShort41"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Set get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return SetOfObject0;
+      case(1):
+        return SetOfObject1;
+      case(2):
+        return SetOfObject2;
+      case(3):
+        return SetOfSimpleClass3;
+      case(4):
+        return SetOfSimpleClass4;
+      case(5):
+        return SetOfSimpleClass5;
+      case(6):
+        return SetOfSimpleInterface6;
+      case(7):
+        return SetOfSimpleInterface7;
+      case(8):
+        return SetOfSimpleInterface8;
+      case(9):
+        return SetOfString9;
+      case(10):
+        return SetOfString10;
+      case(11):
+        return SetOfString11;
+      case(12):
+        return SetOfDate12;
+      case(13):
+        return SetOfDate13;
+      case(14):
+        return SetOfDate14;
+      case(15):
+        return SetOfLocale15;
+      case(16):
+        return SetOfLocale16;
+      case(17):
+        return SetOfLocale17;
+      case(18):
+        return SetOfBigDecimal18;
+      case(19):
+        return SetOfBigDecimal19;
+      case(20):
+        return SetOfBigDecimal20;
+      case(21):
+        return SetOfBigInteger21;
+      case(22):
+        return SetOfBigInteger22;
+      case(23):
+        return SetOfBigInteger23;
+      case(24):
+        return SetOfByte24;
+      case(25):
+        return SetOfByte25;
+      case(26):
+        return SetOfByte26;
+      case(27):
+        return SetOfDouble27;
+      case(28):
+        return SetOfDouble28;
+      case(29):
+        return SetOfDouble29;
+      case(30):
+        return SetOfFloat30;
+      case(31):
+        return SetOfFloat31;
+      case(32):
+        return SetOfFloat32;
+      case(33):
+        return SetOfInteger33;
+      case(34):
+        return SetOfInteger34;
+      case(35):
+        return SetOfInteger35;
+      case(36):
+        return SetOfLong36;
+      case(37):
+        return SetOfLong37;
+      case(38):
+        return SetOfLong38;
+      case(39):
+        return SetOfShort39;
+      case(40):
+        return SetOfShort40;
+      case(41):
+        return SetOfShort41;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Set value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        SetOfObject0= value;
+         break;
+      case(1):
+        SetOfObject1= value;
+         break;
+      case(2):
+        SetOfObject2= value;
+         break;
+      case(3):
+        SetOfSimpleClass3= value;
+         break;
+      case(4):
+        SetOfSimpleClass4= value;
+         break;
+      case(5):
+        SetOfSimpleClass5= value;
+         break;
+      case(6):
+        SetOfSimpleInterface6= value;
+         break;
+      case(7):
+        SetOfSimpleInterface7= value;
+         break;
+      case(8):
+        SetOfSimpleInterface8= value;
+         break;
+      case(9):
+        SetOfString9= value;
+         break;
+      case(10):
+        SetOfString10= value;
+         break;
+      case(11):
+        SetOfString11= value;
+         break;
+      case(12):
+        SetOfDate12= value;
+         break;
+      case(13):
+        SetOfDate13= value;
+         break;
+      case(14):
+        SetOfDate14= value;
+         break;
+      case(15):
+        SetOfLocale15= value;
+         break;
+      case(16):
+        SetOfLocale16= value;
+         break;
+      case(17):
+        SetOfLocale17= value;
+         break;
+      case(18):
+        SetOfBigDecimal18= value;
+         break;
+      case(19):
+        SetOfBigDecimal19= value;
+         break;
+      case(20):
+        SetOfBigDecimal20= value;
+         break;
+      case(21):
+        SetOfBigInteger21= value;
+         break;
+      case(22):
+        SetOfBigInteger22= value;
+         break;
+      case(23):
+        SetOfBigInteger23= value;
+         break;
+      case(24):
+        SetOfByte24= value;
+         break;
+      case(25):
+        SetOfByte25= value;
+         break;
+      case(26):
+        SetOfByte26= value;
+         break;
+      case(27):
+        SetOfDouble27= value;
+         break;
+      case(28):
+        SetOfDouble28= value;
+         break;
+      case(29):
+        SetOfDouble29= value;
+         break;
+      case(30):
+        SetOfFloat30= value;
+         break;
+      case(31):
+        SetOfFloat31= value;
+         break;
+      case(32):
+        SetOfFloat32= value;
+         break;
+      case(33):
+        SetOfInteger33= value;
+         break;
+      case(34):
+        SetOfInteger34= value;
+         break;
+      case(35):
+        SetOfInteger35= value;
+         break;
+      case(36):
+        SetOfLong36= value;
+         break;
+      case(37):
+        SetOfLong37= value;
+         break;
+      case(38):
+        SetOfLong38= value;
+         break;
+      case(39):
+        SetOfShort39= value;
+         break;
+      case(40):
+        SetOfShort40= value;
+         break;
+      case(41):
+        SetOfShort41= value;
+         break;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+    return true;
+  }
+
+    public static class Oid implements Serializable {
+        public int identifier;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { identifier = Integer.parseInt(s); }
+
+        public String toString() { return this.getClass().getName() + ": "  + identifier;}
+
+        public int hashCode() { return (int)identifier ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.identifier == this.identifier;
+            }
+            return false;
+        }
+
+    }   
+}

Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleClass.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleClass.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleClass.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleClass.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+
+
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.util.Date;
+import java.io.Serializable;
+
+public class SimpleClass implements SimpleInterface, Comparable {
+
+    private static long counter = new Date().getTime();
+    private static long newId() {
+        synchronized (SimpleClass.class) {
+            return counter++;
+        }
+    }
+    private long id = newId();
+  private int intField=0;
+  private String stringField = new String("Test");
+  public SimpleClass(){};
+  public SimpleClass(int intField, String stringField)
+  {
+    this.intField = intField;
+    this.stringField = stringField;
+  }
+
+  public void setIntValue(int intField)
+  {
+    this.intField = intField;
+  }
+
+  public int getIntValue()
+  {
+    return intField;
+  }
+
+  public void setStringValue(String stringField)
+  {
+    this.stringField = stringField;
+  }
+
+  public String getStringValue()
+  {
+    return stringField;
+  }
+
+  public boolean equals(Object obj)
+  {
+    if(!(obj instanceof SimpleClass))
+      return false;
+
+    if (intField == ((SimpleClass)obj).getIntValue()
+    && stringField.equals(((SimpleClass)obj).getStringValue()))
+      return true;
+    else
+      return false;
+  }
+
+  public int hashCode()
+  {
+    return intField ^ stringField.hashCode();
+  }
+
+  public int compareTo(Object p)
+  {
+      SimpleClass sc = (SimpleClass) p;
+      if( intField < sc.intField ) return -1;
+      if( intField > sc.intField ) return 1;
+      return stringField.compareTo(sc.stringField);
+  }
+  
+    public static class Oid implements Serializable, Comparable {
+        public long id;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { id = Long.parseLong(s); }
+
+        public String toString() { return this.getClass().getName() + ": "  + id;}
+
+        public int hashCode() { return (int)id ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.id == this.id;
+            }
+            return false;
+        }
+
+        public int compareTo(Object p){
+            // may throw ClassCastException which the user must handle
+            Oid other = (Oid) p;
+            if( id < other.id ) return -1;
+            if( id > other.id ) return 1;
+            return 0;
+        }
+          
+    }   
+}

Added: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleInterface.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleInterface.java?view=auto&rev=158179
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleInterface.java (added)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/pc/fieldtypes/SimpleInterface.java Fri Mar 18 17:07:39 2005
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+
+
+package org.apache.jdo.tck.pc.fieldtypes;
+
+public interface SimpleInterface
+{
+  public void setIntValue(int intField);
+
+  public int getIntValue();
+
+  public void setStringValue(String stringField);
+
+  public String getStringValue();
+
+}



Mime
View raw message