Package org.apache.uima.cas.impl
Class IntConstraint
- java.lang.Object
-
- org.apache.uima.cas.impl.PathConstraint
-
- org.apache.uima.cas.impl.IntConstraint
-
- All Implemented Interfaces:
java.io.Serializable
,FSConstraint
,FSMatchConstraint
class IntConstraint extends PathConstraint implements FSMatchConstraint
Implement an embedded int constraint.- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description private FSIntConstraint
intConstraint
private static long
serialVersionUID
-
Fields inherited from class org.apache.uima.cas.impl.PathConstraint
featNames
-
-
Constructor Summary
Constructors Constructor Description IntConstraint(java.util.ArrayList<java.lang.String> path, FSIntConstraint cons)
-
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
-
intConstraint
private FSIntConstraint intConstraint
-
-
Constructor Detail
-
IntConstraint
IntConstraint(java.util.ArrayList<java.lang.String> path, FSIntConstraint cons)
-
-
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 classPathConstraint
-
-