You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2011/08/12 12:44:18 UTC
svn commit: r1157040 [21/23] - in
/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine: ./ .settings/
META-INF/ desc/ lib/ src/ src/main/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/uima/
src/main/java/org/...
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class SPECIAL extends ANY {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(SPECIAL.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected SPECIAL() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public SPECIAL(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public SPECIAL(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public SPECIAL(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class SPECIAL_Type extends ANY_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (SPECIAL_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = SPECIAL_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new SPECIAL(addr, SPECIAL_Type.this);
+ SPECIAL_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new SPECIAL(addr, SPECIAL_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = SPECIAL.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.SPECIAL");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public SPECIAL_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SPECIAL_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class SW extends W {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(SW.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected SW() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public SW(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public SW(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public SW(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class SW_Type extends W_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (SW_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = SW_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new SW(addr, SW_Type.this);
+ SW_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new SW(addr, SW_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = SW.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.SW");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public SW_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/SW_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,192 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.DoubleArray;
+import org.apache.uima.jcas.cas.IntegerArray;
+import org.apache.uima.jcas.cas.StringArray;
+import org.apache.uima.jcas.cas.TOP;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class Statistics extends TOP {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(Statistics.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected Statistics() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public Statistics(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public Statistics(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+
+
+ //*--------------*
+ //* Feature: name
+
+ /** getter for name - gets
+ * @generated */
+ public StringArray getName() {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_name == null)
+ jcasType.jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name)));}
+
+ /** setter for name - sets
+ * @generated */
+ public void setName(StringArray v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_name == null)
+ jcasType.jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.ll_cas.ll_setRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name, jcasType.ll_cas.ll_getFSRef(v));}
+
+ /** indexed getter for name - gets an indexed value -
+ * @generated */
+ public String getName(int i) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_name == null)
+ jcasType.jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name), i);
+ return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name), i);}
+
+ /** indexed setter for name - sets an indexed value -
+ * @generated */
+ public void setName(int i, String v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_name == null)
+ jcasType.jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name), i);
+ jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_name), i, v);}
+
+
+ //*--------------*
+ //* Feature: total
+
+ /** getter for total - gets
+ * @generated */
+ public DoubleArray getTotal() {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_total == null)
+ jcasType.jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ return (DoubleArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total)));}
+
+ /** setter for total - sets
+ * @generated */
+ public void setTotal(DoubleArray v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_total == null)
+ jcasType.jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.ll_cas.ll_setRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total, jcasType.ll_cas.ll_getFSRef(v));}
+
+ /** indexed getter for total - gets an indexed value -
+ * @generated */
+ public double getTotal(int i) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_total == null)
+ jcasType.jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total), i);
+ return jcasType.ll_cas.ll_getDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total), i);}
+
+ /** indexed setter for total - sets an indexed value -
+ * @generated */
+ public void setTotal(int i, double v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_total == null)
+ jcasType.jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total), i);
+ jcasType.ll_cas.ll_setDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_total), i, v);}
+
+
+ //*--------------*
+ //* Feature: amount
+
+ /** getter for amount - gets
+ * @generated */
+ public IntegerArray getAmount() {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_amount == null)
+ jcasType.jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ return (IntegerArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount)));}
+
+ /** setter for amount - sets
+ * @generated */
+ public void setAmount(IntegerArray v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_amount == null)
+ jcasType.jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.ll_cas.ll_setRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount, jcasType.ll_cas.ll_getFSRef(v));}
+
+ /** indexed getter for amount - gets an indexed value -
+ * @generated */
+ public int getAmount(int i) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_amount == null)
+ jcasType.jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount), i);
+ return jcasType.ll_cas.ll_getIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount), i);}
+
+ /** indexed setter for amount - sets an indexed value -
+ * @generated */
+ public void setAmount(int i, int v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_amount == null)
+ jcasType.jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount), i);
+ jcasType.ll_cas.ll_setIntArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_amount), i, v);}
+
+
+ //*--------------*
+ //* Feature: part
+
+ /** getter for part - gets
+ * @generated */
+ public DoubleArray getPart() {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_part == null)
+ jcasType.jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ return (DoubleArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part)));}
+
+ /** setter for part - sets
+ * @generated */
+ public void setPart(DoubleArray v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_part == null)
+ jcasType.jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.ll_cas.ll_setRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part, jcasType.ll_cas.ll_getFSRef(v));}
+
+ /** indexed getter for part - gets an indexed value -
+ * @generated */
+ public double getPart(int i) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_part == null)
+ jcasType.jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part), i);
+ return jcasType.ll_cas.ll_getDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part), i);}
+
+ /** indexed setter for part - sets an indexed value -
+ * @generated */
+ public void setPart(int i, double v) {
+ if (Statistics_Type.featOkTst && ((Statistics_Type)jcasType).casFeat_part == null)
+ jcasType.jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part), i);
+ jcasType.ll_cas.ll_setDoubleArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Statistics_Type)jcasType).casFeatCode_part), i, v);}
+ }
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,221 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class Statistics_Type extends TOP_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Statistics_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Statistics_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Statistics(addr, Statistics_Type.this);
+ Statistics_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new Statistics(addr, Statistics_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = Statistics.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.Statistics");
+
+ /** @generated */
+ final Feature casFeat_name;
+ /** @generated */
+ final int casFeatCode_name;
+ /** @generated */
+ public int getName(int addr) {
+ if (featOkTst && casFeat_name == null)
+ jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_name);
+ }
+ /** @generated */
+ public void setName(int addr, int v) {
+ if (featOkTst && casFeat_name == null)
+ jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ ll_cas.ll_setRefValue(addr, casFeatCode_name, v);}
+
+ /** @generated */
+ public String getName(int addr, int i) {
+ if (featOkTst && casFeat_name == null)
+ jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_name), i, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_name), i);
+ return ll_cas.ll_getStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_name), i);
+ }
+
+ /** @generated */
+ public void setName(int addr, int i, String v) {
+ if (featOkTst && casFeat_name == null)
+ jcas.throwFeatMissing("name", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ ll_cas.ll_setStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_name), i, v, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_name), i);
+ ll_cas.ll_setStringArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_name), i, v);
+ }
+
+
+ /** @generated */
+ final Feature casFeat_total;
+ /** @generated */
+ final int casFeatCode_total;
+ /** @generated */
+ public int getTotal(int addr) {
+ if (featOkTst && casFeat_total == null)
+ jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_total);
+ }
+ /** @generated */
+ public void setTotal(int addr, int v) {
+ if (featOkTst && casFeat_total == null)
+ jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ ll_cas.ll_setRefValue(addr, casFeatCode_total, v);}
+
+ /** @generated */
+ public double getTotal(int addr, int i) {
+ if (featOkTst && casFeat_total == null)
+ jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_total), i, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_total), i);
+ return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_total), i);
+ }
+
+ /** @generated */
+ public void setTotal(int addr, int i, double v) {
+ if (featOkTst && casFeat_total == null)
+ jcas.throwFeatMissing("total", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_total), i, v, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_total), i);
+ ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_total), i, v);
+ }
+
+
+ /** @generated */
+ final Feature casFeat_amount;
+ /** @generated */
+ final int casFeatCode_amount;
+ /** @generated */
+ public int getAmount(int addr) {
+ if (featOkTst && casFeat_amount == null)
+ jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_amount);
+ }
+ /** @generated */
+ public void setAmount(int addr, int v) {
+ if (featOkTst && casFeat_amount == null)
+ jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ ll_cas.ll_setRefValue(addr, casFeatCode_amount, v);}
+
+ /** @generated */
+ public int getAmount(int addr, int i) {
+ if (featOkTst && casFeat_amount == null)
+ jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ return ll_cas.ll_getIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i);
+ return ll_cas.ll_getIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i);
+ }
+
+ /** @generated */
+ public void setAmount(int addr, int i, int v) {
+ if (featOkTst && casFeat_amount == null)
+ jcas.throwFeatMissing("amount", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ ll_cas.ll_setIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i, v, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i);
+ ll_cas.ll_setIntArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_amount), i, v);
+ }
+
+
+ /** @generated */
+ final Feature casFeat_part;
+ /** @generated */
+ final int casFeatCode_part;
+ /** @generated */
+ public int getPart(int addr) {
+ if (featOkTst && casFeat_part == null)
+ jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_part);
+ }
+ /** @generated */
+ public void setPart(int addr, int v) {
+ if (featOkTst && casFeat_part == null)
+ jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ ll_cas.ll_setRefValue(addr, casFeatCode_part, v);}
+
+ /** @generated */
+ public double getPart(int addr, int i) {
+ if (featOkTst && casFeat_part == null)
+ jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_part), i, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_part), i);
+ return ll_cas.ll_getDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_part), i);
+ }
+
+ /** @generated */
+ public void setPart(int addr, int i, double v) {
+ if (featOkTst && casFeat_part == null)
+ jcas.throwFeatMissing("part", "org.apache.uima.textmarker.type.Statistics");
+ if (lowLevelTypeChecks)
+ ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_part), i, v, true);
+ jcas.checkArrayBounds(ll_cas.ll_getRefValue(addr, casFeatCode_part), i);
+ ll_cas.ll_setDoubleArrayValue(ll_cas.ll_getRefValue(addr, casFeatCode_part), i, v);
+ }
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public Statistics_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_name = jcas.getRequiredFeatureDE(casType, "name", "uima.cas.StringArray", featOkTst);
+ casFeatCode_name = (null == casFeat_name) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_name).getCode();
+
+
+ casFeat_total = jcas.getRequiredFeatureDE(casType, "total", "uima.cas.DoubleArray", featOkTst);
+ casFeatCode_total = (null == casFeat_total) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_total).getCode();
+
+
+ casFeat_amount = jcas.getRequiredFeatureDE(casType, "amount", "uima.cas.IntegerArray", featOkTst);
+ casFeatCode_amount = (null == casFeat_amount) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_amount).getCode();
+
+
+ casFeat_part = jcas.getRequiredFeatureDE(casType, "part", "uima.cas.DoubleArray", featOkTst);
+ casFeatCode_part = (null == casFeat_part) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_part).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/Statistics_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,97 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class TextMarkerAnnotation extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(TextMarkerAnnotation.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected TextMarkerAnnotation() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public TextMarkerAnnotation(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerAnnotation(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerAnnotation(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+
+
+ //*--------------*
+ //* Feature: score
+
+ /** getter for score - gets
+ * @generated */
+ public double getScore() {
+ if (TextMarkerAnnotation_Type.featOkTst && ((TextMarkerAnnotation_Type)jcasType).casFeat_score == null)
+ jcasType.jcas.throwFeatMissing("score", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ return jcasType.ll_cas.ll_getDoubleValue(addr, ((TextMarkerAnnotation_Type)jcasType).casFeatCode_score);}
+
+ /** setter for score - sets
+ * @generated */
+ public void setScore(double v) {
+ if (TextMarkerAnnotation_Type.featOkTst && ((TextMarkerAnnotation_Type)jcasType).casFeat_score == null)
+ jcasType.jcas.throwFeatMissing("score", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ jcasType.ll_cas.ll_setDoubleValue(addr, ((TextMarkerAnnotation_Type)jcasType).casFeatCode_score, v);}
+
+
+ //*--------------*
+ //* Feature: annotation
+
+ /** getter for annotation - gets
+ * @generated */
+ public Annotation getAnnotation() {
+ if (TextMarkerAnnotation_Type.featOkTst && ((TextMarkerAnnotation_Type)jcasType).casFeat_annotation == null)
+ jcasType.jcas.throwFeatMissing("annotation", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((TextMarkerAnnotation_Type)jcasType).casFeatCode_annotation)));}
+
+ /** setter for annotation - sets
+ * @generated */
+ public void setAnnotation(Annotation v) {
+ if (TextMarkerAnnotation_Type.featOkTst && ((TextMarkerAnnotation_Type)jcasType).casFeat_annotation == null)
+ jcasType.jcas.throwFeatMissing("annotation", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ jcasType.ll_cas.ll_setRefValue(addr, ((TextMarkerAnnotation_Type)jcasType).casFeatCode_annotation, jcasType.ll_cas.ll_getFSRef(v));}
+ }
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,101 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.tcas.Annotation_Type;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class TextMarkerAnnotation_Type extends Annotation_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (TextMarkerAnnotation_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = TextMarkerAnnotation_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new TextMarkerAnnotation(addr, TextMarkerAnnotation_Type.this);
+ TextMarkerAnnotation_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new TextMarkerAnnotation(addr, TextMarkerAnnotation_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = TextMarkerAnnotation.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.TextMarkerAnnotation");
+
+ /** @generated */
+ final Feature casFeat_score;
+ /** @generated */
+ final int casFeatCode_score;
+ /** @generated */
+ public double getScore(int addr) {
+ if (featOkTst && casFeat_score == null)
+ jcas.throwFeatMissing("score", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ return ll_cas.ll_getDoubleValue(addr, casFeatCode_score);
+ }
+ /** @generated */
+ public void setScore(int addr, double v) {
+ if (featOkTst && casFeat_score == null)
+ jcas.throwFeatMissing("score", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ ll_cas.ll_setDoubleValue(addr, casFeatCode_score, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_annotation;
+ /** @generated */
+ final int casFeatCode_annotation;
+ /** @generated */
+ public int getAnnotation(int addr) {
+ if (featOkTst && casFeat_annotation == null)
+ jcas.throwFeatMissing("annotation", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ return ll_cas.ll_getRefValue(addr, casFeatCode_annotation);
+ }
+ /** @generated */
+ public void setAnnotation(int addr, int v) {
+ if (featOkTst && casFeat_annotation == null)
+ jcas.throwFeatMissing("annotation", "org.apache.uima.textmarker.type.TextMarkerAnnotation");
+ ll_cas.ll_setRefValue(addr, casFeatCode_annotation, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public TextMarkerAnnotation_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_score = jcas.getRequiredFeatureDE(casType, "score", "uima.cas.Double", featOkTst);
+ casFeatCode_score = (null == casFeat_score) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_score).getCode();
+
+
+ casFeat_annotation = jcas.getRequiredFeatureDE(casType, "annotation", "uima.tcas.Annotation", featOkTst);
+ casFeatCode_annotation = (null == casFeat_annotation) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_annotation).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerAnnotation_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,153 @@
+/* First created by JCasGen Wed Apr 16 17:01:16 CEST 2008 */
+package org.apache.uima.textmarker.type;
+
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.apache.uima.cas.text.AnnotationFS;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.tcas.Annotation;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class TextMarkerBasic extends Annotation {
+
+ private Set<String> partOf = new HashSet<String>(20);
+
+ private Map<String, AnnotationFS> typeMap = new HashMap<String, AnnotationFS>(7);
+
+ private Map<String, AnnotationFS> instanceMap = new HashMap<String, AnnotationFS>(10);
+
+ public Map<String, String> tags = new HashMap<String, String>(20);
+
+ public void setTags(Map<String, String> tags) {
+ this.tags = new HashMap<String, String>(tags);
+ }
+
+ public Map<String, String> getTags() {
+ return tags;
+ }
+
+ public void setAnnotation(String name, AnnotationFS annotation, boolean instance) {
+ if (instance) {
+ typeMap.put(name, annotation);
+ instanceMap.put(name, annotation);
+ } else if (!instanceMap.containsKey(name)) {
+ typeMap.put(name, annotation);
+ }
+ }
+
+ public void removeAnnotation(String name, boolean instance) {
+ if (instance && instanceMap.containsKey(name)) {
+ typeMap.remove(name);
+ instanceMap.remove(name);
+ } else if (!instance && !instanceMap.containsKey(name)) {
+ typeMap.remove(name);
+ }
+ }
+
+ public void addPartOf(String type) {
+ partOf.add(type);
+ }
+
+ public void removePartOf(String type) {
+ partOf.remove(type);
+ }
+
+ public boolean isAnchorOf(String name) {
+ return typeMap.containsKey(name);
+ }
+
+ public AnnotationFS getType(String name) {
+ return typeMap.get(name);
+ }
+
+ public boolean isPartOf(String name) {
+ return partOf.contains(name);
+ }
+
+ /**
+ * @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(TextMarkerBasic.class);
+
+ /**
+ * @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+
+ /** @generated */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected TextMarkerBasic() {}
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
+ public TextMarkerBasic(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerBasic(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerBasic(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {
+ }
+
+ // *--------------*
+ // * Feature: Replacement
+
+ /**
+ * getter for Replacement - gets
+ *
+ * @generated
+ */
+ public String getReplacement() {
+ if (TextMarkerBasic_Type.featOkTst && ((TextMarkerBasic_Type)jcasType).casFeat_replacement == null)
+ jcasType.jcas.throwFeatMissing("replacement", "org.apache.uima.textmarker.type.TextMarkerBasic");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((TextMarkerBasic_Type)jcasType).casFeatCode_replacement);}
+
+ /**
+ * setter for Replacement - sets
+ *
+ * @generated
+ */
+ public void setReplacement(String v) {
+ if (TextMarkerBasic_Type.featOkTst && ((TextMarkerBasic_Type)jcasType).casFeat_replacement == null)
+ jcasType.jcas.throwFeatMissing("replacement", "org.apache.uima.textmarker.type.TextMarkerBasic");
+ jcasType.ll_cas.ll_setStringValue(addr, ((TextMarkerBasic_Type)jcasType).casFeatCode_replacement, v);}
+ public Collection<AnnotationFS> getAnchors() {
+ return typeMap.values();
+ }
+}
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,79 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.tcas.Annotation_Type;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class TextMarkerBasic_Type extends Annotation_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (TextMarkerBasic_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = TextMarkerBasic_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new TextMarkerBasic(addr, TextMarkerBasic_Type.this);
+ TextMarkerBasic_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new TextMarkerBasic(addr, TextMarkerBasic_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = TextMarkerBasic.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.TextMarkerBasic");
+
+ /** @generated */
+ final Feature casFeat_replacement;
+ /** @generated */
+ final int casFeatCode_replacement;
+ /** @generated */
+ public String getReplacement(int addr) {
+ if (featOkTst && casFeat_replacement == null)
+ jcas.throwFeatMissing("replacement", "org.apache.uima.textmarker.type.TextMarkerBasic");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_replacement);
+ }
+ /** @generated */
+ public void setReplacement(int addr, String v) {
+ if (featOkTst && casFeat_replacement == null)
+ jcas.throwFeatMissing("replacement", "org.apache.uima.textmarker.type.TextMarkerBasic");
+ ll_cas.ll_setStringValue(addr, casFeatCode_replacement, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public TextMarkerBasic_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_replacement = jcas.getRequiredFeatureDE(casType, "replacement", "uima.cas.String", featOkTst);
+ casFeatCode_replacement = (null == casFeat_replacement) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_replacement).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerBasic_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,133 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class TextMarkerColoring extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(TextMarkerColoring.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected TextMarkerColoring() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public TextMarkerColoring(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerColoring(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerColoring(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+
+
+ //*--------------*
+ //* Feature: bgColor
+
+ /** getter for bgColor - gets
+ * @generated */
+ public String getBgColor() {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_bgColor == null)
+ jcasType.jcas.throwFeatMissing("bgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_bgColor);}
+
+ /** setter for bgColor - sets
+ * @generated */
+ public void setBgColor(String v) {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_bgColor == null)
+ jcasType.jcas.throwFeatMissing("bgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ jcasType.ll_cas.ll_setStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_bgColor, v);}
+
+
+ //*--------------*
+ //* Feature: targetType
+
+ /** getter for targetType - gets
+ * @generated */
+ public String getTargetType() {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_targetType == null)
+ jcasType.jcas.throwFeatMissing("targetType", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_targetType);}
+
+ /** setter for targetType - sets
+ * @generated */
+ public void setTargetType(String v) {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_targetType == null)
+ jcasType.jcas.throwFeatMissing("targetType", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ jcasType.ll_cas.ll_setStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_targetType, v);}
+
+
+ //*--------------*
+ //* Feature: fgColor
+
+ /** getter for fgColor - gets
+ * @generated */
+ public String getFgColor() {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_fgColor == null)
+ jcasType.jcas.throwFeatMissing("fgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return jcasType.ll_cas.ll_getStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_fgColor);}
+
+ /** setter for fgColor - sets
+ * @generated */
+ public void setFgColor(String v) {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_fgColor == null)
+ jcasType.jcas.throwFeatMissing("fgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ jcasType.ll_cas.ll_setStringValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_fgColor, v);}
+
+
+ //*--------------*
+ //* Feature: selected
+
+ /** getter for selected - gets
+ * @generated */
+ public boolean getSelected() {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_selected == null)
+ jcasType.jcas.throwFeatMissing("selected", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return jcasType.ll_cas.ll_getBooleanValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_selected);}
+
+ /** setter for selected - sets
+ * @generated */
+ public void setSelected(boolean v) {
+ if (TextMarkerColoring_Type.featOkTst && ((TextMarkerColoring_Type)jcasType).casFeat_selected == null)
+ jcasType.jcas.throwFeatMissing("selected", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ jcasType.ll_cas.ll_setBooleanValue(addr, ((TextMarkerColoring_Type)jcasType).casFeatCode_selected, v);}
+ }
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,145 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.Feature;
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.FeatureImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.tcas.Annotation_Type;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class TextMarkerColoring_Type extends Annotation_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (TextMarkerColoring_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = TextMarkerColoring_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new TextMarkerColoring(addr, TextMarkerColoring_Type.this);
+ TextMarkerColoring_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new TextMarkerColoring(addr, TextMarkerColoring_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = TextMarkerColoring.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.TextMarkerColoring");
+
+ /** @generated */
+ final Feature casFeat_bgColor;
+ /** @generated */
+ final int casFeatCode_bgColor;
+ /** @generated */
+ public String getBgColor(int addr) {
+ if (featOkTst && casFeat_bgColor == null)
+ jcas.throwFeatMissing("bgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_bgColor);
+ }
+ /** @generated */
+ public void setBgColor(int addr, String v) {
+ if (featOkTst && casFeat_bgColor == null)
+ jcas.throwFeatMissing("bgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ ll_cas.ll_setStringValue(addr, casFeatCode_bgColor, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_targetType;
+ /** @generated */
+ final int casFeatCode_targetType;
+ /** @generated */
+ public String getTargetType(int addr) {
+ if (featOkTst && casFeat_targetType == null)
+ jcas.throwFeatMissing("targetType", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_targetType);
+ }
+ /** @generated */
+ public void setTargetType(int addr, String v) {
+ if (featOkTst && casFeat_targetType == null)
+ jcas.throwFeatMissing("targetType", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ ll_cas.ll_setStringValue(addr, casFeatCode_targetType, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_fgColor;
+ /** @generated */
+ final int casFeatCode_fgColor;
+ /** @generated */
+ public String getFgColor(int addr) {
+ if (featOkTst && casFeat_fgColor == null)
+ jcas.throwFeatMissing("fgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return ll_cas.ll_getStringValue(addr, casFeatCode_fgColor);
+ }
+ /** @generated */
+ public void setFgColor(int addr, String v) {
+ if (featOkTst && casFeat_fgColor == null)
+ jcas.throwFeatMissing("fgColor", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ ll_cas.ll_setStringValue(addr, casFeatCode_fgColor, v);}
+
+
+
+ /** @generated */
+ final Feature casFeat_selected;
+ /** @generated */
+ final int casFeatCode_selected;
+ /** @generated */
+ public boolean getSelected(int addr) {
+ if (featOkTst && casFeat_selected == null)
+ jcas.throwFeatMissing("selected", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ return ll_cas.ll_getBooleanValue(addr, casFeatCode_selected);
+ }
+ /** @generated */
+ public void setSelected(int addr, boolean v) {
+ if (featOkTst && casFeat_selected == null)
+ jcas.throwFeatMissing("selected", "org.apache.uima.textmarker.type.TextMarkerColoring");
+ ll_cas.ll_setBooleanValue(addr, casFeatCode_selected, v);}
+
+
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public TextMarkerColoring_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+
+ casFeat_bgColor = jcas.getRequiredFeatureDE(casType, "bgColor", "uima.cas.String", featOkTst);
+ casFeatCode_bgColor = (null == casFeat_bgColor) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_bgColor).getCode();
+
+
+ casFeat_targetType = jcas.getRequiredFeatureDE(casType, "targetType", "uima.cas.String", featOkTst);
+ casFeatCode_targetType = (null == casFeat_targetType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_targetType).getCode();
+
+
+ casFeat_fgColor = jcas.getRequiredFeatureDE(casType, "fgColor", "uima.cas.String", featOkTst);
+ casFeatCode_fgColor = (null == casFeat_fgColor) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_fgColor).getCode();
+
+
+ casFeat_selected = jcas.getRequiredFeatureDE(casType, "selected", "uima.cas.Boolean", featOkTst);
+ casFeatCode_selected = (null == casFeat_selected) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_selected).getCode();
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerColoring_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class TextMarkerFrame extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(TextMarkerFrame.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected TextMarkerFrame() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public TextMarkerFrame(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerFrame(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public TextMarkerFrame(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,55 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.tcas.Annotation_Type;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class TextMarkerFrame_Type extends Annotation_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (TextMarkerFrame_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = TextMarkerFrame_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new TextMarkerFrame(addr, TextMarkerFrame_Type.this);
+ TextMarkerFrame_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new TextMarkerFrame(addr, TextMarkerFrame_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = TextMarkerFrame.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.TextMarkerFrame");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public TextMarkerFrame_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TextMarkerFrame_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class TruePositive extends EvalAnnotation {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(TruePositive.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected TruePositive() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public TruePositive(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public TruePositive(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public TruePositive(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class TruePositive_Type extends EvalAnnotation_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (TruePositive_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = TruePositive_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new TruePositive(addr, TruePositive_Type.this);
+ TruePositive_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new TruePositive(addr, TruePositive_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = TruePositive.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.TruePositive");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public TruePositive_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/TruePositive_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class W extends ANY {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(W.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected W() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public W(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public W(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public W(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,61 @@
+
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+import org.apache.uima.jcas.cas.TOP_Type;
+
+
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * XML source: D:/work/workspace-uima2/uimaj-ep-textmarker-engine/desc/BasicTypeSystem.xml
+ * @generated */
+public class WS extends ANY {
+ /** @generated
+ * @ordered
+ */
+ public final static int typeIndexID = JCasRegistry.register(WS.class);
+ /** @generated
+ * @ordered
+ */
+ public final static int type = typeIndexID;
+ /** @generated */
+ public int getTypeIndexID() {return typeIndexID;}
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected WS() {}
+
+ /** Internal - constructor used by generator
+ * @generated */
+ public WS(int addr, TOP_Type type) {
+ super(addr, type);
+ readObject();
+ }
+
+ /** @generated */
+ public WS(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /** @generated */
+ public WS(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /** <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ @generated modifiable */
+ private void readObject() {}
+
+}
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class WS_Type extends ANY_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (WS_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = WS_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new WS(addr, WS_Type.this);
+ WS_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new WS(addr, WS_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = WS.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.WS");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public WS_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/WS_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java?rev=1157040&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java Fri Aug 12 10:44:04 2011
@@ -0,0 +1,54 @@
+
+/* First created by JCasGen Tue Aug 09 16:26:13 CEST 2011 */
+package org.apache.uima.textmarker.type;
+
+import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.cas.Type;
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.FSGenerator;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+/**
+ * Updated by JCasGen Tue Aug 09 16:26:13 CEST 2011
+ * @generated */
+public class W_Type extends ANY_Type {
+ /** @generated */
+ protected FSGenerator getFSGenerator() {return fsGenerator;}
+ /** @generated */
+ private final FSGenerator fsGenerator =
+ new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (W_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = W_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new W(addr, W_Type.this);
+ W_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else return new W(addr, W_Type.this);
+ }
+ };
+ /** @generated */
+ public final static int typeIndexID = W.typeIndexID;
+ /** @generated
+ @modifiable */
+ public final static boolean featOkTst = JCasRegistry.getFeatOkTst("org.apache.uima.textmarker.type.W");
+
+
+
+ /** initialize variables to correspond with Cas Type and Features
+ * @generated */
+ public W_Type(JCas jcas, Type casType) {
+ super(jcas, casType);
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+
+ }
+}
+
+
+
+
\ No newline at end of file
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java
------------------------------------------------------------------------------
svn:executable = *
Propchange: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-engine/src/main/java/org/apache/uima/textmarker/type/W_Type.java
------------------------------------------------------------------------------
svn:mime-type = text/plain