org.tm4j.panckoucke.impl.abstraction.tolog .TologAbstractor

Description

The TologAbstractor returns the result of a TologQuery as an AbstractModel.

Inheritance Hierarchy

Field Summary
GESTALT_TOLOG_RESULT_SET
HINT_COMPACT_SINGLE_COLUMN_RESULTSETS if this hint is specified in a way that evaluates to logical true, the abstractor will generate a more compact model if the resultset of the query contains one single column per row.
HINT_TOLOG_QUERY The hint.key under which the tolog-query-statement is looked up in the hints-dictionary of the abstraction context.
Method Summary
org.tm4j.panckoucke.model.AModel evaluateQuery(org.tm4j.panckoucke.model.AMMember member,java.lang.String query,boolean compactSingleRowColumns)
performs a Tolog-Query and returns an AbstractModel
org.tm4j.panckoucke.model.AModel evaluateQuery(org.tm4j.topicmap.TopicMap tm,java.lang.String query,boolean compactSingleColumnRows)
performs a Tolog-Query and returns an AbstractModel
org.tm4j.panckoucke.model.AModel generateModel(org.tm4j.topicmap.TopicMapObject tmo,org.tm4j.panckoucke.abstraction.AbstractionContext ac)
if supportsAbstraction(tmo, ac) returns true, this methods retrieves the tolog-query from the AbstractionContext (by querying the hints for a property HINT_TOLOG_QUERY) Afterwards evaluateQuery(TopicMap, String, boolean) is called and the result is returned to the caller.
void setModelFacory(org.tm4j.panckoucke.model.AModelFactory factory)
void supportsAbstraction(org.tm4j.topicmap.TopicMapObject tmo,org.tm4j.panckoucke.abstraction.AbstractionContext ac)
This method returns true, if the following two criteria are met - tmo must hold a reference to a TopicMap - the AbstractorHInts must contain a Property with the key HINT_TOLOG_QUERY, which is defined as a constant in this class