org.tm4j.panckoucke.impl.abstraction.tolog .TologMatrixAbstractor
Description
The TologMatrixAbstractor returns the result of a TologQuery as an AbstractModel. The TologMatrixAbstractor uses org.tm4j.tologx.* and supports therefor tolog 1.0-queries. In difference to the TologAbstractor, this implementation uses the Matrix-Pattern to represent the tolog-resultset
Inheritance Hierarchy
- java.lang.Object
- TologMatrixAbstractor
Interfaces
Field Summary | |
---|---|
GESTALT_TOLOG_QUERY | Gestalt of the center node of the model that this abstractor creates. |
GESTALT_TOLOG_RESULT_MATRIX | Gestalt of the arc, that connects the centernode with the matrix node that represents the tolog result set.. |
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)
performs a Tolog-Query and returns an AbstractModel
|
org.tm4j.panckoucke.model.AModel |
evaluateQuery(org.tm4j.topicmap.TopicMap tm,java.lang.String query)
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) 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
|
Related Topics
Imports
Is Contained By