|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.gu.ling.trindikit.oaa.common.OAASolver Adder4
public class Adder4
This class is used to add objects to the databas.
The add method takes four arguments, hence the name.
The events MUST have four arguments, since they take
both start date and end date. The other ones do not
have to take an end date.
The add solvable should look like this: add(Choice,String,StartDate,EndDate)
String should be the text information in
the new event
Choice is what kind of information it is.
That is todo, alarm...
Date is...date in the format "20040824T113000"
Constructor Summary | |
---|---|
Adder4()
|
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 == add(W,X,Y,Z) W == the type; event,todo,alarm X == the message connected to the object Y == start date/time Z == end date/time |
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 |
---|
public Adder4()
Method Detail |
---|
public boolean solve(com.sri.oaa2.icl.IclTerm goal, com.sri.oaa2.icl.IclList params, com.sri.oaa2.icl.IclList answers)
solve
in class se.gu.ling.trindikit.oaa.common.OAASolver
goal
- an IclTermparams
- an IclListanswers
- an IclList
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |