|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tm4j.tolog.InstanceOfExtension
Constructor Summary | |
InstanceOfExtension()
Deprecated. |
Method Summary | |
protected void |
addClassMatch(Topic cls,
java.util.List params,
java.util.List matches)
Deprecated. |
protected boolean |
getAllClassInstances(java.util.List matches)
Deprecated. |
protected boolean |
getClassMatches(java.util.List params,
java.util.List matches)
Deprecated. |
protected boolean |
getInstanceMatches(java.util.List params,
java.util.List matches)
Deprecated. |
protected boolean |
getInstanceMatches(TopicTypesIndex tti,
Topic cls,
java.util.List params,
java.util.List matches)
Deprecated. |
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. |
protected boolean |
isInstanceOf(Topic inst,
Topic cls)
Deprecated. |
boolean |
matches(java.util.List params,
java.util.List matches)
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 params)
Deprecated. Extension should return true if the PlayerRole
objects in prPairs specify a combination which
is valid under this function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InstanceOfExtension()
Method Detail |
public void initialise(TopicMap tm)
Extension
initialise
in interface Extension
tm
- the topic map to be queried.public int getMaxParams()
Extension
getMaxParams
in interface Extension
public boolean matches(java.util.List params, java.util.List matches)
Extension
true
if the PlayerRole
objects in prPairs
specify a combination which
is valid under this function.
matches
in interface Extension
params
- A list of PlayerRole objects specifying the value
of each parameter in the function. The list is in parameter order.matches
- 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 params)
Extension
true
if the PlayerRole
objects in prPairs
specify a combination which
is valid under this function.
test
in interface Extension
params
- A list of PlayerRole objects specifying the value
of each parameter in the function. The list is in parameter order.protected boolean getAllClassInstances(java.util.List matches)
protected boolean getInstanceMatches(java.util.List params, java.util.List matches)
protected boolean getInstanceMatches(TopicTypesIndex tti, Topic cls, java.util.List params, java.util.List matches)
protected boolean getClassMatches(java.util.List params, java.util.List matches)
protected void addClassMatch(Topic cls, java.util.List params, java.util.List matches)
protected boolean isInstanceOf(Topic inst, Topic cls)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |