org.apache.ctakes.assertion.medfacts.i2b2.api
Class ConstraintConstructor
java.lang.Object
org.apache.ctakes.assertion.medfacts.i2b2.api.ConstraintConstructor
- Direct Known Subclasses:
- ConstraintConstructorFindContainedBy, ConstraintConstructorFindContainedWithin
public abstract class ConstraintConstructor
- extends java.lang.Object
Field Summary |
protected org.apache.uima.jcas.JCas |
jcas
|
Method Summary |
abstract org.apache.uima.cas.FSMatchConstraint |
constructConstraintByBeginEnd(int problemBegin,
int problemEnd,
org.apache.uima.cas.ConstraintFactory cf,
org.apache.uima.cas.FeaturePath sentenceBeginFeaturePath,
org.apache.uima.cas.FeaturePath sentenceEndFeaturePath)
|
org.apache.uima.cas.FSIterator<org.apache.uima.jcas.tcas.Annotation> |
createFilteredIterator(int problemBegin,
int problemEnd,
org.apache.uima.cas.Type sentenceType)
|
org.apache.uima.jcas.JCas |
getJcas()
|
void |
setJcas(org.apache.uima.jcas.JCas jcas)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jcas
protected org.apache.uima.jcas.JCas jcas
ConstraintConstructor
public ConstraintConstructor()
ConstraintConstructor
public ConstraintConstructor(org.apache.uima.jcas.JCas jcas)
createFilteredIterator
public org.apache.uima.cas.FSIterator<org.apache.uima.jcas.tcas.Annotation> createFilteredIterator(int problemBegin,
int problemEnd,
org.apache.uima.cas.Type sentenceType)
- Parameters:
problemBegin
- problemEnd
- sentenceType
-
- Returns:
constructConstraintByBeginEnd
public abstract org.apache.uima.cas.FSMatchConstraint constructConstraintByBeginEnd(int problemBegin,
int problemEnd,
org.apache.uima.cas.ConstraintFactory cf,
org.apache.uima.cas.FeaturePath sentenceBeginFeaturePath,
org.apache.uima.cas.FeaturePath sentenceEndFeaturePath)
- Parameters:
problemBegin
- problemEnd
- cf
- sentenceBeginFeaturePath
- sentenceEndFeaturePath
-
- Returns:
getJcas
public org.apache.uima.jcas.JCas getJcas()
setJcas
public void setJcas(org.apache.uima.jcas.JCas jcas)