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 [23/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/FieldsOfFloat.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfFloat.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfFloat.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfFloat.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 FieldsOfFloat { 
+  public int identifier;
+  private Float Float0;
+  private Float Float1;
+  private Float Float2;
+  private Float Float3;
+  private Float Float4;
+  private Float Float5;
+  private Float Float6;
+  private Float Float7;
+  private static Float Float8;
+  private transient Float Float9;
+  private transient Float Float10;
+  private transient Float Float11;
+  private transient Float Float12;
+  private transient Float Float13;
+  private transient Float Float14;
+  private final Float Float15 = new Float((float)5);
+  private volatile Float Float16;
+  private volatile Float Float17;
+  private volatile Float Float18;
+  private volatile Float Float19;
+  private volatile Float Float20;
+  private volatile Float Float21;
+  private volatile Float Float22;
+  private volatile Float Float23;
+  private static transient Float Float24;
+  private static final Float Float25 = new Float((float)5);
+  private static volatile Float Float26;
+  private transient final Float Float27 = new Float((float)5);
+  private transient volatile Float Float28;
+  private transient volatile Float Float29;
+  private transient volatile Float Float30;
+  private transient volatile Float Float31;
+  private transient volatile Float Float32;
+  private transient volatile Float Float33;
+  private static transient final Float Float34 = new Float((float)5);
+  private static transient volatile Float Float35;
+  public Float Float36;
+  public Float Float37;
+  public Float Float38;
+  public Float Float39;
+  public Float Float40;
+  public Float Float41;
+  public Float Float42;
+  public Float Float43;
+  public static Float Float44;
+  public transient Float Float45;
+  public transient Float Float46;
+  public transient Float Float47;
+  public transient Float Float48;
+  public transient Float Float49;
+  public transient Float Float50;
+  public final Float Float51 = new Float((float)5);
+  public volatile Float Float52;
+  public volatile Float Float53;
+  public volatile Float Float54;
+  public volatile Float Float55;
+  public volatile Float Float56;
+  public volatile Float Float57;
+  public volatile Float Float58;
+  public volatile Float Float59;
+  public static transient Float Float60;
+  public static final Float Float61 = new Float((float)5);
+  public static volatile Float Float62;
+  public transient final Float Float63 = new Float((float)5);
+  public transient volatile Float Float64;
+  public transient volatile Float Float65;
+  public transient volatile Float Float66;
+  public transient volatile Float Float67;
+  public transient volatile Float Float68;
+  public transient volatile Float Float69;
+  public static transient final Float Float70 = new Float((float)5);
+  public static transient volatile Float Float71;
+  protected Float Float72;
+  protected Float Float73;
+  protected Float Float74;
+  protected Float Float75;
+  protected Float Float76;
+  protected Float Float77;
+  protected Float Float78;
+  protected Float Float79;
+  protected static Float Float80;
+  protected transient Float Float81;
+  protected transient Float Float82;
+  protected transient Float Float83;
+  protected transient Float Float84;
+  protected transient Float Float85;
+  protected transient Float Float86;
+  protected final Float Float87 = new Float((float)5);
+  protected volatile Float Float88;
+  protected volatile Float Float89;
+  protected volatile Float Float90;
+  protected volatile Float Float91;
+  protected volatile Float Float92;
+  protected volatile Float Float93;
+  protected volatile Float Float94;
+  protected volatile Float Float95;
+  protected static transient Float Float96;
+  protected static final Float Float97 = new Float((float)5);
+  protected static volatile Float Float98;
+  protected transient final Float Float99 = new Float((float)5);
+  protected transient volatile Float Float100;
+  protected transient volatile Float Float101;
+  protected transient volatile Float Float102;
+  protected transient volatile Float Float103;
+  protected transient volatile Float Float104;
+  protected transient volatile Float Float105;
+  protected static transient final Float Float106 = new Float((float)5);
+  protected static transient volatile Float Float107;
+  Float Float108;
+  Float Float109;
+  Float Float110;
+  Float Float111;
+  Float Float112;
+  Float Float113;
+  Float Float114;
+  Float Float115;
+  static Float Float116;
+  transient Float Float117;
+  transient Float Float118;
+  transient Float Float119;
+  transient Float Float120;
+  transient Float Float121;
+  transient Float Float122;
+  final Float Float123 = new Float((float)5);
+  volatile Float Float124;
+  volatile Float Float125;
+  volatile Float Float126;
+  volatile Float Float127;
+  volatile Float Float128;
+  volatile Float Float129;
+  volatile Float Float130;
+  volatile Float Float131;
+  static transient Float Float132;
+  static final Float Float133 = new Float((float)5);
+  static volatile Float Float134;
+  transient final Float Float135 = new Float((float)5);
+  transient volatile Float Float136;
+  transient volatile Float Float137;
+  transient volatile Float Float138;
+  transient volatile Float Float139;
+  transient volatile Float Float140;
+  transient volatile Float Float141;
+  static transient final Float Float142 = new Float((float)5);
+  static transient volatile Float Float143;
+
+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 Float Float0",
+  "embedded= true   private Float Float1",
+  "embedded= false   private Float Float2",
+  "persistence-modifier= none    private Float Float3",
+  "persistence-modifier= persistent    private Float Float4",
+  "persistence-modifier= persistent  embedded= true   private Float Float5",
+  "persistence-modifier= persistent  embedded= false   private Float Float6",
+  "persistence-modifier= transactional    private Float Float7",
+  "private static Float Float8",
+  "private transient Float Float9",
+  "persistence-modifier= none    private transient Float Float10",
+  "persistence-modifier= persistent    private transient Float Float11",
+  "persistence-modifier= persistent  embedded= true   private transient Float Float12",
+  "persistence-modifier= persistent  embedded= false   private transient Float Float13",
+  "persistence-modifier= transactional    private transient Float Float14",
+  "private final Float Float15",
+  "private volatile Float Float16",
+  "embedded= true   private volatile Float Float17",
+  "embedded= false   private volatile Float Float18",
+  "persistence-modifier= none    private volatile Float Float19",
+  "persistence-modifier= persistent    private volatile Float Float20",
+  "persistence-modifier= persistent  embedded= true   private volatile Float Float21",
+  "persistence-modifier= persistent  embedded= false   private volatile Float Float22",
+  "persistence-modifier= transactional    private volatile Float Float23",
+  "private static transient Float Float24",
+  "private static final Float Float25",
+  "private static volatile Float Float26",
+  "private transient final Float Float27",
+  "private transient volatile Float Float28",
+  "persistence-modifier= none    private transient volatile Float Float29",
+  "persistence-modifier= persistent    private transient volatile Float Float30",
+  "persistence-modifier= persistent  embedded= true   private transient volatile Float Float31",
+  "persistence-modifier= persistent  embedded= false   private transient volatile Float Float32",
+  "persistence-modifier= transactional    private transient volatile Float Float33",
+  "private static transient final Float Float34",
+  "private static transient volatile Float Float35",
+  "public Float Float36",
+  "embedded= true   public Float Float37",
+  "embedded= false   public Float Float38",
+  "persistence-modifier= none    public Float Float39",
+  "persistence-modifier= persistent    public Float Float40",
+  "persistence-modifier= persistent  embedded= true   public Float Float41",
+  "persistence-modifier= persistent  embedded= false   public Float Float42",
+  "persistence-modifier= transactional    public Float Float43",
+  "public static Float Float44",
+  "public transient Float Float45",
+  "persistence-modifier= none    public transient Float Float46",
+  "persistence-modifier= persistent    public transient Float Float47",
+  "persistence-modifier= persistent  embedded= true   public transient Float Float48",
+  "persistence-modifier= persistent  embedded= false   public transient Float Float49",
+  "persistence-modifier= transactional    public transient Float Float50",
+  "public final Float Float51",
+  "public volatile Float Float52",
+  "embedded= true   public volatile Float Float53",
+  "embedded= false   public volatile Float Float54",
+  "persistence-modifier= none    public volatile Float Float55",
+  "persistence-modifier= persistent    public volatile Float Float56",
+  "persistence-modifier= persistent  embedded= true   public volatile Float Float57",
+  "persistence-modifier= persistent  embedded= false   public volatile Float Float58",
+  "persistence-modifier= transactional    public volatile Float Float59",
+  "public static transient Float Float60",
+  "public static final Float Float61",
+  "public static volatile Float Float62",
+  "public transient final Float Float63",
+  "public transient volatile Float Float64",
+  "persistence-modifier= none    public transient volatile Float Float65",
+  "persistence-modifier= persistent    public transient volatile Float Float66",
+  "persistence-modifier= persistent  embedded= true   public transient volatile Float Float67",
+  "persistence-modifier= persistent  embedded= false   public transient volatile Float Float68",
+  "persistence-modifier= transactional    public transient volatile Float Float69",
+  "public static transient final Float Float70",
+  "public static transient volatile Float Float71",
+  "protected Float Float72",
+  "embedded= true   protected Float Float73",
+  "embedded= false   protected Float Float74",
+  "persistence-modifier= none    protected Float Float75",
+  "persistence-modifier= persistent    protected Float Float76",
+  "persistence-modifier= persistent  embedded= true   protected Float Float77",
+  "persistence-modifier= persistent  embedded= false   protected Float Float78",
+  "persistence-modifier= transactional    protected Float Float79",
+  "protected static Float Float80",
+  "protected transient Float Float81",
+  "persistence-modifier= none    protected transient Float Float82",
+  "persistence-modifier= persistent    protected transient Float Float83",
+  "persistence-modifier= persistent  embedded= true   protected transient Float Float84",
+  "persistence-modifier= persistent  embedded= false   protected transient Float Float85",
+  "persistence-modifier= transactional    protected transient Float Float86",
+  "protected final Float Float87",
+  "protected volatile Float Float88",
+  "embedded= true   protected volatile Float Float89",
+  "embedded= false   protected volatile Float Float90",
+  "persistence-modifier= none    protected volatile Float Float91",
+  "persistence-modifier= persistent    protected volatile Float Float92",
+  "persistence-modifier= persistent  embedded= true   protected volatile Float Float93",
+  "persistence-modifier= persistent  embedded= false   protected volatile Float Float94",
+  "persistence-modifier= transactional    protected volatile Float Float95",
+  "protected static transient Float Float96",
+  "protected static final Float Float97",
+  "protected static volatile Float Float98",
+  "protected transient final Float Float99",
+  "protected transient volatile Float Float100",
+  "persistence-modifier= none    protected transient volatile Float Float101",
+  "persistence-modifier= persistent    protected transient volatile Float Float102",
+  "persistence-modifier= persistent  embedded= true   protected transient volatile Float Float103",
+  "persistence-modifier= persistent  embedded= false   protected transient volatile Float Float104",
+  "persistence-modifier= transactional    protected transient volatile Float Float105",
+  "protected static transient final Float Float106",
+  "protected static transient volatile Float Float107",
+  "Float Float108",
+  "embedded= true   Float Float109",
+  "embedded= false   Float Float110",
+  "persistence-modifier= none    Float Float111",
+  "persistence-modifier= persistent    Float Float112",
+  "persistence-modifier= persistent  embedded= true   Float Float113",
+  "persistence-modifier= persistent  embedded= false   Float Float114",
+  "persistence-modifier= transactional    Float Float115",
+  "static Float Float116",
+  "transient Float Float117",
+  "persistence-modifier= none    transient Float Float118",
+  "persistence-modifier= persistent    transient Float Float119",
+  "persistence-modifier= persistent  embedded= true   transient Float Float120",
+  "persistence-modifier= persistent  embedded= false   transient Float Float121",
+  "persistence-modifier= transactional    transient Float Float122",
+  "final Float Float123",
+  "volatile Float Float124",
+  "embedded= true   volatile Float Float125",
+  "embedded= false   volatile Float Float126",
+  "persistence-modifier= none    volatile Float Float127",
+  "persistence-modifier= persistent    volatile Float Float128",
+  "persistence-modifier= persistent  embedded= true   volatile Float Float129",
+  "persistence-modifier= persistent  embedded= false   volatile Float Float130",
+  "persistence-modifier= transactional    volatile Float Float131",
+  "static transient Float Float132",
+  "static final Float Float133",
+  "static volatile Float Float134",
+  "transient final Float Float135",
+  "transient volatile Float Float136",
+  "persistence-modifier= none    transient volatile Float Float137",
+  "persistence-modifier= persistent    transient volatile Float Float138",
+  "persistence-modifier= persistent  embedded= true   transient volatile Float Float139",
+  "persistence-modifier= persistent  embedded= false   transient volatile Float Float140",
+  "persistence-modifier= transactional    transient volatile Float Float141",
+  "static transient final Float Float142",
+  "static transient volatile Float Float143"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Float get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return Float0;
+      case(1):
+        return Float1;
+      case(2):
+        return Float2;
+      case(3):
+        return Float3;
+      case(4):
+        return Float4;
+      case(5):
+        return Float5;
+      case(6):
+        return Float6;
+      case(7):
+        return Float7;
+      case(8):
+        return Float8;
+      case(9):
+        return Float9;
+      case(10):
+        return Float10;
+      case(11):
+        return Float11;
+      case(12):
+        return Float12;
+      case(13):
+        return Float13;
+      case(14):
+        return Float14;
+      case(15):
+        return Float15;
+      case(16):
+        return Float16;
+      case(17):
+        return Float17;
+      case(18):
+        return Float18;
+      case(19):
+        return Float19;
+      case(20):
+        return Float20;
+      case(21):
+        return Float21;
+      case(22):
+        return Float22;
+      case(23):
+        return Float23;
+      case(24):
+        return Float24;
+      case(25):
+        return Float25;
+      case(26):
+        return Float26;
+      case(27):
+        return Float27;
+      case(28):
+        return Float28;
+      case(29):
+        return Float29;
+      case(30):
+        return Float30;
+      case(31):
+        return Float31;
+      case(32):
+        return Float32;
+      case(33):
+        return Float33;
+      case(34):
+        return Float34;
+      case(35):
+        return Float35;
+      case(36):
+        return Float36;
+      case(37):
+        return Float37;
+      case(38):
+        return Float38;
+      case(39):
+        return Float39;
+      case(40):
+        return Float40;
+      case(41):
+        return Float41;
+      case(42):
+        return Float42;
+      case(43):
+        return Float43;
+      case(44):
+        return Float44;
+      case(45):
+        return Float45;
+      case(46):
+        return Float46;
+      case(47):
+        return Float47;
+      case(48):
+        return Float48;
+      case(49):
+        return Float49;
+      case(50):
+        return Float50;
+      case(51):
+        return Float51;
+      case(52):
+        return Float52;
+      case(53):
+        return Float53;
+      case(54):
+        return Float54;
+      case(55):
+        return Float55;
+      case(56):
+        return Float56;
+      case(57):
+        return Float57;
+      case(58):
+        return Float58;
+      case(59):
+        return Float59;
+      case(60):
+        return Float60;
+      case(61):
+        return Float61;
+      case(62):
+        return Float62;
+      case(63):
+        return Float63;
+      case(64):
+        return Float64;
+      case(65):
+        return Float65;
+      case(66):
+        return Float66;
+      case(67):
+        return Float67;
+      case(68):
+        return Float68;
+      case(69):
+        return Float69;
+      case(70):
+        return Float70;
+      case(71):
+        return Float71;
+      case(72):
+        return Float72;
+      case(73):
+        return Float73;
+      case(74):
+        return Float74;
+      case(75):
+        return Float75;
+      case(76):
+        return Float76;
+      case(77):
+        return Float77;
+      case(78):
+        return Float78;
+      case(79):
+        return Float79;
+      case(80):
+        return Float80;
+      case(81):
+        return Float81;
+      case(82):
+        return Float82;
+      case(83):
+        return Float83;
+      case(84):
+        return Float84;
+      case(85):
+        return Float85;
+      case(86):
+        return Float86;
+      case(87):
+        return Float87;
+      case(88):
+        return Float88;
+      case(89):
+        return Float89;
+      case(90):
+        return Float90;
+      case(91):
+        return Float91;
+      case(92):
+        return Float92;
+      case(93):
+        return Float93;
+      case(94):
+        return Float94;
+      case(95):
+        return Float95;
+      case(96):
+        return Float96;
+      case(97):
+        return Float97;
+      case(98):
+        return Float98;
+      case(99):
+        return Float99;
+      case(100):
+        return Float100;
+      case(101):
+        return Float101;
+      case(102):
+        return Float102;
+      case(103):
+        return Float103;
+      case(104):
+        return Float104;
+      case(105):
+        return Float105;
+      case(106):
+        return Float106;
+      case(107):
+        return Float107;
+      case(108):
+        return Float108;
+      case(109):
+        return Float109;
+      case(110):
+        return Float110;
+      case(111):
+        return Float111;
+      case(112):
+        return Float112;
+      case(113):
+        return Float113;
+      case(114):
+        return Float114;
+      case(115):
+        return Float115;
+      case(116):
+        return Float116;
+      case(117):
+        return Float117;
+      case(118):
+        return Float118;
+      case(119):
+        return Float119;
+      case(120):
+        return Float120;
+      case(121):
+        return Float121;
+      case(122):
+        return Float122;
+      case(123):
+        return Float123;
+      case(124):
+        return Float124;
+      case(125):
+        return Float125;
+      case(126):
+        return Float126;
+      case(127):
+        return Float127;
+      case(128):
+        return Float128;
+      case(129):
+        return Float129;
+      case(130):
+        return Float130;
+      case(131):
+        return Float131;
+      case(132):
+        return Float132;
+      case(133):
+        return Float133;
+      case(134):
+        return Float134;
+      case(135):
+        return Float135;
+      case(136):
+        return Float136;
+      case(137):
+        return Float137;
+      case(138):
+        return Float138;
+      case(139):
+        return Float139;
+      case(140):
+        return Float140;
+      case(141):
+        return Float141;
+      case(142):
+        return Float142;
+      case(143):
+        return Float143;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Float value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        Float0= value;
+         break;
+      case(1):
+        Float1= value;
+         break;
+      case(2):
+        Float2= value;
+         break;
+      case(3):
+        Float3= value;
+         break;
+      case(4):
+        Float4= value;
+         break;
+      case(5):
+        Float5= value;
+         break;
+      case(6):
+        Float6= value;
+         break;
+      case(7):
+        Float7= value;
+         break;
+      case(8):
+        Float8= value;
+         break;
+      case(9):
+        Float9= value;
+         break;
+      case(10):
+        Float10= value;
+         break;
+      case(11):
+        Float11= value;
+         break;
+      case(12):
+        Float12= value;
+         break;
+      case(13):
+        Float13= value;
+         break;
+      case(14):
+        Float14= value;
+         break;
+      case(16):
+        Float16= value;
+         break;
+      case(17):
+        Float17= value;
+         break;
+      case(18):
+        Float18= value;
+         break;
+      case(19):
+        Float19= value;
+         break;
+      case(20):
+        Float20= value;
+         break;
+      case(21):
+        Float21= value;
+         break;
+      case(22):
+        Float22= value;
+         break;
+      case(23):
+        Float23= value;
+         break;
+      case(24):
+        Float24= value;
+         break;
+      case(26):
+        Float26= value;
+         break;
+      case(28):
+        Float28= value;
+         break;
+      case(29):
+        Float29= value;
+         break;
+      case(30):
+        Float30= value;
+         break;
+      case(31):
+        Float31= value;
+         break;
+      case(32):
+        Float32= value;
+         break;
+      case(33):
+        Float33= value;
+         break;
+      case(35):
+        Float35= value;
+         break;
+      case(36):
+        Float36= value;
+         break;
+      case(37):
+        Float37= value;
+         break;
+      case(38):
+        Float38= value;
+         break;
+      case(39):
+        Float39= value;
+         break;
+      case(40):
+        Float40= value;
+         break;
+      case(41):
+        Float41= value;
+         break;
+      case(42):
+        Float42= value;
+         break;
+      case(43):
+        Float43= value;
+         break;
+      case(44):
+        Float44= value;
+         break;
+      case(45):
+        Float45= value;
+         break;
+      case(46):
+        Float46= value;
+         break;
+      case(47):
+        Float47= value;
+         break;
+      case(48):
+        Float48= value;
+         break;
+      case(49):
+        Float49= value;
+         break;
+      case(50):
+        Float50= value;
+         break;
+      case(52):
+        Float52= value;
+         break;
+      case(53):
+        Float53= value;
+         break;
+      case(54):
+        Float54= value;
+         break;
+      case(55):
+        Float55= value;
+         break;
+      case(56):
+        Float56= value;
+         break;
+      case(57):
+        Float57= value;
+         break;
+      case(58):
+        Float58= value;
+         break;
+      case(59):
+        Float59= value;
+         break;
+      case(60):
+        Float60= value;
+         break;
+      case(62):
+        Float62= value;
+         break;
+      case(64):
+        Float64= value;
+         break;
+      case(65):
+        Float65= value;
+         break;
+      case(66):
+        Float66= value;
+         break;
+      case(67):
+        Float67= value;
+         break;
+      case(68):
+        Float68= value;
+         break;
+      case(69):
+        Float69= value;
+         break;
+      case(71):
+        Float71= value;
+         break;
+      case(72):
+        Float72= value;
+         break;
+      case(73):
+        Float73= value;
+         break;
+      case(74):
+        Float74= value;
+         break;
+      case(75):
+        Float75= value;
+         break;
+      case(76):
+        Float76= value;
+         break;
+      case(77):
+        Float77= value;
+         break;
+      case(78):
+        Float78= value;
+         break;
+      case(79):
+        Float79= value;
+         break;
+      case(80):
+        Float80= value;
+         break;
+      case(81):
+        Float81= value;
+         break;
+      case(82):
+        Float82= value;
+         break;
+      case(83):
+        Float83= value;
+         break;
+      case(84):
+        Float84= value;
+         break;
+      case(85):
+        Float85= value;
+         break;
+      case(86):
+        Float86= value;
+         break;
+      case(88):
+        Float88= value;
+         break;
+      case(89):
+        Float89= value;
+         break;
+      case(90):
+        Float90= value;
+         break;
+      case(91):
+        Float91= value;
+         break;
+      case(92):
+        Float92= value;
+         break;
+      case(93):
+        Float93= value;
+         break;
+      case(94):
+        Float94= value;
+         break;
+      case(95):
+        Float95= value;
+         break;
+      case(96):
+        Float96= value;
+         break;
+      case(98):
+        Float98= value;
+         break;
+      case(100):
+        Float100= value;
+         break;
+      case(101):
+        Float101= value;
+         break;
+      case(102):
+        Float102= value;
+         break;
+      case(103):
+        Float103= value;
+         break;
+      case(104):
+        Float104= value;
+         break;
+      case(105):
+        Float105= value;
+         break;
+      case(107):
+        Float107= value;
+         break;
+      case(108):
+        Float108= value;
+         break;
+      case(109):
+        Float109= value;
+         break;
+      case(110):
+        Float110= value;
+         break;
+      case(111):
+        Float111= value;
+         break;
+      case(112):
+        Float112= value;
+         break;
+      case(113):
+        Float113= value;
+         break;
+      case(114):
+        Float114= value;
+         break;
+      case(115):
+        Float115= value;
+         break;
+      case(116):
+        Float116= value;
+         break;
+      case(117):
+        Float117= value;
+         break;
+      case(118):
+        Float118= value;
+         break;
+      case(119):
+        Float119= value;
+         break;
+      case(120):
+        Float120= value;
+         break;
+      case(121):
+        Float121= value;
+         break;
+      case(122):
+        Float122= value;
+         break;
+      case(124):
+        Float124= value;
+         break;
+      case(125):
+        Float125= value;
+         break;
+      case(126):
+        Float126= value;
+         break;
+      case(127):
+        Float127= value;
+         break;
+      case(128):
+        Float128= value;
+         break;
+      case(129):
+        Float129= value;
+         break;
+      case(130):
+        Float130= value;
+         break;
+      case(131):
+        Float131= value;
+         break;
+      case(132):
+        Float132= value;
+         break;
+      case(134):
+        Float134= value;
+         break;
+      case(136):
+        Float136= value;
+         break;
+      case(137):
+        Float137= value;
+         break;
+      case(138):
+        Float138= value;
+         break;
+      case(139):
+        Float139= value;
+         break;
+      case(140):
+        Float140= value;
+         break;
+      case(141):
+        Float141= value;
+         break;
+      case(143):
+        Float143= 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/FieldsOfFloat.java
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfInteger.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfInteger.java?view=auto&rev=160090
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfInteger.java (added)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfInteger.java Mon Apr  4 12:41:23 2005
@@ -0,0 +1,1088 @@
+/*
+ * 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 FieldsOfInteger { 
+  public int identifier;
+  private Integer Integer0;
+  private Integer Integer1;
+  private Integer Integer2;
+  private Integer Integer3;
+  private Integer Integer4;
+  private Integer Integer5;
+  private Integer Integer6;
+  private Integer Integer7;
+  private static Integer Integer8;
+  private transient Integer Integer9;
+  private transient Integer Integer10;
+  private transient Integer Integer11;
+  private transient Integer Integer12;
+  private transient Integer Integer13;
+  private transient Integer Integer14;
+  private final Integer Integer15 = new Integer((int)5);
+  private volatile Integer Integer16;
+  private volatile Integer Integer17;
+  private volatile Integer Integer18;
+  private volatile Integer Integer19;
+  private volatile Integer Integer20;
+  private volatile Integer Integer21;
+  private volatile Integer Integer22;
+  private volatile Integer Integer23;
+  private static transient Integer Integer24;
+  private static final Integer Integer25 = new Integer((int)5);
+  private static volatile Integer Integer26;
+  private transient final Integer Integer27 = new Integer((int)5);
+  private transient volatile Integer Integer28;
+  private transient volatile Integer Integer29;
+  private transient volatile Integer Integer30;
+  private transient volatile Integer Integer31;
+  private transient volatile Integer Integer32;
+  private transient volatile Integer Integer33;
+  private static transient final Integer Integer34 = new Integer((int)5);
+  private static transient volatile Integer Integer35;
+  public Integer Integer36;
+  public Integer Integer37;
+  public Integer Integer38;
+  public Integer Integer39;
+  public Integer Integer40;
+  public Integer Integer41;
+  public Integer Integer42;
+  public Integer Integer43;
+  public static Integer Integer44;
+  public transient Integer Integer45;
+  public transient Integer Integer46;
+  public transient Integer Integer47;
+  public transient Integer Integer48;
+  public transient Integer Integer49;
+  public transient Integer Integer50;
+  public final Integer Integer51 = new Integer((int)5);
+  public volatile Integer Integer52;
+  public volatile Integer Integer53;
+  public volatile Integer Integer54;
+  public volatile Integer Integer55;
+  public volatile Integer Integer56;
+  public volatile Integer Integer57;
+  public volatile Integer Integer58;
+  public volatile Integer Integer59;
+  public static transient Integer Integer60;
+  public static final Integer Integer61 = new Integer((int)5);
+  public static volatile Integer Integer62;
+  public transient final Integer Integer63 = new Integer((int)5);
+  public transient volatile Integer Integer64;
+  public transient volatile Integer Integer65;
+  public transient volatile Integer Integer66;
+  public transient volatile Integer Integer67;
+  public transient volatile Integer Integer68;
+  public transient volatile Integer Integer69;
+  public static transient final Integer Integer70 = new Integer((int)5);
+  public static transient volatile Integer Integer71;
+  protected Integer Integer72;
+  protected Integer Integer73;
+  protected Integer Integer74;
+  protected Integer Integer75;
+  protected Integer Integer76;
+  protected Integer Integer77;
+  protected Integer Integer78;
+  protected Integer Integer79;
+  protected static Integer Integer80;
+  protected transient Integer Integer81;
+  protected transient Integer Integer82;
+  protected transient Integer Integer83;
+  protected transient Integer Integer84;
+  protected transient Integer Integer85;
+  protected transient Integer Integer86;
+  protected final Integer Integer87 = new Integer((int)5);
+  protected volatile Integer Integer88;
+  protected volatile Integer Integer89;
+  protected volatile Integer Integer90;
+  protected volatile Integer Integer91;
+  protected volatile Integer Integer92;
+  protected volatile Integer Integer93;
+  protected volatile Integer Integer94;
+  protected volatile Integer Integer95;
+  protected static transient Integer Integer96;
+  protected static final Integer Integer97 = new Integer((int)5);
+  protected static volatile Integer Integer98;
+  protected transient final Integer Integer99 = new Integer((int)5);
+  protected transient volatile Integer Integer100;
+  protected transient volatile Integer Integer101;
+  protected transient volatile Integer Integer102;
+  protected transient volatile Integer Integer103;
+  protected transient volatile Integer Integer104;
+  protected transient volatile Integer Integer105;
+  protected static transient final Integer Integer106 = new Integer((int)5);
+  protected static transient volatile Integer Integer107;
+  Integer Integer108;
+  Integer Integer109;
+  Integer Integer110;
+  Integer Integer111;
+  Integer Integer112;
+  Integer Integer113;
+  Integer Integer114;
+  Integer Integer115;
+  static Integer Integer116;
+  transient Integer Integer117;
+  transient Integer Integer118;
+  transient Integer Integer119;
+  transient Integer Integer120;
+  transient Integer Integer121;
+  transient Integer Integer122;
+  final Integer Integer123 = new Integer((int)5);
+  volatile Integer Integer124;
+  volatile Integer Integer125;
+  volatile Integer Integer126;
+  volatile Integer Integer127;
+  volatile Integer Integer128;
+  volatile Integer Integer129;
+  volatile Integer Integer130;
+  volatile Integer Integer131;
+  static transient Integer Integer132;
+  static final Integer Integer133 = new Integer((int)5);
+  static volatile Integer Integer134;
+  transient final Integer Integer135 = new Integer((int)5);
+  transient volatile Integer Integer136;
+  transient volatile Integer Integer137;
+  transient volatile Integer Integer138;
+  transient volatile Integer Integer139;
+  transient volatile Integer Integer140;
+  transient volatile Integer Integer141;
+  static transient final Integer Integer142 = new Integer((int)5);
+  static transient volatile Integer Integer143;
+
+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 Integer Integer0",
+  "embedded= true   private Integer Integer1",
+  "embedded= false   private Integer Integer2",
+  "persistence-modifier= none    private Integer Integer3",
+  "persistence-modifier= persistent    private Integer Integer4",
+  "persistence-modifier= persistent  embedded= true   private Integer Integer5",
+  "persistence-modifier= persistent  embedded= false   private Integer Integer6",
+  "persistence-modifier= transactional    private Integer Integer7",
+  "private static Integer Integer8",
+  "private transient Integer Integer9",
+  "persistence-modifier= none    private transient Integer Integer10",
+  "persistence-modifier= persistent    private transient Integer Integer11",
+  "persistence-modifier= persistent  embedded= true   private transient Integer Integer12",
+  "persistence-modifier= persistent  embedded= false   private transient Integer Integer13",
+  "persistence-modifier= transactional    private transient Integer Integer14",
+  "private final Integer Integer15",
+  "private volatile Integer Integer16",
+  "embedded= true   private volatile Integer Integer17",
+  "embedded= false   private volatile Integer Integer18",
+  "persistence-modifier= none    private volatile Integer Integer19",
+  "persistence-modifier= persistent    private volatile Integer Integer20",
+  "persistence-modifier= persistent  embedded= true   private volatile Integer Integer21",
+  "persistence-modifier= persistent  embedded= false   private volatile Integer Integer22",
+  "persistence-modifier= transactional    private volatile Integer Integer23",
+  "private static transient Integer Integer24",
+  "private static final Integer Integer25",
+  "private static volatile Integer Integer26",
+  "private transient final Integer Integer27",
+  "private transient volatile Integer Integer28",
+  "persistence-modifier= none    private transient volatile Integer Integer29",
+  "persistence-modifier= persistent    private transient volatile Integer Integer30",
+  "persistence-modifier= persistent  embedded= true   private transient volatile Integer Integer31",
+  "persistence-modifier= persistent  embedded= false   private transient volatile Integer Integer32",
+  "persistence-modifier= transactional    private transient volatile Integer Integer33",
+  "private static transient final Integer Integer34",
+  "private static transient volatile Integer Integer35",
+  "public Integer Integer36",
+  "embedded= true   public Integer Integer37",
+  "embedded= false   public Integer Integer38",
+  "persistence-modifier= none    public Integer Integer39",
+  "persistence-modifier= persistent    public Integer Integer40",
+  "persistence-modifier= persistent  embedded= true   public Integer Integer41",
+  "persistence-modifier= persistent  embedded= false   public Integer Integer42",
+  "persistence-modifier= transactional    public Integer Integer43",
+  "public static Integer Integer44",
+  "public transient Integer Integer45",
+  "persistence-modifier= none    public transient Integer Integer46",
+  "persistence-modifier= persistent    public transient Integer Integer47",
+  "persistence-modifier= persistent  embedded= true   public transient Integer Integer48",
+  "persistence-modifier= persistent  embedded= false   public transient Integer Integer49",
+  "persistence-modifier= transactional    public transient Integer Integer50",
+  "public final Integer Integer51",
+  "public volatile Integer Integer52",
+  "embedded= true   public volatile Integer Integer53",
+  "embedded= false   public volatile Integer Integer54",
+  "persistence-modifier= none    public volatile Integer Integer55",
+  "persistence-modifier= persistent    public volatile Integer Integer56",
+  "persistence-modifier= persistent  embedded= true   public volatile Integer Integer57",
+  "persistence-modifier= persistent  embedded= false   public volatile Integer Integer58",
+  "persistence-modifier= transactional    public volatile Integer Integer59",
+  "public static transient Integer Integer60",
+  "public static final Integer Integer61",
+  "public static volatile Integer Integer62",
+  "public transient final Integer Integer63",
+  "public transient volatile Integer Integer64",
+  "persistence-modifier= none    public transient volatile Integer Integer65",
+  "persistence-modifier= persistent    public transient volatile Integer Integer66",
+  "persistence-modifier= persistent  embedded= true   public transient volatile Integer Integer67",
+  "persistence-modifier= persistent  embedded= false   public transient volatile Integer Integer68",
+  "persistence-modifier= transactional    public transient volatile Integer Integer69",
+  "public static transient final Integer Integer70",
+  "public static transient volatile Integer Integer71",
+  "protected Integer Integer72",
+  "embedded= true   protected Integer Integer73",
+  "embedded= false   protected Integer Integer74",
+  "persistence-modifier= none    protected Integer Integer75",
+  "persistence-modifier= persistent    protected Integer Integer76",
+  "persistence-modifier= persistent  embedded= true   protected Integer Integer77",
+  "persistence-modifier= persistent  embedded= false   protected Integer Integer78",
+  "persistence-modifier= transactional    protected Integer Integer79",
+  "protected static Integer Integer80",
+  "protected transient Integer Integer81",
+  "persistence-modifier= none    protected transient Integer Integer82",
+  "persistence-modifier= persistent    protected transient Integer Integer83",
+  "persistence-modifier= persistent  embedded= true   protected transient Integer Integer84",
+  "persistence-modifier= persistent  embedded= false   protected transient Integer Integer85",
+  "persistence-modifier= transactional    protected transient Integer Integer86",
+  "protected final Integer Integer87",
+  "protected volatile Integer Integer88",
+  "embedded= true   protected volatile Integer Integer89",
+  "embedded= false   protected volatile Integer Integer90",
+  "persistence-modifier= none    protected volatile Integer Integer91",
+  "persistence-modifier= persistent    protected volatile Integer Integer92",
+  "persistence-modifier= persistent  embedded= true   protected volatile Integer Integer93",
+  "persistence-modifier= persistent  embedded= false   protected volatile Integer Integer94",
+  "persistence-modifier= transactional    protected volatile Integer Integer95",
+  "protected static transient Integer Integer96",
+  "protected static final Integer Integer97",
+  "protected static volatile Integer Integer98",
+  "protected transient final Integer Integer99",
+  "protected transient volatile Integer Integer100",
+  "persistence-modifier= none    protected transient volatile Integer Integer101",
+  "persistence-modifier= persistent    protected transient volatile Integer Integer102",
+  "persistence-modifier= persistent  embedded= true   protected transient volatile Integer Integer103",
+  "persistence-modifier= persistent  embedded= false   protected transient volatile Integer Integer104",
+  "persistence-modifier= transactional    protected transient volatile Integer Integer105",
+  "protected static transient final Integer Integer106",
+  "protected static transient volatile Integer Integer107",
+  "Integer Integer108",
+  "embedded= true   Integer Integer109",
+  "embedded= false   Integer Integer110",
+  "persistence-modifier= none    Integer Integer111",
+  "persistence-modifier= persistent    Integer Integer112",
+  "persistence-modifier= persistent  embedded= true   Integer Integer113",
+  "persistence-modifier= persistent  embedded= false   Integer Integer114",
+  "persistence-modifier= transactional    Integer Integer115",
+  "static Integer Integer116",
+  "transient Integer Integer117",
+  "persistence-modifier= none    transient Integer Integer118",
+  "persistence-modifier= persistent    transient Integer Integer119",
+  "persistence-modifier= persistent  embedded= true   transient Integer Integer120",
+  "persistence-modifier= persistent  embedded= false   transient Integer Integer121",
+  "persistence-modifier= transactional    transient Integer Integer122",
+  "final Integer Integer123",
+  "volatile Integer Integer124",
+  "embedded= true   volatile Integer Integer125",
+  "embedded= false   volatile Integer Integer126",
+  "persistence-modifier= none    volatile Integer Integer127",
+  "persistence-modifier= persistent    volatile Integer Integer128",
+  "persistence-modifier= persistent  embedded= true   volatile Integer Integer129",
+  "persistence-modifier= persistent  embedded= false   volatile Integer Integer130",
+  "persistence-modifier= transactional    volatile Integer Integer131",
+  "static transient Integer Integer132",
+  "static final Integer Integer133",
+  "static volatile Integer Integer134",
+  "transient final Integer Integer135",
+  "transient volatile Integer Integer136",
+  "persistence-modifier= none    transient volatile Integer Integer137",
+  "persistence-modifier= persistent    transient volatile Integer Integer138",
+  "persistence-modifier= persistent  embedded= true   transient volatile Integer Integer139",
+  "persistence-modifier= persistent  embedded= false   transient volatile Integer Integer140",
+  "persistence-modifier= transactional    transient volatile Integer Integer141",
+  "static transient final Integer Integer142",
+  "static transient volatile Integer Integer143"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public Integer get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return Integer0;
+      case(1):
+        return Integer1;
+      case(2):
+        return Integer2;
+      case(3):
+        return Integer3;
+      case(4):
+        return Integer4;
+      case(5):
+        return Integer5;
+      case(6):
+        return Integer6;
+      case(7):
+        return Integer7;
+      case(8):
+        return Integer8;
+      case(9):
+        return Integer9;
+      case(10):
+        return Integer10;
+      case(11):
+        return Integer11;
+      case(12):
+        return Integer12;
+      case(13):
+        return Integer13;
+      case(14):
+        return Integer14;
+      case(15):
+        return Integer15;
+      case(16):
+        return Integer16;
+      case(17):
+        return Integer17;
+      case(18):
+        return Integer18;
+      case(19):
+        return Integer19;
+      case(20):
+        return Integer20;
+      case(21):
+        return Integer21;
+      case(22):
+        return Integer22;
+      case(23):
+        return Integer23;
+      case(24):
+        return Integer24;
+      case(25):
+        return Integer25;
+      case(26):
+        return Integer26;
+      case(27):
+        return Integer27;
+      case(28):
+        return Integer28;
+      case(29):
+        return Integer29;
+      case(30):
+        return Integer30;
+      case(31):
+        return Integer31;
+      case(32):
+        return Integer32;
+      case(33):
+        return Integer33;
+      case(34):
+        return Integer34;
+      case(35):
+        return Integer35;
+      case(36):
+        return Integer36;
+      case(37):
+        return Integer37;
+      case(38):
+        return Integer38;
+      case(39):
+        return Integer39;
+      case(40):
+        return Integer40;
+      case(41):
+        return Integer41;
+      case(42):
+        return Integer42;
+      case(43):
+        return Integer43;
+      case(44):
+        return Integer44;
+      case(45):
+        return Integer45;
+      case(46):
+        return Integer46;
+      case(47):
+        return Integer47;
+      case(48):
+        return Integer48;
+      case(49):
+        return Integer49;
+      case(50):
+        return Integer50;
+      case(51):
+        return Integer51;
+      case(52):
+        return Integer52;
+      case(53):
+        return Integer53;
+      case(54):
+        return Integer54;
+      case(55):
+        return Integer55;
+      case(56):
+        return Integer56;
+      case(57):
+        return Integer57;
+      case(58):
+        return Integer58;
+      case(59):
+        return Integer59;
+      case(60):
+        return Integer60;
+      case(61):
+        return Integer61;
+      case(62):
+        return Integer62;
+      case(63):
+        return Integer63;
+      case(64):
+        return Integer64;
+      case(65):
+        return Integer65;
+      case(66):
+        return Integer66;
+      case(67):
+        return Integer67;
+      case(68):
+        return Integer68;
+      case(69):
+        return Integer69;
+      case(70):
+        return Integer70;
+      case(71):
+        return Integer71;
+      case(72):
+        return Integer72;
+      case(73):
+        return Integer73;
+      case(74):
+        return Integer74;
+      case(75):
+        return Integer75;
+      case(76):
+        return Integer76;
+      case(77):
+        return Integer77;
+      case(78):
+        return Integer78;
+      case(79):
+        return Integer79;
+      case(80):
+        return Integer80;
+      case(81):
+        return Integer81;
+      case(82):
+        return Integer82;
+      case(83):
+        return Integer83;
+      case(84):
+        return Integer84;
+      case(85):
+        return Integer85;
+      case(86):
+        return Integer86;
+      case(87):
+        return Integer87;
+      case(88):
+        return Integer88;
+      case(89):
+        return Integer89;
+      case(90):
+        return Integer90;
+      case(91):
+        return Integer91;
+      case(92):
+        return Integer92;
+      case(93):
+        return Integer93;
+      case(94):
+        return Integer94;
+      case(95):
+        return Integer95;
+      case(96):
+        return Integer96;
+      case(97):
+        return Integer97;
+      case(98):
+        return Integer98;
+      case(99):
+        return Integer99;
+      case(100):
+        return Integer100;
+      case(101):
+        return Integer101;
+      case(102):
+        return Integer102;
+      case(103):
+        return Integer103;
+      case(104):
+        return Integer104;
+      case(105):
+        return Integer105;
+      case(106):
+        return Integer106;
+      case(107):
+        return Integer107;
+      case(108):
+        return Integer108;
+      case(109):
+        return Integer109;
+      case(110):
+        return Integer110;
+      case(111):
+        return Integer111;
+      case(112):
+        return Integer112;
+      case(113):
+        return Integer113;
+      case(114):
+        return Integer114;
+      case(115):
+        return Integer115;
+      case(116):
+        return Integer116;
+      case(117):
+        return Integer117;
+      case(118):
+        return Integer118;
+      case(119):
+        return Integer119;
+      case(120):
+        return Integer120;
+      case(121):
+        return Integer121;
+      case(122):
+        return Integer122;
+      case(123):
+        return Integer123;
+      case(124):
+        return Integer124;
+      case(125):
+        return Integer125;
+      case(126):
+        return Integer126;
+      case(127):
+        return Integer127;
+      case(128):
+        return Integer128;
+      case(129):
+        return Integer129;
+      case(130):
+        return Integer130;
+      case(131):
+        return Integer131;
+      case(132):
+        return Integer132;
+      case(133):
+        return Integer133;
+      case(134):
+        return Integer134;
+      case(135):
+        return Integer135;
+      case(136):
+        return Integer136;
+      case(137):
+        return Integer137;
+      case(138):
+        return Integer138;
+      case(139):
+        return Integer139;
+      case(140):
+        return Integer140;
+      case(141):
+        return Integer141;
+      case(142):
+        return Integer142;
+      case(143):
+        return Integer143;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,Integer value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        Integer0= value;
+         break;
+      case(1):
+        Integer1= value;
+         break;
+      case(2):
+        Integer2= value;
+         break;
+      case(3):
+        Integer3= value;
+         break;
+      case(4):
+        Integer4= value;
+         break;
+      case(5):
+        Integer5= value;
+         break;
+      case(6):
+        Integer6= value;
+         break;
+      case(7):
+        Integer7= value;
+         break;
+      case(8):
+        Integer8= value;
+         break;
+      case(9):
+        Integer9= value;
+         break;
+      case(10):
+        Integer10= value;
+         break;
+      case(11):
+        Integer11= value;
+         break;
+      case(12):
+        Integer12= value;
+         break;
+      case(13):
+        Integer13= value;
+         break;
+      case(14):
+        Integer14= value;
+         break;
+      case(16):
+        Integer16= value;
+         break;
+      case(17):
+        Integer17= value;
+         break;
+      case(18):
+        Integer18= value;
+         break;
+      case(19):
+        Integer19= value;
+         break;
+      case(20):
+        Integer20= value;
+         break;
+      case(21):
+        Integer21= value;
+         break;
+      case(22):
+        Integer22= value;
+         break;
+      case(23):
+        Integer23= value;
+         break;
+      case(24):
+        Integer24= value;
+         break;
+      case(26):
+        Integer26= value;
+         break;
+      case(28):
+        Integer28= value;
+         break;
+      case(29):
+        Integer29= value;
+         break;
+      case(30):
+        Integer30= value;
+         break;
+      case(31):
+        Integer31= value;
+         break;
+      case(32):
+        Integer32= value;
+         break;
+      case(33):
+        Integer33= value;
+         break;
+      case(35):
+        Integer35= value;
+         break;
+      case(36):
+        Integer36= value;
+         break;
+      case(37):
+        Integer37= value;
+         break;
+      case(38):
+        Integer38= value;
+         break;
+      case(39):
+        Integer39= value;
+         break;
+      case(40):
+        Integer40= value;
+         break;
+      case(41):
+        Integer41= value;
+         break;
+      case(42):
+        Integer42= value;
+         break;
+      case(43):
+        Integer43= value;
+         break;
+      case(44):
+        Integer44= value;
+         break;
+      case(45):
+        Integer45= value;
+         break;
+      case(46):
+        Integer46= value;
+         break;
+      case(47):
+        Integer47= value;
+         break;
+      case(48):
+        Integer48= value;
+         break;
+      case(49):
+        Integer49= value;
+         break;
+      case(50):
+        Integer50= value;
+         break;
+      case(52):
+        Integer52= value;
+         break;
+      case(53):
+        Integer53= value;
+         break;
+      case(54):
+        Integer54= value;
+         break;
+      case(55):
+        Integer55= value;
+         break;
+      case(56):
+        Integer56= value;
+         break;
+      case(57):
+        Integer57= value;
+         break;
+      case(58):
+        Integer58= value;
+         break;
+      case(59):
+        Integer59= value;
+         break;
+      case(60):
+        Integer60= value;
+         break;
+      case(62):
+        Integer62= value;
+         break;
+      case(64):
+        Integer64= value;
+         break;
+      case(65):
+        Integer65= value;
+         break;
+      case(66):
+        Integer66= value;
+         break;
+      case(67):
+        Integer67= value;
+         break;
+      case(68):
+        Integer68= value;
+         break;
+      case(69):
+        Integer69= value;
+         break;
+      case(71):
+        Integer71= value;
+         break;
+      case(72):
+        Integer72= value;
+         break;
+      case(73):
+        Integer73= value;
+         break;
+      case(74):
+        Integer74= value;
+         break;
+      case(75):
+        Integer75= value;
+         break;
+      case(76):
+        Integer76= value;
+         break;
+      case(77):
+        Integer77= value;
+         break;
+      case(78):
+        Integer78= value;
+         break;
+      case(79):
+        Integer79= value;
+         break;
+      case(80):
+        Integer80= value;
+         break;
+      case(81):
+        Integer81= value;
+         break;
+      case(82):
+        Integer82= value;
+         break;
+      case(83):
+        Integer83= value;
+         break;
+      case(84):
+        Integer84= value;
+         break;
+      case(85):
+        Integer85= value;
+         break;
+      case(86):
+        Integer86= value;
+         break;
+      case(88):
+        Integer88= value;
+         break;
+      case(89):
+        Integer89= value;
+         break;
+      case(90):
+        Integer90= value;
+         break;
+      case(91):
+        Integer91= value;
+         break;
+      case(92):
+        Integer92= value;
+         break;
+      case(93):
+        Integer93= value;
+         break;
+      case(94):
+        Integer94= value;
+         break;
+      case(95):
+        Integer95= value;
+         break;
+      case(96):
+        Integer96= value;
+         break;
+      case(98):
+        Integer98= value;
+         break;
+      case(100):
+        Integer100= value;
+         break;
+      case(101):
+        Integer101= value;
+         break;
+      case(102):
+        Integer102= value;
+         break;
+      case(103):
+        Integer103= value;
+         break;
+      case(104):
+        Integer104= value;
+         break;
+      case(105):
+        Integer105= value;
+         break;
+      case(107):
+        Integer107= value;
+         break;
+      case(108):
+        Integer108= value;
+         break;
+      case(109):
+        Integer109= value;
+         break;
+      case(110):
+        Integer110= value;
+         break;
+      case(111):
+        Integer111= value;
+         break;
+      case(112):
+        Integer112= value;
+         break;
+      case(113):
+        Integer113= value;
+         break;
+      case(114):
+        Integer114= value;
+         break;
+      case(115):
+        Integer115= value;
+         break;
+      case(116):
+        Integer116= value;
+         break;
+      case(117):
+        Integer117= value;
+         break;
+      case(118):
+        Integer118= value;
+         break;
+      case(119):
+        Integer119= value;
+         break;
+      case(120):
+        Integer120= value;
+         break;
+      case(121):
+        Integer121= value;
+         break;
+      case(122):
+        Integer122= value;
+         break;
+      case(124):
+        Integer124= value;
+         break;
+      case(125):
+        Integer125= value;
+         break;
+      case(126):
+        Integer126= value;
+         break;
+      case(127):
+        Integer127= value;
+         break;
+      case(128):
+        Integer128= value;
+         break;
+      case(129):
+        Integer129= value;
+         break;
+      case(130):
+        Integer130= value;
+         break;
+      case(131):
+        Integer131= value;
+         break;
+      case(132):
+        Integer132= value;
+         break;
+      case(134):
+        Integer134= value;
+         break;
+      case(136):
+        Integer136= value;
+         break;
+      case(137):
+        Integer137= value;
+         break;
+      case(138):
+        Integer138= value;
+         break;
+      case(139):
+        Integer139= value;
+         break;
+      case(140):
+        Integer140= value;
+         break;
+      case(141):
+        Integer141= value;
+         break;
+      case(143):
+        Integer143= 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/FieldsOfInteger.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message