private class DatabaseType extends DesignType
DatabaseType class
Modifier and Type | Field and Description |
---|---|
BBjVector | FieldVector! |
CONNECTION_TYPE=2, DATABASE_TYPE=4, DATABASES_LABEL_TYPE=3, PROCEDURE_TYPE=8, PROCEDURES_LABEL_TYPE=7, REPORT_TYPE=1, ROOT_TYPE=0, TABLE_TYPE=6, TABLES_LABEL_TYPE=5
Constructor and Description |
---|
DatabaseType(BBjString p_databaseName$) Constructor Constructs a DatabaseType for the given database. |
DatabaseType(BBjNumber p_type, BBjString p_databaseName$) Constructor Constructs a DatabaseType for the given type and database. |
Modifier and Type | Method and Description |
---|---|
void | addField(BBjString p_field$) addField Adds a field to the database fields vector |
BBjString | getDatabaseName() getDatabaseName Returns the database name |
void | removeField(BBjString p_field$) removeField Removes a field to the database fields vector |
getType
public BBjVector FieldVector!
public DatabaseType(BBjString p_databaseName$)
Constructor Constructs a DatabaseType for the given database.
p_databaseName$
Database namepublic DatabaseType(BBjNumber p_type, BBjString p_databaseName$)
Constructor Constructs a DatabaseType for the given type and database.
p_type
Design typep_databaseName$
Database namepublic void addField(BBjString p_field$)
addField Adds a field to the database fields vector
p_field$
Field (column) namepublic BBjString getDatabaseName()
getDatabaseName Returns the database name
public void removeField(BBjString p_field$)
removeField Removes a field to the database fields vector
p_field$
Field (column) name