|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.DataDictionary
public class DataDictionary
Class defines the tables and fields that represent Data items of Individual objects. Users of the control may or may not use the data dictionary to define a light weight database structure for custom data that has been imported and/or added to the control's Individual objects. It is advisable that any such use be limited to very few tables and/or fields required for the specific purpose of display and limited manipulation of Individual information inside the pedigree viewer. Any exaggerated use of the dictionary resulting from an attempt to load the full database structure is strictly inadvisable as it will slow the system down and does not auger well for the intented use of the control, which is to display Pedigrees on demand and allow for limited manipulation of such Pedigrees.
| Constructor Summary | |
|---|---|
DataDictionary()
Creates a new DataDictionary object |
|
| Method Summary | |
|---|---|
void |
clear()
Delets all database tables from this dictionary |
DatabaseField |
getField(int ai_fieldid)
Get a database field with the specified ID or NULL if no such field exists in this dictionary |
int |
getMaxFieldID()
|
int |
getMaxTableID()
|
DatabaseTable |
getTable(int ai_tableid)
Retrieves the database table whose ID is specified. |
DatabaseTable |
getTable(java.lang.String tableid)
Deprecated. |
java.util.Map<java.lang.Integer,DatabaseTable> |
getTables()
Getter for property tables. |
void |
setTable(DatabaseTable aTable)
Adds a new database table to the list of tables within this data dictionary |
void |
setTables(java.util.Map<java.lang.Integer,DatabaseTable> aTables)
Setter for property tables. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataDictionary()
| Method Detail |
|---|
public int getMaxFieldID()
public int getMaxTableID()
public java.util.Map<java.lang.Integer,DatabaseTable> getTables()
public void setTables(java.util.Map<java.lang.Integer,DatabaseTable> aTables)
aTables - New value of property tables.public void setTable(DatabaseTable aTable)
aTable - The table to be added to the DataDictionarypublic DatabaseTable getTable(java.lang.String tableid)
public DatabaseTable getTable(int ai_tableid)
ai_tableid - The ID of the table to be retrievedpublic DatabaseField getField(int ai_fieldid)
ai_fieldid - The fieldid of the DatabaseField to be returnedpublic void clear()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||