db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r160090 [33/63] - in incubator/jdo/trunk: ./ tck20/ tck20/assertions/ tck20/iut_jars/ tck20/test/ tck20/test/conf/ tck20/test/java/ tck20/test/java/org/ tck20/test/java/org/apache/ tck20/test/java/org/apache/jdo/ tck20/test/java/org/apache/jdo/tck/ tck20/test/java/org/apache/jdo/tck/api/ tck20/test/java/org/apache/jdo/tck/api/instancecallbacks/ tck20/test/java/org/apache/jdo/tck/api/jdohelper/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/cache/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/close/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/extent/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/flags/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/getobject/ tck20/test/java/org/apache/jdo/tck/api/persistencemanager/lifecycle/ tck20/test/java/org/apache/jdo/tck/api/persistencemanagerfactory/ tck20/test/java/org/apache/jdo/tck/enhancement/ tck20/test/java/org/apache/jdo/tck/extents/ tck20/test/java/org/apache/jdo/tck/lifecycle/ tck20/test/java/org/apache/jdo/tck/lifecycle/nontransactional/ tck20/test/java/org/apache/jdo/tck/models/ tck20/test/java/org/apache/jdo/tck/models/embedded/ tck20/test/java/org/apache/jdo/tck/models/fieldtypes/ tck20/test/java/org/apache/jdo/tck/models/inheritance/ tck20/test/java/org/apache/jdo/tck/pc/ tck20/test/java/org/apache/jdo/tck/pc/company/ tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ tck20/test/java/org/apache/jdo/tck/pc/inheritance/ tck20/test/java/org/apache/jdo/tck/pc/instancecallbacks/ tck20/test/java/org/apache/jdo/tck/pc/lifecycle/ tck20/test/java/org/apache/jdo/tck/pc/mylib/ tck20/test/java/org/apache/jdo/tck/query/ tck20/test/java/org/apache/jdo/tck/query/operators/ tck20/test/java/org/apache/jdo/tck/transactions/ tck20/test/java/org/apache/jdo/tck/util/ tck20/test/jdo/ tck20/test/jdo/applicationidentity/ tck20/test/jdo/applicationidentity/org/ tck20/test/jdo/applicationidentity/org/apache/ tck20/test/jdo/applicationidentity/org/apache/jdo/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/lifecycle/ tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/mylib/ tck20/test/jdo/datastoreidentity/ tck20/test/jdo/datastoreidentity/org/ tck20/test/jdo/datastoreidentity/org/apache/ tck20/test/jdo/datastoreidentity/org/apache/jdo/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/lifecycle/ tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/mylib/ tck20/test/orm/ tck20/test/orm/applicationidentity/ tck20/test/orm/applicationidentity/org/ tck20/test/orm/applicationidentity/org/apache/ tck20/test/orm/applicationidentity/org/apache/jdo/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/company/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/inheritance/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/lifecycle/ tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/ tck20/test/orm/datastoreidentity/ tck20/test/orm/datastoreidentity/org/ tck20/test/orm/datastoreidentity/org/apache/ tck20/test/orm/datastoreidentity/org/apache/jdo/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/company/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/inheritance/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/lifecycle/ tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/ tck20/test/sql/ tck20/test/sql/derby/
Date Mon, 04 Apr 2005 19:43:53 GMT
Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/HashtableStringValueCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/HashtableStringValueCollections.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/HashtableStringValueCollections.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/HashtableStringValueCollections.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,895 @@
+/*
+ * 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.Hashtable;
+
+public class HashtableStringValueCollections { 
+  public int identifier;
+  public Hashtable HashtableOfObject_String0;
+  public Hashtable HashtableOfObject_String1;
+  public Hashtable HashtableOfObject_String2;
+  public Hashtable HashtableOfObject_String3;
+  public Hashtable HashtableOfObject_String4;
+  public Hashtable HashtableOfObject_String5;
+  public Hashtable HashtableOfObject_String6;
+  public Hashtable HashtableOfObject_String7;
+  public Hashtable HashtableOfObject_String8;
+  public Hashtable HashtableOfSimpleClass_String9;
+  public Hashtable HashtableOfSimpleClass_String10;
+  public Hashtable HashtableOfSimpleClass_String11;
+  public Hashtable HashtableOfSimpleClass_String12;
+  public Hashtable HashtableOfSimpleClass_String13;
+  public Hashtable HashtableOfSimpleClass_String14;
+  public Hashtable HashtableOfSimpleClass_String15;
+  public Hashtable HashtableOfSimpleClass_String16;
+  public Hashtable HashtableOfSimpleClass_String17;
+  public Hashtable HashtableOfSimpleInterface_String18;
+  public Hashtable HashtableOfSimpleInterface_String19;
+  public Hashtable HashtableOfSimpleInterface_String20;
+  public Hashtable HashtableOfSimpleInterface_String21;
+  public Hashtable HashtableOfSimpleInterface_String22;
+  public Hashtable HashtableOfSimpleInterface_String23;
+  public Hashtable HashtableOfSimpleInterface_String24;
+  public Hashtable HashtableOfSimpleInterface_String25;
+  public Hashtable HashtableOfSimpleInterface_String26;
+  public Hashtable HashtableOfString_String27;
+  public Hashtable HashtableOfString_String28;
+  public Hashtable HashtableOfString_String29;
+  public Hashtable HashtableOfString_String30;
+  public Hashtable HashtableOfString_String31;
+  public Hashtable HashtableOfString_String32;
+  public Hashtable HashtableOfString_String33;
+  public Hashtable HashtableOfString_String34;
+  public Hashtable HashtableOfString_String35;
+  public Hashtable HashtableOfDate_String36;
+  public Hashtable HashtableOfDate_String37;
+  public Hashtable HashtableOfDate_String38;
+  public Hashtable HashtableOfDate_String39;
+  public Hashtable HashtableOfDate_String40;
+  public Hashtable HashtableOfDate_String41;
+  public Hashtable HashtableOfDate_String42;
+  public Hashtable HashtableOfDate_String43;
+  public Hashtable HashtableOfDate_String44;
+  public Hashtable HashtableOfBigDecimal_String45;
+  public Hashtable HashtableOfBigDecimal_String46;
+  public Hashtable HashtableOfBigDecimal_String47;
+  public Hashtable HashtableOfBigDecimal_String48;
+  public Hashtable HashtableOfBigDecimal_String49;
+  public Hashtable HashtableOfBigDecimal_String50;
+  public Hashtable HashtableOfBigDecimal_String51;
+  public Hashtable HashtableOfBigDecimal_String52;
+  public Hashtable HashtableOfBigDecimal_String53;
+  public Hashtable HashtableOfBigInteger_String54;
+  public Hashtable HashtableOfBigInteger_String55;
+  public Hashtable HashtableOfBigInteger_String56;
+  public Hashtable HashtableOfBigInteger_String57;
+  public Hashtable HashtableOfBigInteger_String58;
+  public Hashtable HashtableOfBigInteger_String59;
+  public Hashtable HashtableOfBigInteger_String60;
+  public Hashtable HashtableOfBigInteger_String61;
+  public Hashtable HashtableOfBigInteger_String62;
+  public Hashtable HashtableOfByte_String63;
+  public Hashtable HashtableOfByte_String64;
+  public Hashtable HashtableOfByte_String65;
+  public Hashtable HashtableOfByte_String66;
+  public Hashtable HashtableOfByte_String67;
+  public Hashtable HashtableOfByte_String68;
+  public Hashtable HashtableOfByte_String69;
+  public Hashtable HashtableOfByte_String70;
+  public Hashtable HashtableOfByte_String71;
+  public Hashtable HashtableOfDouble_String72;
+  public Hashtable HashtableOfDouble_String73;
+  public Hashtable HashtableOfDouble_String74;
+  public Hashtable HashtableOfDouble_String75;
+  public Hashtable HashtableOfDouble_String76;
+  public Hashtable HashtableOfDouble_String77;
+  public Hashtable HashtableOfDouble_String78;
+  public Hashtable HashtableOfDouble_String79;
+  public Hashtable HashtableOfDouble_String80;
+  public Hashtable HashtableOfFloat_String81;
+  public Hashtable HashtableOfFloat_String82;
+  public Hashtable HashtableOfFloat_String83;
+  public Hashtable HashtableOfFloat_String84;
+  public Hashtable HashtableOfFloat_String85;
+  public Hashtable HashtableOfFloat_String86;
+  public Hashtable HashtableOfFloat_String87;
+  public Hashtable HashtableOfFloat_String88;
+  public Hashtable HashtableOfFloat_String89;
+  public Hashtable HashtableOfInteger_String90;
+  public Hashtable HashtableOfInteger_String91;
+  public Hashtable HashtableOfInteger_String92;
+  public Hashtable HashtableOfInteger_String93;
+  public Hashtable HashtableOfInteger_String94;
+  public Hashtable HashtableOfInteger_String95;
+  public Hashtable HashtableOfInteger_String96;
+  public Hashtable HashtableOfInteger_String97;
+  public Hashtable HashtableOfInteger_String98;
+  public Hashtable HashtableOfLong_String99;
+  public Hashtable HashtableOfLong_String100;
+  public Hashtable HashtableOfLong_String101;
+  public Hashtable HashtableOfLong_String102;
+  public Hashtable HashtableOfLong_String103;
+  public Hashtable HashtableOfLong_String104;
+  public Hashtable HashtableOfLong_String105;
+  public Hashtable HashtableOfLong_String106;
+  public Hashtable HashtableOfLong_String107;
+  public Hashtable HashtableOfShort_String108;
+  public Hashtable HashtableOfShort_String109;
+  public Hashtable HashtableOfShort_String110;
+  public Hashtable HashtableOfShort_String111;
+  public Hashtable HashtableOfShort_String112;
+  public Hashtable HashtableOfShort_String113;
+  public Hashtable HashtableOfShort_String114;
+  public Hashtable HashtableOfShort_String115;
+  public Hashtable HashtableOfShort_String116;
+
+  public static final String [] fieldSpecs = { 
+  "public Hashtable HashtableOfObject_String0",
+  "embedded-value=true public Hashtable HashtableOfObject_String1",
+  "embedded-value=false public Hashtable HashtableOfObject_String2",
+  "embedded-key=true  public Hashtable HashtableOfObject_String3",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfObject_String4",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfObject_String5",
+  "embedded-key=false  public Hashtable HashtableOfObject_String6",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfObject_String7",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfObject_String8",
+  "public Hashtable HashtableOfSimpleClass_String9",
+  "embedded-value=true public Hashtable HashtableOfSimpleClass_String10",
+  "embedded-value=false public Hashtable HashtableOfSimpleClass_String11",
+  "embedded-key=true  public Hashtable HashtableOfSimpleClass_String12",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfSimpleClass_String13",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfSimpleClass_String14",
+  "embedded-key=false  public Hashtable HashtableOfSimpleClass_String15",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfSimpleClass_String16",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfSimpleClass_String17",
+  "public Hashtable HashtableOfSimpleInterface_String18",
+  "embedded-value=true public Hashtable HashtableOfSimpleInterface_String19",
+  "embedded-value=false public Hashtable HashtableOfSimpleInterface_String20",
+  "embedded-key=true  public Hashtable HashtableOfSimpleInterface_String21",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfSimpleInterface_String22",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfSimpleInterface_String23",
+  "embedded-key=false  public Hashtable HashtableOfSimpleInterface_String24",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfSimpleInterface_String25",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfSimpleInterface_String26",
+  "public Hashtable HashtableOfString_String27",
+  "embedded-value=true public Hashtable HashtableOfString_String28",
+  "embedded-value=false public Hashtable HashtableOfString_String29",
+  "embedded-key=true  public Hashtable HashtableOfString_String30",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfString_String31",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfString_String32",
+  "embedded-key=false  public Hashtable HashtableOfString_String33",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfString_String34",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfString_String35",
+  "public Hashtable HashtableOfDate_String36",
+  "embedded-value=true public Hashtable HashtableOfDate_String37",
+  "embedded-value=false public Hashtable HashtableOfDate_String38",
+  "embedded-key=true  public Hashtable HashtableOfDate_String39",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfDate_String40",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfDate_String41",
+  "embedded-key=false  public Hashtable HashtableOfDate_String42",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfDate_String43",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfDate_String44",
+  "public Hashtable HashtableOfBigDecimal_String45",
+  "embedded-value=true public Hashtable HashtableOfBigDecimal_String46",
+  "embedded-value=false public Hashtable HashtableOfBigDecimal_String47",
+  "embedded-key=true  public Hashtable HashtableOfBigDecimal_String48",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfBigDecimal_String49",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfBigDecimal_String50",
+  "embedded-key=false  public Hashtable HashtableOfBigDecimal_String51",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfBigDecimal_String52",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfBigDecimal_String53",
+  "public Hashtable HashtableOfBigInteger_String54",
+  "embedded-value=true public Hashtable HashtableOfBigInteger_String55",
+  "embedded-value=false public Hashtable HashtableOfBigInteger_String56",
+  "embedded-key=true  public Hashtable HashtableOfBigInteger_String57",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfBigInteger_String58",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfBigInteger_String59",
+  "embedded-key=false  public Hashtable HashtableOfBigInteger_String60",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfBigInteger_String61",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfBigInteger_String62",
+  "public Hashtable HashtableOfByte_String63",
+  "embedded-value=true public Hashtable HashtableOfByte_String64",
+  "embedded-value=false public Hashtable HashtableOfByte_String65",
+  "embedded-key=true  public Hashtable HashtableOfByte_String66",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfByte_String67",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfByte_String68",
+  "embedded-key=false  public Hashtable HashtableOfByte_String69",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfByte_String70",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfByte_String71",
+  "public Hashtable HashtableOfDouble_String72",
+  "embedded-value=true public Hashtable HashtableOfDouble_String73",
+  "embedded-value=false public Hashtable HashtableOfDouble_String74",
+  "embedded-key=true  public Hashtable HashtableOfDouble_String75",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfDouble_String76",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfDouble_String77",
+  "embedded-key=false  public Hashtable HashtableOfDouble_String78",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfDouble_String79",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfDouble_String80",
+  "public Hashtable HashtableOfFloat_String81",
+  "embedded-value=true public Hashtable HashtableOfFloat_String82",
+  "embedded-value=false public Hashtable HashtableOfFloat_String83",
+  "embedded-key=true  public Hashtable HashtableOfFloat_String84",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfFloat_String85",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfFloat_String86",
+  "embedded-key=false  public Hashtable HashtableOfFloat_String87",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfFloat_String88",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfFloat_String89",
+  "public Hashtable HashtableOfInteger_String90",
+  "embedded-value=true public Hashtable HashtableOfInteger_String91",
+  "embedded-value=false public Hashtable HashtableOfInteger_String92",
+  "embedded-key=true  public Hashtable HashtableOfInteger_String93",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfInteger_String94",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfInteger_String95",
+  "embedded-key=false  public Hashtable HashtableOfInteger_String96",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfInteger_String97",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfInteger_String98",
+  "public Hashtable HashtableOfLong_String99",
+  "embedded-value=true public Hashtable HashtableOfLong_String100",
+  "embedded-value=false public Hashtable HashtableOfLong_String101",
+  "embedded-key=true  public Hashtable HashtableOfLong_String102",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfLong_String103",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfLong_String104",
+  "embedded-key=false  public Hashtable HashtableOfLong_String105",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfLong_String106",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfLong_String107",
+  "public Hashtable HashtableOfShort_String108",
+  "embedded-value=true public Hashtable HashtableOfShort_String109",
+  "embedded-value=false public Hashtable HashtableOfShort_String110",
+  "embedded-key=true  public Hashtable HashtableOfShort_String111",
+  "embedded-key=true embedded-value=true public Hashtable HashtableOfShort_String112",
+  "embedded-key=true embedded-value=false public Hashtable HashtableOfShort_String113",
+  "embedded-key=false  public Hashtable HashtableOfShort_String114",
+  "embedded-key=false embedded-value=true public Hashtable HashtableOfShort_String115",
+  "embedded-key=false embedded-value=false public Hashtable HashtableOfShort_String116"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Hashtable get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return HashtableOfObject_String0;
+      case(1):
+        return HashtableOfObject_String1;
+      case(2):
+        return HashtableOfObject_String2;
+      case(3):
+        return HashtableOfObject_String3;
+      case(4):
+        return HashtableOfObject_String4;
+      case(5):
+        return HashtableOfObject_String5;
+      case(6):
+        return HashtableOfObject_String6;
+      case(7):
+        return HashtableOfObject_String7;
+      case(8):
+        return HashtableOfObject_String8;
+      case(9):
+        return HashtableOfSimpleClass_String9;
+      case(10):
+        return HashtableOfSimpleClass_String10;
+      case(11):
+        return HashtableOfSimpleClass_String11;
+      case(12):
+        return HashtableOfSimpleClass_String12;
+      case(13):
+        return HashtableOfSimpleClass_String13;
+      case(14):
+        return HashtableOfSimpleClass_String14;
+      case(15):
+        return HashtableOfSimpleClass_String15;
+      case(16):
+        return HashtableOfSimpleClass_String16;
+      case(17):
+        return HashtableOfSimpleClass_String17;
+      case(18):
+        return HashtableOfSimpleInterface_String18;
+      case(19):
+        return HashtableOfSimpleInterface_String19;
+      case(20):
+        return HashtableOfSimpleInterface_String20;
+      case(21):
+        return HashtableOfSimpleInterface_String21;
+      case(22):
+        return HashtableOfSimpleInterface_String22;
+      case(23):
+        return HashtableOfSimpleInterface_String23;
+      case(24):
+        return HashtableOfSimpleInterface_String24;
+      case(25):
+        return HashtableOfSimpleInterface_String25;
+      case(26):
+        return HashtableOfSimpleInterface_String26;
+      case(27):
+        return HashtableOfString_String27;
+      case(28):
+        return HashtableOfString_String28;
+      case(29):
+        return HashtableOfString_String29;
+      case(30):
+        return HashtableOfString_String30;
+      case(31):
+        return HashtableOfString_String31;
+      case(32):
+        return HashtableOfString_String32;
+      case(33):
+        return HashtableOfString_String33;
+      case(34):
+        return HashtableOfString_String34;
+      case(35):
+        return HashtableOfString_String35;
+      case(36):
+        return HashtableOfDate_String36;
+      case(37):
+        return HashtableOfDate_String37;
+      case(38):
+        return HashtableOfDate_String38;
+      case(39):
+        return HashtableOfDate_String39;
+      case(40):
+        return HashtableOfDate_String40;
+      case(41):
+        return HashtableOfDate_String41;
+      case(42):
+        return HashtableOfDate_String42;
+      case(43):
+        return HashtableOfDate_String43;
+      case(44):
+        return HashtableOfDate_String44;
+      case(45):
+        return HashtableOfBigDecimal_String45;
+      case(46):
+        return HashtableOfBigDecimal_String46;
+      case(47):
+        return HashtableOfBigDecimal_String47;
+      case(48):
+        return HashtableOfBigDecimal_String48;
+      case(49):
+        return HashtableOfBigDecimal_String49;
+      case(50):
+        return HashtableOfBigDecimal_String50;
+      case(51):
+        return HashtableOfBigDecimal_String51;
+      case(52):
+        return HashtableOfBigDecimal_String52;
+      case(53):
+        return HashtableOfBigDecimal_String53;
+      case(54):
+        return HashtableOfBigInteger_String54;
+      case(55):
+        return HashtableOfBigInteger_String55;
+      case(56):
+        return HashtableOfBigInteger_String56;
+      case(57):
+        return HashtableOfBigInteger_String57;
+      case(58):
+        return HashtableOfBigInteger_String58;
+      case(59):
+        return HashtableOfBigInteger_String59;
+      case(60):
+        return HashtableOfBigInteger_String60;
+      case(61):
+        return HashtableOfBigInteger_String61;
+      case(62):
+        return HashtableOfBigInteger_String62;
+      case(63):
+        return HashtableOfByte_String63;
+      case(64):
+        return HashtableOfByte_String64;
+      case(65):
+        return HashtableOfByte_String65;
+      case(66):
+        return HashtableOfByte_String66;
+      case(67):
+        return HashtableOfByte_String67;
+      case(68):
+        return HashtableOfByte_String68;
+      case(69):
+        return HashtableOfByte_String69;
+      case(70):
+        return HashtableOfByte_String70;
+      case(71):
+        return HashtableOfByte_String71;
+      case(72):
+        return HashtableOfDouble_String72;
+      case(73):
+        return HashtableOfDouble_String73;
+      case(74):
+        return HashtableOfDouble_String74;
+      case(75):
+        return HashtableOfDouble_String75;
+      case(76):
+        return HashtableOfDouble_String76;
+      case(77):
+        return HashtableOfDouble_String77;
+      case(78):
+        return HashtableOfDouble_String78;
+      case(79):
+        return HashtableOfDouble_String79;
+      case(80):
+        return HashtableOfDouble_String80;
+      case(81):
+        return HashtableOfFloat_String81;
+      case(82):
+        return HashtableOfFloat_String82;
+      case(83):
+        return HashtableOfFloat_String83;
+      case(84):
+        return HashtableOfFloat_String84;
+      case(85):
+        return HashtableOfFloat_String85;
+      case(86):
+        return HashtableOfFloat_String86;
+      case(87):
+        return HashtableOfFloat_String87;
+      case(88):
+        return HashtableOfFloat_String88;
+      case(89):
+        return HashtableOfFloat_String89;
+      case(90):
+        return HashtableOfInteger_String90;
+      case(91):
+        return HashtableOfInteger_String91;
+      case(92):
+        return HashtableOfInteger_String92;
+      case(93):
+        return HashtableOfInteger_String93;
+      case(94):
+        return HashtableOfInteger_String94;
+      case(95):
+        return HashtableOfInteger_String95;
+      case(96):
+        return HashtableOfInteger_String96;
+      case(97):
+        return HashtableOfInteger_String97;
+      case(98):
+        return HashtableOfInteger_String98;
+      case(99):
+        return HashtableOfLong_String99;
+      case(100):
+        return HashtableOfLong_String100;
+      case(101):
+        return HashtableOfLong_String101;
+      case(102):
+        return HashtableOfLong_String102;
+      case(103):
+        return HashtableOfLong_String103;
+      case(104):
+        return HashtableOfLong_String104;
+      case(105):
+        return HashtableOfLong_String105;
+      case(106):
+        return HashtableOfLong_String106;
+      case(107):
+        return HashtableOfLong_String107;
+      case(108):
+        return HashtableOfShort_String108;
+      case(109):
+        return HashtableOfShort_String109;
+      case(110):
+        return HashtableOfShort_String110;
+      case(111):
+        return HashtableOfShort_String111;
+      case(112):
+        return HashtableOfShort_String112;
+      case(113):
+        return HashtableOfShort_String113;
+      case(114):
+        return HashtableOfShort_String114;
+      case(115):
+        return HashtableOfShort_String115;
+      case(116):
+        return HashtableOfShort_String116;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Hashtable value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        HashtableOfObject_String0= value;
+         break;
+      case(1):
+        HashtableOfObject_String1= value;
+         break;
+      case(2):
+        HashtableOfObject_String2= value;
+         break;
+      case(3):
+        HashtableOfObject_String3= value;
+         break;
+      case(4):
+        HashtableOfObject_String4= value;
+         break;
+      case(5):
+        HashtableOfObject_String5= value;
+         break;
+      case(6):
+        HashtableOfObject_String6= value;
+         break;
+      case(7):
+        HashtableOfObject_String7= value;
+         break;
+      case(8):
+        HashtableOfObject_String8= value;
+         break;
+      case(9):
+        HashtableOfSimpleClass_String9= value;
+         break;
+      case(10):
+        HashtableOfSimpleClass_String10= value;
+         break;
+      case(11):
+        HashtableOfSimpleClass_String11= value;
+         break;
+      case(12):
+        HashtableOfSimpleClass_String12= value;
+         break;
+      case(13):
+        HashtableOfSimpleClass_String13= value;
+         break;
+      case(14):
+        HashtableOfSimpleClass_String14= value;
+         break;
+      case(15):
+        HashtableOfSimpleClass_String15= value;
+         break;
+      case(16):
+        HashtableOfSimpleClass_String16= value;
+         break;
+      case(17):
+        HashtableOfSimpleClass_String17= value;
+         break;
+      case(18):
+        HashtableOfSimpleInterface_String18= value;
+         break;
+      case(19):
+        HashtableOfSimpleInterface_String19= value;
+         break;
+      case(20):
+        HashtableOfSimpleInterface_String20= value;
+         break;
+      case(21):
+        HashtableOfSimpleInterface_String21= value;
+         break;
+      case(22):
+        HashtableOfSimpleInterface_String22= value;
+         break;
+      case(23):
+        HashtableOfSimpleInterface_String23= value;
+         break;
+      case(24):
+        HashtableOfSimpleInterface_String24= value;
+         break;
+      case(25):
+        HashtableOfSimpleInterface_String25= value;
+         break;
+      case(26):
+        HashtableOfSimpleInterface_String26= value;
+         break;
+      case(27):
+        HashtableOfString_String27= value;
+         break;
+      case(28):
+        HashtableOfString_String28= value;
+         break;
+      case(29):
+        HashtableOfString_String29= value;
+         break;
+      case(30):
+        HashtableOfString_String30= value;
+         break;
+      case(31):
+        HashtableOfString_String31= value;
+         break;
+      case(32):
+        HashtableOfString_String32= value;
+         break;
+      case(33):
+        HashtableOfString_String33= value;
+         break;
+      case(34):
+        HashtableOfString_String34= value;
+         break;
+      case(35):
+        HashtableOfString_String35= value;
+         break;
+      case(36):
+        HashtableOfDate_String36= value;
+         break;
+      case(37):
+        HashtableOfDate_String37= value;
+         break;
+      case(38):
+        HashtableOfDate_String38= value;
+         break;
+      case(39):
+        HashtableOfDate_String39= value;
+         break;
+      case(40):
+        HashtableOfDate_String40= value;
+         break;
+      case(41):
+        HashtableOfDate_String41= value;
+         break;
+      case(42):
+        HashtableOfDate_String42= value;
+         break;
+      case(43):
+        HashtableOfDate_String43= value;
+         break;
+      case(44):
+        HashtableOfDate_String44= value;
+         break;
+      case(45):
+        HashtableOfBigDecimal_String45= value;
+         break;
+      case(46):
+        HashtableOfBigDecimal_String46= value;
+         break;
+      case(47):
+        HashtableOfBigDecimal_String47= value;
+         break;
+      case(48):
+        HashtableOfBigDecimal_String48= value;
+         break;
+      case(49):
+        HashtableOfBigDecimal_String49= value;
+         break;
+      case(50):
+        HashtableOfBigDecimal_String50= value;
+         break;
+      case(51):
+        HashtableOfBigDecimal_String51= value;
+         break;
+      case(52):
+        HashtableOfBigDecimal_String52= value;
+         break;
+      case(53):
+        HashtableOfBigDecimal_String53= value;
+         break;
+      case(54):
+        HashtableOfBigInteger_String54= value;
+         break;
+      case(55):
+        HashtableOfBigInteger_String55= value;
+         break;
+      case(56):
+        HashtableOfBigInteger_String56= value;
+         break;
+      case(57):
+        HashtableOfBigInteger_String57= value;
+         break;
+      case(58):
+        HashtableOfBigInteger_String58= value;
+         break;
+      case(59):
+        HashtableOfBigInteger_String59= value;
+         break;
+      case(60):
+        HashtableOfBigInteger_String60= value;
+         break;
+      case(61):
+        HashtableOfBigInteger_String61= value;
+         break;
+      case(62):
+        HashtableOfBigInteger_String62= value;
+         break;
+      case(63):
+        HashtableOfByte_String63= value;
+         break;
+      case(64):
+        HashtableOfByte_String64= value;
+         break;
+      case(65):
+        HashtableOfByte_String65= value;
+         break;
+      case(66):
+        HashtableOfByte_String66= value;
+         break;
+      case(67):
+        HashtableOfByte_String67= value;
+         break;
+      case(68):
+        HashtableOfByte_String68= value;
+         break;
+      case(69):
+        HashtableOfByte_String69= value;
+         break;
+      case(70):
+        HashtableOfByte_String70= value;
+         break;
+      case(71):
+        HashtableOfByte_String71= value;
+         break;
+      case(72):
+        HashtableOfDouble_String72= value;
+         break;
+      case(73):
+        HashtableOfDouble_String73= value;
+         break;
+      case(74):
+        HashtableOfDouble_String74= value;
+         break;
+      case(75):
+        HashtableOfDouble_String75= value;
+         break;
+      case(76):
+        HashtableOfDouble_String76= value;
+         break;
+      case(77):
+        HashtableOfDouble_String77= value;
+         break;
+      case(78):
+        HashtableOfDouble_String78= value;
+         break;
+      case(79):
+        HashtableOfDouble_String79= value;
+         break;
+      case(80):
+        HashtableOfDouble_String80= value;
+         break;
+      case(81):
+        HashtableOfFloat_String81= value;
+         break;
+      case(82):
+        HashtableOfFloat_String82= value;
+         break;
+      case(83):
+        HashtableOfFloat_String83= value;
+         break;
+      case(84):
+        HashtableOfFloat_String84= value;
+         break;
+      case(85):
+        HashtableOfFloat_String85= value;
+         break;
+      case(86):
+        HashtableOfFloat_String86= value;
+         break;
+      case(87):
+        HashtableOfFloat_String87= value;
+         break;
+      case(88):
+        HashtableOfFloat_String88= value;
+         break;
+      case(89):
+        HashtableOfFloat_String89= value;
+         break;
+      case(90):
+        HashtableOfInteger_String90= value;
+         break;
+      case(91):
+        HashtableOfInteger_String91= value;
+         break;
+      case(92):
+        HashtableOfInteger_String92= value;
+         break;
+      case(93):
+        HashtableOfInteger_String93= value;
+         break;
+      case(94):
+        HashtableOfInteger_String94= value;
+         break;
+      case(95):
+        HashtableOfInteger_String95= value;
+         break;
+      case(96):
+        HashtableOfInteger_String96= value;
+         break;
+      case(97):
+        HashtableOfInteger_String97= value;
+         break;
+      case(98):
+        HashtableOfInteger_String98= value;
+         break;
+      case(99):
+        HashtableOfLong_String99= value;
+         break;
+      case(100):
+        HashtableOfLong_String100= value;
+         break;
+      case(101):
+        HashtableOfLong_String101= value;
+         break;
+      case(102):
+        HashtableOfLong_String102= value;
+         break;
+      case(103):
+        HashtableOfLong_String103= value;
+         break;
+      case(104):
+        HashtableOfLong_String104= value;
+         break;
+      case(105):
+        HashtableOfLong_String105= value;
+         break;
+      case(106):
+        HashtableOfLong_String106= value;
+         break;
+      case(107):
+        HashtableOfLong_String107= value;
+         break;
+      case(108):
+        HashtableOfShort_String108= value;
+         break;
+      case(109):
+        HashtableOfShort_String109= value;
+         break;
+      case(110):
+        HashtableOfShort_String110= value;
+         break;
+      case(111):
+        HashtableOfShort_String111= value;
+         break;
+      case(112):
+        HashtableOfShort_String112= value;
+         break;
+      case(113):
+        HashtableOfShort_String113= value;
+         break;
+      case(114):
+        HashtableOfShort_String114= value;
+         break;
+      case(115):
+        HashtableOfShort_String115= value;
+         break;
+      case(116):
+        HashtableOfShort_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(justTheId(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;
+        }
+        
+        protected static String justTheId(String str) {
+            return str.substring(str.indexOf(':') + 1);
+        }
+
+    }   
+}

Propchange: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/HashtableStringValueCollections.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/LinkedListCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/LinkedListCollections.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/LinkedListCollections.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/LinkedListCollections.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,369 @@
+/*
+ * 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.LinkedList;
+
+public class LinkedListCollections { 
+  public int identifier;
+  public LinkedList LinkedListOfObject0;
+  public LinkedList LinkedListOfObject1;
+  public LinkedList LinkedListOfObject2;
+  public LinkedList LinkedListOfSimpleClass3;
+  public LinkedList LinkedListOfSimpleClass4;
+  public LinkedList LinkedListOfSimpleClass5;
+  public LinkedList LinkedListOfSimpleInterface6;
+  public LinkedList LinkedListOfSimpleInterface7;
+  public LinkedList LinkedListOfSimpleInterface8;
+  public LinkedList LinkedListOfString9;
+  public LinkedList LinkedListOfString10;
+  public LinkedList LinkedListOfString11;
+  public LinkedList LinkedListOfDate12;
+  public LinkedList LinkedListOfDate13;
+  public LinkedList LinkedListOfDate14;
+  public LinkedList LinkedListOfLocale15;
+  public LinkedList LinkedListOfLocale16;
+  public LinkedList LinkedListOfLocale17;
+  public LinkedList LinkedListOfBigDecimal18;
+  public LinkedList LinkedListOfBigDecimal19;
+  public LinkedList LinkedListOfBigDecimal20;
+  public LinkedList LinkedListOfBigInteger21;
+  public LinkedList LinkedListOfBigInteger22;
+  public LinkedList LinkedListOfBigInteger23;
+  public LinkedList LinkedListOfByte24;
+  public LinkedList LinkedListOfByte25;
+  public LinkedList LinkedListOfByte26;
+  public LinkedList LinkedListOfDouble27;
+  public LinkedList LinkedListOfDouble28;
+  public LinkedList LinkedListOfDouble29;
+  public LinkedList LinkedListOfFloat30;
+  public LinkedList LinkedListOfFloat31;
+  public LinkedList LinkedListOfFloat32;
+  public LinkedList LinkedListOfInteger33;
+  public LinkedList LinkedListOfInteger34;
+  public LinkedList LinkedListOfInteger35;
+  public LinkedList LinkedListOfLong36;
+  public LinkedList LinkedListOfLong37;
+  public LinkedList LinkedListOfLong38;
+  public LinkedList LinkedListOfShort39;
+  public LinkedList LinkedListOfShort40;
+  public LinkedList LinkedListOfShort41;
+
+  public static final String [] fieldSpecs = { 
+  "public LinkedList LinkedListOfObject0",
+  "embedded-element=true public LinkedList LinkedListOfObject1",
+  "embedded-element=false public LinkedList LinkedListOfObject2",
+  "public LinkedList LinkedListOfSimpleClass3",
+  "embedded-element=true public LinkedList LinkedListOfSimpleClass4",
+  "embedded-element=false public LinkedList LinkedListOfSimpleClass5",
+  "public LinkedList LinkedListOfSimpleInterface6",
+  "embedded-element=true public LinkedList LinkedListOfSimpleInterface7",
+  "embedded-element=false public LinkedList LinkedListOfSimpleInterface8",
+  "public LinkedList LinkedListOfString9",
+  "embedded-element=true public LinkedList LinkedListOfString10",
+  "embedded-element=false public LinkedList LinkedListOfString11",
+  "public LinkedList LinkedListOfDate12",
+  "embedded-element=true public LinkedList LinkedListOfDate13",
+  "embedded-element=false public LinkedList LinkedListOfDate14",
+  "public LinkedList LinkedListOfLocale15",
+  "embedded-element=true public LinkedList LinkedListOfLocale16",
+  "embedded-element=false public LinkedList LinkedListOfLocale17",
+  "public LinkedList LinkedListOfBigDecimal18",
+  "embedded-element=true public LinkedList LinkedListOfBigDecimal19",
+  "embedded-element=false public LinkedList LinkedListOfBigDecimal20",
+  "public LinkedList LinkedListOfBigInteger21",
+  "embedded-element=true public LinkedList LinkedListOfBigInteger22",
+  "embedded-element=false public LinkedList LinkedListOfBigInteger23",
+  "public LinkedList LinkedListOfByte24",
+  "embedded-element=true public LinkedList LinkedListOfByte25",
+  "embedded-element=false public LinkedList LinkedListOfByte26",
+  "public LinkedList LinkedListOfDouble27",
+  "embedded-element=true public LinkedList LinkedListOfDouble28",
+  "embedded-element=false public LinkedList LinkedListOfDouble29",
+  "public LinkedList LinkedListOfFloat30",
+  "embedded-element=true public LinkedList LinkedListOfFloat31",
+  "embedded-element=false public LinkedList LinkedListOfFloat32",
+  "public LinkedList LinkedListOfInteger33",
+  "embedded-element=true public LinkedList LinkedListOfInteger34",
+  "embedded-element=false public LinkedList LinkedListOfInteger35",
+  "public LinkedList LinkedListOfLong36",
+  "embedded-element=true public LinkedList LinkedListOfLong37",
+  "embedded-element=false public LinkedList LinkedListOfLong38",
+  "public LinkedList LinkedListOfShort39",
+  "embedded-element=true public LinkedList LinkedListOfShort40",
+  "embedded-element=false public LinkedList LinkedListOfShort41"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public LinkedList get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return LinkedListOfObject0;
+      case(1):
+        return LinkedListOfObject1;
+      case(2):
+        return LinkedListOfObject2;
+      case(3):
+        return LinkedListOfSimpleClass3;
+      case(4):
+        return LinkedListOfSimpleClass4;
+      case(5):
+        return LinkedListOfSimpleClass5;
+      case(6):
+        return LinkedListOfSimpleInterface6;
+      case(7):
+        return LinkedListOfSimpleInterface7;
+      case(8):
+        return LinkedListOfSimpleInterface8;
+      case(9):
+        return LinkedListOfString9;
+      case(10):
+        return LinkedListOfString10;
+      case(11):
+        return LinkedListOfString11;
+      case(12):
+        return LinkedListOfDate12;
+      case(13):
+        return LinkedListOfDate13;
+      case(14):
+        return LinkedListOfDate14;
+      case(15):
+        return LinkedListOfLocale15;
+      case(16):
+        return LinkedListOfLocale16;
+      case(17):
+        return LinkedListOfLocale17;
+      case(18):
+        return LinkedListOfBigDecimal18;
+      case(19):
+        return LinkedListOfBigDecimal19;
+      case(20):
+        return LinkedListOfBigDecimal20;
+      case(21):
+        return LinkedListOfBigInteger21;
+      case(22):
+        return LinkedListOfBigInteger22;
+      case(23):
+        return LinkedListOfBigInteger23;
+      case(24):
+        return LinkedListOfByte24;
+      case(25):
+        return LinkedListOfByte25;
+      case(26):
+        return LinkedListOfByte26;
+      case(27):
+        return LinkedListOfDouble27;
+      case(28):
+        return LinkedListOfDouble28;
+      case(29):
+        return LinkedListOfDouble29;
+      case(30):
+        return LinkedListOfFloat30;
+      case(31):
+        return LinkedListOfFloat31;
+      case(32):
+        return LinkedListOfFloat32;
+      case(33):
+        return LinkedListOfInteger33;
+      case(34):
+        return LinkedListOfInteger34;
+      case(35):
+        return LinkedListOfInteger35;
+      case(36):
+        return LinkedListOfLong36;
+      case(37):
+        return LinkedListOfLong37;
+      case(38):
+        return LinkedListOfLong38;
+      case(39):
+        return LinkedListOfShort39;
+      case(40):
+        return LinkedListOfShort40;
+      case(41):
+        return LinkedListOfShort41;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,LinkedList value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        LinkedListOfObject0= value;
+         break;
+      case(1):
+        LinkedListOfObject1= value;
+         break;
+      case(2):
+        LinkedListOfObject2= value;
+         break;
+      case(3):
+        LinkedListOfSimpleClass3= value;
+         break;
+      case(4):
+        LinkedListOfSimpleClass4= value;
+         break;
+      case(5):
+        LinkedListOfSimpleClass5= value;
+         break;
+      case(6):
+        LinkedListOfSimpleInterface6= value;
+         break;
+      case(7):
+        LinkedListOfSimpleInterface7= value;
+         break;
+      case(8):
+        LinkedListOfSimpleInterface8= value;
+         break;
+      case(9):
+        LinkedListOfString9= value;
+         break;
+      case(10):
+        LinkedListOfString10= value;
+         break;
+      case(11):
+        LinkedListOfString11= value;
+         break;
+      case(12):
+        LinkedListOfDate12= value;
+         break;
+      case(13):
+        LinkedListOfDate13= value;
+         break;
+      case(14):
+        LinkedListOfDate14= value;
+         break;
+      case(15):
+        LinkedListOfLocale15= value;
+         break;
+      case(16):
+        LinkedListOfLocale16= value;
+         break;
+      case(17):
+        LinkedListOfLocale17= value;
+         break;
+      case(18):
+        LinkedListOfBigDecimal18= value;
+         break;
+      case(19):
+        LinkedListOfBigDecimal19= value;
+         break;
+      case(20):
+        LinkedListOfBigDecimal20= value;
+         break;
+      case(21):
+        LinkedListOfBigInteger21= value;
+         break;
+      case(22):
+        LinkedListOfBigInteger22= value;
+         break;
+      case(23):
+        LinkedListOfBigInteger23= value;
+         break;
+      case(24):
+        LinkedListOfByte24= value;
+         break;
+      case(25):
+        LinkedListOfByte25= value;
+         break;
+      case(26):
+        LinkedListOfByte26= value;
+         break;
+      case(27):
+        LinkedListOfDouble27= value;
+         break;
+      case(28):
+        LinkedListOfDouble28= value;
+         break;
+      case(29):
+        LinkedListOfDouble29= value;
+         break;
+      case(30):
+        LinkedListOfFloat30= value;
+         break;
+      case(31):
+        LinkedListOfFloat31= value;
+         break;
+      case(32):
+        LinkedListOfFloat32= value;
+         break;
+      case(33):
+        LinkedListOfInteger33= value;
+         break;
+      case(34):
+        LinkedListOfInteger34= value;
+         break;
+      case(35):
+        LinkedListOfInteger35= value;
+         break;
+      case(36):
+        LinkedListOfLong36= value;
+         break;
+      case(37):
+        LinkedListOfLong37= value;
+         break;
+      case(38):
+        LinkedListOfLong38= value;
+         break;
+      case(39):
+        LinkedListOfShort39= value;
+         break;
+      case(40):
+        LinkedListOfShort40= value;
+         break;
+      case(41):
+        LinkedListOfShort41= 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(justTheId(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;
+        }
+        
+        protected static String justTheId(String str) {
+            return str.substring(str.indexOf(':') + 1);
+        }
+    }   
+}

Propchange: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/LinkedListCollections.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,370 @@
+/*
+ * 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(justTheId(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;
+        }
+        
+        protected static String justTheId(String str) {
+            return str.substring(str.indexOf(':') + 1);
+        }
+
+    }   
+}

Propchange: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/ListCollections.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message