Package com.tibco.patterns.learn.api.feature

Manages feature query, features and querylets that are stored in Patterns Learn model.xml file. This package is always used when features are represented by ibi Patterns querylets, i.e. it is also used from the recpair package.

A FeatureQuery object contains a number of features that are subclasses of Feature class. A feature can have one or more querylets that are implementations of Querylet interface. The supported querylet types are represented by classes SimpleQlt, CognateQlt, DateQlt and PredicateQlt (there is only a limited support for predicate querylets).

Generic features always have only one querylet and are supported by GenericFeature class. Data-specific features typically have more than one querylet. Two such features are implemented by classes PersonNameFeature and GenderFeature.

To store individual querylets, the package uses the same XML schema that is used in ibi Patterns Web Services (PatternsSchema.xsd).