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 [8/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/CompanyMeeting.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting.java Tue May 27 08:13:37 2008
@@ -0,0 +1,202 @@
+
+
+/* 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 CompanyMeeting extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(CompanyMeeting.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected CompanyMeeting() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public CompanyMeeting(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public CompanyMeeting(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 (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_company)));}
+
+ /** setter for company - sets
+ * @generated */
+ public void setCompany(Company v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: companymeetingtype
+
+ /** getter for companymeetingtype - gets
+ * @generated */
+ public String getCompanymeetingtype() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_companymeetingtype == null)
+ jcasType.jcas.throwFeatMissing("companymeetingtype", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_companymeetingtype);}
+
+ /** setter for companymeetingtype - sets
+ * @generated */
+ public void setCompanymeetingtype(String v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_companymeetingtype == null)
+ jcasType.jcas.throwFeatMissing("companymeetingtype", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_companymeetingtype, v);}
+
+
+ //*--------------*
+ //* Feature: country
+
+ /** getter for country - gets
+ * @generated */
+ public Country getCountry() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_country == null)
+ jcasType.jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return (Country)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_country)));}
+
+ /** setter for country - sets
+ * @generated */
+ public void setCountry(Country v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_country == null)
+ jcasType.jcas.throwFeatMissing("country", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_country, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: city
+
+ /** getter for city - gets
+ * @generated */
+ public City getCity() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_city == null)
+ jcasType.jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return (City)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_city)));}
+
+ /** setter for city - sets
+ * @generated */
+ public void setCity(City v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_city == null)
+ jcasType.jcas.throwFeatMissing("city", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_city, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: provinceorstate
+
+ /** getter for provinceorstate - gets
+ * @generated */
+ public ProvinceOrState getProvinceorstate() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_provinceorstate == null)
+ jcasType.jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return (ProvinceOrState)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_provinceorstate)));}
+
+ /** setter for provinceorstate - sets
+ * @generated */
+ public void setProvinceorstate(ProvinceOrState v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_provinceorstate == null)
+ jcasType.jcas.throwFeatMissing("provinceorstate", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_provinceorstate, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: status
+
+ /** getter for status - gets
+ * @generated */
+ public String getStatus() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_status);}
+
+ /** setter for status - sets
+ * @generated */
+ public void setStatus(String v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_status, v);}
+
+
+ //*--------------*
+ //* Feature: date
+
+ /** getter for date - gets
+ * @generated */
+ public String getDate() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_date);}
+
+ /** setter for date - sets
+ * @generated */
+ public void setDate(String v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_date, v);}
+
+
+ //*--------------*
+ //* Feature: meetingsite
+
+ /** getter for meetingsite - gets
+ * @generated */
+ public String getMeetingsite() {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_meetingsite == null)
+ jcasType.jcas.throwFeatMissing("meetingsite", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_meetingsite);}
+
+ /** setter for meetingsite - sets
+ * @generated */
+ public void setMeetingsite(String v) {
+ if (CompanyMeeting_Type.featOkTst && ((CompanyMeeting_Type)jcasType).casFeat_meetingsite == null)
+ jcasType.jcas.throwFeatMissing("meetingsite", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyMeeting_Type)jcasType).casFeatCode_meetingsite, v);}
+ }
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,233 @@
+
+/* 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 CompanyMeeting_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 (CompanyMeeting_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = CompanyMeeting_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new CompanyMeeting(addr, CompanyMeeting_Type.this);
+ CompanyMeeting_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new CompanyMeeting(addr, CompanyMeeting_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = CompanyMeeting.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyMeeting");
+
+ /** @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.CompanyMeeting");
+ 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.CompanyMeeting");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_companymeetingtype;
+ /** @generated */
+ final int casFeatCode_companymeetingtype;
+ /** @generated */
+ public String getCompanymeetingtype(int addr) {
+ if (featOkTst && casFeat_companymeetingtype == null)
+ jcas.throwFeatMissing("companymeetingtype", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_companymeetingtype);
+ }
+ /** @generated */
+ public void setCompanymeetingtype(int addr, String v) {
+ if (featOkTst && casFeat_companymeetingtype == null)
+ jcas.throwFeatMissing("companymeetingtype", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ ll_cas.ll_setStringValue(addr, casFeatCode_companymeetingtype, 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ ll_cas.ll_setRefValue(addr, casFeatCode_country, 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ ll_cas.ll_setRefValue(addr, casFeatCode_provinceorstate, 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ ll_cas.ll_setStringValue(addr, casFeatCode_status, 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.CompanyMeeting");
+ 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.CompanyMeeting");
+ ll_cas.ll_setStringValue(addr, casFeatCode_date, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_meetingsite;
+ /** @generated */
+ final int casFeatCode_meetingsite;
+ /** @generated */
+ public String getMeetingsite(int addr) {
+ if (featOkTst && casFeat_meetingsite == null)
+ jcas.throwFeatMissing("meetingsite", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_meetingsite);
+ }
+ /** @generated */
+ public void setMeetingsite(int addr, String v) {
+ if (featOkTst && casFeat_meetingsite == null)
+ jcas.throwFeatMissing("meetingsite", "org.apache.uima.calaisType.relation.CompanyMeeting");
+ ll_cas.ll_setStringValue(addr, casFeatCode_meetingsite, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public CompanyMeeting_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_companymeetingtype = jcas.getRequiredFeatureDE(casType, "companymeetingtype", "uima.cas.String", featOkTst);
+ casFeatCode_companymeetingtype = (null == casFeat_companymeetingtype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_companymeetingtype).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();
+
+
+ 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_status = jcas.getRequiredFeatureDE(casType, "status", "uima.cas.String", featOkTst);
+ casFeatCode_status = (null == casFeat_status) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_status).getCode();
+
+
+ casFeat_date = jcas.getRequiredFeatureDE(casType, "date", "uima.cas.String", featOkTst);
+ casFeatCode_date = (null == casFeat_date) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_date).getCode();
+
+
+ casFeat_meetingsite = jcas.getRequiredFeatureDE(casType, "meetingsite", "uima.cas.String", featOkTst);
+ casFeatCode_meetingsite = (null == casFeat_meetingsite) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_meetingsite).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyMeeting_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization.java Tue May 27 08:13:37 2008
@@ -0,0 +1,91 @@
+
+
+/* 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 CompanyReorganization extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(CompanyReorganization.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected CompanyReorganization() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public CompanyReorganization(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public CompanyReorganization(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 (CompanyReorganization_Type.featOkTst && ((CompanyReorganization_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyReorganization");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyReorganization_Type)jcasType).casFeatCode_company)));}
+
+ /** setter for company - sets
+ * @generated */
+ public void setCompany(Company v) {
+ if (CompanyReorganization_Type.featOkTst && ((CompanyReorganization_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyReorganization");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyReorganization_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: status
+
+ /** getter for status - gets
+ * @generated */
+ public String getStatus() {
+ if (CompanyReorganization_Type.featOkTst && ((CompanyReorganization_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyReorganization");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyReorganization_Type)jcasType).casFeatCode_status);}
+
+ /** setter for status - sets
+ * @generated */
+ public void setStatus(String v) {
+ if (CompanyReorganization_Type.featOkTst && ((CompanyReorganization_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.CompanyReorganization");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyReorganization_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/CompanyReorganization.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyReorganization_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,101 @@
+
+/* 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 CompanyReorganization_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 (CompanyReorganization_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = CompanyReorganization_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new CompanyReorganization(addr, CompanyReorganization_Type.this);
+ CompanyReorganization_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new CompanyReorganization(addr, CompanyReorganization_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = CompanyReorganization.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyReorganization");
+
+ /** @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.CompanyReorganization");
+ 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.CompanyReorganization");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company, 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.CompanyReorganization");
+ 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.CompanyReorganization");
+ ll_cas.ll_setStringValue(addr, casFeatCode_status, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public CompanyReorganization_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_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/CompanyReorganization_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology.java Tue May 27 08:13:37 2008
@@ -0,0 +1,91 @@
+
+
+/* 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 CompanyTechnology extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(CompanyTechnology.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected CompanyTechnology() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public CompanyTechnology(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public CompanyTechnology(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 (CompanyTechnology_Type.featOkTst && ((CompanyTechnology_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CompanyTechnology_Type)jcasType).casFeatCode_company)));}
+
+ /** setter for company - sets
+ * @generated */
+ public void setCompany(Company v) {
+ if (CompanyTechnology_Type.featOkTst && ((CompanyTechnology_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CompanyTechnology_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: technology
+
+ /** getter for technology - gets
+ * @generated */
+ public String getTechnology() {
+ if (CompanyTechnology_Type.featOkTst && ((CompanyTechnology_Type)jcasType).casFeat_technology == null)
+ jcasType.jcas.throwFeatMissing("technology", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CompanyTechnology_Type)jcasType).casFeatCode_technology);}
+
+ /** setter for technology - sets
+ * @generated */
+ public void setTechnology(String v) {
+ if (CompanyTechnology_Type.featOkTst && ((CompanyTechnology_Type)jcasType).casFeat_technology == null)
+ jcasType.jcas.throwFeatMissing("technology", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CompanyTechnology_Type)jcasType).casFeatCode_technology, v);}
+ }
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,101 @@
+
+/* 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 CompanyTechnology_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 (CompanyTechnology_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = CompanyTechnology_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new CompanyTechnology(addr, CompanyTechnology_Type.this);
+ CompanyTechnology_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new CompanyTechnology(addr, CompanyTechnology_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = CompanyTechnology.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CompanyTechnology");
+
+ /** @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.CompanyTechnology");
+ 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.CompanyTechnology");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_technology;
+ /** @generated */
+ final int casFeatCode_technology;
+ /** @generated */
+ public String getTechnology(int addr) {
+ if (featOkTst && casFeat_technology == null)
+ jcas.throwFeatMissing("technology", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_technology);
+ }
+ /** @generated */
+ public void setTechnology(int addr, String v) {
+ if (featOkTst && casFeat_technology == null)
+ jcas.throwFeatMissing("technology", "org.apache.uima.calaisType.relation.CompanyTechnology");
+ ll_cas.ll_setStringValue(addr, casFeatCode_technology, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public CompanyTechnology_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_technology = jcas.getRequiredFeatureDE(casType, "technology", "uima.cas.String", featOkTst);
+ casFeatCode_technology = (null == casFeat_technology) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_technology).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CompanyTechnology_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall.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.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 ConferenceCall extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(ConferenceCall.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected ConferenceCall() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public ConferenceCall(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public ConferenceCall(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 (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_company)));}
+
+ /** setter for company - sets
+ * @generated */
+ public void setCompany(Company v) {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.ConferenceCall");
+ jcasType.ll_cas.ll_setRefValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: ccalltype
+
+ /** getter for ccalltype - gets
+ * @generated */
+ public String getCcalltype() {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_ccalltype == null)
+ jcasType.jcas.throwFeatMissing("ccalltype", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_ccalltype);}
+
+ /** setter for ccalltype - sets
+ * @generated */
+ public void setCcalltype(String v) {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_ccalltype == null)
+ jcasType.jcas.throwFeatMissing("ccalltype", "org.apache.uima.calaisType.relation.ConferenceCall");
+ jcasType.ll_cas.ll_setStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_ccalltype, v);}
+
+
+ //*--------------*
+ //* Feature: quarter
+
+ /** getter for quarter - gets
+ * @generated */
+ public String getQuarter() {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_quarter == null)
+ jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_quarter);}
+
+ /** setter for quarter - sets
+ * @generated */
+ public void setQuarter(String v) {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_quarter == null)
+ jcasType.jcas.throwFeatMissing("quarter", "org.apache.uima.calaisType.relation.ConferenceCall");
+ jcasType.ll_cas.ll_setStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_quarter, v);}
+
+
+ //*--------------*
+ //* Feature: status
+
+ /** getter for status - gets
+ * @generated */
+ public String getStatus() {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_status);}
+
+ /** setter for status - sets
+ * @generated */
+ public void setStatus(String v) {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.ConferenceCall");
+ jcasType.ll_cas.ll_setStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_status, v);}
+
+
+ //*--------------*
+ //* Feature: date
+
+ /** getter for date - gets
+ * @generated */
+ public String getDate() {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((ConferenceCall_Type)jcasType).casFeatCode_date);}
+
+ /** setter for date - sets
+ * @generated */
+ public void setDate(String v) {
+ if (ConferenceCall_Type.featOkTst && ((ConferenceCall_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.ConferenceCall");
+ jcasType.ll_cas.ll_setStringValue(addr, ((ConferenceCall_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/ConferenceCall.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/ConferenceCall_Type.java Tue May 27 08:13:37 2008
@@ -0,0 +1,167 @@
+
+/* 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 ConferenceCall_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 (ConferenceCall_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = ConferenceCall_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new ConferenceCall(addr, ConferenceCall_Type.this);
+ ConferenceCall_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new ConferenceCall(addr, ConferenceCall_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = ConferenceCall.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.ConferenceCall");
+
+ /** @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.ConferenceCall");
+ 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.ConferenceCall");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_ccalltype;
+ /** @generated */
+ final int casFeatCode_ccalltype;
+ /** @generated */
+ public String getCcalltype(int addr) {
+ if (featOkTst && casFeat_ccalltype == null)
+ jcas.throwFeatMissing("ccalltype", "org.apache.uima.calaisType.relation.ConferenceCall");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_ccalltype);
+ }
+ /** @generated */
+ public void setCcalltype(int addr, String v) {
+ if (featOkTst && casFeat_ccalltype == null)
+ jcas.throwFeatMissing("ccalltype", "org.apache.uima.calaisType.relation.ConferenceCall");
+ ll_cas.ll_setStringValue(addr, casFeatCode_ccalltype, 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.ConferenceCall");
+ 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.ConferenceCall");
+ ll_cas.ll_setStringValue(addr, casFeatCode_quarter, 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.ConferenceCall");
+ 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.ConferenceCall");
+ ll_cas.ll_setStringValue(addr, casFeatCode_status, 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.ConferenceCall");
+ 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.ConferenceCall");
+ ll_cas.ll_setStringValue(addr, casFeatCode_date, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public ConferenceCall_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_ccalltype = jcas.getRequiredFeatureDE(casType, "ccalltype", "uima.cas.String", featOkTst);
+ casFeatCode_ccalltype = (null == casFeat_ccalltype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_ccalltype).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_status = jcas.getRequiredFeatureDE(casType, "status", "uima.cas.String", featOkTst);
+ casFeatCode_status = (null == casFeat_status) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_status).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/ConferenceCall_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating.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.Organization;
+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 CreditRating extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(CreditRating.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected CreditRating() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public CreditRating(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public CreditRating(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+
+
+ //*--------------*
+ //* Feature: company_source
+
+ /** getter for company_source - gets
+ * @generated */
+ public Company getCompany_source() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_company_source == null)
+ jcasType.jcas.throwFeatMissing("company_source", "org.apache.uima.calaisType.relation.CreditRating");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_company_source)));}
+
+ /** setter for company_source - sets
+ * @generated */
+ public void setCompany_source(Company v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_company_source == null)
+ jcasType.jcas.throwFeatMissing("company_source", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_company_source, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: company_rated
+
+ /** getter for company_rated - gets
+ * @generated */
+ public Company getCompany_rated() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_company_rated == null)
+ jcasType.jcas.throwFeatMissing("company_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_company_rated)));}
+
+ /** setter for company_rated - sets
+ * @generated */
+ public void setCompany_rated(Company v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_company_rated == null)
+ jcasType.jcas.throwFeatMissing("company_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_company_rated, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: organization_rated
+
+ /** getter for organization_rated - gets
+ * @generated */
+ public Organization getOrganization_rated() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_organization_rated == null)
+ jcasType.jcas.throwFeatMissing("organization_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ return (Organization)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_organization_rated)));}
+
+ /** setter for organization_rated - sets
+ * @generated */
+ public void setOrganization_rated(Organization v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_organization_rated == null)
+ jcasType.jcas.throwFeatMissing("organization_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setRefValue(addr, ((CreditRating_Type)jcasType).casFeatCode_organization_rated, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: trend
+
+ /** getter for trend - gets
+ * @generated */
+ public String getTrend() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_trend == null)
+ jcasType.jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CreditRating");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_trend);}
+
+ /** setter for trend - sets
+ * @generated */
+ public void setTrend(String v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_trend == null)
+ jcasType.jcas.throwFeatMissing("trend", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_trend, v);}
+
+
+ //*--------------*
+ //* Feature: rank_new
+
+ /** getter for rank_new - gets
+ * @generated */
+ public String getRank_new() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_rank_new == null)
+ jcasType.jcas.throwFeatMissing("rank_new", "org.apache.uima.calaisType.relation.CreditRating");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_rank_new);}
+
+ /** setter for rank_new - sets
+ * @generated */
+ public void setRank_new(String v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_rank_new == null)
+ jcasType.jcas.throwFeatMissing("rank_new", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_rank_new, v);}
+
+
+ //*--------------*
+ //* Feature: rank_old
+
+ /** getter for rank_old - gets
+ * @generated */
+ public String getRank_old() {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_rank_old == null)
+ jcasType.jcas.throwFeatMissing("rank_old", "org.apache.uima.calaisType.relation.CreditRating");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_rank_old);}
+
+ /** setter for rank_old - sets
+ * @generated */
+ public void setRank_old(String v) {
+ if (CreditRating_Type.featOkTst && ((CreditRating_Type)jcasType).casFeat_rank_old == null)
+ jcasType.jcas.throwFeatMissing("rank_old", "org.apache.uima.calaisType.relation.CreditRating");
+ jcasType.ll_cas.ll_setStringValue(addr, ((CreditRating_Type)jcasType).casFeatCode_rank_old, v);}
+ }
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating_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 CreditRating_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 (CreditRating_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = CreditRating_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new CreditRating(addr, CreditRating_Type.this);
+ CreditRating_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new CreditRating(addr, CreditRating_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = CreditRating.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.CreditRating");
+
+ /** @generated */
+ final Feature casFeat_company_source;
+ /** @generated */
+ final int casFeatCode_company_source;
+ /** @generated */
+ public int getCompany_source(int addr) {
+ if (featOkTst && casFeat_company_source == null)
+ jcas.throwFeatMissing("company_source", "org.apache.uima.calaisType.relation.CreditRating");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_company_source);
+ }
+ /** @generated */
+ public void setCompany_source(int addr, int v) {
+ if (featOkTst && casFeat_company_source == null)
+ jcas.throwFeatMissing("company_source", "org.apache.uima.calaisType.relation.CreditRating");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company_source, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_company_rated;
+ /** @generated */
+ final int casFeatCode_company_rated;
+ /** @generated */
+ public int getCompany_rated(int addr) {
+ if (featOkTst && casFeat_company_rated == null)
+ jcas.throwFeatMissing("company_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_company_rated);
+ }
+ /** @generated */
+ public void setCompany_rated(int addr, int v) {
+ if (featOkTst && casFeat_company_rated == null)
+ jcas.throwFeatMissing("company_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ ll_cas.ll_setRefValue(addr, casFeatCode_company_rated, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_organization_rated;
+ /** @generated */
+ final int casFeatCode_organization_rated;
+ /** @generated */
+ public int getOrganization_rated(int addr) {
+ if (featOkTst && casFeat_organization_rated == null)
+ jcas.throwFeatMissing("organization_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_organization_rated);
+ }
+ /** @generated */
+ public void setOrganization_rated(int addr, int v) {
+ if (featOkTst && casFeat_organization_rated == null)
+ jcas.throwFeatMissing("organization_rated", "org.apache.uima.calaisType.relation.CreditRating");
+ ll_cas.ll_setRefValue(addr, casFeatCode_organization_rated, 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.CreditRating");
+ 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.CreditRating");
+ ll_cas.ll_setStringValue(addr, casFeatCode_trend, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_rank_new;
+ /** @generated */
+ final int casFeatCode_rank_new;
+ /** @generated */
+ public String getRank_new(int addr) {
+ if (featOkTst && casFeat_rank_new == null)
+ jcas.throwFeatMissing("rank_new", "org.apache.uima.calaisType.relation.CreditRating");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_rank_new);
+ }
+ /** @generated */
+ public void setRank_new(int addr, String v) {
+ if (featOkTst && casFeat_rank_new == null)
+ jcas.throwFeatMissing("rank_new", "org.apache.uima.calaisType.relation.CreditRating");
+ ll_cas.ll_setStringValue(addr, casFeatCode_rank_new, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_rank_old;
+ /** @generated */
+ final int casFeatCode_rank_old;
+ /** @generated */
+ public String getRank_old(int addr) {
+ if (featOkTst && casFeat_rank_old == null)
+ jcas.throwFeatMissing("rank_old", "org.apache.uima.calaisType.relation.CreditRating");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_rank_old);
+ }
+ /** @generated */
+ public void setRank_old(int addr, String v) {
+ if (featOkTst && casFeat_rank_old == null)
+ jcas.throwFeatMissing("rank_old", "org.apache.uima.calaisType.relation.CreditRating");
+ ll_cas.ll_setStringValue(addr, casFeatCode_rank_old, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public CreditRating_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_company_source = jcas.getRequiredFeatureDE(casType, "company_source", "org.apache.uima.calaisType.entity.Company", featOkTst);
+ casFeatCode_company_source = (null == casFeat_company_source) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_source).getCode();
+
+
+ casFeat_company_rated = jcas.getRequiredFeatureDE(casType, "company_rated", "org.apache.uima.calaisType.entity.Company", featOkTst);
+ casFeatCode_company_rated = (null == casFeat_company_rated) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_company_rated).getCode();
+
+
+ casFeat_organization_rated = jcas.getRequiredFeatureDE(casType, "organization_rated", "org.apache.uima.calaisType.entity.Organization", featOkTst);
+ casFeatCode_organization_rated = (null == casFeat_organization_rated) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_organization_rated).getCode();
+
+
+ casFeat_trend = jcas.getRequiredFeatureDE(casType, "trend", "uima.cas.String", featOkTst);
+ casFeatCode_trend = (null == casFeat_trend) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_trend).getCode();
+
+
+ casFeat_rank_new = jcas.getRequiredFeatureDE(casType, "rank_new", "uima.cas.String", featOkTst);
+ casFeatCode_rank_new = (null == casFeat_rank_new) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_rank_new).getCode();
+
+
+ casFeat_rank_old = jcas.getRequiredFeatureDE(casType, "rank_old", "uima.cas.String", featOkTst);
+ casFeatCode_rank_old = (null == casFeat_rank_old) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_rank_old).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/CreditRating_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation.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.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 FamilyRelation extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(FamilyRelation.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected FamilyRelation() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public FamilyRelation(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public FamilyRelation(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+
+
+ //*--------------*
+ //* Feature: person
+
+ /** getter for person - gets
+ * @generated */
+ public Person getPerson() {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_person == null)
+ jcasType.jcas.throwFeatMissing("person", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return (Person)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_person)));}
+
+ /** setter for person - sets
+ * @generated */
+ public void setPerson(Person v) {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_person == null)
+ jcasType.jcas.throwFeatMissing("person", "org.apache.uima.calaisType.relation.FamilyRelation");
+ jcasType.ll_cas.ll_setRefValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_person, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: person_relative
+
+ /** getter for person_relative - gets
+ * @generated */
+ public String getPerson_relative() {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_person_relative == null)
+ jcasType.jcas.throwFeatMissing("person_relative", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_person_relative);}
+
+ /** setter for person_relative - sets
+ * @generated */
+ public void setPerson_relative(String v) {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_person_relative == null)
+ jcasType.jcas.throwFeatMissing("person_relative", "org.apache.uima.calaisType.relation.FamilyRelation");
+ jcasType.ll_cas.ll_setStringValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_person_relative, v);}
+
+
+ //*--------------*
+ //* Feature: familyrelationtype
+
+ /** getter for familyrelationtype - gets
+ * @generated */
+ public String getFamilyrelationtype() {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_familyrelationtype == null)
+ jcasType.jcas.throwFeatMissing("familyrelationtype", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_familyrelationtype);}
+
+ /** setter for familyrelationtype - sets
+ * @generated */
+ public void setFamilyrelationtype(String v) {
+ if (FamilyRelation_Type.featOkTst && ((FamilyRelation_Type)jcasType).casFeat_familyrelationtype == null)
+ jcasType.jcas.throwFeatMissing("familyrelationtype", "org.apache.uima.calaisType.relation.FamilyRelation");
+ jcasType.ll_cas.ll_setStringValue(addr, ((FamilyRelation_Type)jcasType).casFeatCode_familyrelationtype, v);}
+ }
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation_Type.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation_Type.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation_Type.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation_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 FamilyRelation_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 (FamilyRelation_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = FamilyRelation_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new FamilyRelation(addr, FamilyRelation_Type.this);
+ FamilyRelation_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new FamilyRelation(addr, FamilyRelation_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = FamilyRelation.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.calaisType.relation.FamilyRelation");
+
+ /** @generated */
+ final Feature casFeat_person;
+ /** @generated */
+ final int casFeatCode_person;
+ /** @generated */
+ public int getPerson(int addr) {
+ if (featOkTst && casFeat_person == null)
+ jcas.throwFeatMissing("person", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_person);
+ }
+ /** @generated */
+ public void setPerson(int addr, int v) {
+ if (featOkTst && casFeat_person == null)
+ jcas.throwFeatMissing("person", "org.apache.uima.calaisType.relation.FamilyRelation");
+ ll_cas.ll_setRefValue(addr, casFeatCode_person, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_person_relative;
+ /** @generated */
+ final int casFeatCode_person_relative;
+ /** @generated */
+ public String getPerson_relative(int addr) {
+ if (featOkTst && casFeat_person_relative == null)
+ jcas.throwFeatMissing("person_relative", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_person_relative);
+ }
+ /** @generated */
+ public void setPerson_relative(int addr, String v) {
+ if (featOkTst && casFeat_person_relative == null)
+ jcas.throwFeatMissing("person_relative", "org.apache.uima.calaisType.relation.FamilyRelation");
+ ll_cas.ll_setStringValue(addr, casFeatCode_person_relative, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_familyrelationtype;
+ /** @generated */
+ final int casFeatCode_familyrelationtype;
+ /** @generated */
+ public String getFamilyrelationtype(int addr) {
+ if (featOkTst && casFeat_familyrelationtype == null)
+ jcas.throwFeatMissing("familyrelationtype", "org.apache.uima.calaisType.relation.FamilyRelation");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_familyrelationtype);
+ }
+ /** @generated */
+ public void setFamilyrelationtype(int addr, String v) {
+ if (featOkTst && casFeat_familyrelationtype == null)
+ jcas.throwFeatMissing("familyrelationtype", "org.apache.uima.calaisType.relation.FamilyRelation");
+ ll_cas.ll_setStringValue(addr, casFeatCode_familyrelationtype, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public FamilyRelation_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_person = jcas.getRequiredFeatureDE(casType, "person", "org.apache.uima.calaisType.entity.Person", featOkTst);
+ casFeatCode_person = (null == casFeat_person) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_person).getCode();
+
+
+ casFeat_person_relative = jcas.getRequiredFeatureDE(casType, "person_relative", "uima.cas.String", featOkTst);
+ casFeatCode_person_relative = (null == casFeat_person_relative) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_person_relative).getCode();
+
+
+ casFeat_familyrelationtype = jcas.getRequiredFeatureDE(casType, "familyrelationtype", "uima.cas.String", featOkTst);
+ casFeatCode_familyrelationtype = (null == casFeat_familyrelationtype) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_familyrelationtype).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/FamilyRelation_Type.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/IPO.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/IPO.java?rev=660553&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/IPO.java (added)
+++ incubator/uima/sandbox/trunk/OpenCalaisAnnotatorGroovy/src/main/java/org/apache/uima/calaisType/relation/IPO.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 IPO extends Relation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(IPO.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected IPO() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public IPO(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public IPO(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 (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.IPO");
+ return (Company)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((IPO_Type)jcasType).casFeatCode_company)));}
+
+ /** setter for company - sets
+ * @generated */
+ public void setCompany(Company v) {
+ if (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_company == null)
+ jcasType.jcas.throwFeatMissing("company", "org.apache.uima.calaisType.relation.IPO");
+ jcasType.ll_cas.ll_setRefValue(addr, ((IPO_Type)jcasType).casFeatCode_company, jcasType.ll_cas.ll_getFSRef(v));}
+
+
+ //*--------------*
+ //* Feature: status
+
+ /** getter for status - gets
+ * @generated */
+ public String getStatus() {
+ if (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.IPO");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((IPO_Type)jcasType).casFeatCode_status);}
+
+ /** setter for status - sets
+ * @generated */
+ public void setStatus(String v) {
+ if (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_status == null)
+ jcasType.jcas.throwFeatMissing("status", "org.apache.uima.calaisType.relation.IPO");
+ jcasType.ll_cas.ll_setStringValue(addr, ((IPO_Type)jcasType).casFeatCode_status, v);}
+
+
+ //*--------------*
+ //* Feature: date
+
+ /** getter for date - gets
+ * @generated */
+ public String getDate() {
+ if (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.IPO");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((IPO_Type)jcasType).casFeatCode_date);}
+
+ /** setter for date - sets
+ * @generated */
+ public void setDate(String v) {
+ if (IPO_Type.featOkTst && ((IPO_Type)jcasType).casFeat_date == null)
+ jcasType.jcas.throwFeatMissing("date", "org.apache.uima.calaisType.relation.IPO");
+ jcasType.ll_cas.ll_setStringValue(addr, ((IPO_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/IPO.java
------------------------------------------------------------------------------
svn:eol-style = native