You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/05/04 18:12:41 UTC

svn commit: r1742313 - in /uima/uimaj/trunk/uimaj-core/src/test/java: aa/Root.java aa/Root_Type.java org/apache/uima/jcas/test/CASTestSetup.java org/apache/uima/jcas/test/JCasTest.java org/apache/uima/jcas/test/generatedx.xml

Author: schor
Date: Wed May  4 18:12:40 2016
New Revision: 1742313

URL: http://svn.apache.org/viewvc?rev=1742313&view=rev
Log:
no Jira - add tests to cover float, double, and arrays of these

Modified:
    uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root.java
    uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root_Type.java
    uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/CASTestSetup.java
    uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/JCasTest.java
    uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml

Modified: uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root.java?rev=1742313&r1=1742312&r2=1742313&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root.java Wed May  4 18:12:40 2016
@@ -17,417 +17,471 @@
  * under the License.
  */
 
+
+/* First created by JCasGen Wed May 04 13:57:58 EDT 2016 */
 package aa;
 
-import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
 import org.apache.uima.jcas.cas.FSArray;
-import org.apache.uima.jcas.cas.FloatArray;
+import org.apache.uima.jcas.cas.LongArray;
 import org.apache.uima.jcas.cas.IntegerArray;
-import org.apache.uima.jcas.cas.StringArray;
 import org.apache.uima.jcas.cas.TOP;
-import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.cas.DoubleArray;
+import org.apache.uima.jcas.cas.FloatArray;
+import org.apache.uima.jcas.cas.StringArray;
 
-/**
- * Updated by JCasGen Tue Feb 21 14:56:04 EST 2006 XML source:
- * C:/a/Eclipse/3.1/j4/jedii_jcas_tests/testTypes.xml
- * 
- * @generated
- */
+
+/** 
+ * Updated by JCasGen Wed May 04 13:57:58 EDT 2016
+ * XML source: C:/au/svnCheckouts/trunk/uimaj280/uimaj/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml
+ * @generated */
 public class Root extends TOP {
-  /**
-   * @generated
-   * @ordered
+  /** @generated
+   * @ordered 
    */
-  public final static int typeIndexID = org.apache.uima.jcas.JCasRegistry.register(Root.class);
-
-  /**
-   * @generated
-   * @ordered
+  @SuppressWarnings ("hiding")
+  public final static int typeIndexID = JCasRegistry.register(Root.class);
+  /** @generated
+   * @ordered 
    */
+  @SuppressWarnings ("hiding")
   public final static int type = typeIndexID;
-
-  /** @generated */
-  public int getTypeIndexID() {
-    return typeIndexID;
-  }
-
-  /**
-   * Never called. Disable default constructor
-   * 
-   * @generated
+  /** @generated
+   * @return index of the type  
    */
-  protected Root() {
-  }
-
-  /**
-   * Internal - constructor used by generator
-   * 
+  @Override
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected Root() {/* intentionally empty block */}
+    
+  /** Internal - constructor used by generator 
    * @generated
+   * @param addr low level Feature Structure reference
+   * @param type the type of this Feature Structure 
    */
   public Root(int addr, TOP_Type type) {
     super(addr, type);
     readObject();
   }
-
-  /** @generated */
+  
+  /** @generated
+   * @param jcas JCas to which this Feature Structure belongs 
+   */
   public Root(JCas jcas) {
     super(jcas);
-    readObject();
-  }
-
-  /**
-   * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
-   * 
-   * @generated modifiable
-   */
-  private void readObject() {
-  }
+    readObject();   
+  } 
 
-  // *--------------*
-  // * Feature: arrayInt
+  /** 
+   * <!-- begin-user-doc -->
+   * Write your own initialization here
+   * <!-- end-user-doc -->
+   *
+   * @generated modifiable 
+   */
+  private void readObject() {/*default - does nothing empty block */}
+     
+ 
+    
+  //*--------------*
+  //* Feature: arrayInt
 
-  /**
-   * getter for arrayInt - gets
-   * 
+  /** getter for arrayInt - gets 
    * @generated
+   * @return value of the feature 
    */
   public IntegerArray getArrayInt() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayInt == null)
-      this.jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
-    return (IntegerArray) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayInt)));
-  }
-
-  /**
-   * setter for arrayInt - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayInt == null)
+      jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
+    return (IntegerArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt)));}
+    
+  /** setter for arrayInt - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setArrayInt(IntegerArray v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayInt == null)
-      this.jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
-    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type) jcasType).casFeatCode_arrayInt,
-            jcasType.ll_cas.ll_getFSRef(v));
-  }
-
-  /**
-   * indexed getter for arrayInt - gets an indexed value -
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayInt == null)
+      jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayInt - gets an indexed value - 
    * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
    */
   public int getArrayInt(int i) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayInt == null)
-      this.jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayInt), i);
-    return jcasType.ll_cas.ll_getIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayInt), i);
-  }
-
-  /**
-   * indexed setter for arrayInt - sets an indexed value -
-   * 
-   * @generated
-   */
-  public void setArrayInt(int i, int v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayInt == null)
-      this.jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayInt), i);
-    jcasType.ll_cas.ll_setIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayInt), i, v);
-  }
-
-  // *--------------*
-  // * Feature: arrayRef
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayInt == null)
+      jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt), i);
+    return jcasType.ll_cas.ll_getIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt), i);}
+
+  /** indexed setter for arrayInt - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayInt(int i, int v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayInt == null)
+      jcasType.jcas.throwFeatMissing("arrayInt", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt), i);
+    jcasType.ll_cas.ll_setIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayInt), i, v);}
+   
+    
+  //*--------------*
+  //* Feature: arrayRef
 
-  /**
-   * getter for arrayRef - gets
-   * 
+  /** getter for arrayRef - gets 
    * @generated
+   * @return value of the feature 
    */
   public FSArray getArrayRef() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayRef == null)
-      this.jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
-    return (FSArray) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayRef)));
-  }
-
-  /**
-   * setter for arrayRef - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayRef == null)
+      jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
+    return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef)));}
+    
+  /** setter for arrayRef - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setArrayRef(FSArray v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayRef == null)
-      this.jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
-    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type) jcasType).casFeatCode_arrayRef,
-            jcasType.ll_cas.ll_getFSRef(v));
-  }
-
-  /**
-   * indexed getter for arrayRef - gets an indexed value -
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayRef == null)
+      jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayRef - gets an indexed value - 
    * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
    */
   public TOP getArrayRef(int i) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayRef == null)
