org.apache.ctakes.drugner.fsm.elements.conditions
Class ContainsSetTextValueCondition

java.lang.Object
  extended by net.openai.util.fsm.Condition
      extended by org.apache.ctakes.drugner.fsm.elements.conditions.ContainsSetTextValueCondition
All Implemented Interfaces:
java.io.Serializable

public class ContainsSetTextValueCondition
extends net.openai.util.fsm.Condition

Finds numeric values w/in tokens containing mixed text (integers contained in a string). Will return true if the numeric value separated from the text results in a unit value provided in Set 'c'

Author:
Mayo Clinic
See Also:
Serialized Form

Constructor Summary
ContainsSetTextValueCondition(java.util.Set c, boolean casesensative)
          Constructor
 
Method Summary
 boolean satisfiedBy(java.lang.Object conditional)
          Called to check if the conditional meets the criteria defined by this state.
 
Methods inherited from class net.openai.util.fsm.Condition
getSourceStates, getTargetState, setTargetState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainsSetTextValueCondition

public ContainsSetTextValueCondition(java.util.Set c,
                                     boolean casesensative)
Constructor

Parameters:
t -
Method Detail

satisfiedBy

public boolean satisfiedBy(java.lang.Object conditional)
Called to check if the conditional meets the criteria defined by this state.

Specified by:
satisfiedBy in class net.openai.util.fsm.Condition