fido.db
Class PronounTable
java.lang.Object
|
+--fido.db.PronounTable
- public class PronounTable
- extends java.lang.Object
Method Summary |
void |
add(java.lang.String pronoun,
int person,
int gender,
boolean group)
|
void |
delete(java.lang.String pronoun)
|
Pronoun |
get(java.lang.String pronoun)
Returns the GrammarLink type referrenced by the parameter name. |
int |
hashCode(java.lang.String pronoun)
|
java.util.Collection |
list()
Returns the names of all GrammarLink names in the list. |
java.util.Collection |
listGenders()
|
java.util.Collection |
listPersons()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRST
public static final int FIRST
- See Also:
- Constant Field Values
SECOND
public static final int SECOND
- See Also:
- Constant Field Values
THIRD
public static final int THIRD
- See Also:
- Constant Field Values
MALE
public static final int MALE
- See Also:
- Constant Field Values
FEMALE
public static final int FEMALE
- See Also:
- Constant Field Values
NEUTER
public static final int NEUTER
- See Also:
- Constant Field Values
PronounTable
public PronounTable()
add
public void add(java.lang.String pronoun,
int person,
int gender,
boolean group)
throws FidoDatabaseException
FidoDatabaseException
delete
public void delete(java.lang.String pronoun)
throws FidoDatabaseException
FidoDatabaseException
get
public Pronoun get(java.lang.String pronoun)
throws FidoDatabaseException,
PronounNotFoundException
- Returns the GrammarLink type referrenced by the parameter name.
- Returns:
- type of link, null if none found
FidoDatabaseException
PronounNotFoundException
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
listPersons
public java.util.Collection listPersons()
throws FidoDatabaseException
FidoDatabaseException
listGenders
public java.util.Collection listGenders()
throws FidoDatabaseException
FidoDatabaseException
hashCode
public int hashCode(java.lang.String pronoun)
throws FidoDatabaseException,
PronounNotFoundException
FidoDatabaseException
PronounNotFoundException