-      this.jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayRef), i);
-    return (TOP) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(
-            jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type) jcasType).casFeatCode_arrayRef), i)));
-  }
-
-  /**
-   * indexed setter for arrayRef - sets an indexed value -
-   * 
-   * @generated
-   */
-  public void setArrayRef(int i, TOP v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayRef == null)
-      this.jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayRef), i);
-    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayRef), i, jcasType.ll_cas.ll_getFSRef(v));
-  }
-
-  // *--------------*
-  // * Feature: arrayFloat
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayRef == null)
+      jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef), i);
+    return (TOP)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef), i)));}
+
+  /** indexed setter for arrayRef - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayRef(int i, TOP v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayRef == null)
+      jcasType.jcas.throwFeatMissing("arrayRef", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef), i);
+    jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayRef), i, jcasType.ll_cas.ll_getFSRef(v));}
+   
+    
+  //*--------------*
+  //* Feature: arrayFloat
 
-  /**
-   * getter for arrayFloat - gets
-   * 
+  /** getter for arrayFloat - gets 
    * @generated
+   * @return value of the feature 
    */
   public FloatArray getArrayFloat() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayFloat == null)
-      this.jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
-    return (FloatArray) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayFloat)));
-  }
-
-  /**
-   * setter for arrayFloat - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayFloat == null)
+      jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+    return (FloatArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat)));}
+    
+  /** setter for arrayFloat - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setArrayFloat(FloatArray v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayFloat == null)
-      this.jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
-    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type) jcasType).casFeatCode_arrayFloat,
-            jcasType.ll_cas.ll_getFSRef(v));
-  }
-
-  /**
-   * indexed getter for arrayFloat - gets an indexed value -
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayFloat == null)
+      jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayFloat - gets an indexed value - 
    * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
    */
   public float getArrayFloat(int i) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayFloat == null)
-      this.jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayFloat), i);
-    return jcasType.ll_cas.ll_getFloatArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayFloat), i);
-  }
-
-  /**
-   * indexed setter for arrayFloat - sets an indexed value -
-   * 
-   * @generated
-   */
-  public void setArrayFloat(int i, float v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayFloat == null)
-      this.jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayFloat), i);
-    jcasType.ll_cas.ll_setFloatArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayFloat), i, v);
-  }
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayFloat == null)
+      jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat), i);
+    return jcasType.ll_cas.ll_getFloatArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat), i);}
+
+  /** indexed setter for arrayFloat - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayFloat(int i, float v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayFloat == null)
+      jcasType.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat), i);
+    jcasType.ll_cas.ll_setFloatArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayFloat), i, v);}
+   
+    
+  //*--------------*
+  //* Feature: arrayString
 
-  // *--------------*
-  // * Feature: arrayString
-
-  /**
-   * getter for arrayString - gets
-   * 
+  /** getter for arrayString - gets 
    * @generated
+   * @return value of the feature 
    */
   public StringArray getArrayString() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayString == null)
-      this.jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
-    return (StringArray) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayString)));
-  }
-
-  /**
-   * setter for arrayString - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayString == null)
+      jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
+    return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString)));}
+    
+  /** setter for arrayString - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setArrayString(StringArray v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayString == null)
-      this.jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
-    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type) jcasType).casFeatCode_arrayString,
-            jcasType.ll_cas.ll_getFSRef(v));
-  }
-
-  /**
-   * indexed getter for arrayString - gets an indexed value -
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayString == null)
+      jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayString - gets an indexed value - 
    * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
    */
   public String getArrayString(int i) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayString == null)
-      this.jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayString), i);
-    return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayString), i);
-  }
-
-  /**
-   * indexed setter for arrayString - sets an indexed value -
-   * 
-   * @generated
-   */
-  public void setArrayString(int i, String v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_arrayString == null)
-      this.jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
-    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayString), i);
-    jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_arrayString), i, v);
-  }
-
-  // *--------------*
-  // * Feature: plainInt
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayString == null)
+      jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString), i);
+    return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString), i);}
+
+  /** indexed setter for arrayString - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayString(int i, String v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayString == null)
+      jcasType.jcas.throwFeatMissing("arrayString", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString), i);
+    jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayString), i, v);}
+   
+    
+  //*--------------*
+  //* Feature: plainInt
 
-  /**
-   * getter for plainInt - gets
-   * 
+  /** getter for plainInt - gets 
    * @generated
+   * @return value of the feature 
    */
   public int getPlainInt() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainInt == null)
-      this.jcasType.jcas.throwFeatMissing("plainInt", "aa.Root");
-    return jcasType.ll_cas.ll_getIntValue(addr, ((Root_Type) jcasType).casFeatCode_plainInt);
-  }
-
-  /**
-   * setter for plainInt - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainInt == null)
+      jcasType.jcas.throwFeatMissing("plainInt", "aa.Root");
+    return jcasType.ll_cas.ll_getIntValue(addr, ((Root_Type)jcasType).casFeatCode_plainInt);}
+    
+  /** setter for plainInt - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setPlainInt(int v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainInt == null)
-      this.jcasType.jcas.throwFeatMissing("plainInt", "aa.Root");
-    jcasType.ll_cas.ll_setIntValue(addr, ((Root_Type) jcasType).casFeatCode_plainInt, v);
-  }
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainInt == null)
+      jcasType.jcas.throwFeatMissing("plainInt", "aa.Root");
+    jcasType.ll_cas.ll_setIntValue(addr, ((Root_Type)jcasType).casFeatCode_plainInt, v);}    
+   
+    
+  //*--------------*
+  //* Feature: plainFloat
 
-  // *--------------*
-  // * Feature: plainFloat
-
-  /**
-   * getter for plainFloat - gets
-   * 
+  /** getter for plainFloat - gets 
    * @generated
+   * @return value of the feature 
    */
   public float getPlainFloat() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainFloat == null)
-      this.jcasType.jcas.throwFeatMissing("plainFloat", "aa.Root");
-    return jcasType.ll_cas.ll_getFloatValue(addr, ((Root_Type) jcasType).casFeatCode_plainFloat);
-  }
-
-  /**
-   * setter for plainFloat - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainFloat == null)
+      jcasType.jcas.throwFeatMissing("plainFloat", "aa.Root");
+    return jcasType.ll_cas.ll_getFloatValue(addr, ((Root_Type)jcasType).casFeatCode_plainFloat);}
+    
+  /** setter for plainFloat - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setPlainFloat(float v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainFloat == null)
-      this.jcasType.jcas.throwFeatMissing("plainFloat", "aa.Root");
-    jcasType.ll_cas.ll_setFloatValue(addr, ((Root_Type) jcasType).casFeatCode_plainFloat, v);
-  }
-
-  // *--------------*
-  // * Feature: plainString
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainFloat == null)
+      jcasType.jcas.throwFeatMissing("plainFloat", "aa.Root");
+    jcasType.ll_cas.ll_setFloatValue(addr, ((Root_Type)jcasType).casFeatCode_plainFloat, v);}    
+   
+    
+  //*--------------*
+  //* Feature: plainString
 
-  /**
-   * getter for plainString - gets
-   * 
+  /** getter for plainString - gets 
    * @generated
+   * @return value of the feature 
    */
   public String getPlainString() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainString == null)
