|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.jcas.cas.TOP_Type
public class TOP_Type
hold Cas type information, link to JCas instance. One instance per Type, per CAS
Field Summary | |
---|---|
org.apache.uima.cas.impl.CASImpl |
casImpl
ref to CAS for faster getters/setters |
Type |
casType
the Cas Type associated with this Java Cas Model class |
int |
casTypeCode
|
protected TOP_Type |
instanceOf_Type
This generator can be set up to either get the identical Java object (if it exists) or just make a new one. |
JCas |
jcas
reference to the Java Cas root |
org.apache.uima.cas.impl.LowLevelCAS |
ll_cas
|
protected boolean |
lowLevelArrayBoundChecks
|
protected boolean |
lowLevelTypeChecks
|
static int |
typeIndexID
each cover class when loaded sets an index. |
boolean |
useExistingInstance
|
Constructor Summary | |
---|---|
protected |
TOP_Type()
protected constructor - disable default constructor - never called. |
|
TOP_Type(JCas jcas,
Type casType)
Internal - this constructor is called when new CAS creates corresponding jcas instance. |
protected |
TOP_Type(JCas jcas,
Type casType,
boolean installGenerator)
DO NOT USE - for backwards compatibility only. |
Method Summary | |
---|---|
void |
addToIndexes(int inst)
add the corresponding FeatureStructure to all Cas indexes |
protected void |
checkType(int inst)
|
protected org.apache.uima.cas.impl.FSGenerator |
getFSGenerator()
|
int |
getTypeIndexID()
used to obtain reference to the TOP_Type instance |
protected void |
invalidTypeArg(int inst)
|
int |
noObjCreate()
|
void |
removeFromIndexes(int inst)
remove the corresponding FeatureStructure from all Cas indexes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int typeIndexID
public final Type casType
public final int casTypeCode
public final JCas jcas
public final org.apache.uima.cas.impl.CASImpl casImpl
public final org.apache.uima.cas.impl.LowLevelCAS ll_cas
protected final boolean lowLevelTypeChecks
protected final boolean lowLevelArrayBoundChecks
public final boolean useExistingInstance
protected final TOP_Type instanceOf_Type
Constructor Detail |
---|
protected TOP_Type()
public TOP_Type(JCas jcas, Type casType)
protected TOP_Type(JCas jcas, Type casType, boolean installGenerator)
Method Detail |
---|
public int getTypeIndexID()
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
protected void checkType(int inst)
protected void invalidTypeArg(int inst)
public void addToIndexes(int inst)
public void removeFromIndexes(int inst)
public int noObjCreate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |