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 FSMatchConstraint
c1
private FSMatchConstraint
c2
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
ConjunctiveConstraint()
(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 boolean
match(FeatureStructure fs)
Match against feature structures.java.lang.String
toString()
-
-
-
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:FSMatchConstraint
Match against feature structures.- Specified by:
match
in interfaceFSMatchConstraint
- Parameters:
fs
- The feature structure we want to match.- Returns:
- -
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-