Filtering
JOSIF Main Page | JOSIF Guidebook | Modeling | General Patterns | Filtering
Only in JOSIF R1.1
Operations requiring selection of entities based on attribute values may
provide a filter construct.
This filter construct may be based on primitive.filter or be associated
via common operations stereotypes (see common operations).
A common operation stereotype may define a filter as being a template
or a combination of a template and a query filter.
A query filter is mapped to a string which is implementation technology specific. For example in XML it is filled by the implementation with an XPATH expression. In java it is filled by a JPA query expression.
A template filter is mapped to a sequence of attribute matching filters
(using associative lookup).
When both template and query filters are specified then a choice construct
is being generated.
Operation using primitive filters as input arguments are mapped to operationsÂ
using query filters.