-      this.jcasType.jcas.throwFeatMissing("plainString", "aa.Root");
-    return jcasType.ll_cas.ll_getStringValue(addr, ((Root_Type) jcasType).casFeatCode_plainString);
-  }
-
-  /**
-   * setter for plainString - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainString == null)
+      jcasType.jcas.throwFeatMissing("plainString", "aa.Root");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((Root_Type)jcasType).casFeatCode_plainString);}
+    
+  /** setter for plainString - sets  
    * @generated
+   * @param v value to set into the feature 
    */
   public void setPlainString(String v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainString == null)
-      this.jcasType.jcas.throwFeatMissing("plainString", "aa.Root");
-    jcasType.ll_cas.ll_setStringValue(addr, ((Root_Type) jcasType).casFeatCode_plainString, v);
-  }
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainString == null)
+      jcasType.jcas.throwFeatMissing("plainString", "aa.Root");
+    jcasType.ll_cas.ll_setStringValue(addr, ((Root_Type)jcasType).casFeatCode_plainString, v);}    
+   
+    
+  //*--------------*
+  //* Feature: plainRef
 
-  // *--------------*
-  // * Feature: plainRef
-
-  /**
-   * getter for plainRef - gets
-   * 
+  /** getter for plainRef - gets TokenType testMissingImport;
    * @generated
+   * @return value of the feature 
    */
   public Root getPlainRef() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainRef == null)
-      this.jcasType.jcas.throwFeatMissing("plainRef", "aa.Root");
-    return (Root) (jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr,
-            ((Root_Type) jcasType).casFeatCode_plainRef)));
-  }
-
-  /**
-   * setter for plainRef - sets
-   * 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainRef == null)
+      jcasType.jcas.throwFeatMissing("plainRef", "aa.Root");
+    return (Root)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_plainRef)));}
+    
+  /** setter for plainRef - sets TokenType testMissingImport; 
    * @generated
+   * @param v value to set into the feature 
    */
   public void setPlainRef(Root v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_plainRef == null)
-      this.jcasType.jcas.throwFeatMissing("plainRef", "aa.Root");
-    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type) jcasType).casFeatCode_plainRef,
-            jcasType.ll_cas.ll_getFSRef(v));
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainRef == null)
+      jcasType.jcas.throwFeatMissing("plainRef", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_plainRef, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: plainLong
+
+  /** getter for plainLong - gets 
+   * @generated
+   * @return value of the feature 
+   */
+  public long getPlainLong() {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainLong == null)
+      jcasType.jcas.throwFeatMissing("plainLong", "aa.Root");
+    return jcasType.ll_cas.ll_getLongValue(addr, ((Root_Type)jcasType).casFeatCode_plainLong);}
+    
+  /** setter for plainLong - sets  
+   * @generated
+   * @param v value to set into the feature 
+   */
+  public void setPlainLong(long v) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainLong == null)
+      jcasType.jcas.throwFeatMissing("plainLong", "aa.Root");
+    jcasType.ll_cas.ll_setLongValue(addr, ((Root_Type)jcasType).casFeatCode_plainLong, v);}    
+   
+    
+  //*--------------*
+  //* Feature: plainDouble
+
+  /** getter for plainDouble - gets 
+   * @generated
+   * @return value of the feature 
+   */
+  public double getPlainDouble() {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainDouble == null)
+      jcasType.jcas.throwFeatMissing("plainDouble", "aa.Root");
+    return jcasType.ll_cas.ll_getDoubleValue(addr, ((Root_Type)jcasType).casFeatCode_plainDouble);}
+    
+  /** setter for plainDouble - sets  
+   * @generated
+   * @param v value to set into the feature 
+   */
+  public void setPlainDouble(double v) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_plainDouble == null)
+      jcasType.jcas.throwFeatMissing("plainDouble", "aa.Root");
+    jcasType.ll_cas.ll_setDoubleValue(addr, ((Root_Type)jcasType).casFeatCode_plainDouble, v);}    
+   
+    
+  //*--------------*
+  //* Feature: arrayLong
+
+  /** getter for arrayLong - gets 
+   * @generated
+   * @return value of the feature 
+   */
+  public LongArray getArrayLong() {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayLong == null)
+      jcasType.jcas.throwFeatMissing("arrayLong", "aa.Root");
+    return (LongArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong)));}
+    
+  /** setter for arrayLong - sets  
+   * @generated
+   * @param v value to set into the feature 
+   */
+  public void setArrayLong(LongArray v) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayLong == null)
+      jcasType.jcas.throwFeatMissing("arrayLong", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayLong - gets an indexed value - 
+   * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
+   */
+  public long getArrayLong(int i) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayLong == null)
+      jcasType.jcas.throwFeatMissing("arrayLong", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong), i);
+    return jcasType.ll_cas.ll_getLongArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong), i);}
+
+  /** indexed setter for arrayLong - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayLong(int i, long v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayLong == null)
+      jcasType.jcas.throwFeatMissing("arrayLong", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong), i);
+    jcasType.ll_cas.ll_setLongArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayLong), i, v);}
+   
+    
+  //*--------------*
+  //* Feature: arrayDouble
+
+  /** getter for arrayDouble - gets 
+   * @generated
+   * @return value of the feature 
+   */
+  public DoubleArray getArrayDouble() {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayDouble == null)
+      jcasType.jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    return (DoubleArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble)));}
+    
+  /** setter for arrayDouble - sets  
+   * @generated
+   * @param v value to set into the feature 
+   */
+  public void setArrayDouble(DoubleArray v) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayDouble == null)
+      jcasType.jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    jcasType.ll_cas.ll_setRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble, jcasType.ll_cas.ll_getFSRef(v));}    
+    
+  /** indexed getter for arrayDouble - gets an indexed value - 
+   * @generated
+   * @param i index in the array to get
+   * @return value of the element at index i 
+   */
+  public double getArrayDouble(int i) {
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayDouble == null)
+      jcasType.jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble), i);
+    return jcasType.ll_cas.ll_getDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble), i);}
+
+  /** indexed setter for arrayDouble - sets an indexed value - 
+   * @generated
+   * @param i index in the array to set
+   * @param v value to set into the array 
+   */
+  public void setArrayDouble(int i, double v) { 
+    if (Root_Type.featOkTst && ((Root_Type)jcasType).casFeat_arrayDouble == null)
+      jcasType.jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble), i);
+    jcasType.ll_cas.ll_setDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Root_Type)jcasType).casFeatCode_arrayDouble), i, v);}
   }
 
