Fido Alpha 3.2

fido.db
Class ArticleTable

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

public class ArticleTable
extends java.lang.Object


Field Summary
static int DEFINITE
           
static int INDEFINITE
           
static int NO_ARTICLE
           
 
Constructor Summary
ArticleTable()
           
 
Method Summary
 void add(java.lang.String name, int dereference)
           
 void delete(java.lang.String name)
           
 int get(java.lang.String name)
          Returns the GrammarLink type referrenced by the parameter name.
 int hashCode(java.lang.String article)
           
 java.util.Collection list()
          Returns the names of all GrammarLink names in the list.
 java.util.Collection listDereference()
          Returns the names of all Attribute names in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ARTICLE

public static final int NO_ARTICLE
See Also:
Constant Field Values

DEFINITE

public static final int DEFINITE
See Also:
Constant Field Values

INDEFINITE

public static final int INDEFINITE
See Also:
Constant Field Values
Constructor Detail

ArticleTable

public ArticleTable()
Method Detail

add

public void add(java.lang.String name,
                int dereference)
         throws FidoDatabaseException
FidoDatabaseException

delete

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

get

public int get(java.lang.String name)
        throws FidoDatabaseException,
               ArticleNotFoundException
Returns the GrammarLink type referrenced by the parameter name.

Returns:
type of link
Throws:
GrammarLinkNotFoundException - thrown when the name does not exist in the list
FidoDatabaseException
ArticleNotFoundException

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

listDereference

public java.util.Collection listDereference()
                                     throws FidoDatabaseException
Returns the names of all Attribute names in the list. The names of the links are in alphabetical order.

Returns:
list of link names
FidoDatabaseException

hashCode

public int hashCode(java.lang.String article)
             throws FidoDatabaseException,
                    ArticleNotFoundException
FidoDatabaseException
ArticleNotFoundException

Fido Alpha 3.2