Package org.apache.uima.cas.impl

# Class FSBooleanConstraintImpl

java.lang.Object
org.apache.uima.cas.impl.FSBooleanConstraintImpl

All Implemented Interfaces:
  `Serializable`, `FSBooleanConstraint`, `FSConstraint`

public class FSBooleanConstraintImpl extends Object implements FSBooleanConstraint
See interface for documentation.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FSBooleanConstraintImpl()`
  Default constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `eq(boolean cond)`
  Set the constraint.
  `boolean`
  `match(boolean cond)`
  Check the condition.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### FSBooleanConstraintImpl

    public FSBooleanConstraintImpl()
    Default constructor.

- ## Method Details

  - ### eq

    public void eq(boolean cond)
    Description copied from interface: `FSBooleanConstraint`
    Set the constraint.
    Specified by:
      `eq` in interface `FSBooleanConstraint`
    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 interface `FSBooleanConstraint`
    Parameters:
      `cond` - Value to compare with the condition.
    Returns:
      True if value and constraint are equal, false else.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`