-  // *--------------*
-  // * Feature: concreteString
-
-  /**
-   * getter for concreteString - gets
-   * 
-   * @generated
-   */
-  public String getConcreteString() {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_concreteString == null)
-      this.jcasType.jcas.throwFeatMissing("concreteString", "aa.Root");
-    return jcasType.ll_cas.ll_getStringValue(addr,
-            ((Root_Type) jcasType).casFeatCode_concreteString);
-  }
-
-  /**
-   * setter for concreteString - sets
-   * 
-   * @generated
-   */
-  public void setConcreteString(String v) {
-    if (Root_Type.featOkTst && ((Root_Type) jcasType).casFeat_concreteString == null)
-      this.jcasType.jcas.throwFeatMissing("concreteString", "aa.Root");
-    jcasType.ll_cas.ll_setStringValue(addr, ((Root_Type) jcasType).casFeatCode_concreteString, v);
-  }
-}
+    
\ No newline at end of file

Modified: uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root_Type.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root_Type.java?rev=1742313&r1=1742312&r2=1742313&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root_Type.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/aa/Root_Type.java Wed May  4 18:12:40 2016
@@ -17,370 +17,541 @@
  * under the License.
  */
 
+/* First created by JCasGen Wed May 04 13:57:58 EDT 2016 */
 package aa;
 
-import org.apache.uima.cas.Feature;
-import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.TypeImpl;
 import org.apache.uima.cas.Type;
-import org.apache.uima.cas.impl.CASImpl;
-import org.apache.uima.cas.impl.FSGenerator;
 import org.apache.uima.cas.impl.FeatureImpl;
-import org.apache.uima.cas.impl.TypeImpl;
-import org.apache.uima.jcas.JCas;
+import org.apache.uima.cas.Feature;
 import org.apache.uima.jcas.cas.TOP_Type;
 
-/**
- * Updated by JCasGen Tue Feb 21 14:56:04 EST 2006
- * 
- * @generated
- */
+/** 
+ * Updated by JCasGen Wed May 04 13:57:58 EDT 2016
+ * @generated */
 public class Root_Type extends TOP_Type {
   /** @generated */
-  protected FSGenerator getFSGenerator() {
-    return fsGenerator;
-  }
-
-  /** @generated */
-  private final FSGenerator fsGenerator = new FSGenerator() {
-    public FeatureStructure createFS(int addr, CASImpl cas) {
-      if (Root_Type.this.useExistingInstance) {
-        // Return eq fs instance if already created
-        FeatureStructure fs = Root_Type.this.jcas.getJfsFromCaddr(addr);
-        if (null == fs) {
-          fs = new Root(addr, Root_Type.this);
-          Root_Type.this.jcas.putJfsFromCaddr(addr, fs);
-          return fs;
-        }
-        return fs;
-      } else
-        return new Root(addr, Root_Type.this);
-    }
-  };
-
-  /** @generated */
+  @SuppressWarnings ("hiding")
   public final static int typeIndexID = Root.typeIndexID;
-
-  /**
-   * @generated
-   * @modifiable
-   */
-  public final static boolean featOkTst = org.apache.uima.jcas.JCasRegistry.getFeatOkTst("aa.Root");
-
+  /** @generated 
+     @modifiable */
+  @SuppressWarnings ("hiding")
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("aa.Root");
+ 
   /** @generated */
   final Feature casFeat_arrayInt;
-
-  /** @generated */
-  final int casFeatCode_arrayInt;
-
   /** @generated */
+  final int     casFeatCode_arrayInt;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getArrayInt(int addr) {
-    if (featOkTst && casFeat_arrayInt == null)
-      this.jcas.throwFeatMissing("arrayInt", "aa.Root");
+        if (featOkTst && casFeat_arrayInt == null)
+      jcas.throwFeatMissing("arrayInt", "aa.Root");
     return ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setArrayInt(int addr, int v) {
-    if (featOkTst && casFeat_arrayInt == null)
-      this.jcas.throwFeatMissing("arrayInt", "aa.Root");
-    ll_cas.ll_setRefValue(addr, casFeatCode_arrayInt, v);
-  }
-
-  /** @generated */
+        if (featOkTst && casFeat_arrayInt == null)
+      jcas.throwFeatMissing("arrayInt", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayInt, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
   public int getArrayInt(int addr, int i) {
-    if (featOkTst && casFeat_arrayInt == null)
-      this.jcas.throwFeatMissing("arrayInt", "aa.Root");
+        if (featOkTst && casFeat_arrayInt == null)
+      jcas.throwFeatMissing("arrayInt", "aa.Root");
     if (lowLevelTypeChecks)
       return ll_cas.ll_getIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i);
-    return ll_cas.ll_getIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i);
+	return ll_cas.ll_getIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i);
   }
-
-  /** @generated */
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
   public void setArrayInt(int addr, int i, int v) {
-    if (featOkTst && casFeat_arrayInt == null)
-      this.jcas.throwFeatMissing("arrayInt", "aa.Root");
+        if (featOkTst && casFeat_arrayInt == null)
+      jcas.throwFeatMissing("arrayInt", "aa.Root");
     if (lowLevelTypeChecks)
       ll_cas.ll_setIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i, v, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i);
     ll_cas.ll_setIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayInt), i, v);
   }
-
+ 
+ 
   /** @generated */
   final Feature casFeat_arrayRef;
-
-  /** @generated */
-  final int casFeatCode_arrayRef;
-
   /** @generated */
+  final int     casFeatCode_arrayRef;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getArrayRef(int addr) {
-    if (featOkTst && casFeat_arrayRef == null)
-      this.jcas.throwFeatMissing("arrayRef", "aa.Root");
+        if (featOkTst && casFeat_arrayRef == null)
+      jcas.throwFeatMissing("arrayRef", "aa.Root");
     return ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setArrayRef(int addr, int v) {
-    if (featOkTst && casFeat_arrayRef == null)
-      this.jcas.throwFeatMissing("arrayRef", "aa.Root");
-    ll_cas.ll_setRefValue(addr, casFeatCode_arrayRef, v);
-  }
-
-  /** @generated */
+        if (featOkTst && casFeat_arrayRef == null)
+      jcas.throwFeatMissing("arrayRef", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayRef, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
   public int getArrayRef(int addr, int i) {
-    if (featOkTst && casFeat_arrayRef == null)
-      this.jcas.throwFeatMissing("arrayRef", "aa.Root");
+        if (featOkTst && casFeat_arrayRef == null)
+      jcas.throwFeatMissing("arrayRef", "aa.Root");
     if (lowLevelTypeChecks)
       return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i);
-    return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i);
+	return ll_cas.ll_getRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i);
   }
-
-  /** @generated */
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
   public void setArrayRef(int addr, int i, int v) {
-    if (featOkTst && casFeat_arrayRef == null)
-      this.jcas.throwFeatMissing("arrayRef", "aa.Root");
+        if (featOkTst && casFeat_arrayRef == null)
+      jcas.throwFeatMissing("arrayRef", "aa.Root");
     if (lowLevelTypeChecks)
       ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i, v, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i);
     ll_cas.ll_setRefArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayRef), i, v);
   }
