Package biana :: Package BianaDB :: Module BianaDatabaseDefinition :: Class BianaDatabase
[hide private]
[frames] | no frames]

Class BianaDatabase

source code


Instance Methods [hide private]
 
__init__(self)
"tables": a list of table objects that are contained in the database
source code
 
add_valid_external_entity_relation_participant_attribute_type(self, current_attribute, data_type, category, additional_fields_tuple_list) source code
 
add_valid_external_entity_attribute_type(self, current_attribute, data_type, category, additional_fields_tuple_list=[]) source code
 
is_valid_external_entity_relation_participant_attribute_type(self, type) source code
 
is_valid_external_entity_attribute_type(self, type) source code
 
add_valid_external_entity_type(self, type) source code
 
get_valid_external_entity_types(self) source code
 
is_valid_external_entity_type(self, type) source code
 
add_valid_external_entity_relation_type(self, type) source code
 
get_valid_external_entity_relation_types(self) source code
 
is_valid_external_entity_relation_type(self, type) source code
 
is_valid_identifier_reference_type(self, reference_type) source code
 
get_attribute_data_type(self, attribute_identifier) source code
 
add_valid_identifier_reference_type(self, reference_type) source code
 
get_sql_query(self, ignore_primary_keys=False) source code
 
get_tables(self)
Get basic tables
source code
 
_load_database_tables(self)
Returns a database object with all the content
source code
 
_create_initial_tables(self)
Creates initial tables, not dependant on specific biana databases
source code
 
create_specific_database_tables(self)
Adds to the database all the specific tables for this database
source code

Inherited from database.Database: add_table, get_all_tables, get_drop_sql_query, optimize_database, remove_tables

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  externalEntityID_col = 'externalEntityID'
  external_entity_relation_id_col = 'externalEntityRelationID'
  externalEntityID_col_type = 'integer(4) unsigned'
  externalDatabaseID_col = 'externalDatabaseID'
  external_entity_relation_participant_id_col = 'externalEntityR...
  externalDatabaseID_col_type = 'integer(2) unsigned'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

"tables": a list of table objects that are contained in the database

Overrides: object.__init__
(inherited documentation)

get_sql_query(self, ignore_primary_keys=False)

source code 
Overrides: database.Database.get_sql_query
(inherited documentation)

get_tables(self)

source code 

Get basic tables

Overrides: database.Database.get_tables
(inherited documentation)

Class Variable Details [hide private]

external_entity_relation_participant_id_col

Value:
'externalEntityRelationParticipantID'