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 2008/05/27 17:14:03 UTC

svn commit: r660553 [7/10] - in /incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy: ./ src/ src/main/ src/main/descriptors/ src/main/groovy/ src/main/groovy/org/ src/main/groovy/org/apache/ src/main/groovy/org/apache/uima/ src/main/groovy/org/apac...

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyAffiliates_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyAffiliates_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyAffiliates_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyAffiliates_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,123 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyAffiliates_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyAffiliates_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyAffiliates_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyAffiliates(addr, CompanyAffiliates_Type.this);
+  			   CompanyAffiliates_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyAffiliates(addr, CompanyAffiliates_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyAffiliates.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyAffiliates");
+ 
+  /** @generated */
+  final Feature casFeat_company_affiliate;
+  /** @generated */
+  final int     casFeatCode_company_affiliate;
+  /** @generated */ 
+  public int getCompany_affiliate(int addr) {
+        if (featOkTst && casFeat_company_affiliate == null)
+      jcas.throwFeatMissing("company_affiliate", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_affiliate);
+  }
+  /** @generated */    
+  public void setCompany_affiliate(int addr, int v) {
+        if (featOkTst && casFeat_company_affiliate == null)
+      jcas.throwFeatMissing("company_affiliate", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_affiliate, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_company_parent;
+  /** @generated */
+  final int     casFeatCode_company_parent;
+  /** @generated */ 
+  public int getCompany_parent(int addr) {
+        if (featOkTst && casFeat_company_parent == null)
+      jcas.throwFeatMissing("company_parent", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_parent);
+  }
+  /** @generated */    
+  public void setCompany_parent(int addr, int v) {
+        if (featOkTst && casFeat_company_parent == null)
+      jcas.throwFeatMissing("company_parent", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_parent, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_relation;
+  /** @generated */
+  final int     casFeatCode_relation;
+  /** @generated */ 
+  public String getRelation(int addr) {
+        if (featOkTst && casFeat_relation == null)
+      jcas.throwFeatMissing("relation", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_relation);
+  }
+  /** @generated */    
+  public void setRelation(int addr, String v) {
+        if (featOkTst && casFeat_relation == null)
+      jcas.throwFeatMissing("relation", "org.apache.uima.calaisType.relation.CompanyAffiliates");
+    ll_cas.ll_setStringValue(addr, casFeatCode_relation, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyAffiliates_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company_affiliate = jcas.getRequiredFeatureDE(casType, "company_affiliate", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_affiliate  = (null == casFeat_company_affiliate) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_affiliate).getCode();
+
+ 
+    casFeat_company_parent = jcas.getRequiredFeatureDE(casType, "company_parent", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_parent  = (null == casFeat_company_parent) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_parent).getCode();
+
+ 
+    casFeat_relation = jcas.getRequiredFeatureDE(casType, "relation", "uima.cas.String", featOkTst);
+    casFeatCode_relation  = (null == casFeat_relation) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_relation).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyAffiliates_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer.java Tue May 27 08:13:37 2008
@@ -0,0 +1,109 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Company;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyCustomer extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyCustomer.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyCustomer() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyCustomer(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyCustomer(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company_provider
+
+  /** getter for company_provider - gets 
+   * @generated */
+  public Company getCompany_provider() {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_company_provider == null)
+      jcasType.jcas.throwFeatMissing("company_provider", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_company_provider)));}
+    
+  /** setter for company_provider - sets  
+   * @generated */
+  public void setCompany_provider(Company v) {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_company_provider == null)
+      jcasType.jcas.throwFeatMissing("company_provider", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_company_provider, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: company_customer
+
+  /** getter for company_customer - gets 
+   * @generated */
+  public Company getCompany_customer() {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_company_customer == null)
+      jcasType.jcas.throwFeatMissing("company_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_company_customer)));}
+    
+  /** setter for company_customer - sets  
+   * @generated */
+  public void setCompany_customer(Company v) {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_company_customer == null)
+      jcasType.jcas.throwFeatMissing("company_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_company_customer, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: organization_customer
+
+  /** getter for organization_customer - gets 
+   * @generated */
+  public String getOrganization_customer() {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_organization_customer == null)
+      jcasType.jcas.throwFeatMissing("organization_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_organization_customer);}
+    
+  /** setter for organization_customer - sets  
+   * @generated */
+  public void setOrganization_customer(String v) {
+    if (CompanyCustomer_Type.featOkTst && ((CompanyCustomer_Type)jcasType).casFeat_organization_customer == null)
+      jcasType.jcas.throwFeatMissing("organization_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyCustomer_Type)jcasType).casFeatCode_organization_customer, v);}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,123 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyCustomer_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyCustomer_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyCustomer_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyCustomer(addr, CompanyCustomer_Type.this);
+  			   CompanyCustomer_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyCustomer(addr, CompanyCustomer_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyCustomer.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyCustomer");
+ 
+  /** @generated */
+  final Feature casFeat_company_provider;
+  /** @generated */
+  final int     casFeatCode_company_provider;
+  /** @generated */ 
+  public int getCompany_provider(int addr) {
+        if (featOkTst && casFeat_company_provider == null)
+      jcas.throwFeatMissing("company_provider", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_provider);
+  }
+  /** @generated */    
+  public void setCompany_provider(int addr, int v) {
+        if (featOkTst && casFeat_company_provider == null)
+      jcas.throwFeatMissing("company_provider", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_provider, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_company_customer;
+  /** @generated */
+  final int     casFeatCode_company_customer;
+  /** @generated */ 
+  public int getCompany_customer(int addr) {
+        if (featOkTst && casFeat_company_customer == null)
+      jcas.throwFeatMissing("company_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_customer);
+  }
+  /** @generated */    
+  public void setCompany_customer(int addr, int v) {
+        if (featOkTst && casFeat_company_customer == null)
+      jcas.throwFeatMissing("company_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_customer, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_organization_customer;
+  /** @generated */
+  final int     casFeatCode_organization_customer;
+  /** @generated */ 
+  public String getOrganization_customer(int addr) {
+        if (featOkTst && casFeat_organization_customer == null)
+      jcas.throwFeatMissing("organization_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_organization_customer);
+  }
+  /** @generated */    
+  public void setOrganization_customer(int addr, String v) {
+        if (featOkTst && casFeat_organization_customer == null)
+      jcas.throwFeatMissing("organization_customer", "org.apache.uima.calaisType.relation.CompanyCustomer");
+    ll_cas.ll_setStringValue(addr, casFeatCode_organization_customer, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyCustomer_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company_provider = jcas.getRequiredFeatureDE(casType, "company_provider", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_provider  = (null == casFeat_company_provider) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_provider).getCode();
+
+ 
+    casFeat_company_customer = jcas.getRequiredFeatureDE(casType, "company_customer", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_customer  = (null == casFeat_company_customer) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_customer).getCode();
+
+ 
+    casFeat_organization_customer = jcas.getRequiredFeatureDE(casType, "organization_customer", "uima.cas.String", featOkTst);
+    casFeatCode_organization_customer  = (null == casFeat_organization_customer) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_organization_customer).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyCustomer_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement.java Tue May 27 08:13:37 2008
@@ -0,0 +1,109 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Company;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyEarningsAnnouncement extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyEarningsAnnouncement.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyEarningsAnnouncement() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyEarningsAnnouncement(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyEarningsAnnouncement(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company
+
+  /** getter for company - gets 
+   * @generated */
+  public Company getCompany() {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_company)));}
+    
+  /** setter for company - sets  
+   * @generated */
+  public void setCompany(Company v) {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: quarter
+
+  /** getter for quarter - gets 
+   * @generated */
+  public String getQuarter() {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_quarter == null)
+      jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_quarter);}
+    
+  /** setter for quarter - sets  
+   * @generated */
+  public void setQuarter(String v) {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_quarter == null)
+      jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_quarter, v);}    
+   
+    
+  //*--------------*
+  //* Feature: year
+
+  /** getter for year - gets 
+   * @generated */
+  public String getYear() {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_year == null)
+      jcasType.jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_year);}
+    
+  /** setter for year - sets  
+   * @generated */
+  public void setYear(String v) {
+    if (CompanyEarningsAnnouncement_Type.featOkTst && ((CompanyEarningsAnnouncement_Type)jcasType).casFeat_year == null)
+      jcasType.jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyEarningsAnnouncement_Type)jcasType).casFeatCode_year, v);}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,123 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyEarningsAnnouncement_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyEarningsAnnouncement_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyEarningsAnnouncement_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyEarningsAnnouncement(addr, CompanyEarningsAnnouncement_Type.this);
+  			   CompanyEarningsAnnouncement_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyEarningsAnnouncement(addr, CompanyEarningsAnnouncement_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyEarningsAnnouncement.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+ 
+  /** @generated */
+  final Feature casFeat_company;
+  /** @generated */
+  final int     casFeatCode_company;
+  /** @generated */ 
+  public int getCompany(int addr) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company);
+  }
+  /** @generated */    
+  public void setCompany(int addr, int v) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_quarter;
+  /** @generated */
+  final int     casFeatCode_quarter;
+  /** @generated */ 
+  public String getQuarter(int addr) {
+        if (featOkTst && casFeat_quarter == null)
+      jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_quarter);
+  }
+  /** @generated */    
+  public void setQuarter(int addr, String v) {
+        if (featOkTst && casFeat_quarter == null)
+      jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    ll_cas.ll_setStringValue(addr, casFeatCode_quarter, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_year;
+  /** @generated */
+  final int     casFeatCode_year;
+  /** @generated */ 
+  public String getYear(int addr) {
+        if (featOkTst && casFeat_year == null)
+      jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_year);
+  }
+  /** @generated */    
+  public void setYear(int addr, String v) {
+        if (featOkTst && casFeat_year == null)
+      jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsAnnouncement");
+    ll_cas.ll_setStringValue(addr, casFeatCode_year, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyEarningsAnnouncement_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company = jcas.getRequiredFeatureDE(casType, "company", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company  = (null == casFeat_company) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company).getCode();
+
+ 
+    casFeat_quarter = jcas.getRequiredFeatureDE(casType, "quarter", "uima.cas.String", featOkTst);
+    casFeatCode_quarter  = (null == casFeat_quarter) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_quarter).getCode();
+
+ 
+    casFeat_year = jcas.getRequiredFeatureDE(casType, "year", "uima.cas.String", featOkTst);
+    casFeatCode_year  = (null == casFeat_year) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_year).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsAnnouncement_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance.java Tue May 27 08:13:37 2008
@@ -0,0 +1,127 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Company;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyEarningsGuidance extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyEarningsGuidance.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyEarningsGuidance() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyEarningsGuidance(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyEarningsGuidance(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company
+
+  /** getter for company - gets 
+   * @generated */
+  public Company getCompany() {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_company)));}
+    
+  /** setter for company - sets  
+   * @generated */
+  public void setCompany(Company v) {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: quarter
+
+  /** getter for quarter - gets 
+   * @generated */
+  public String getQuarter() {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_quarter == null)
+      jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_quarter);}
+    
+  /** setter for quarter - sets  
+   * @generated */
+  public void setQuarter(String v) {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_quarter == null)
+      jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_quarter, v);}    
+   
+    
+  //*--------------*
+  //* Feature: year
+
+  /** getter for year - gets 
+   * @generated */
+  public String getYear() {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_year == null)
+      jcasType.jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_year);}
+    
+  /** setter for year - sets  
+   * @generated */
+  public void setYear(String v) {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_year == null)
+      jcasType.jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_year, v);}    
+   
+    
+  //*--------------*
+  //* Feature: trend
+
+  /** getter for trend - gets 
+   * @generated */
+  public String getTrend() {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_trend == null)
+      jcasType.jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_trend);}
+    
+  /** setter for trend - sets  
+   * @generated */
+  public void setTrend(String v) {
+    if (CompanyEarningsGuidance_Type.featOkTst && ((CompanyEarningsGuidance_Type)jcasType).casFeat_trend == null)
+      jcasType.jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyEarningsGuidance_Type)jcasType).casFeatCode_trend, v);}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,145 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyEarningsGuidance_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyEarningsGuidance_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyEarningsGuidance_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyEarningsGuidance(addr, CompanyEarningsGuidance_Type.this);
+  			   CompanyEarningsGuidance_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyEarningsGuidance(addr, CompanyEarningsGuidance_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyEarningsGuidance.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+ 
+  /** @generated */
+  final Feature casFeat_company;
+  /** @generated */
+  final int     casFeatCode_company;
+  /** @generated */ 
+  public int getCompany(int addr) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company);
+  }
+  /** @generated */    
+  public void setCompany(int addr, int v) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_quarter;
+  /** @generated */
+  final int     casFeatCode_quarter;
+  /** @generated */ 
+  public String getQuarter(int addr) {
+        if (featOkTst && casFeat_quarter == null)
+      jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_quarter);
+  }
+  /** @generated */    
+  public void setQuarter(int addr, String v) {
+        if (featOkTst && casFeat_quarter == null)
+      jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    ll_cas.ll_setStringValue(addr, casFeatCode_quarter, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_year;
+  /** @generated */
+  final int     casFeatCode_year;
+  /** @generated */ 
+  public String getYear(int addr) {
+        if (featOkTst && casFeat_year == null)
+      jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_year);
+  }
+  /** @generated */    
+  public void setYear(int addr, String v) {
+        if (featOkTst && casFeat_year == null)
+      jcas.throwFeatMissing("year", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    ll_cas.ll_setStringValue(addr, casFeatCode_year, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_trend;
+  /** @generated */
+  final int     casFeatCode_trend;
+  /** @generated */ 
+  public String getTrend(int addr) {
+        if (featOkTst && casFeat_trend == null)
+      jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_trend);
+  }
+  /** @generated */    
+  public void setTrend(int addr, String v) {
+        if (featOkTst && casFeat_trend == null)
+      jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CompanyEarningsGuidance");
+    ll_cas.ll_setStringValue(addr, casFeatCode_trend, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyEarningsGuidance_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company = jcas.getRequiredFeatureDE(casType, "company", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company  = (null == casFeat_company) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company).getCode();
+
+ 
+    casFeat_quarter = jcas.getRequiredFeatureDE(casType, "quarter", "uima.cas.String", featOkTst);
+    casFeatCode_quarter  = (null == casFeat_quarter) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_quarter).getCode();
+
+ 
+    casFeat_year = jcas.getRequiredFeatureDE(casType, "year", "uima.cas.String", featOkTst);
+    casFeatCode_year  = (null == casFeat_year) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_year).getCode();
+
+ 
+    casFeat_trend = jcas.getRequiredFeatureDE(casType, "trend", "uima.cas.String", featOkTst);
+    casFeatCode_trend  = (null == casFeat_trend) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_trend).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyEarningsGuidance_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment.java Tue May 27 08:13:37 2008
@@ -0,0 +1,109 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Company;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyInvestment extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyInvestment.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyInvestment() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyInvestment(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyInvestment(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company
+
+  /** getter for company - gets 
+   * @generated */
+  public Company getCompany() {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_company)));}
+    
+  /** setter for company - sets  
+   * @generated */
+  public void setCompany(Company v) {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: company_investor
+
+  /** getter for company_investor - gets 
+   * @generated */
+  public Company getCompany_investor() {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_company_investor == null)
+      jcasType.jcas.throwFeatMissing("company_investor", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_company_investor)));}
+    
+  /** setter for company_investor - sets  
+   * @generated */
+  public void setCompany_investor(Company v) {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_company_investor == null)
+      jcasType.jcas.throwFeatMissing("company_investor", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_company_investor, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: status
+
+  /** getter for status - gets 
+   * @generated */
+  public String getStatus() {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_status == null)
+      jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_status);}
+    
+  /** setter for status - sets  
+   * @generated */
+  public void setStatus(String v) {
+    if (CompanyInvestment_Type.featOkTst && ((CompanyInvestment_Type)jcasType).casFeat_status == null)
+      jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyInvestment_Type)jcasType).casFeatCode_status, v);}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,123 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyInvestment_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyInvestment_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyInvestment_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyInvestment(addr, CompanyInvestment_Type.this);
+  			   CompanyInvestment_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyInvestment(addr, CompanyInvestment_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyInvestment.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyInvestment");
+ 
+  /** @generated */
+  final Feature casFeat_company;
+  /** @generated */
+  final int     casFeatCode_company;
+  /** @generated */ 
+  public int getCompany(int addr) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company);
+  }
+  /** @generated */    
+  public void setCompany(int addr, int v) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_company_investor;
+  /** @generated */
+  final int     casFeatCode_company_investor;
+  /** @generated */ 
+  public int getCompany_investor(int addr) {
+        if (featOkTst && casFeat_company_investor == null)
+      jcas.throwFeatMissing("company_investor", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_investor);
+  }
+  /** @generated */    
+  public void setCompany_investor(int addr, int v) {
+        if (featOkTst && casFeat_company_investor == null)
+      jcas.throwFeatMissing("company_investor", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_investor, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_status;
+  /** @generated */
+  final int     casFeatCode_status;
+  /** @generated */ 
+  public String getStatus(int addr) {
+        if (featOkTst && casFeat_status == null)
+      jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_status);
+  }
+  /** @generated */    
+  public void setStatus(int addr, String v) {
+        if (featOkTst && casFeat_status == null)
+      jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyInvestment");
+    ll_cas.ll_setStringValue(addr, casFeatCode_status, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyInvestment_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company = jcas.getRequiredFeatureDE(casType, "company", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company  = (null == casFeat_company) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company).getCode();
+
+ 
+    casFeat_company_investor = jcas.getRequiredFeatureDE(casType, "company_investor", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_investor  = (null == casFeat_company_investor) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_investor).getCode();
+
+ 
+    casFeat_status = jcas.getRequiredFeatureDE(casType, "status", "uima.cas.String", featOkTst);
+    casFeatCode_status  = (null == casFeat_status) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_status).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyInvestment_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues.java Tue May 27 08:13:37 2008
@@ -0,0 +1,164 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Company;
+import org.apache.uima.calaisType.entity.Person;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyLegalIssues extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyLegalIssues.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyLegalIssues() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyLegalIssues(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyLegalIssues(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company_sued
+
+  /** getter for company_sued - gets 
+   * @generated */
+  public Company getCompany_sued() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_company_sued == null)
+      jcasType.jcas.throwFeatMissing("company_sued", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_company_sued)));}
+    
+  /** setter for company_sued - sets  
+   * @generated */
+  public void setCompany_sued(Company v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_company_sued == null)
+      jcasType.jcas.throwFeatMissing("company_sued", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_company_sued, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: sueddescription
+
+  /** getter for sueddescription - gets 
+   * @generated */
+  public String getSueddescription() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_sueddescription == null)
+      jcasType.jcas.throwFeatMissing("sueddescription", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_sueddescription);}
+    
+  /** setter for sueddescription - sets  
+   * @generated */
+  public void setSueddescription(String v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_sueddescription == null)
+      jcasType.jcas.throwFeatMissing("sueddescription", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_sueddescription, v);}    
+   
+    
+  //*--------------*
+  //* Feature: company_plaintiff
+
+  /** getter for company_plaintiff - gets 
+   * @generated */
+  public Company getCompany_plaintiff() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_company_plaintiff == null)
+      jcasType.jcas.throwFeatMissing("company_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_company_plaintiff)));}
+    
+  /** setter for company_plaintiff - sets  
+   * @generated */
+  public void setCompany_plaintiff(Company v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_company_plaintiff == null)
+      jcasType.jcas.throwFeatMissing("company_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_company_plaintiff, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: person_plaintiff
+
+  /** getter for person_plaintiff - gets 
+   * @generated */
+  public Person getPerson_plaintiff() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_person_plaintiff == null)
+      jcasType.jcas.throwFeatMissing("person_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return (Person)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_person_plaintiff)));}
+    
+  /** setter for person_plaintiff - sets  
+   * @generated */
+  public void setPerson_plaintiff(Person v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_person_plaintiff == null)
+      jcasType.jcas.throwFeatMissing("person_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_person_plaintiff, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: lawsuitclass
+
+  /** getter for lawsuitclass - gets 
+   * @generated */
+  public String getLawsuitclass() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_lawsuitclass == null)
+      jcasType.jcas.throwFeatMissing("lawsuitclass", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_lawsuitclass);}
+    
+  /** setter for lawsuitclass - sets  
+   * @generated */
+  public void setLawsuitclass(String v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_lawsuitclass == null)
+      jcasType.jcas.throwFeatMissing("lawsuitclass", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_lawsuitclass, v);}    
+   
+    
+  //*--------------*
+  //* Feature: date
+
+  /** getter for date - gets 
+   * @generated */
+  public String getDate() {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_date == null)
+      jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_date);}
+    
+  /** setter for date - sets  
+   * @generated */
+  public void setDate(String v) {
+    if (CompanyLegalIssues_Type.featOkTst && ((CompanyLegalIssues_Type)jcasType).casFeat_date == null)
+      jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    jcasType.ll_cas.ll_setStringValue(addr, ((CompanyLegalIssues_Type)jcasType).casFeatCode_date, v);}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,189 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyLegalIssues_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyLegalIssues_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyLegalIssues_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyLegalIssues(addr, CompanyLegalIssues_Type.this);
+  			   CompanyLegalIssues_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyLegalIssues(addr, CompanyLegalIssues_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyLegalIssues.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyLegalIssues");
+ 
+  /** @generated */
+  final Feature casFeat_company_sued;
+  /** @generated */
+  final int     casFeatCode_company_sued;
+  /** @generated */ 
+  public int getCompany_sued(int addr) {
+        if (featOkTst && casFeat_company_sued == null)
+      jcas.throwFeatMissing("company_sued", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_sued);
+  }
+  /** @generated */    
+  public void setCompany_sued(int addr, int v) {
+        if (featOkTst && casFeat_company_sued == null)
+      jcas.throwFeatMissing("company_sued", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_sued, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_sueddescription;
+  /** @generated */
+  final int     casFeatCode_sueddescription;
+  /** @generated */ 
+  public String getSueddescription(int addr) {
+        if (featOkTst && casFeat_sueddescription == null)
+      jcas.throwFeatMissing("sueddescription", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_sueddescription);
+  }
+  /** @generated */    
+  public void setSueddescription(int addr, String v) {
+        if (featOkTst && casFeat_sueddescription == null)
+      jcas.throwFeatMissing("sueddescription", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setStringValue(addr, casFeatCode_sueddescription, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_company_plaintiff;
+  /** @generated */
+  final int     casFeatCode_company_plaintiff;
+  /** @generated */ 
+  public int getCompany_plaintiff(int addr) {
+        if (featOkTst && casFeat_company_plaintiff == null)
+      jcas.throwFeatMissing("company_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company_plaintiff);
+  }
+  /** @generated */    
+  public void setCompany_plaintiff(int addr, int v) {
+        if (featOkTst && casFeat_company_plaintiff == null)
+      jcas.throwFeatMissing("company_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company_plaintiff, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_person_plaintiff;
+  /** @generated */
+  final int     casFeatCode_person_plaintiff;
+  /** @generated */ 
+  public int getPerson_plaintiff(int addr) {
+        if (featOkTst && casFeat_person_plaintiff == null)
+      jcas.throwFeatMissing("person_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_person_plaintiff);
+  }
+  /** @generated */    
+  public void setPerson_plaintiff(int addr, int v) {
+        if (featOkTst && casFeat_person_plaintiff == null)
+      jcas.throwFeatMissing("person_plaintiff", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setRefValue(addr, casFeatCode_person_plaintiff, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_lawsuitclass;
+  /** @generated */
+  final int     casFeatCode_lawsuitclass;
+  /** @generated */ 
+  public String getLawsuitclass(int addr) {
+        if (featOkTst && casFeat_lawsuitclass == null)
+      jcas.throwFeatMissing("lawsuitclass", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_lawsuitclass);
+  }
+  /** @generated */    
+  public void setLawsuitclass(int addr, String v) {
+        if (featOkTst && casFeat_lawsuitclass == null)
+      jcas.throwFeatMissing("lawsuitclass", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setStringValue(addr, casFeatCode_lawsuitclass, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_date;
+  /** @generated */
+  final int     casFeatCode_date;
+  /** @generated */ 
+  public String getDate(int addr) {
+        if (featOkTst && casFeat_date == null)
+      jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    return ll_cas.ll_getStringValue(addr, casFeatCode_date);
+  }
+  /** @generated */    
+  public void setDate(int addr, String v) {
+        if (featOkTst && casFeat_date == null)
+      jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyLegalIssues");
+    ll_cas.ll_setStringValue(addr, casFeatCode_date, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyLegalIssues_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company_sued = jcas.getRequiredFeatureDE(casType, "company_sued", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_sued  = (null == casFeat_company_sued) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_sued).getCode();
+
+ 
+    casFeat_sueddescription = jcas.getRequiredFeatureDE(casType, "sueddescription", "uima.cas.String", featOkTst);
+    casFeatCode_sueddescription  = (null == casFeat_sueddescription) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_sueddescription).getCode();
+
+ 
+    casFeat_company_plaintiff = jcas.getRequiredFeatureDE(casType, "company_plaintiff", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company_plaintiff  = (null == casFeat_company_plaintiff) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_plaintiff).getCode();
+
+ 
+    casFeat_person_plaintiff = jcas.getRequiredFeatureDE(casType, "person_plaintiff", "org.apache.uima.calaisType.entity.Person", featOkTst);
+    casFeatCode_person_plaintiff  = (null == casFeat_person_plaintiff) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_person_plaintiff).getCode();
+
+ 
+    casFeat_lawsuitclass = jcas.getRequiredFeatureDE(casType, "lawsuitclass", "uima.cas.String", featOkTst);
+    casFeatCode_lawsuitclass  = (null == casFeat_lawsuitclass) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_lawsuitclass).getCode();
+
+ 
+    casFeat_date = jcas.getRequiredFeatureDE(casType, "date", "uima.cas.String", featOkTst);
+    casFeatCode_date  = (null == casFeat_date) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_date).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLegalIssues_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation.java Tue May 27 08:13:37 2008
@@ -0,0 +1,130 @@
+
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas; 
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+import org.apache.uima.calaisType.Relation;
+import org.apache.uima.calaisType.entity.Country;
+import org.apache.uima.calaisType.entity.Company;
+import org.apache.uima.calaisType.entity.ProvinceOrState;
+import org.apache.uima.calaisType.entity.City;
+
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * XML source: C:/a/Eclipse/3.3/apache/OpenCalaisAnnotatorGroovy/src/main/descriptors/CalaisTestCollectionReader.xml
+ * @generated */
+public class CompanyLocation extends Relation {
+  /** @generated
+   * @ordered 
+   */
+  public final static int typeIndexID = JCasRegistry.register(CompanyLocation.class);
+  /** @generated
+   * @ordered 
+   */
+  public final static int type = typeIndexID;
+  /** @generated  */
+  public              int getTypeIndexID() {return typeIndexID;}
+ 
+  /** Never called.  Disable default constructor
+   * @generated */
+  protected CompanyLocation() {}
+    
+  /** Internal - constructor used by generator 
+   * @generated */
+  public CompanyLocation(int addr, TOP_Type type) {
+    super(addr, type);
+    readObject();
+  }
+  
+  /** @generated */
+  public CompanyLocation(JCas jcas) {
+    super(jcas);
+    readObject();   
+  } 
+
+  /** <!-- begin-user-doc -->
+    * Write your own initialization here
+    * <!-- end-user-doc -->
+  @generated modifiable */
+  private void readObject() {}
+     
+ 
+    
+  //*--------------*
+  //* Feature: company
+
+  /** getter for company - gets 
+   * @generated */
+  public Company getCompany() {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_company)));}
+    
+  /** setter for company - sets  
+   * @generated */
+  public void setCompany(Company v) {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_company == null)
+      jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyLocation");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: city
+
+  /** getter for city - gets 
+   * @generated */
+  public City getCity() {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_city == null)
+      jcasType.jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return (City)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_city)));}
+    
+  /** setter for city - sets  
+   * @generated */
+  public void setCity(City v) {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_city == null)
+      jcasType.jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyLocation");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_city, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: provinceorstate
+
+  /** getter for provinceorstate - gets 
+   * @generated */
+  public ProvinceOrState getProvinceorstate() {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_provinceorstate == null)
+      jcasType.jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return (ProvinceOrState)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_provinceorstate)));}
+    
+  /** setter for provinceorstate - sets  
+   * @generated */
+  public void setProvinceorstate(ProvinceOrState v) {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_provinceorstate == null)
+      jcasType.jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyLocation");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_provinceorstate, jcasType.ll_cas.ll_getFSRef(v));}    
+   
+    
+  //*--------------*
+  //* Feature: country
+
+  /** getter for country - gets 
+   * @generated */
+  public Country getCountry() {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_country == null)
+      jcasType.jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return (Country)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_country)));}
+    
+  /** setter for country - sets  
+   * @generated */
+  public void setCountry(Country v) {
+    if (CompanyLocation_Type.featOkTst && ((CompanyLocation_Type)jcasType).casFeat_country == null)
+      jcasType.jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyLocation");
+    jcasType.ll_cas.ll_setRefValue(addr, ((CompanyLocation_Type)jcasType).casFeatCode_country, jcasType.ll_cas.ll_getFSRef(v));}    
+  }
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,145 @@
+
+/* First created by JCasGen Mon May 26 21:43:19 EDT 2008 */
+package org.apache.uima.calaisType.relation;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.Feature;
+import org.apache.uima.calaisType.Relation_Type;
+
+/** 
+ * Updated by JCasGen Mon May 26 21:43:19 EDT 2008
+ * @generated */
+public class CompanyLocation_Type extends Relation_Type {
+  /** @generated */
+  protected FSGenerator getFSGenerator() {return fsGenerator;}
+  /** @generated */
+  private final FSGenerator fsGenerator = 
+    new FSGenerator() {
+      public FeatureStructure createFS(int addr, CASImpl cas) {
+  			 if (CompanyLocation_Type.this.useExistingInstance) {
+  			   // Return eq fs instance if already created
+  		     FeatureStructure fs = CompanyLocation_Type.this.jcas.getJfsFromCaddr(addr);
+  		     if (null == fs) {
+  		       fs = new CompanyLocation(addr, CompanyLocation_Type.this);
+  			   CompanyLocation_Type.this.jcas.putJfsFromCaddr(addr, fs);
+  			   return fs;
+  		     }
+  		     return fs;
+        } else return new CompanyLocation(addr, CompanyLocation_Type.this);
+  	  }
+    };
+  /** @generated */
+  public final static int typeIndexID = CompanyLocation.typeIndexID;
+  /** @generated 
+     @modifiable */
+  public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyLocation");
+ 
+  /** @generated */
+  final Feature casFeat_company;
+  /** @generated */
+  final int     casFeatCode_company;
+  /** @generated */ 
+  public int getCompany(int addr) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_company);
+  }
+  /** @generated */    
+  public void setCompany(int addr, int v) {
+        if (featOkTst && casFeat_company == null)
+      jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyLocation");
+    ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_city;
+  /** @generated */
+  final int     casFeatCode_city;
+  /** @generated */ 
+  public int getCity(int addr) {
+        if (featOkTst && casFeat_city == null)
+      jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_city);
+  }
+  /** @generated */    
+  public void setCity(int addr, int v) {
+        if (featOkTst && casFeat_city == null)
+      jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyLocation");
+    ll_cas.ll_setRefValue(addr, casFeatCode_city, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_provinceorstate;
+  /** @generated */
+  final int     casFeatCode_provinceorstate;
+  /** @generated */ 
+  public int getProvinceorstate(int addr) {
+        if (featOkTst && casFeat_provinceorstate == null)
+      jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_provinceorstate);
+  }
+  /** @generated */    
+  public void setProvinceorstate(int addr, int v) {
+        if (featOkTst && casFeat_provinceorstate == null)
+      jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyLocation");
+    ll_cas.ll_setRefValue(addr, casFeatCode_provinceorstate, v);}
+    
+  
+ 
+  /** @generated */
+  final Feature casFeat_country;
+  /** @generated */
+  final int     casFeatCode_country;
+  /** @generated */ 
+  public int getCountry(int addr) {
+        if (featOkTst && casFeat_country == null)
+      jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyLocation");
+    return ll_cas.ll_getRefValue(addr, casFeatCode_country);
+  }
+  /** @generated */    
+  public void setCountry(int addr, int v) {
+        if (featOkTst && casFeat_country == null)
+      jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyLocation");
+    ll_cas.ll_setRefValue(addr, casFeatCode_country, v);}
+    
+  
+
+
+
+  /** initialize variables to correspond with Cas Type and Features
+	* @generated */
+  public CompanyLocation_Type(JCas jcas, Type casType) {
+    super(jcas, casType);
+    casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ 
+    casFeat_company = jcas.getRequiredFeatureDE(casType, "company", "org.apache.uima.calaisType.entity.Company", featOkTst);
+    casFeatCode_company  = (null == casFeat_company) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company).getCode();
+
+ 
+    casFeat_city = jcas.getRequiredFeatureDE(casType, "city", "org.apache.uima.calaisType.entity.City", featOkTst);
+    casFeatCode_city  = (null == casFeat_city) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_city).getCode();
+
+ 
+    casFeat_provinceorstate = jcas.getRequiredFeatureDE(casType, "provinceorstate", "org.apache.uima.calaisType.entity.ProvinceOrState", featOkTst);
+    casFeatCode_provinceorstate  = (null == casFeat_provinceorstate) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_provinceorstate).getCode();
+
+ 
+    casFeat_country = jcas.getRequiredFeatureDE(casType, "country", "org.apache.uima.calaisType.entity.Country", featOkTst);
+    casFeatCode_country  = (null == casFeat_country) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_country).getCode();
+
+  }
+}
+
+
+
+    
\ No newline at end of file

Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyLocation_Type.java
------------------------------------------------------------------------------
    svn:eol-style = native