-
+ 
+ 
   /** @generated */
   final Feature casFeat_arrayFloat;
-
-  /** @generated */
-  final int casFeatCode_arrayFloat;
-
   /** @generated */
+  final int     casFeatCode_arrayFloat;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getArrayFloat(int addr) {
-    if (featOkTst && casFeat_arrayFloat == null)
-      this.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+        if (featOkTst && casFeat_arrayFloat == null)
+      jcas.throwFeatMissing("arrayFloat", "aa.Root");
     return ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setArrayFloat(int addr, int v) {
-    if (featOkTst && casFeat_arrayFloat == null)
-      this.jcas.throwFeatMissing("arrayFloat", "aa.Root");
-    ll_cas.ll_setRefValue(addr, casFeatCode_arrayFloat, v);
-  }
-
-  /** @generated */
+        if (featOkTst && casFeat_arrayFloat == null)
+      jcas.throwFeatMissing("arrayFloat", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayFloat, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
   public float getArrayFloat(int addr, int i) {
-    if (featOkTst && casFeat_arrayFloat == null)
-      this.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+        if (featOkTst && casFeat_arrayFloat == null)
+      jcas.throwFeatMissing("arrayFloat", "aa.Root");
     if (lowLevelTypeChecks)
-      return ll_cas.ll_getFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i,
-              true);
+      return ll_cas.ll_getFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i);
-    return ll_cas.ll_getFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i);
+	return ll_cas.ll_getFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i);
   }
-
-  /** @generated */
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
   public void setArrayFloat(int addr, int i, float v) {
-    if (featOkTst && casFeat_arrayFloat == null)
-      this.jcas.throwFeatMissing("arrayFloat", "aa.Root");
+        if (featOkTst && casFeat_arrayFloat == null)
+      jcas.throwFeatMissing("arrayFloat", "aa.Root");
     if (lowLevelTypeChecks)
       ll_cas.ll_setFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i, v, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i);
     ll_cas.ll_setFloatArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayFloat), i, v);
   }
-
+ 
+ 
   /** @generated */
   final Feature casFeat_arrayString;
-
-  /** @generated */
-  final int casFeatCode_arrayString;
-
   /** @generated */
+  final int     casFeatCode_arrayString;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getArrayString(int addr) {
-    if (featOkTst && casFeat_arrayString == null)
-      this.jcas.throwFeatMissing("arrayString", "aa.Root");
+        if (featOkTst && casFeat_arrayString == null)
+      jcas.throwFeatMissing("arrayString", "aa.Root");
     return ll_cas.ll_getRefValue(addr, casFeatCode_arrayString);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setArrayString(int addr, int v) {
-    if (featOkTst && casFeat_arrayString == null)
-      this.jcas.throwFeatMissing("arrayString", "aa.Root");
-    ll_cas.ll_setRefValue(addr, casFeatCode_arrayString, v);
-  }
-
-  /** @generated */
+        if (featOkTst && casFeat_arrayString == null)
+      jcas.throwFeatMissing("arrayString", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayString, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
   public String getArrayString(int addr, int i) {
-    if (featOkTst && casFeat_arrayString == null)
-      this.jcas.throwFeatMissing("arrayString", "aa.Root");
+        if (featOkTst && casFeat_arrayString == null)
+      jcas.throwFeatMissing("arrayString", "aa.Root");
     if (lowLevelTypeChecks)
-      return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i,
-              true);
+      return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i);
-    return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i);
+	return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i);
   }
-
-  /** @generated */
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
   public void setArrayString(int addr, int i, String v) {
-    if (featOkTst && casFeat_arrayString == null)
-      this.jcas.throwFeatMissing("arrayString", "aa.Root");
+        if (featOkTst && casFeat_arrayString == null)
+      jcas.throwFeatMissing("arrayString", "aa.Root");
     if (lowLevelTypeChecks)
-      ll_cas.ll_setStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i, v,
-              true);
+      ll_cas.ll_setStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i, v, true);
     jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i);
     ll_cas.ll_setStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayString), i, v);
   }
-
+ 
+ 
   /** @generated */
   final Feature casFeat_plainInt;
-
-  /** @generated */
-  final int casFeatCode_plainInt;
-
   /** @generated */
+  final int     casFeatCode_plainInt;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getPlainInt(int addr) {
-    if (featOkTst && casFeat_plainInt == null)
-      this.jcas.throwFeatMissing("plainInt", "aa.Root");
+        if (featOkTst && casFeat_plainInt == null)
+      jcas.throwFeatMissing("plainInt", "aa.Root");
     return ll_cas.ll_getIntValue(addr, casFeatCode_plainInt);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setPlainInt(int addr, int v) {
-    if (featOkTst && casFeat_plainInt == null)
-      this.jcas.throwFeatMissing("plainInt", "aa.Root");
-    ll_cas.ll_setIntValue(addr, casFeatCode_plainInt, v);
-  }
-
+        if (featOkTst && casFeat_plainInt == null)
+      jcas.throwFeatMissing("plainInt", "aa.Root");
+    ll_cas.ll_setIntValue(addr, casFeatCode_plainInt, v);}
+    
+  
+ 
   /** @generated */
   final Feature casFeat_plainFloat;
-
-  /** @generated */
-  final int casFeatCode_plainFloat;
-
   /** @generated */
+  final int     casFeatCode_plainFloat;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public float getPlainFloat(int addr) {
-    if (featOkTst && casFeat_plainFloat == null)
-      this.jcas.throwFeatMissing("plainFloat", "aa.Root");
+        if (featOkTst && casFeat_plainFloat == null)
+      jcas.throwFeatMissing("plainFloat", "aa.Root");
     return ll_cas.ll_getFloatValue(addr, casFeatCode_plainFloat);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setPlainFloat(int addr, float v) {
-    if (featOkTst && casFeat_plainFloat == null)
-      this.jcas.throwFeatMissing("plainFloat", "aa.Root");
-    ll_cas.ll_setFloatValue(addr, casFeatCode_plainFloat, v);
-  }
-
+        if (featOkTst && casFeat_plainFloat == null)
+      jcas.throwFeatMissing("plainFloat", "aa.Root");
+    ll_cas.ll_setFloatValue(addr, casFeatCode_plainFloat, v);}
+    
+  
+ 
   /** @generated */
   final Feature casFeat_plainString;
-
-  /** @generated */
-  final int casFeatCode_plainString;
-
   /** @generated */
