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 [22/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:49 GMT
Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDate.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDate.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDate.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDate.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,1090 @@
+/*
+ * 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.*;
+public class FieldsOfDate { 
+  public int identifier;
+  private Date Date0;
+  private Date Date1;
+  private Date Date2;
+  private Date Date3;
+  private Date Date4;
+  private Date Date5;
+  private Date Date6;
+  private Date Date7;
+  private static Date Date8;
+  private transient Date Date9;
+  private transient Date Date10;
+  private transient Date Date11;
+  private transient Date Date12;
+  private transient Date Date13;
+  private transient Date Date14;
+  private final Date Date15 = new Date();
+  private volatile Date Date16;
+  private volatile Date Date17;
+  private volatile Date Date18;
+  private volatile Date Date19;
+  private volatile Date Date20;
+  private volatile Date Date21;
+  private volatile Date Date22;
+  private volatile Date Date23;
+  private static transient Date Date24;
+  private static final Date Date25 = new Date();
+  private static volatile Date Date26;
+  private transient final Date Date27 = new Date();
+  private transient volatile Date Date28;
+  private transient volatile Date Date29;
+  private transient volatile Date Date30;
+  private transient volatile Date Date31;
+  private transient volatile Date Date32;
+  private transient volatile Date Date33;
+  private static transient final Date Date34 = new Date();
+  private static transient volatile Date Date35;
+  public Date Date36;
+  public Date Date37;
+  public Date Date38;
+  public Date Date39;
+  public Date Date40;
+  public Date Date41;
+  public Date Date42;
+  public Date Date43;
+  public static Date Date44;
+  public transient Date Date45;
+  public transient Date Date46;
+  public transient Date Date47;
+  public transient Date Date48;
+  public transient Date Date49;
+  public transient Date Date50;
+  public final Date Date51 = new Date();
+  public volatile Date Date52;
+  public volatile Date Date53;
+  public volatile Date Date54;
+  public volatile Date Date55;
+  public volatile Date Date56;
+  public volatile Date Date57;
+  public volatile Date Date58;
+  public volatile Date Date59;
+  public static transient Date Date60;
+  public static final Date Date61 = new Date();
+  public static volatile Date Date62;
+  public transient final Date Date63 = new Date();
+  public transient volatile Date Date64;
+  public transient volatile Date Date65;
+  public transient volatile Date Date66;
+  public transient volatile Date Date67;
+  public transient volatile Date Date68;
+  public transient volatile Date Date69;
+  public static transient final Date Date70 = new Date();
+  public static transient volatile Date Date71;
+  protected Date Date72;
+  protected Date Date73;
+  protected Date Date74;
+  protected Date Date75;
+  protected Date Date76;
+  protected Date Date77;
+  protected Date Date78;
+  protected Date Date79;
+  protected static Date Date80;
+  protected transient Date Date81;
+  protected transient Date Date82;
+  protected transient Date Date83;
+  protected transient Date Date84;
+  protected transient Date Date85;
+  protected transient Date Date86;
+  protected final Date Date87 = new Date();
+  protected volatile Date Date88;
+  protected volatile Date Date89;
+  protected volatile Date Date90;
+  protected volatile Date Date91;
+  protected volatile Date Date92;
+  protected volatile Date Date93;
+  protected volatile Date Date94;
+  protected volatile Date Date95;
+  protected static transient Date Date96;
+  protected static final Date Date97 = new Date();
+  protected static volatile Date Date98;
+  protected transient final Date Date99 = new Date();
+  protected transient volatile Date Date100;
+  protected transient volatile Date Date101;
+  protected transient volatile Date Date102;
+  protected transient volatile Date Date103;
+  protected transient volatile Date Date104;
+  protected transient volatile Date Date105;
+  protected static transient final Date Date106 = new Date();
+  protected static transient volatile Date Date107;
+  Date Date108;
+  Date Date109;
+  Date Date110;
+  Date Date111;
+  Date Date112;
+  Date Date113;
+  Date Date114;
+  Date Date115;
+  static Date Date116;
+  transient Date Date117;
+  transient Date Date118;
+  transient Date Date119;
+  transient Date Date120;
+  transient Date Date121;
+  transient Date Date122;
+  final Date Date123 = new Date();
+  volatile Date Date124;
+  volatile Date Date125;
+  volatile Date Date126;
+  volatile Date Date127;
+  volatile Date Date128;
+  volatile Date Date129;
+  volatile Date Date130;
+  volatile Date Date131;
+  static transient Date Date132;
+  static final Date Date133 = new Date();
+  static volatile Date Date134;
+  transient final Date Date135 = new Date();
+  transient volatile Date Date136;
+  transient volatile Date Date137;
+  transient volatile Date Date138;
+  transient volatile Date Date139;
+  transient volatile Date Date140;
+  transient volatile Date Date141;
+  static transient final Date Date142 = new Date();
+  static transient volatile Date Date143;
+
+public static final boolean [] isPersistent = { 
+true,true,true,false,true,true,true,false,false,false,
+false,true,true,true,false,false,true,true,true,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,true,false,false,false,true,true,true,false,
+true,true,true,false,false,false,false,true,true,true,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,true,true,true,false,false,true,true,
+true,false,true,true,true,false,false,false,false,false,
+false,false,true,true,true,false,false,false,true,true,
+true,false,true,true,true,false,false,false,false,true,
+true,true,false,false,true,true,true,false,true,true,
+true,false,false,false,false,false,false,false,true,true,
+true,false,false,false
+ };
+
+public static final boolean [] isStatic = { 
+false,false,false,false,false,false,false,false,true,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,true,true,true,false,false,false,
+false,false,false,false,true,true,false,false,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,false,false,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,false,false,false,false,true,true,false,false,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,true,true,true,false,false,false,false,false,
+false,false,true,true
+ };
+
+public static final boolean [] isFinal = { 
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,true,false,false,false,false,
+false,false,false,false,false,true,false,true,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,true,false,false,false,false,false,false,false,false,
+false,true,false,true,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,false,true,false,false,
+false,false,false,false,false,false,false,true,false,true,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,true,false,false,false,false,false,false,
+false,false,false,true,false,true,false,false,false,false,
+false,false,true,false
+ };
+
+  public static final String [] fieldSpecs = { 
+  "private Date Date0",
+  "embedded= true   private Date Date1",
+  "embedded= false   private Date Date2",
+  "persistence-modifier= none    private Date Date3",
+  "persistence-modifier= persistent    private Date Date4",
+  "persistence-modifier= persistent  embedded= true   private Date Date5",
+  "persistence-modifier= persistent  embedded= false   private Date Date6",
+  "persistence-modifier= transactional    private Date Date7",
+  "private static Date Date8",
+  "private transient Date Date9",
+  "persistence-modifier= none    private transient Date Date10",
+  "persistence-modifier= persistent    private transient Date Date11",
+  "persistence-modifier= persistent  embedded= true   private transient Date Date12",
+  "persistence-modifier= persistent  embedded= false   private transient Date Date13",
+  "persistence-modifier= transactional    private transient Date Date14",
+  "private final Date Date15",
+  "private volatile Date Date16",
+  "embedded= true   private volatile Date Date17",
+  "embedded= false   private volatile Date Date18",
+  "persistence-modifier= none    private volatile Date Date19",
+  "persistence-modifier= persistent    private volatile Date Date20",
+  "persistence-modifier= persistent  embedded= true   private volatile Date Date21",
+  "persistence-modifier= persistent  embedded= false   private volatile Date Date22",
+  "persistence-modifier= transactional    private volatile Date Date23",
+  "private static transient Date Date24",
+  "private static final Date Date25",
+  "private static volatile Date Date26",
+  "private transient final Date Date27",
+  "private transient volatile Date Date28",
+  "persistence-modifier= none    private transient volatile Date Date29",
+  "persistence-modifier= persistent    private transient volatile Date Date30",
+  "persistence-modifier= persistent  embedded= true   private transient volatile Date Date31",
+  "persistence-modifier= persistent  embedded= false   private transient volatile Date Date32",
+  "persistence-modifier= transactional    private transient volatile Date Date33",
+  "private static transient final Date Date34",
+  "private static transient volatile Date Date35",
+  "public Date Date36",
+  "embedded= true   public Date Date37",
+  "embedded= false   public Date Date38",
+  "persistence-modifier= none    public Date Date39",
+  "persistence-modifier= persistent    public Date Date40",
+  "persistence-modifier= persistent  embedded= true   public Date Date41",
+  "persistence-modifier= persistent  embedded= false   public Date Date42",
+  "persistence-modifier= transactional    public Date Date43",
+  "public static Date Date44",
+  "public transient Date Date45",
+  "persistence-modifier= none    public transient Date Date46",
+  "persistence-modifier= persistent    public transient Date Date47",
+  "persistence-modifier= persistent  embedded= true   public transient Date Date48",
+  "persistence-modifier= persistent  embedded= false   public transient Date Date49",
+  "persistence-modifier= transactional    public transient Date Date50",
+  "public final Date Date51",
+  "public volatile Date Date52",
+  "embedded= true   public volatile Date Date53",
+  "embedded= false   public volatile Date Date54",
+  "persistence-modifier= none    public volatile Date Date55",
+  "persistence-modifier= persistent    public volatile Date Date56",
+  "persistence-modifier= persistent  embedded= true   public volatile Date Date57",
+  "persistence-modifier= persistent  embedded= false   public volatile Date Date58",
+  "persistence-modifier= transactional    public volatile Date Date59",
+  "public static transient Date Date60",
+  "public static final Date Date61",
+  "public static volatile Date Date62",
+  "public transient final Date Date63",
+  "public transient volatile Date Date64",
+  "persistence-modifier= none    public transient volatile Date Date65",
+  "persistence-modifier= persistent    public transient volatile Date Date66",
+  "persistence-modifier= persistent  embedded= true   public transient volatile Date Date67",
+  "persistence-modifier= persistent  embedded= false   public transient volatile Date Date68",
+  "persistence-modifier= transactional    public transient volatile Date Date69",
+  "public static transient final Date Date70",
+  "public static transient volatile Date Date71",
+  "protected Date Date72",
+  "embedded= true   protected Date Date73",
+  "embedded= false   protected Date Date74",
+  "persistence-modifier= none    protected Date Date75",
+  "persistence-modifier= persistent    protected Date Date76",
+  "persistence-modifier= persistent  embedded= true   protected Date Date77",
+  "persistence-modifier= persistent  embedded= false   protected Date Date78",
+  "persistence-modifier= transactional    protected Date Date79",
+  "protected static Date Date80",
+  "protected transient Date Date81",
+  "persistence-modifier= none    protected transient Date Date82",
+  "persistence-modifier= persistent    protected transient Date Date83",
+  "persistence-modifier= persistent  embedded= true   protected transient Date Date84",
+  "persistence-modifier= persistent  embedded= false   protected transient Date Date85",
+  "persistence-modifier= transactional    protected transient Date Date86",
+  "protected final Date Date87",
+  "protected volatile Date Date88",
+  "embedded= true   protected volatile Date Date89",
+  "embedded= false   protected volatile Date Date90",
+  "persistence-modifier= none    protected volatile Date Date91",
+  "persistence-modifier= persistent    protected volatile Date Date92",
+  "persistence-modifier= persistent  embedded= true   protected volatile Date Date93",
+  "persistence-modifier= persistent  embedded= false   protected volatile Date Date94",
+  "persistence-modifier= transactional    protected volatile Date Date95",
+  "protected static transient Date Date96",
+  "protected static final Date Date97",
+  "protected static volatile Date Date98",
+  "protected transient final Date Date99",
+  "protected transient volatile Date Date100",
+  "persistence-modifier= none    protected transient volatile Date Date101",
+  "persistence-modifier= persistent    protected transient volatile Date Date102",
+  "persistence-modifier= persistent  embedded= true   protected transient volatile Date Date103",
+  "persistence-modifier= persistent  embedded= false   protected transient volatile Date Date104",
+  "persistence-modifier= transactional    protected transient volatile Date Date105",
+  "protected static transient final Date Date106",
+  "protected static transient volatile Date Date107",
+  "Date Date108",
+  "embedded= true   Date Date109",
+  "embedded= false   Date Date110",
+  "persistence-modifier= none    Date Date111",
+  "persistence-modifier= persistent    Date Date112",
+  "persistence-modifier= persistent  embedded= true   Date Date113",
+  "persistence-modifier= persistent  embedded= false   Date Date114",
+  "persistence-modifier= transactional    Date Date115",
+  "static Date Date116",
+  "transient Date Date117",
+  "persistence-modifier= none    transient Date Date118",
+  "persistence-modifier= persistent    transient Date Date119",
+  "persistence-modifier= persistent  embedded= true   transient Date Date120",
+  "persistence-modifier= persistent  embedded= false   transient Date Date121",
+  "persistence-modifier= transactional    transient Date Date122",
+  "final Date Date123",
+  "volatile Date Date124",
+  "embedded= true   volatile Date Date125",
+  "embedded= false   volatile Date Date126",
+  "persistence-modifier= none    volatile Date Date127",
+  "persistence-modifier= persistent    volatile Date Date128",
+  "persistence-modifier= persistent  embedded= true   volatile Date Date129",
+  "persistence-modifier= persistent  embedded= false   volatile Date Date130",
+  "persistence-modifier= transactional    volatile Date Date131",
+  "static transient Date Date132",
+  "static final Date Date133",
+  "static volatile Date Date134",
+  "transient final Date Date135",
+  "transient volatile Date Date136",
+  "persistence-modifier= none    transient volatile Date Date137",
+  "persistence-modifier= persistent    transient volatile Date Date138",
+  "persistence-modifier= persistent  embedded= true   transient volatile Date Date139",
+  "persistence-modifier= persistent  embedded= false   transient volatile Date Date140",
+  "persistence-modifier= transactional    transient volatile Date Date141",
+  "static transient final Date Date142",
+  "static transient volatile Date Date143"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Date get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return Date0;
+      case(1):
+        return Date1;
+      case(2):
+        return Date2;
+      case(3):
+        return Date3;
+      case(4):
+        return Date4;
+      case(5):
+        return Date5;
+      case(6):
+        return Date6;
+      case(7):
+        return Date7;
+      case(8):
+        return Date8;
+      case(9):
+        return Date9;
+      case(10):
+        return Date10;
+      case(11):
+        return Date11;
+      case(12):
+        return Date12;
+      case(13):
+        return Date13;
+      case(14):
+        return Date14;
+      case(15):
+        return Date15;
+      case(16):
+        return Date16;
+      case(17):
+        return Date17;
+      case(18):
+        return Date18;
+      case(19):
+        return Date19;
+      case(20):
+        return Date20;
+      case(21):
+        return Date21;
+      case(22):
+        return Date22;
+      case(23):
+        return Date23;
+      case(24):
+        return Date24;
+      case(25):
+        return Date25;
+      case(26):
+        return Date26;
+      case(27):
+        return Date27;
+      case(28):
+        return Date28;
+      case(29):
+        return Date29;
+      case(30):
+        return Date30;
+      case(31):
+        return Date31;
+      case(32):
+        return Date32;
+      case(33):
+        return Date33;
+      case(34):
+        return Date34;
+      case(35):
+        return Date35;
+      case(36):
+        return Date36;
+      case(37):
+        return Date37;
+      case(38):
+        return Date38;
+      case(39):
+        return Date39;
+      case(40):
+        return Date40;
+      case(41):
+        return Date41;
+      case(42):
+        return Date42;
+      case(43):
+        return Date43;
+      case(44):
+        return Date44;
+      case(45):
+        return Date45;
+      case(46):
+        return Date46;
+      case(47):
+        return Date47;
+      case(48):
+        return Date48;
+      case(49):
+        return Date49;
+      case(50):
+        return Date50;
+      case(51):
+        return Date51;
+      case(52):
+        return Date52;
+      case(53):
+        return Date53;
+      case(54):
+        return Date54;
+      case(55):
+        return Date55;
+      case(56):
+        return Date56;
+      case(57):
+        return Date57;
+      case(58):
+        return Date58;
+      case(59):
+        return Date59;
+      case(60):
+        return Date60;
+      case(61):
+        return Date61;
+      case(62):
+        return Date62;
+      case(63):
+        return Date63;
+      case(64):
+        return Date64;
+      case(65):
+        return Date65;
+      case(66):
+        return Date66;
+      case(67):
+        return Date67;
+      case(68):
+        return Date68;
+      case(69):
+        return Date69;
+      case(70):
+        return Date70;
+      case(71):
+        return Date71;
+      case(72):
+        return Date72;
+      case(73):
+        return Date73;
+      case(74):
+        return Date74;
+      case(75):
+        return Date75;
+      case(76):
+        return Date76;
+      case(77):
+        return Date77;
+      case(78):
+        return Date78;
+      case(79):
+        return Date79;
+      case(80):
+        return Date80;
+      case(81):
+        return Date81;
+      case(82):
+        return Date82;
+      case(83):
+        return Date83;
+      case(84):
+        return Date84;
+      case(85):
+        return Date85;
+      case(86):
+        return Date86;
+      case(87):
+        return Date87;
+      case(88):
+        return Date88;
+      case(89):
+        return Date89;
+      case(90):
+        return Date90;
+      case(91):
+        return Date91;
+      case(92):
+        return Date92;
+      case(93):
+        return Date93;
+      case(94):
+        return Date94;
+      case(95):
+        return Date95;
+      case(96):
+        return Date96;
+      case(97):
+        return Date97;
+      case(98):
+        return Date98;
+      case(99):
+        return Date99;
+      case(100):
+        return Date100;
+      case(101):
+        return Date101;
+      case(102):
+        return Date102;
+      case(103):
+        return Date103;
+      case(104):
+        return Date104;
+      case(105):
+        return Date105;
+      case(106):
+        return Date106;
+      case(107):
+        return Date107;
+      case(108):
+        return Date108;
+      case(109):
+        return Date109;
+      case(110):
+        return Date110;
+      case(111):
+        return Date111;
+      case(112):
+        return Date112;
+      case(113):
+        return Date113;
+      case(114):
+        return Date114;
+      case(115):
+        return Date115;
+      case(116):
+        return Date116;
+      case(117):
+        return Date117;
+      case(118):
+        return Date118;
+      case(119):
+        return Date119;
+      case(120):
+        return Date120;
+      case(121):
+        return Date121;
+      case(122):
+        return Date122;
+      case(123):
+        return Date123;
+      case(124):
+        return Date124;
+      case(125):
+        return Date125;
+      case(126):
+        return Date126;
+      case(127):
+        return Date127;
+      case(128):
+        return Date128;
+      case(129):
+        return Date129;
+      case(130):
+        return Date130;
+      case(131):
+        return Date131;
+      case(132):
+        return Date132;
+      case(133):
+        return Date133;
+      case(134):
+        return Date134;
+      case(135):
+        return Date135;
+      case(136):
+        return Date136;
+      case(137):
+        return Date137;
+      case(138):
+        return Date138;
+      case(139):
+        return Date139;
+      case(140):
+        return Date140;
+      case(141):
+        return Date141;
+      case(142):
+        return Date142;
+      case(143):
+        return Date143;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Date value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        Date0= value;
+         break;
+      case(1):
+        Date1= value;
+         break;
+      case(2):
+        Date2= value;
+         break;
+      case(3):
+        Date3= value;
+         break;
+      case(4):
+        Date4= value;
+         break;
+      case(5):
+        Date5= value;
+         break;
+      case(6):
+        Date6= value;
+         break;
+      case(7):
+        Date7= value;
+         break;
+      case(8):
+        Date8= value;
+         break;
+      case(9):
+        Date9= value;
+         break;
+      case(10):
+        Date10= value;
+         break;
+      case(11):
+        Date11= value;
+         break;
+      case(12):
+        Date12= value;
+         break;
+      case(13):
+        Date13= value;
+         break;
+      case(14):
+        Date14= value;
+         break;
+      case(16):
+        Date16= value;
+         break;
+      case(17):
+        Date17= value;
+         break;
+      case(18):
+        Date18= value;
+         break;
+      case(19):
+        Date19= value;
+         break;
+      case(20):
+        Date20= value;
+         break;
+      case(21):
+        Date21= value;
+         break;
+      case(22):
+        Date22= value;
+         break;
+      case(23):
+        Date23= value;
+         break;
+      case(24):
+        Date24= value;
+         break;
+      case(26):
+        Date26= value;
+         break;
+      case(28):
+        Date28= value;
+         break;
+      case(29):
+        Date29= value;
+         break;
+      case(30):
+        Date30= value;
+         break;
+      case(31):
+        Date31= value;
+         break;
+      case(32):
+        Date32= value;
+         break;
+      case(33):
+        Date33= value;
+         break;
+      case(35):
+        Date35= value;
+         break;
+      case(36):
+        Date36= value;
+         break;
+      case(37):
+        Date37= value;
+         break;
+      case(38):
+        Date38= value;
+         break;
+      case(39):
+        Date39= value;
+         break;
+      case(40):
+        Date40= value;
+         break;
+      case(41):
+        Date41= value;
+         break;
+      case(42):
+        Date42= value;
+         break;
+      case(43):
+        Date43= value;
+         break;
+      case(44):
+        Date44= value;
+         break;
+      case(45):
+        Date45= value;
+         break;
+      case(46):
+        Date46= value;
+         break;
+      case(47):
+        Date47= value;
+         break;
+      case(48):
+        Date48= value;
+         break;
+      case(49):
+        Date49= value;
+         break;
+      case(50):
+        Date50= value;
+         break;
+      case(52):
+        Date52= value;
+         break;
+      case(53):
+        Date53= value;
+         break;
+      case(54):
+        Date54= value;
+         break;
+      case(55):
+        Date55= value;
+         break;
+      case(56):
+        Date56= value;
+         break;
+      case(57):
+        Date57= value;
+         break;
+      case(58):
+        Date58= value;
+         break;
+      case(59):
+        Date59= value;
+         break;
+      case(60):
+        Date60= value;
+         break;
+      case(62):
+        Date62= value;
+         break;
+      case(64):
+        Date64= value;
+         break;
+      case(65):
+        Date65= value;
+         break;
+      case(66):
+        Date66= value;
+         break;
+      case(67):
+        Date67= value;
+         break;
+      case(68):
+        Date68= value;
+         break;
+      case(69):
+        Date69= value;
+         break;
+      case(71):
+        Date71= value;
+         break;
+      case(72):
+        Date72= value;
+         break;
+      case(73):
+        Date73= value;
+         break;
+      case(74):
+        Date74= value;
+         break;
+      case(75):
+        Date75= value;
+         break;
+      case(76):
+        Date76= value;
+         break;
+      case(77):
+        Date77= value;
+         break;
+      case(78):
+        Date78= value;
+         break;
+      case(79):
+        Date79= value;
+         break;
+      case(80):
+        Date80= value;
+         break;
+      case(81):
+        Date81= value;
+         break;
+      case(82):
+        Date82= value;
+         break;
+      case(83):
+        Date83= value;
+         break;
+      case(84):
+        Date84= value;
+         break;
+      case(85):
+        Date85= value;
+         break;
+      case(86):
+        Date86= value;
+         break;
+      case(88):
+        Date88= value;
+         break;
+      case(89):
+        Date89= value;
+         break;
+      case(90):
+        Date90= value;
+         break;
+      case(91):
+        Date91= value;
+         break;
+      case(92):
+        Date92= value;
+         break;
+      case(93):
+        Date93= value;
+         break;
+      case(94):
+        Date94= value;
+         break;
+      case(95):
+        Date95= value;
+         break;
+      case(96):
+        Date96= value;
+         break;
+      case(98):
+        Date98= value;
+         break;
+      case(100):
+        Date100= value;
+         break;
+      case(101):
+        Date101= value;
+         break;
+      case(102):
+        Date102= value;
+         break;
+      case(103):
+        Date103= value;
+         break;
+      case(104):
+        Date104= value;
+         break;
+      case(105):
+        Date105= value;
+         break;
+      case(107):
+        Date107= value;
+         break;
+      case(108):
+        Date108= value;
+         break;
+      case(109):
+        Date109= value;
+         break;
+      case(110):
+        Date110= value;
+         break;
+      case(111):
+        Date111= value;
+         break;
+      case(112):
+        Date112= value;
+         break;
+      case(113):
+        Date113= value;
+         break;
+      case(114):
+        Date114= value;
+         break;
+      case(115):
+        Date115= value;
+         break;
+      case(116):
+        Date116= value;
+         break;
+      case(117):
+        Date117= value;
+         break;
+      case(118):
+        Date118= value;
+         break;
+      case(119):
+        Date119= value;
+         break;
+      case(120):
+        Date120= value;
+         break;
+      case(121):
+        Date121= value;
+         break;
+      case(122):
+        Date122= value;
+         break;
+      case(124):
+        Date124= value;
+         break;
+      case(125):
+        Date125= value;
+         break;
+      case(126):
+        Date126= value;
+         break;
+      case(127):
+        Date127= value;
+         break;
+      case(128):
+        Date128= value;
+         break;
+      case(129):
+        Date129= value;
+         break;
+      case(130):
+        Date130= value;
+         break;
+      case(131):
+        Date131= value;
+         break;
+      case(132):
+        Date132= value;
+         break;
+      case(134):
+        Date134= value;
+         break;
+      case(136):
+        Date136= value;
+         break;
+      case(137):
+        Date137= value;
+         break;
+      case(138):
+        Date138= value;
+         break;
+      case(139):
+        Date139= value;
+         break;
+      case(140):
+        Date140= value;
+         break;
+      case(141):
+        Date141= value;
+         break;
+      case(143):
+        Date143= 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/FieldsOfDate.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDouble.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDouble.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDouble.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfDouble.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,1089 @@
+/*
+ * 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;
+
+public class FieldsOfDouble { 
+  public int identifier;
+  private Double Double0;
+  private Double Double1;
+  private Double Double2;
+  private Double Double3;
+  private Double Double4;
+  private Double Double5;
+  private Double Double6;
+  private Double Double7;
+  private static Double Double8;
+  private transient Double Double9;
+  private transient Double Double10;
+  private transient Double Double11;
+  private transient Double Double12;
+  private transient Double Double13;
+  private transient Double Double14;
+  private final Double Double15 = new Double((double)5);
+  private volatile Double Double16;
+  private volatile Double Double17;
+  private volatile Double Double18;
+  private volatile Double Double19;
+  private volatile Double Double20;
+  private volatile Double Double21;
+  private volatile Double Double22;
+  private volatile Double Double23;
+  private static transient Double Double24;
+  private static final Double Double25 = new Double((double)5);
+  private static volatile Double Double26;
+  private transient final Double Double27 = new Double((double)5);
+  private transient volatile Double Double28;
+  private transient volatile Double Double29;
+  private transient volatile Double Double30;
+  private transient volatile Double Double31;
+  private transient volatile Double Double32;
+  private transient volatile Double Double33;
+  private static transient final Double Double34 = new Double((double)5);
+  private static transient volatile Double Double35;
+  public Double Double36;
+  public Double Double37;
+  public Double Double38;
+  public Double Double39;
+  public Double Double40;
+  public Double Double41;
+  public Double Double42;
+  public Double Double43;
+  public static Double Double44;
+  public transient Double Double45;
+  public transient Double Double46;
+  public transient Double Double47;
+  public transient Double Double48;
+  public transient Double Double49;
+  public transient Double Double50;
+  public final Double Double51 = new Double((double)5);
+  public volatile Double Double52;
+  public volatile Double Double53;
+  public volatile Double Double54;
+  public volatile Double Double55;
+  public volatile Double Double56;
+  public volatile Double Double57;
+  public volatile Double Double58;
+  public volatile Double Double59;
+  public static transient Double Double60;
+  public static final Double Double61 = new Double((double)5);
+  public static volatile Double Double62;
+  public transient final Double Double63 = new Double((double)5);
+  public transient volatile Double Double64;
+  public transient volatile Double Double65;
+  public transient volatile Double Double66;
+  public transient volatile Double Double67;
+  public transient volatile Double Double68;
+  public transient volatile Double Double69;
+  public static transient final Double Double70 = new Double((double)5);
+  public static transient volatile Double Double71;
+  protected Double Double72;
+  protected Double Double73;
+  protected Double Double74;
+  protected Double Double75;
+  protected Double Double76;
+  protected Double Double77;
+  protected Double Double78;
+  protected Double Double79;
+  protected static Double Double80;
+  protected transient Double Double81;
+  protected transient Double Double82;
+  protected transient Double Double83;
+  protected transient Double Double84;
+  protected transient Double Double85;
+  protected transient Double Double86;
+  protected final Double Double87 = new Double((double)5);
+  protected volatile Double Double88;
+  protected volatile Double Double89;
+  protected volatile Double Double90;
+  protected volatile Double Double91;
+  protected volatile Double Double92;
+  protected volatile Double Double93;
+  protected volatile Double Double94;
+  protected volatile Double Double95;
+  protected static transient Double Double96;
+  protected static final Double Double97 = new Double((double)5);
+  protected static volatile Double Double98;
+  protected transient final Double Double99 = new Double((double)5);
+  protected transient volatile Double Double100;
+  protected transient volatile Double Double101;
+  protected transient volatile Double Double102;
+  protected transient volatile Double Double103;
+  protected transient volatile Double Double104;
+  protected transient volatile Double Double105;
+  protected static transient final Double Double106 = new Double((double)5);
+  protected static transient volatile Double Double107;
+  Double Double108;
+  Double Double109;
+  Double Double110;
+  Double Double111;
+  Double Double112;
+  Double Double113;
+  Double Double114;
+  Double Double115;
+  static Double Double116;
+  transient Double Double117;
+  transient Double Double118;
+  transient Double Double119;
+  transient Double Double120;
+  transient Double Double121;
+  transient Double Double122;
+  final Double Double123 = new Double((double)5);
+  volatile Double Double124;
+  volatile Double Double125;
+  volatile Double Double126;
+  volatile Double Double127;
+  volatile Double Double128;
+  volatile Double Double129;
+  volatile Double Double130;
+  volatile Double Double131;
+  static transient Double Double132;
+  static final Double Double133 = new Double((double)5);
+  static volatile Double Double134;
+  transient final Double Double135 = new Double((double)5);
+  transient volatile Double Double136;
+  transient volatile Double Double137;
+  transient volatile Double Double138;
+  transient volatile Double Double139;
+  transient volatile Double Double140;
+  transient volatile Double Double141;
+  static transient final Double Double142 = new Double((double)5);
+  static transient volatile Double Double143;
+
+public static final boolean [] isPersistent = { 
+true,true,true,false,true,true,true,false,false,false,
+false,true,true,true,false,false,true,true,true,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,true,false,false,false,true,true,true,false,
+true,true,true,false,false,false,false,true,true,true,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,true,true,true,false,false,true,true,
+true,false,true,true,true,false,false,false,false,false,
+false,false,true,true,true,false,false,false,true,true,
+true,false,true,true,true,false,false,false,false,true,
+true,true,false,false,true,true,true,false,true,true,
+true,false,false,false,false,false,false,false,true,true,
+true,false,false,false
+ };
+
+public static final boolean [] isStatic = { 
+false,false,false,false,false,false,false,false,true,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,true,true,true,false,false,false,
+false,false,false,false,true,true,false,false,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,false,false,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,false,false,false,false,true,true,false,false,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,true,true,true,false,false,false,false,false,
+false,false,true,true
+ };
+
+public static final boolean [] isFinal = { 
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,true,false,false,false,false,
+false,false,false,false,false,true,false,true,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,true,false,false,false,false,false,false,false,false,
+false,true,false,true,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,false,true,false,false,
+false,false,false,false,false,false,false,true,false,true,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,true,false,false,false,false,false,false,
+false,false,false,true,false,true,false,false,false,false,
+false,false,true,false
+ };
+
+  public static final String [] fieldSpecs = { 
+  "private Double Double0",
+  "embedded= true   private Double Double1",
+  "embedded= false   private Double Double2",
+  "persistence-modifier= none    private Double Double3",
+  "persistence-modifier= persistent    private Double Double4",
+  "persistence-modifier= persistent  embedded= true   private Double Double5",
+  "persistence-modifier= persistent  embedded= false   private Double Double6",
+  "persistence-modifier= transactional    private Double Double7",
+  "private static Double Double8",
+  "private transient Double Double9",
+  "persistence-modifier= none    private transient Double Double10",
+  "persistence-modifier= persistent    private transient Double Double11",
+  "persistence-modifier= persistent  embedded= true   private transient Double Double12",
+  "persistence-modifier= persistent  embedded= false   private transient Double Double13",
+  "persistence-modifier= transactional    private transient Double Double14",
+  "private final Double Double15",
+  "private volatile Double Double16",
+  "embedded= true   private volatile Double Double17",
+  "embedded= false   private volatile Double Double18",
+  "persistence-modifier= none    private volatile Double Double19",
+  "persistence-modifier= persistent    private volatile Double Double20",
+  "persistence-modifier= persistent  embedded= true   private volatile Double Double21",
+  "persistence-modifier= persistent  embedded= false   private volatile Double Double22",
+  "persistence-modifier= transactional    private volatile Double Double23",
+  "private static transient Double Double24",
+  "private static final Double Double25",
+  "private static volatile Double Double26",
+  "private transient final Double Double27",
+  "private transient volatile Double Double28",
+  "persistence-modifier= none    private transient volatile Double Double29",
+  "persistence-modifier= persistent    private transient volatile Double Double30",
+  "persistence-modifier= persistent  embedded= true   private transient volatile Double Double31",
+  "persistence-modifier= persistent  embedded= false   private transient volatile Double Double32",
+  "persistence-modifier= transactional    private transient volatile Double Double33",
+  "private static transient final Double Double34",
+  "private static transient volatile Double Double35",
+  "public Double Double36",
+  "embedded= true   public Double Double37",
+  "embedded= false   public Double Double38",
+  "persistence-modifier= none    public Double Double39",
+  "persistence-modifier= persistent    public Double Double40",
+  "persistence-modifier= persistent  embedded= true   public Double Double41",
+  "persistence-modifier= persistent  embedded= false   public Double Double42",
+  "persistence-modifier= transactional    public Double Double43",
+  "public static Double Double44",
+  "public transient Double Double45",
+  "persistence-modifier= none    public transient Double Double46",
+  "persistence-modifier= persistent    public transient Double Double47",
+  "persistence-modifier= persistent  embedded= true   public transient Double Double48",
+  "persistence-modifier= persistent  embedded= false   public transient Double Double49",
+  "persistence-modifier= transactional    public transient Double Double50",
+  "public final Double Double51",
+  "public volatile Double Double52",
+  "embedded= true   public volatile Double Double53",
+  "embedded= false   public volatile Double Double54",
+  "persistence-modifier= none    public volatile Double Double55",
+  "persistence-modifier= persistent    public volatile Double Double56",
+  "persistence-modifier= persistent  embedded= true   public volatile Double Double57",
+  "persistence-modifier= persistent  embedded= false   public volatile Double Double58",
+  "persistence-modifier= transactional    public volatile Double Double59",
+  "public static transient Double Double60",
+  "public static final Double Double61",
+  "public static volatile Double Double62",
+  "public transient final Double Double63",
+  "public transient volatile Double Double64",
+  "persistence-modifier= none    public transient volatile Double Double65",
+  "persistence-modifier= persistent    public transient volatile Double Double66",
+  "persistence-modifier= persistent  embedded= true   public transient volatile Double Double67",
+  "persistence-modifier= persistent  embedded= false   public transient volatile Double Double68",
+  "persistence-modifier= transactional    public transient volatile Double Double69",
+  "public static transient final Double Double70",
+  "public static transient volatile Double Double71",
+  "protected Double Double72",
+  "embedded= true   protected Double Double73",
+  "embedded= false   protected Double Double74",
+  "persistence-modifier= none    protected Double Double75",
+  "persistence-modifier= persistent    protected Double Double76",
+  "persistence-modifier= persistent  embedded= true   protected Double Double77",
+  "persistence-modifier= persistent  embedded= false   protected Double Double78",
+  "persistence-modifier= transactional    protected Double Double79",
+  "protected static Double Double80",
+  "protected transient Double Double81",
+  "persistence-modifier= none    protected transient Double Double82",
+  "persistence-modifier= persistent    protected transient Double Double83",
+  "persistence-modifier= persistent  embedded= true   protected transient Double Double84",
+  "persistence-modifier= persistent  embedded= false   protected transient Double Double85",
+  "persistence-modifier= transactional    protected transient Double Double86",
+  "protected final Double Double87",
+  "protected volatile Double Double88",
+  "embedded= true   protected volatile Double Double89",
+  "embedded= false   protected volatile Double Double90",
+  "persistence-modifier= none    protected volatile Double Double91",
+  "persistence-modifier= persistent    protected volatile Double Double92",
+  "persistence-modifier= persistent  embedded= true   protected volatile Double Double93",
+  "persistence-modifier= persistent  embedded= false   protected volatile Double Double94",
+  "persistence-modifier= transactional    protected volatile Double Double95",
+  "protected static transient Double Double96",
+  "protected static final Double Double97",
+  "protected static volatile Double Double98",
+  "protected transient final Double Double99",
+  "protected transient volatile Double Double100",
+  "persistence-modifier= none    protected transient volatile Double Double101",
+  "persistence-modifier= persistent    protected transient volatile Double Double102",
+  "persistence-modifier= persistent  embedded= true   protected transient volatile Double Double103",
+  "persistence-modifier= persistent  embedded= false   protected transient volatile Double Double104",
+  "persistence-modifier= transactional    protected transient volatile Double Double105",
+  "protected static transient final Double Double106",
+  "protected static transient volatile Double Double107",
+  "Double Double108",
+  "embedded= true   Double Double109",
+  "embedded= false   Double Double110",
+  "persistence-modifier= none    Double Double111",
+  "persistence-modifier= persistent    Double Double112",
+  "persistence-modifier= persistent  embedded= true   Double Double113",
+  "persistence-modifier= persistent  embedded= false   Double Double114",
+  "persistence-modifier= transactional    Double Double115",
+  "static Double Double116",
+  "transient Double Double117",
+  "persistence-modifier= none    transient Double Double118",
+  "persistence-modifier= persistent    transient Double Double119",
+  "persistence-modifier= persistent  embedded= true   transient Double Double120",
+  "persistence-modifier= persistent  embedded= false   transient Double Double121",
+  "persistence-modifier= transactional    transient Double Double122",
+  "final Double Double123",
+  "volatile Double Double124",
+  "embedded= true   volatile Double Double125",
+  "embedded= false   volatile Double Double126",
+  "persistence-modifier= none    volatile Double Double127",
+  "persistence-modifier= persistent    volatile Double Double128",
+  "persistence-modifier= persistent  embedded= true   volatile Double Double129",
+  "persistence-modifier= persistent  embedded= false   volatile Double Double130",
+  "persistence-modifier= transactional    volatile Double Double131",
+  "static transient Double Double132",
+  "static final Double Double133",
+  "static volatile Double Double134",
+  "transient final Double Double135",
+  "transient volatile Double Double136",
+  "persistence-modifier= none    transient volatile Double Double137",
+  "persistence-modifier= persistent    transient volatile Double Double138",
+  "persistence-modifier= persistent  embedded= true   transient volatile Double Double139",
+  "persistence-modifier= persistent  embedded= false   transient volatile Double Double140",
+  "persistence-modifier= transactional    transient volatile Double Double141",
+  "static transient final Double Double142",
+  "static transient volatile Double Double143"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Double get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return Double0;
+      case(1):
+        return Double1;
+      case(2):
+        return Double2;
+      case(3):
+        return Double3;
+      case(4):
+        return Double4;
+      case(5):
+        return Double5;
+      case(6):
+        return Double6;
+      case(7):
+        return Double7;
+      case(8):
+        return Double8;
+      case(9):
+        return Double9;
+      case(10):
+        return Double10;
+      case(11):
+        return Double11;
+      case(12):
+        return Double12;
+      case(13):
+        return Double13;
+      case(14):
+        return Double14;
+      case(15):
+        return Double15;
+      case(16):
+        return Double16;
+      case(17):
+        return Double17;
+      case(18):
+        return Double18;
+      case(19):
+        return Double19;
+      case(20):
+        return Double20;
+      case(21):
+        return Double21;
+      case(22):
+        return Double22;
+      case(23):
+        return Double23;
+      case(24):
+        return Double24;
+      case(25):
+        return Double25;
+      case(26):
+        return Double26;
+      case(27):
+        return Double27;
+      case(28):
+        return Double28;
+      case(29):
+        return Double29;
+      case(30):
+        return Double30;
+      case(31):
+        return Double31;
+      case(32):
+        return Double32;
+      case(33):
+        return Double33;
+      case(34):
+        return Double34;
+      case(35):
+        return Double35;
+      case(36):
+        return Double36;
+      case(37):
+        return Double37;
+      case(38):
+        return Double38;
+      case(39):
+        return Double39;
+      case(40):
+        return Double40;
+      case(41):
+        return Double41;
+      case(42):
+        return Double42;
+      case(43):
+        return Double43;
+      case(44):
+        return Double44;
+      case(45):
+        return Double45;
+      case(46):
+        return Double46;
+      case(47):
+        return Double47;
+      case(48):
+        return Double48;
+      case(49):
+        return Double49;
+      case(50):
+        return Double50;
+      case(51):
+        return Double51;
+      case(52):
+        return Double52;
+      case(53):
+        return Double53;
+      case(54):
+        return Double54;
+      case(55):
+        return Double55;
+      case(56):
+        return Double56;
+      case(57):
+        return Double57;
+      case(58):
+        return Double58;
+      case(59):
+        return Double59;
+      case(60):
+        return Double60;
+      case(61):
+        return Double61;
+      case(62):
+        return Double62;
+      case(63):
+        return Double63;
+      case(64):
+        return Double64;
+      case(65):
+        return Double65;
+      case(66):
+        return Double66;
+      case(67):
+        return Double67;
+      case(68):
+        return Double68;
+      case(69):
+        return Double69;
+      case(70):
+        return Double70;
+      case(71):
+        return Double71;
+      case(72):
+        return Double72;
+      case(73):
+        return Double73;
+      case(74):
+        return Double74;
+      case(75):
+        return Double75;
+      case(76):
+        return Double76;
+      case(77):
+        return Double77;
+      case(78):
+        return Double78;
+      case(79):
+        return Double79;
+      case(80):
+        return Double80;
+      case(81):
+        return Double81;
+      case(82):
+        return Double82;
+      case(83):
+        return Double83;
+      case(84):
+        return Double84;
+      case(85):
+        return Double85;
+      case(86):
+        return Double86;
+      case(87):
+        return Double87;
+      case(88):
+        return Double88;
+      case(89):
+        return Double89;
+      case(90):
+        return Double90;
+      case(91):
+        return Double91;
+      case(92):
+        return Double92;
+      case(93):
+        return Double93;
+      case(94):
+        return Double94;
+      case(95):
+        return Double95;
+      case(96):
+        return Double96;
+      case(97):
+        return Double97;
+      case(98):
+        return Double98;
+      case(99):
+        return Double99;
+      case(100):
+        return Double100;
+      case(101):
+        return Double101;
+      case(102):
+        return Double102;
+      case(103):
+        return Double103;
+      case(104):
+        return Double104;
+      case(105):
+        return Double105;
+      case(106):
+        return Double106;
+      case(107):
+        return Double107;
+      case(108):
+        return Double108;
+      case(109):
+        return Double109;
+      case(110):
+        return Double110;
+      case(111):
+        return Double111;
+      case(112):
+        return Double112;
+      case(113):
+        return Double113;
+      case(114):
+        return Double114;
+      case(115):
+        return Double115;
+      case(116):
+        return Double116;
+      case(117):
+        return Double117;
+      case(118):
+        return Double118;
+      case(119):
+        return Double119;
+      case(120):
+        return Double120;
+      case(121):
+        return Double121;
+      case(122):
+        return Double122;
+      case(123):
+        return Double123;
+      case(124):
+        return Double124;
+      case(125):
+        return Double125;
+      case(126):
+        return Double126;
+      case(127):
+        return Double127;
+      case(128):
+        return Double128;
+      case(129):
+        return Double129;
+      case(130):
+        return Double130;
+      case(131):
+        return Double131;
+      case(132):
+        return Double132;
+      case(133):
+        return Double133;
+      case(134):
+        return Double134;
+      case(135):
+        return Double135;
+      case(136):
+        return Double136;
+      case(137):
+        return Double137;
+      case(138):
+        return Double138;
+      case(139):
+        return Double139;
+      case(140):
+        return Double140;
+      case(141):
+        return Double141;
+      case(142):
+        return Double142;
+      case(143):
+        return Double143;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Double value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        Double0= value;
+         break;
+      case(1):
+        Double1= value;
+         break;
+      case(2):
+        Double2= value;
+         break;
+      case(3):
+        Double3= value;
+         break;
+      case(4):
+        Double4= value;
+         break;
+      case(5):
+        Double5= value;
+         break;
+      case(6):
+        Double6= value;
+         break;
+      case(7):
+        Double7= value;
+         break;
+      case(8):
+        Double8= value;
+         break;
+      case(9):
+        Double9= value;
+         break;
+      case(10):
+        Double10= value;
+         break;
+      case(11):
+        Double11= value;
+         break;
+      case(12):
+        Double12= value;
+         break;
+      case(13):
+        Double13= value;
+         break;
+      case(14):
+        Double14= value;
+         break;
+      case(16):
+        Double16= value;
+         break;
+      case(17):
+        Double17= value;
+         break;
+      case(18):
+        Double18= value;
+         break;
+      case(19):
+        Double19= value;
+         break;
+      case(20):
+        Double20= value;
+         break;
+      case(21):
+        Double21= value;
+         break;
+      case(22):
+        Double22= value;
+         break;
+      case(23):
+        Double23= value;
+         break;
+      case(24):
+        Double24= value;
+         break;
+      case(26):
+        Double26= value;
+         break;
+      case(28):
+        Double28= value;
+         break;
+      case(29):
+        Double29= value;
+         break;
+      case(30):
+        Double30= value;
+         break;
+      case(31):
+        Double31= value;
+         break;
+      case(32):
+        Double32= value;
+         break;
+      case(33):
+        Double33= value;
+         break;
+      case(35):
+        Double35= value;
+         break;
+      case(36):
+        Double36= value;
+         break;
+      case(37):
+        Double37= value;
+         break;
+      case(38):
+        Double38= value;
+         break;
+      case(39):
+        Double39= value;
+         break;
+      case(40):
+        Double40= value;
+         break;
+      case(41):
+        Double41= value;
+         break;
+      case(42):
+        Double42= value;
+         break;
+      case(43):
+        Double43= value;
+         break;
+      case(44):
+        Double44= value;
+         break;
+      case(45):
+        Double45= value;
+         break;
+      case(46):
+        Double46= value;
+         break;
+      case(47):
+        Double47= value;
+         break;
+      case(48):
+        Double48= value;
+         break;
+      case(49):
+        Double49= value;
+         break;
+      case(50):
+        Double50= value;
+         break;
+      case(52):
+        Double52= value;
+         break;
+      case(53):
+        Double53= value;
+         break;
+      case(54):
+        Double54= value;
+         break;
+      case(55):
+        Double55= value;
+         break;
+      case(56):
+        Double56= value;
+         break;
+      case(57):
+        Double57= value;
+         break;
+      case(58):
+        Double58= value;
+         break;
+      case(59):
+        Double59= value;
+         break;
+      case(60):
+        Double60= value;
+         break;
+      case(62):
+        Double62= value;
+         break;
+      case(64):
+        Double64= value;
+         break;
+      case(65):
+        Double65= value;
+         break;
+      case(66):
+        Double66= value;
+         break;
+      case(67):
+        Double67= value;
+         break;
+      case(68):
+        Double68= value;
+         break;
+      case(69):
+        Double69= value;
+         break;
+      case(71):
+        Double71= value;
+         break;
+      case(72):
+        Double72= value;
+         break;
+      case(73):
+        Double73= value;
+         break;
+      case(74):
+        Double74= value;
+         break;
+      case(75):
+        Double75= value;
+         break;
+      case(76):
+        Double76= value;
+         break;
+      case(77):
+        Double77= value;
+         break;
+      case(78):
+        Double78= value;
+         break;
+      case(79):
+        Double79= value;
+         break;
+      case(80):
+        Double80= value;
+         break;
+      case(81):
+        Double81= value;
+         break;
+      case(82):
+        Double82= value;
+         break;
+      case(83):
+        Double83= value;
+         break;
+      case(84):
+        Double84= value;
+         break;
+      case(85):
+        Double85= value;
+         break;
+      case(86):
+        Double86= value;
+         break;
+      case(88):
+        Double88= value;
+         break;
+      case(89):
+        Double89= value;
+         break;
+      case(90):
+        Double90= value;
+         break;
+      case(91):
+        Double91= value;
+         break;
+      case(92):
+        Double92= value;
+         break;
+      case(93):
+        Double93= value;
+         break;
+      case(94):
+        Double94= value;
+         break;
+      case(95):
+        Double95= value;
+         break;
+      case(96):
+        Double96= value;
+         break;
+      case(98):
+        Double98= value;
+         break;
+      case(100):
+        Double100= value;
+         break;
+      case(101):
+        Double101= value;
+         break;
+      case(102):
+        Double102= value;
+         break;
+      case(103):
+        Double103= value;
+         break;
+      case(104):
+        Double104= value;
+         break;
+      case(105):
+        Double105= value;
+         break;
+      case(107):
+        Double107= value;
+         break;
+      case(108):
+        Double108= value;
+         break;
+      case(109):
+        Double109= value;
+         break;
+      case(110):
+        Double110= value;
+         break;
+      case(111):
+        Double111= value;
+         break;
+      case(112):
+        Double112= value;
+         break;
+      case(113):
+        Double113= value;
+         break;
+      case(114):
+        Double114= value;
+         break;
+      case(115):
+        Double115= value;
+         break;
+      case(116):
+        Double116= value;
+         break;
+      case(117):
+        Double117= value;
+         break;
+      case(118):
+        Double118= value;
+         break;
+      case(119):
+        Double119= value;
+         break;
+      case(120):
+        Double120= value;
+         break;
+      case(121):
+        Double121= value;
+         break;
+      case(122):
+        Double122= value;
+         break;
+      case(124):
+        Double124= value;
+         break;
+      case(125):
+        Double125= value;
+         break;
+      case(126):
+        Double126= value;
+         break;
+      case(127):
+        Double127= value;
+         break;
+      case(128):
+        Double128= value;
+         break;
+      case(129):
+        Double129= value;
+         break;
+      case(130):
+        Double130= value;
+         break;
+      case(131):
+        Double131= value;
+         break;
+      case(132):
+        Double132= value;
+         break;
+      case(134):
+        Double134= value;
+         break;
+      case(136):
+        Double136= value;
+         break;
+      case(137):
+        Double137= value;
+         break;
+      case(138):
+        Double138= value;
+         break;
+      case(139):
+        Double139= value;
+         break;
+      case(140):
+        Double140= value;
+         break;
+      case(141):
+        Double141= value;
+         break;
+      case(143):
+        Double143= 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/FieldsOfDouble.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message