org.apache.ctakes.typesystem.type.util
Class Pairs

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.ctakes.typesystem.type.util.Pairs
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.FeatureStructure
Direct Known Subclasses:
ProbabilityDistribution

public class Pairs
extends org.apache.uima.jcas.cas.TOP

A brute force "hash" that stores multiple Pairs in a list. Equivalent to cTAKES: edu.mayo.bmi.uima.core.type.Properties Updated by JCasGen Thu Nov 28 10:34:47 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected Pairs()
          Never called.
  Pairs(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  Pairs(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 org.apache.uima.jcas.cas.FSArray getPairs()
          getter for pairs - gets
 Pair getPairs(int i)
          indexed getter for pairs - gets an indexed value -
 int getTypeIndexID()
           
 void setPairs(org.apache.uima.jcas.cas.FSArray v)
          setter for pairs - sets
 void setPairs(int i, Pair v)
          indexed setter for pairs - sets an indexed value -
 
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, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

Pairs

protected Pairs()
Never called. Disable default constructor


Pairs

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


Pairs

public Pairs(org.apache.uima.jcas.JCas jcas)
Method Detail

getTypeIndexID

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

getPairs

public org.apache.uima.jcas.cas.FSArray getPairs()
getter for pairs - gets


setPairs

public void setPairs(org.apache.uima.jcas.cas.FSArray v)
setter for pairs - sets


getPairs

public Pair getPairs(int i)
indexed getter for pairs - gets an indexed value -


setPairs

public void setPairs(int i,
                     Pair v)
indexed setter for pairs - sets an indexed value -



Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.