+  final int     casFeatCode_plainString;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public String getPlainString(int addr) {
-    if (featOkTst && casFeat_plainString == null)
-      this.jcas.throwFeatMissing("plainString", "aa.Root");
+        if (featOkTst && casFeat_plainString == null)
+      jcas.throwFeatMissing("plainString", "aa.Root");
     return ll_cas.ll_getStringValue(addr, casFeatCode_plainString);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setPlainString(int addr, String v) {
-    if (featOkTst && casFeat_plainString == null)
-      this.jcas.throwFeatMissing("plainString", "aa.Root");
-    ll_cas.ll_setStringValue(addr, casFeatCode_plainString, v);
-  }
-
+        if (featOkTst && casFeat_plainString == null)
+      jcas.throwFeatMissing("plainString", "aa.Root");
+    ll_cas.ll_setStringValue(addr, casFeatCode_plainString, v);}
+    
+  
+ 
   /** @generated */
   final Feature casFeat_plainRef;
-
-  /** @generated */
-  final int casFeatCode_plainRef;
-
   /** @generated */
+  final int     casFeatCode_plainRef;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
   public int getPlainRef(int addr) {
-    if (featOkTst && casFeat_plainRef == null)
-      this.jcas.throwFeatMissing("plainRef", "aa.Root");
+        if (featOkTst && casFeat_plainRef == null)
+      jcas.throwFeatMissing("plainRef", "aa.Root");
     return ll_cas.ll_getRefValue(addr, casFeatCode_plainRef);
   }
-
-  /** @generated */
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
   public void setPlainRef(int addr, int v) {
-    if (featOkTst && casFeat_plainRef == null)
-      this.jcas.throwFeatMissing("plainRef", "aa.Root");
-    ll_cas.ll_setRefValue(addr, casFeatCode_plainRef, v);
+        if (featOkTst && casFeat_plainRef == null)
+      jcas.throwFeatMissing("plainRef", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_plainRef, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_plainLong;
+  /** @generated */
+  final int     casFeatCode_plainLong;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
+  public long getPlainLong(int addr) {
+        if (featOkTst && casFeat_plainLong == null)
+      jcas.throwFeatMissing("plainLong", "aa.Root");
+    return ll_cas.ll_getLongValue(addr, casFeatCode_plainLong);
+  }
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
+  public void setPlainLong(int addr, long v) {
+        if (featOkTst && casFeat_plainLong == null)
+      jcas.throwFeatMissing("plainLong", "aa.Root");
+    ll_cas.ll_setLongValue(addr, casFeatCode_plainLong, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_plainDouble;
+  /** @generated */
+  final int     casFeatCode_plainDouble;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
+  public double getPlainDouble(int addr) {
+        if (featOkTst && casFeat_plainDouble == null)
+      jcas.throwFeatMissing("plainDouble", "aa.Root");
+    return ll_cas.ll_getDoubleValue(addr, casFeatCode_plainDouble);
+  }
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
+  public void setPlainDouble(int addr, double v) {
+        if (featOkTst && casFeat_plainDouble == null)
+      jcas.throwFeatMissing("plainDouble", "aa.Root");
+    ll_cas.ll_setDoubleValue(addr, casFeatCode_plainDouble, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_arrayLong;
+  /** @generated */
+  final int     casFeatCode_arrayLong;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
+  public int getArrayLong(int addr) {
+        if (featOkTst && casFeat_arrayLong == null)
+      jcas.throwFeatMissing("arrayLong", "aa.Root");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong);
+  }
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
+  public void setArrayLong(int addr, int v) {
+        if (featOkTst && casFeat_arrayLong == null)
+      jcas.throwFeatMissing("arrayLong", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayLong, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
+  public long getArrayLong(int addr, int i) {
+        if (featOkTst && casFeat_arrayLong == null)
+      jcas.throwFeatMissing("arrayLong", "aa.Root");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getLongArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i);
+	return ll_cas.ll_getLongArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i);
+  }
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
+  public void setArrayLong(int addr, int i, long v) {
+        if (featOkTst && casFeat_arrayLong == null)
+      jcas.throwFeatMissing("arrayLong", "aa.Root");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setLongArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i);
+    ll_cas.ll_setLongArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayLong), i, v);
+  }
+ 
+ 
+  /** @generated */
+  final Feature casFeat_arrayDouble;
+  /** @generated */
+  final int     casFeatCode_arrayDouble;
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @return the feature value 
+   */ 
+  public int getArrayDouble(int addr) {
+        if (featOkTst && casFeat_arrayDouble == null)
+      jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble);
+  }
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param v value to set 
+   */    
+  public void setArrayDouble(int addr, int v) {
+        if (featOkTst && casFeat_arrayDouble == null)
+      jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    ll_cas.ll_setRefValue(addr, casFeatCode_arrayDouble, v);}
+    
+   /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @return value at index i in the array 
+   */
+  public double getArrayDouble(int addr, int i) {
+        if (featOkTst && casFeat_arrayDouble == null)
+      jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    if (lowLevelTypeChecks)
+      return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i);
+	return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i);
+  }
+   
+  /** @generated
+   * @param addr low level Feature Structure reference
+   * @param i index of item in the array
+   * @param v value to set
+   */ 
+  public void setArrayDouble(int addr, int i, double v) {
+        if (featOkTst && casFeat_arrayDouble == null)
+      jcas.throwFeatMissing("arrayDouble", "aa.Root");
+    if (lowLevelTypeChecks)
+      ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i, v, true);
+    jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i);
+    ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_arrayDouble), i, v);
   }
+ 
 
-  /** @generated */
-  final Feature casFeat_concreteString;
-
-  /** @generated */
-  final int casFeatCode_concreteString;
-
-  /** @generated */
-  public String getConcreteString(int addr) {
-    if (featOkTst && casFeat_concreteString == null)
-      this.jcas.throwFeatMissing("concreteString", "aa.Root");
-    return ll_cas.ll_getStringValue(addr, casFeatCode_concreteString);
-  }
 
-  /** @generated */
-  public void setConcreteString(int addr, String v) {
-    if (featOkTst && casFeat_concreteString == null)
-      this.jcas.throwFeatMissing("concreteString", "aa.Root");
-    ll_cas.ll_setStringValue(addr, casFeatCode_concreteString, v);
-  }
 
-  /**
-   * initialize variables to correspond with Cas Type and Features
-   * 
-   * @generated
-   */
+  /** initialize variables to correspond with Cas Type and Features
+	 * @generated
+	 * @param jcas JCas
+	 * @param casType Type 
+	 */
   public Root_Type(JCas jcas, Type casType) {
     super(jcas, casType);
-    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_arrayInt = jcas.getRequiredFeatureDE(casType, "arrayInt", "uima.cas.IntegerArray", featOkTst);
+    casFeatCode_arrayInt  = (null == casFeat_arrayInt) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayInt).getCode();
+
+ 
+    casFeat_arrayRef = jcas.getRequiredFeatureDE(casType, "arrayRef", "uima.cas.FSArray", featOkTst);
+    casFeatCode_arrayRef  = (null == casFeat_arrayRef) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayRef).getCode();
 
