Fido Alpha 3.2

fido.db
Class VerbTable

java.lang.Object
  |
  +--fido.db.VerbTable

public class VerbTable
extends java.lang.Object


Field Summary
static int ACTION
          Constant value for verb type
static int LINKING
          Constant value for verb type
 
Constructor Summary
VerbTable()
           
 
Method Summary
 void add(java.lang.String verb, int type, java.lang.String subject, java.lang.String indirect, java.lang.String predicate)
           
 void delete(java.lang.String verb)
           
 Verb get(java.lang.String verb)
          Retrieves a specified entry from the dictionary specified by word.
 int getType(java.lang.String verb)
          Retrieves the type of the verb, either REGULAR or QUESTION.
 int hashCode(java.lang.String name)
           
 java.util.Collection list()
           
 java.util.Collection listVerbTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION

public static final int ACTION
Constant value for verb type

See Also:
Constant Field Values

LINKING

public static final int LINKING
Constant value for verb type

See Also:
Constant Field Values
Constructor Detail

VerbTable

public VerbTable()
Method Detail

add

public void add(java.lang.String verb,
                int type,
                java.lang.String subject,
                java.lang.String indirect,
                java.lang.String predicate)
         throws FidoDatabaseException,
                FrameSlotNotFoundException
FidoDatabaseException
FrameSlotNotFoundException

delete

public void delete(java.lang.String verb)
            throws FidoDatabaseException
FidoDatabaseException

get

public Verb get(java.lang.String verb)
         throws FidoDatabaseException,
                VerbNotFoundException
Retrieves a specified entry from the dictionary specified by word.

Returns:
a Vector containing all of the WordSenses for the word. If the word is not found, an empty Vector is returned.
FidoDatabaseException
VerbNotFoundException

getType

public int getType(java.lang.String verb)
            throws FidoDatabaseException,
                   VerbNotFoundException
Retrieves the type of the verb, either REGULAR or QUESTION.

Returns:
the type of the verb
FidoDatabaseException
VerbNotFoundException

listVerbTypes

public java.util.Collection listVerbTypes()
                                   throws FidoDatabaseException
FidoDatabaseException

list

public java.util.Collection list()
                          throws FidoDatabaseException
FidoDatabaseException

hashCode

public int hashCode(java.lang.String name)
             throws FidoDatabaseException,
                    VerbNotFoundException
FidoDatabaseException
VerbNotFoundException

Fido Alpha 3.2