org.apache.uima.ducc

Class Workitem

  • java.lang.Object
    • org.apache.uima.cas.impl.FeatureStructureImpl
      • org.apache.uima.jcas.cas.TOP
        • org.apache.uima.ducc.Workitem
  • All Implemented Interfaces:
    Cloneable, org.apache.uima.cas.FeatureStructure


    public class Workitem
    extends org.apache.uima.jcas.cas.TOP
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int type 
      static int typeIndexID 
      • Fields inherited from class org.apache.uima.jcas.cas.TOP

        addr, jcasType
    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected Workitem()
      Never called.
        Workitem(int addr, org.apache.uima.jcas.cas.TOP_Type type)
      Internal - constructor used by generator
        Workitem(org.apache.uima.jcas.JCas jcas) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getBlockindex()
      getter for blockindex - gets Optional parameter to specify block offset into input file to start processing
      int getBlocksize()
      getter for blocksize - gets Optional parameter to process input files in smaller chunks
      int getBytelength()
      getter for bytelength - gets Length in bytes of work item
      String getEncoding()
      getter for encoding - gets Optional parameter to use when converting input files into Java characters
      String getInputspec()
      getter for inputspec - gets
      String getLanguage()
      getter for language - gets Optional parameter to specify the text language
      boolean getLastBlock()
      getter for lastBlock - gets
      String getOutputspec()
      getter for outputspec - gets
      boolean getSendToAll()
      getter for sendToAll - gets
      boolean getSendToLast()
      getter for sendToLast - gets
      int getTypeIndexID() 
      void setBlockindex(int v)
      setter for blockindex - sets Optional parameter to specify block offset into input file to start processing
      void setBlocksize(int v)
      setter for blocksize - sets Optional parameter to process input files in smaller chunks
      void setBytelength(int v)
      setter for bytelength - sets Length in bytes of work item
      void setEncoding(String v)
      setter for encoding - sets Optional parameter to use when converting input files into Java characters
      void setInputspec(String v)
      setter for inputspec - sets
      void setLanguage(String v)
      setter for language - sets Optional parameter to specify the text language
      void setLastBlock(boolean v)
      setter for lastBlock - sets
      void setOutputspec(String v)
      setter for outputspec - sets
      void setSendToAll(boolean v)
      setter for sendToAll - sets
      void setSendToLast(boolean v)
      setter for sendToLast - sets
      • Methods inherited from class org.apache.uima.jcas.cas.TOP

        addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
      • Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl

        clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
    • Constructor Detail

      • Workitem

        protected Workitem()
        Never called. Disable default constructor
      • Workitem

        public Workitem(int addr,
                        org.apache.uima.jcas.cas.TOP_Type type)
        Internal - constructor used by generator
      • Workitem

        public Workitem(org.apache.uima.jcas.JCas jcas)
    • Method Detail

      • getTypeIndexID

        public int getTypeIndexID()
        Overrides:
        getTypeIndexID in class org.apache.uima.jcas.cas.TOP
      • getSendToLast

        public boolean getSendToLast()
        getter for sendToLast - gets
      • setSendToLast

        public void setSendToLast(boolean v)
        setter for sendToLast - sets
      • getSendToAll

        public boolean getSendToAll()
        getter for sendToAll - gets
      • setSendToAll

        public void setSendToAll(boolean v)
        setter for sendToAll - sets
      • getInputspec

        public String getInputspec()
        getter for inputspec - gets
      • setInputspec

        public void setInputspec(String v)
        setter for inputspec - sets
      • getOutputspec

        public String getOutputspec()
        getter for outputspec - gets
      • setOutputspec

        public void setOutputspec(String v)
        setter for outputspec - sets
      • getEncoding

        public String getEncoding()
        getter for encoding - gets Optional parameter to use when converting input files into Java characters
      • setEncoding

        public void setEncoding(String v)
        setter for encoding - sets Optional parameter to use when converting input files into Java characters
      • getLanguage

        public String getLanguage()
        getter for language - gets Optional parameter to specify the text language
      • setLanguage

        public void setLanguage(String v)
        setter for language - sets Optional parameter to specify the text language
      • getBytelength

        public int getBytelength()
        getter for bytelength - gets Length in bytes of work item
      • setBytelength

        public void setBytelength(int v)
        setter for bytelength - sets Length in bytes of work item
      • getBlocksize

        public int getBlocksize()
        getter for blocksize - gets Optional parameter to process input files in smaller chunks
      • setBlocksize

        public void setBlocksize(int v)
        setter for blocksize - sets Optional parameter to process input files in smaller chunks
      • getBlockindex

        public int getBlockindex()
        getter for blockindex - gets Optional parameter to specify block offset into input file to start processing
      • setBlockindex

        public void setBlockindex(int v)
        setter for blockindex - sets Optional parameter to specify block offset into input file to start processing
      • getLastBlock

        public boolean getLastBlock()
        getter for lastBlock - gets
      • setLastBlock

        public void setLastBlock(boolean v)
        setter for lastBlock - sets

Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.