-    casFeat_arrayInt = jcas.getRequiredFeatureDE(casType, "arrayInt", "uima.cas.IntegerArray",
-            featOkTst);
-    casFeatCode_arrayInt = (null == casFeat_arrayInt) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_arrayInt).getCode();
-
-    casFeat_arrayRef = jcas
-            .getRequiredFeatureDE(casType, "arrayRef", "uima.cas.FSArray", featOkTst);
-    casFeatCode_arrayRef = (null == casFeat_arrayRef) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_arrayRef).getCode();
-
-    casFeat_arrayFloat = jcas.getRequiredFeatureDE(casType, "arrayFloat", "uima.cas.FloatArray",
-            featOkTst);
-    casFeatCode_arrayFloat = (null == casFeat_arrayFloat) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_arrayFloat).getCode();
-
-    casFeat_arrayString = jcas.getRequiredFeatureDE(casType, "arrayString", "uima.cas.StringArray",
-            featOkTst);
-    casFeatCode_arrayString = (null == casFeat_arrayString) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_arrayString).getCode();
-
-    casFeat_plainInt = jcas
-            .getRequiredFeatureDE(casType, "plainInt", "uima.cas.Integer", featOkTst);
-    casFeatCode_plainInt = (null == casFeat_plainInt) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_plainInt).getCode();
-
-    casFeat_plainFloat = jcas.getRequiredFeatureDE(casType, "plainFloat", "uima.cas.Float",
-            featOkTst);
-    casFeatCode_plainFloat = (null == casFeat_plainFloat) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_plainFloat).getCode();
-
-    casFeat_plainString = jcas.getRequiredFeatureDE(casType, "plainString", "uima.cas.String",
-            featOkTst);
-    casFeatCode_plainString = (null == casFeat_plainString) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_plainString).getCode();
+ 
+    casFeat_arrayFloat = jcas.getRequiredFeatureDE(casType, "arrayFloat", "uima.cas.FloatArray", featOkTst);
+    casFeatCode_arrayFloat  = (null == casFeat_arrayFloat) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayFloat).getCode();
 
+ 
+    casFeat_arrayString = jcas.getRequiredFeatureDE(casType, "arrayString", "uima.cas.StringArray", featOkTst);
+    casFeatCode_arrayString  = (null == casFeat_arrayString) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayString).getCode();
+
+ 
+    casFeat_plainInt = jcas.getRequiredFeatureDE(casType, "plainInt", "uima.cas.Integer", featOkTst);
+    casFeatCode_plainInt  = (null == casFeat_plainInt) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainInt).getCode();
+
+ 
+    casFeat_plainFloat = jcas.getRequiredFeatureDE(casType, "plainFloat", "uima.cas.Float", featOkTst);
+    casFeatCode_plainFloat  = (null == casFeat_plainFloat) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainFloat).getCode();
+
+ 
+    casFeat_plainString = jcas.getRequiredFeatureDE(casType, "plainString", "uima.cas.String", featOkTst);
+    casFeatCode_plainString  = (null == casFeat_plainString) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainString).getCode();
+
+ 
     casFeat_plainRef = jcas.getRequiredFeatureDE(casType, "plainRef", "aa.Root", featOkTst);
-    casFeatCode_plainRef = (null == casFeat_plainRef) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_plainRef).getCode();
+    casFeatCode_plainRef  = (null == casFeat_plainRef) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainRef).getCode();
 
-    casFeat_concreteString = jcas.getRequiredFeatureDE(casType, "concreteString",
-            "uima.cas.String", featOkTst);
-    casFeatCode_concreteString = (null == casFeat_concreteString) ? JCas.INVALID_FEATURE_CODE
-            : ((FeatureImpl) casFeat_concreteString).getCode();
+ 
+    casFeat_plainLong = jcas.getRequiredFeatureDE(casType, "plainLong", "uima.cas.Long", featOkTst);
+    casFeatCode_plainLong  = (null == casFeat_plainLong) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainLong).getCode();
+
+ 
+    casFeat_plainDouble = jcas.getRequiredFeatureDE(casType, "plainDouble", "uima.cas.Double", featOkTst);
+    casFeatCode_plainDouble  = (null == casFeat_plainDouble) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_plainDouble).getCode();
+
+ 
+    casFeat_arrayLong = jcas.getRequiredFeatureDE(casType, "arrayLong", "uima.cas.LongArray", featOkTst);
+    casFeatCode_arrayLong  = (null == casFeat_arrayLong) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayLong).getCode();
+
+ 
+    casFeat_arrayDouble = jcas.getRequiredFeatureDE(casType, "arrayDouble", "uima.cas.DoubleArray", featOkTst);
+    casFeatCode_arrayDouble  = (null == casFeat_arrayDouble) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_arrayDouble).getCode();
 
   }
 }
+
+
+
+    
\ No newline at end of file

Modified: uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/CASTestSetup.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/CASTestSetup.java?rev=1742313&r1=1742312&r2=1742313&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/CASTestSetup.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/CASTestSetup.java Wed May  4 18:12:40 2016
@@ -130,9 +130,13 @@ public class CASTestSetup implements Ann
     Type typeArrayInt = tsm.getType(CAS.TYPE_NAME_INTEGER_ARRAY);
     Type typeArrayRef = tsm.getType(CAS.TYPE_NAME_FS_ARRAY);
     Type typeArrayFloat = tsm.getType(CAS.TYPE_NAME_FLOAT_ARRAY);
+    Type typeArrayLong = tsm.getType(CAS.TYPE_NAME_LONG_ARRAY);
+    Type typeArrayDouble = tsm.getType(CAS.TYPE_NAME_DOUBLE_ARRAY);
     Type typeArrayString = tsm.getType(CAS.TYPE_NAME_STRING_ARRAY);
     Type typeInteger = tsm.getType(CAS.TYPE_NAME_INTEGER);
     Type typeFloat = tsm.getType(CAS.TYPE_NAME_FLOAT);
+    Type typeDouble = tsm.getType(CAS.TYPE_NAME_DOUBLE);
+    Type typeLong = tsm.getType(CAS.TYPE_NAME_LONG);
     Type typeString = tsm.getType(CAS.TYPE_NAME_STRING);
     Type typeRef = tsm.getType(CAS.TYPE_NAME_TOP);
     // assert(annotType != null);
@@ -170,9 +174,13 @@ public class CASTestSetup implements Ann
     tsm.addFeature("arrayInt", typeRoot, typeArrayInt);
     tsm.addFeature("arrayRef", typeRoot, typeArrayRef);
     tsm.addFeature("arrayFloat", typeRoot, typeArrayFloat);
+    tsm.addFeature("arrayLong", typeRoot, typeArrayLong);
+    tsm.addFeature("arrayDouble", typeRoot, typeArrayDouble);
     tsm.addFeature("arrayString", typeRoot, typeArrayString);
     tsm.addFeature("plainInt", typeRoot, typeInteger);
     tsm.addFeature("plainFloat", typeRoot, typeFloat);
