|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes which implement this interface can be used to provide extension predicates to the Tolog language. To be loaded, an Extension implementation must also provide a no-arguments constructor.
Method Summary | |
int |
getMaxParams()
Deprecated. The extension should return the maximum number of parameters which it supports. |
void |
initialise(TopicMap tm)
Deprecated. This method is called on the extension when the extension is instantiated by the QueryEvaluator and before any calls to the matches() or test() methods. |
boolean |
matches(java.util.List prParams,
java.util.List prMatches)
Deprecated. Extension should return true if the PlayerRole
objects in prPairs specify a combination which
is valid under this function. |
boolean |
test(java.util.List prParams)
Deprecated. Extension should return true if the PlayerRole
objects in prPairs specify a combination which
is valid under this function. |
Method Detail |
public void initialise(TopicMap tm)
tm
- the topic map to be queried.public boolean matches(java.util.List prParams, java.util.List prMatches)
true
if the PlayerRole
objects in prPairs
specify a combination which
is valid under this function.
prParams
- A list of PlayerRole objects specifying the value
of each parameter in the function. The list is in parameter order.prMatches
- A List to receive each of the possible matches
returned by this function (each match is specified as a List of
the PlayerRole match value for each parameter postion).public boolean test(java.util.List prParams)
true
if the PlayerRole
objects in prPairs
specify a combination which
is valid under this function.
prParams
- A list of PlayerRole objects specifying the value
of each parameter in the function. The list is in parameter order.public int getMaxParams()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |