Class Deleter

java.lang.Object
  extended by se.gu.ling.trindikit.oaa.common.OAASolver
      extended by Deleter

public class Deleter
extends se.gu.ling.trindikit.oaa.common.OAASolver

As the name says, this will be used to delete objects from the IclDb.


Constructor Summary
Deleter()
           
 
Method Summary
 boolean solve(com.sri.oaa2.icl.IclTerm goal, com.sri.oaa2.icl.IclList params, com.sri.oaa2.icl.IclList answers)
          The solve method extended from OAA.
goal == delete(X)
X == a number corresponding to the ID number of the object to delete.
 
Methods inherited from class se.gu.ling.trindikit.oaa.common.OAASolver
getSolvable, getSolvableString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deleter

public Deleter()
Method Detail

solve

public boolean solve(com.sri.oaa2.icl.IclTerm goal,
                     com.sri.oaa2.icl.IclList params,
                     com.sri.oaa2.icl.IclList answers)
The solve method extended from OAA.
goal == delete(X)
X == a number corresponding to the ID number of the object to delete.

Specified by:
solve in class se.gu.ling.trindikit.oaa.common.OAASolver
Parameters:
goal - an IclTerm
params - an IclList
answers - an IclList
Returns:
true if the method succeeds, otherwise false