+    tsm.addFeature("plainDouble", typeRoot, typeDouble);
+    tsm.addFeature("plainLong", typeRoot, typeLong);
     tsm.addFeature("plainString", typeRoot, typeString);
     tsm.addFeature("plainRef", typeRoot, typeRef);
 

Modified: uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/JCasTest.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/JCasTest.java?rev=1742313&r1=1742312&r2=1742313&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/JCasTest.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/JCasTest.java Wed May  4 18:12:40 2016
@@ -38,6 +38,7 @@ import org.apache.uima.cas.impl.LowLevel
 import org.apache.uima.cas.impl.LowLevelIndexRepository;
 import org.apache.uima.jcas.JCas;
 import org.apache.uima.jcas.JFSIndexRepository;
+import org.apache.uima.jcas.cas.DoubleArray;
 import org.apache.uima.jcas.cas.EmptyFSList;
 import org.apache.uima.jcas.cas.EmptyFloatList;
 import org.apache.uima.jcas.cas.EmptyIntegerList;
@@ -320,6 +321,23 @@ public class JCasTest extends TestCase {
 					assertTrue(false);
 			}
 
+			// float values
+			r1 = new Root(jcas);
+			r1.setPlainFloat(1247.3F);
+			r1.setArrayFloat(new FloatArray(jcas, 3));
+			r1.setArrayFloat(2, 321.4F);
+			assertEquals(1247.3F, r1.getPlainFloat());
+			assertEquals(321.4F, r1.getArrayFloat(2));
+
+			// double values
+      r1 = new Root(jcas);
+      r1.setPlainDouble(2247.3D);
+      r1.setArrayDouble(new DoubleArray(jcas, 3));
+      r1.setArrayDouble(2, 421.4D);
+      assertEquals(2247.3D, r1.getPlainDouble());
+      assertEquals(421.4D, r1.getArrayDouble(2));
+			
+			
 			// null values
 			r2.setArrayString(0, null);
 			r2.setArrayRef(0, null);

Modified: uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml?rev=1742313&r1=1742312&r2=1742313&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml (original)
+++ uima/uimaj/trunk/uimaj-core/src/test/java/org/apache/uima/jcas/test/generatedx.xml Wed May  4 18:12:40 2016
@@ -1,4 +1,5 @@
-<typeSystemDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
 	
         <!--
 	 ***************************************************************
@@ -25,292 +26,299 @@
 <types>
 <typeDescription>
 <name>x.y.z.Sentence</name>
-<description></description>
+<description/>
 <supertypeName>uima.tcas.Annotation</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>x.y.z.Token</name>
-<description></description>
+<description/>
 <supertypeName>uima.tcas.Annotation</supertypeName>
 <features>
 <featureDescription>
 <name>ttype</name>
-<description></description>
+<description/>
 <rangeTypeName>x.y.z.TokenType</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>tokenFloatFeat</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Float</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>lemma</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.String</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>sentenceLength</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Integer</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>lemmaList</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.StringArray</rangeTypeName>
 </featureDescription>
 </features>
 </typeDescription>
 <typeDescription>
 <name>x.y.z.TokenType</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>x.y.z.Word</name>
-<description></description>
+<description/>
 <supertypeName>x.y.z.TokenType</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>x.y.z.Separator</name>
-<description></description>
+<description/>
 <supertypeName>x.y.z.TokenType</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>x.y.z.EndOfSentence</name>
-<description></description>
+<description/>
 <supertypeName>x.y.z.TokenType</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>org.apache.lang.LanguagePair</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
 <features>
 <featureDescription>
 <name>lang1</name>
-<description></description>
+<description/>
 <rangeTypeName>org.apache.lang.Group1</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>lang2</name>
-<description></description>
+<description/>
 <rangeTypeName>org.apache.lang.Group2</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>description</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.String</rangeTypeName>
 </featureDescription>
 </features>
 </typeDescription>
 <typeDescription>
 <name>org.apache.lang.Group1</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.String</supertypeName>
 <allowedValues>
 <value>
 <string>"Chinese"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Japanese"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Korean"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"English"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"French"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"German"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Italian"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Spanish"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Portuguese"</string>
-<description></description>
+<description/>
 </value>
 </allowedValues>
 </typeDescription>
 <typeDescription>
 <name>org.apache.lang.Group2</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.String</supertypeName>
 <allowedValues>
 <value>
 <string>"Arabic"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Czech"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Danish"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Dutch"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Finnish"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Greek"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Hebrew"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Hungarian"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Norwegian"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Polish"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Portuguese"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Russian"</string>
-<description></description>
+<description/>
 </value>
 <value>
 <string>"Turkish"</string>
-<description></description>
+<description/>
 </value>
 </allowedValues>
 </typeDescription>
 <typeDescription>
 <name>aa.Root</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
 <features>
 <featureDescription>
 <name>arrayInt</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.IntegerArray</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>arrayRef</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.FSArray</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>arrayFloat</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.FloatArray</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>arrayString</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.StringArray</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>plainInt</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Integer</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>plainFloat</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Float</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>plainString</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.String</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>plainRef</name>
-<description>TokenType testMissingImport;
-</description>
+<description>TokenType testMissingImport;</description>
 <rangeTypeName>aa.Root</rangeTypeName>
 </featureDescription>
-</features>
+<featureDescription>
+          <name>plainLong</name>
+          <description/>
+          <rangeTypeName>uima.cas.Long</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>plainDouble</name>
+          <description/>
+          <rangeTypeName>uima.cas.Double</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>arrayLong</name>
+          <description/>
+          <rangeTypeName>uima.cas.LongArray</rangeTypeName>
+        </featureDescription>
+        <featureDescription>
+          <name>arrayDouble</name>
+          <description/>
+          <rangeTypeName>uima.cas.DoubleArray</rangeTypeName>
+        </featureDescription>
+      </features>
 </typeDescription>
 <typeDescription>
 <name>aa.MissingInCas</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
-<features>
-</features>
 </typeDescription>
 <typeDescription>
 <name>aa.MissingFeatureInCas</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
 <features>
 <featureDescription>
 <name>haveThisOne</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Integer</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>missingThisOne</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Float</rangeTypeName>
 </featureDescription>
 <featureDescription>
 <name>changedFType</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.String</rangeTypeName>
 </featureDescription>
 </features>
 </typeDescription>
 <typeDescription>
 <name>aa.AbstractType</name>
-<description></description>
+<description/>
 <supertypeName>uima.cas.TOP</supertypeName>
 <features>
 <featureDescription>
 <name>abstractInt</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.Integer</rangeTypeName>
 </featureDescription>
 </features>
 </typeDescription>
 <typeDescription>
 <name>aa.ConcreteType</name>
-<description></description>
+<description/>
 <supertypeName>aa.AbstractType</supertypeName>
 <features>
 <featureDescription>
 <name>concreteString</name>
-<description></description>
+<description/>
 <rangeTypeName>uima.cas.String</rangeTypeName>
 </featureDescription>
 </features>