Package org.apache.uima.cas.impl
Class FSBooleanConstraintImpl
java.lang.Object
org.apache.uima.cas.impl.FSBooleanConstraintImpl
- All Implemented Interfaces:
Serializable
,FSBooleanConstraint
,FSConstraint
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FSBooleanConstraintImpl
public FSBooleanConstraintImpl()
-
-
Method Details
-
eq
public void eq(boolean cond) Description copied from interface:FSBooleanConstraint
Set the constraint.- Specified by:
eq
in interfaceFSBooleanConstraint
- Parameters:
cond
- The condition that needs to be matched to satisfy the constraint.
-
match
public boolean match(boolean cond) Description copied from interface:FSBooleanConstraint
Check the condition.- Specified by:
match
in interfaceFSBooleanConstraint
- Parameters:
cond
- Value to compare with the condition.- Returns:
- True if value and constraint are equal, false else.
-
toString
-