Package org.apache.uima.cas.impl
Class DisjunctiveConstraint
- java.lang.Object
-
- org.apache.uima.cas.impl.DisjunctiveConstraint
-
- All Implemented Interfaces:
java.io.Serializable,FSConstraint,FSMatchConstraint
class DisjunctiveConstraint extends java.lang.Object implements FSMatchConstraint
Implements a disjunctive constraint. Optimize later.- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description private FSMatchConstraintc1private FSMatchConstraintc2private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateDisjunctiveConstraint()(package private)DisjunctiveConstraint(FSMatchConstraint c1, FSMatchConstraint c2)Create new disjunctive constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatch(FeatureStructure fs)Match against feature structures.java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
c1
private FSMatchConstraint c1
-
c2
private FSMatchConstraint c2
-
-
Constructor Detail
-
DisjunctiveConstraint
private DisjunctiveConstraint()
-
DisjunctiveConstraint
DisjunctiveConstraint(FSMatchConstraint c1, FSMatchConstraint c2)
Create new disjunctive constraint.
-
-
Method Detail
-
match
public boolean match(FeatureStructure fs)
Description copied from interface:FSMatchConstraintMatch against feature structures.- Specified by:
matchin interfaceFSMatchConstraint- Parameters:
fs- The feature structure we want to match.- Returns:
- -
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-