public class Pair
extends org.apache.uima.jcas.cas.TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Pair()
Never called.
|
|
Pair(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
Pair(org.apache.uima.jcas.JCas jcas) |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.cas.TOP |
getP1()
getter for p1 - gets
|
org.apache.uima.jcas.cas.TOP |
getP2()
getter for p2 - gets
|
int |
getTypeIndexID() |
void |
setP1(org.apache.uima.jcas.cas.TOP v)
setter for p1 - sets
|
void |
setP2(org.apache.uima.jcas.cas.TOP v)
setter for p2 - sets
|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
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
protected Pair()
public Pair(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Pair(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.cas.TOP
public org.apache.uima.jcas.cas.TOP getP1()
public void setP1(org.apache.uima.jcas.cas.TOP v)
v
- value to set into the featurepublic org.apache.uima.jcas.cas.TOP getP2()
public void setP2(org.apache.uima.jcas.cas.TOP v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.