|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.db.AttributeTable
Constructor Summary | |
AttributeTable()
Constructs a new AttributeList with no entries in the list. |
Method Summary | |
void |
add(java.lang.String name,
java.lang.String category)
Adds or modifies a AttributeList. |
void |
delete(java.lang.String name)
Removes the Attribute referenced by the parameters name. |
void |
deleteAllForType(java.sql.Statement stmt,
java.lang.String type)
This method accepts a Statement object from the caller to participate in a transaction. |
java.lang.String |
get(java.lang.String name)
Returns the Attribute type referrenced by the parameter name. |
int |
hashCode(java.lang.String attribute)
|
java.util.Collection |
list()
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 |
Constructor Detail |
public AttributeTable()
FidoIOException
- Input / Output error on creating the AttributeList objectMethod Detail |
public void add(java.lang.String name, java.lang.String category) throws FidoDatabaseException, AttributeCategoryNotFoundException
name
- name of the adjective to add to the list
java.sql.SQLException
- Input / Output error saving Attributes
FidoDatabaseException
AttributeCategoryNotFoundException
public void delete(java.lang.String name) throws FidoDatabaseException
name
- Name of the Attribute to remove
FidoIOException
- Input / Output error saving GrammarLinkList
FidoDatabaseException
public void deleteAllForType(java.sql.Statement stmt, java.lang.String type) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String get(java.lang.String name) throws FidoDatabaseException, AttributeNotFoundException
GrammarLinkNotFoundException
- thrown when the name does
not exist in the list
FidoDatabaseException
AttributeNotFoundException
public java.util.Collection list() throws FidoDatabaseException
FidoDatabaseException
public int hashCode(java.lang.String attribute) throws FidoDatabaseException, AttributeNotFoundException
FidoDatabaseException
AttributeNotFoundException
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |