Package org.apache.uima.cas.impl
Class ConjunctiveConstraint
- java.lang.Object
-
- org.apache.uima.cas.impl.ConjunctiveConstraint
-
- All Implemented Interfaces:
java.io.Serializable,FSConstraint,FSMatchConstraint
class ConjunctiveConstraint extends java.lang.Object implements FSMatchConstraint
Implements a conjunctive constraint.- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description private FSMatchConstraintc1private FSMatchConstraintc2private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateConjunctiveConstraint()(package private)ConjunctiveConstraint(FSMatchConstraint c1, FSMatchConstraint c2)Create a conjunctive constraint from two FSMatchConstraints.
-
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
-
ConjunctiveConstraint
private ConjunctiveConstraint()
-
ConjunctiveConstraint
ConjunctiveConstraint(FSMatchConstraint c1, FSMatchConstraint c2)
Create a conjunctive constraint from two FSMatchConstraints.- Parameters:
c1- First conjunct.c2- Second conjunct.
-
-
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
-
-