fido.db
Class QuestionWordTable
java.lang.Object
|
+--fido.db.QuestionWordTable
- public class QuestionWordTable
- extends java.lang.Object
Method Summary |
void |
add(java.lang.String word,
int type)
|
void |
delete(java.lang.String word)
|
QuestionWord |
get(java.lang.String word)
Returns the GrammarLink type referrenced by the parameter name. |
int |
hashCode(java.lang.String word)
|
java.util.Collection |
list()
Returns the names of all GrammarLink names in the list. |
java.util.Collection |
listTypes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WHO
public static final int WHO
- See Also:
- Constant Field Values
WHAT
public static final int WHAT
- See Also:
- Constant Field Values
WHERE
public static final int WHERE
- See Also:
- Constant Field Values
WHEN
public static final int WHEN
- See Also:
- Constant Field Values
HOW
public static final int HOW
- See Also:
- Constant Field Values
WHY
public static final int WHY
- See Also:
- Constant Field Values
QuestionWordTable
public QuestionWordTable()
add
public void add(java.lang.String word,
int type)
throws FidoDatabaseException
FidoDatabaseException
delete
public void delete(java.lang.String word)
throws FidoDatabaseException
FidoDatabaseException
get
public QuestionWord get(java.lang.String word)
throws FidoDatabaseException,
QuestionWordNotFoundException
- Returns the GrammarLink type referrenced by the parameter name.
- Returns:
- type of link, null if none found
FidoDatabaseException
QuestionWordNotFoundException
list
public java.util.Collection list()
throws FidoDatabaseException
- Returns the names of all GrammarLink names in the list. The names
of the links are in alphabetical order.
- Returns:
- list of link names
FidoDatabaseException
listTypes
public java.util.Collection listTypes()
throws FidoDatabaseException
FidoDatabaseException
hashCode
public int hashCode(java.lang.String word)
throws FidoDatabaseException,
QuestionWordNotFoundException
FidoDatabaseException
QuestionWordNotFoundException