<s> """<STR_LIT>""" <EOL> from __future__ import division <EOL> class DBChangeParameter ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , alias = None , functionId = None , function = None , parameterId = None , parameter = None , type = None , value = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_alias = alias <EOL> self . __db_functionId = functionId <EOL> self . __db_function = function <EOL> self . __db_parameterId = parameterId <EOL> self . __db_parameter = parameter <EOL> self . __db_type = type <EOL> self . __db_value = value <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_alias ( self ) : <EOL> return self . __db_alias <EOL> def __set_db_alias ( self , alias ) : <EOL> self . __db_alias = alias <EOL> db_alias = property ( __get_db_alias , __set_db_alias ) <EOL> def db_add_alias ( self , alias ) : <EOL> self . __db_alias = alias <EOL> def db_change_alias ( self , alias ) : <EOL> self . __db_alias = alias <EOL> def db_delete_alias ( self , alias ) : <EOL> self . __db_alias = None <EOL> def __get_db_functionId ( self ) : <EOL> return self . __db_functionId <EOL> def __set_db_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> db_functionId = property ( __get_db_functionId , __set_db_functionId ) <EOL> def db_add_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> def db_change_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> def db_delete_functionId ( self , functionId ) : <EOL> self . __db_functionId = None <EOL> def __get_db_function ( self ) : <EOL> return self . __db_function <EOL> def __set_db_function ( self , function ) : <EOL> self . __db_function = function <EOL> db_function = property ( __get_db_function , __set_db_function ) <EOL> def db_add_function ( self , function ) : <EOL> self . __db_function = function <EOL> def db_change_function ( self , function ) : <EOL> self . __db_function = function <EOL> def db_delete_function ( self , function ) : <EOL> self . __db_function = None <EOL> def __get_db_parameterId ( self ) : <EOL> return self . __db_parameterId <EOL> def __set_db_parameterId ( self , parameterId ) : <EOL> self . __db_parameterId = parameterId <EOL> db_parameterId = property ( __get_db_parameterId , __set_db_parameterId ) <EOL> def db_add_parameterId ( self , parameterId ) : <EOL> self . __db_parameterId = parameterId <EOL> def db_change_parameterId ( self , parameterId ) : <EOL> self . __db_parameterId = parameterId <EOL> def db_delete_parameterId ( self , parameterId ) : <EOL> self . __db_parameterId = None <EOL> def __get_db_parameter ( self ) : <EOL> return self . __db_parameter <EOL> def __set_db_parameter ( self , parameter ) : <EOL> self . __db_parameter = parameter <EOL> db_parameter = property ( __get_db_parameter , __set_db_parameter ) <EOL> def db_add_parameter ( self , parameter ) : <EOL> self . __db_parameter = parameter <EOL> def db_change_parameter ( self , parameter ) : <EOL> self . __db_parameter = parameter <EOL> def db_delete_parameter ( self , parameter ) : <EOL> self . __db_parameter = None <EOL> def __get_db_type ( self ) : <EOL> return self . __db_type <EOL> def __set_db_type ( self , type ) : <EOL> self . __db_type = type <EOL> db_type = property ( __get_db_type , __set_db_type ) <EOL> def db_add_type ( self , type ) : <EOL> self . __db_type = type <EOL> def db_change_type ( self , type ) : <EOL> self . __db_type = type <EOL> def db_delete_type ( self , type ) : <EOL> self . __db_type = None <EOL> def __get_db_value ( self ) : <EOL> return self . __db_value <EOL> def __set_db_value ( self , value ) : <EOL> self . __db_value = value <EOL> db_value = property ( __get_db_value , __set_db_value ) <EOL> def db_add_value ( self , value ) : <EOL> self . __db_value = value <EOL> def db_change_value ( self , value ) : <EOL> self . __db_value = value <EOL> def db_delete_value ( self , value ) : <EOL> self . __db_value = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBDeleteFunction ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , functionId = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_functionId = functionId <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_functionId ( self ) : <EOL> return self . __db_functionId <EOL> def __set_db_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> db_functionId = property ( __get_db_functionId , __set_db_functionId ) <EOL> def db_add_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> def db_change_functionId ( self , functionId ) : <EOL> self . __db_functionId = functionId <EOL> def db_delete_functionId ( self , functionId ) : <EOL> self . __db_functionId = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBDeleteConnection ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , connectionId = None ) : <EOL> self . __db_connectionId = connectionId <EOL> def __get_db_connectionId ( self ) : <EOL> return self . __db_connectionId <EOL> def __set_db_connectionId ( self , connectionId ) : <EOL> self . __db_connectionId = connectionId <EOL> db_connectionId = property ( __get_db_connectionId , __set_db_connectionId ) <EOL> def db_add_connectionId ( self , connectionId ) : <EOL> self . __db_connectionId = connectionId <EOL> def db_change_connectionId ( self , connectionId ) : <EOL> self . __db_connectionId = connectionId <EOL> def db_delete_connectionId ( self , connectionId ) : <EOL> self . __db_connectionId = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_connectionId <EOL> """<STR_LIT>""" <EOL> class DBAddModule ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , id = None , cache = None , name = None , x = None , y = None ) : <EOL> self . __db_id = id <EOL> self . __db_cache = cache <EOL> self . __db_name = name <EOL> self . __db_x = x <EOL> self . __db_y = y <EOL> def __get_db_id ( self ) : <EOL> return self . __db_id <EOL> def __set_db_id ( self , id ) : <EOL> self . __db_id = id <EOL> db_id = property ( __get_db_id , __set_db_id ) <EOL> def db_add_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_change_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_delete_id ( self , id ) : <EOL> self . __db_id = None <EOL> def __get_db_cache ( self ) : <EOL> return self . __db_cache <EOL> def __set_db_cache ( self , cache ) : <EOL> self . __db_cache = cache <EOL> db_cache = property ( __get_db_cache , __set_db_cache ) <EOL> def db_add_cache ( self , cache ) : <EOL> self . __db_cache = cache <EOL> def db_change_cache ( self , cache ) : <EOL> self . __db_cache = cache <EOL> def db_delete_cache ( self , cache ) : <EOL> self . __db_cache = None <EOL> def __get_db_name ( self ) : <EOL> return self . __db_name <EOL> def __set_db_name ( self , name ) : <EOL> self . __db_name = name <EOL> db_name = property ( __get_db_name , __set_db_name ) <EOL> def db_add_name ( self , name ) : <EOL> self . __db_name = name <EOL> def db_change_name ( self , name ) : <EOL> self . __db_name = name <EOL> def db_delete_name ( self , name ) : <EOL> self . __db_name = None <EOL> def __get_db_x ( self ) : <EOL> return self . __db_x <EOL> def __set_db_x ( self , x ) : <EOL> self . __db_x = x <EOL> db_x = property ( __get_db_x , __set_db_x ) <EOL> def db_add_x ( self , x ) : <EOL> self . __db_x = x <EOL> def db_change_x ( self , x ) : <EOL> self . __db_x = x <EOL> def db_delete_x ( self , x ) : <EOL> self . __db_x = None <EOL> def __get_db_y ( self ) : <EOL> return self . __db_y <EOL> def __set_db_y ( self , y ) : <EOL> self . __db_y = y <EOL> db_y = property ( __get_db_y , __set_db_y ) <EOL> def db_add_y ( self , y ) : <EOL> self . __db_y = y <EOL> def db_change_y ( self , y ) : <EOL> self . __db_y = y <EOL> def db_delete_y ( self , y ) : <EOL> self . __db_y = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_id <EOL> """<STR_LIT>""" <EOL> class DBDeleteAnnotation ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , key = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_key = key <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_key ( self ) : <EOL> return self . __db_key <EOL> def __set_db_key ( self , key ) : <EOL> self . __db_key = key <EOL> db_key = property ( __get_db_key , __set_db_key ) <EOL> def db_add_key ( self , key ) : <EOL> self . __db_key = key <EOL> def db_change_key ( self , key ) : <EOL> self . __db_key = key <EOL> def db_delete_key ( self , key ) : <EOL> self . __db_key = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBDeleteModulePort ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , portType = None , portName = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_portType = portType <EOL> self . __db_portName = portName <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_portType ( self ) : <EOL> return self . __db_portType <EOL> def __set_db_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> db_portType = property ( __get_db_portType , __set_db_portType ) <EOL> def db_add_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> def db_change_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> def db_delete_portType ( self , portType ) : <EOL> self . __db_portType = None <EOL> def __get_db_portName ( self ) : <EOL> return self . __db_portName <EOL> def __set_db_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> db_portName = property ( __get_db_portName , __set_db_portName ) <EOL> def db_add_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> def db_change_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> def db_delete_portName ( self , portName ) : <EOL> self . __db_portName = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBDeleteModule ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None ) : <EOL> self . __db_moduleId = moduleId <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBTag ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , time = None , name = None ) : <EOL> self . __db_time = time <EOL> self . __db_name = name <EOL> def __get_db_time ( self ) : <EOL> return self . __db_time <EOL> def __set_db_time ( self , time ) : <EOL> self . __db_time = time <EOL> db_time = property ( __get_db_time , __set_db_time ) <EOL> def db_add_time ( self , time ) : <EOL> self . __db_time = time <EOL> def db_change_time ( self , time ) : <EOL> self . __db_time = time <EOL> def db_delete_time ( self , time ) : <EOL> self . __db_time = None <EOL> def __get_db_name ( self ) : <EOL> return self . __db_name <EOL> def __set_db_name ( self , name ) : <EOL> self . __db_name = name <EOL> db_name = property ( __get_db_name , __set_db_name ) <EOL> def db_add_name ( self , name ) : <EOL> self . __db_name = name <EOL> def db_change_name ( self , name ) : <EOL> self . __db_name = name <EOL> def db_delete_name ( self , name ) : <EOL> self . __db_name = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_time <EOL> """<STR_LIT>""" <EOL> class DBAddModulePort ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , portType = None , portName = None , portSpec = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_portType = portType <EOL> self . __db_portName = portName <EOL> self . __db_portSpec = portSpec <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_portType ( self ) : <EOL> return self . __db_portType <EOL> def __set_db_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> db_portType = property ( __get_db_portType , __set_db_portType ) <EOL> def db_add_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> def db_change_portType ( self , portType ) : <EOL> self . __db_portType = portType <EOL> def db_delete_portType ( self , portType ) : <EOL> self . __db_portType = None <EOL> def __get_db_portName ( self ) : <EOL> return self . __db_portName <EOL> def __set_db_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> db_portName = property ( __get_db_portName , __set_db_portName ) <EOL> def db_add_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> def db_change_portName ( self , portName ) : <EOL> self . __db_portName = portName <EOL> def db_delete_portName ( self , portName ) : <EOL> self . __db_portName = None <EOL> def __get_db_portSpec ( self ) : <EOL> return self . __db_portSpec <EOL> def __set_db_portSpec ( self , portSpec ) : <EOL> self . __db_portSpec = portSpec <EOL> db_portSpec = property ( __get_db_portSpec , __set_db_portSpec ) <EOL> def db_add_portSpec ( self , portSpec ) : <EOL> self . __db_portSpec = portSpec <EOL> def db_change_portSpec ( self , portSpec ) : <EOL> self . __db_portSpec = portSpec <EOL> def db_delete_portSpec ( self , portSpec ) : <EOL> self . __db_portSpec = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId <EOL> """<STR_LIT>""" <EOL> class DBAction ( object ) : <EOL> vtType = '<STR_LIT:action>' <EOL> def __init__ ( self , time = None , parent = None , user = None , what = None , date = None , notes = None , datas = None ) : <EOL> self . __db_time = time <EOL> self . __db_parent = parent <EOL> self . __db_user = user <EOL> self . __db_what = what <EOL> self . __db_date = date <EOL> self . __db_notes = notes <EOL> if datas is None : <EOL> self . __db_datas = [ ] <EOL> else : <EOL> self . __db_datas = datas <EOL> def __get_db_time ( self ) : <EOL> return self . __db_time <EOL> def __set_db_time ( self , time ) : <EOL> self . __db_time = time <EOL> db_time = property ( __get_db_time , __set_db_time ) <EOL> def db_add_time ( self , time ) : <EOL> self . __db_time = time <EOL> def db_change_time ( self , time ) : <EOL> self . __db_time = time <EOL> def db_delete_time ( self , time ) : <EOL> self . __db_time = None <EOL> def __get_db_parent ( self ) : <EOL> return self . __db_parent <EOL> def __set_db_parent ( self , parent ) : <EOL> self . __db_parent = parent <EOL> db_parent = property ( __get_db_parent , __set_db_parent ) <EOL> def db_add_parent ( self , parent ) : <EOL> self . __db_parent = parent <EOL> def db_change_parent ( self , parent ) : <EOL> self . __db_parent = parent <EOL> def db_delete_parent ( self , parent ) : <EOL> self . __db_parent = None <EOL> def __get_db_user ( self ) : <EOL> return self . __db_user <EOL> def __set_db_user ( self , user ) : <EOL> self . __db_user = user <EOL> db_user = property ( __get_db_user , __set_db_user ) <EOL> def db_add_user ( self , user ) : <EOL> self . __db_user = user <EOL> def db_change_user ( self , user ) : <EOL> self . __db_user = user <EOL> def db_delete_user ( self , user ) : <EOL> self . __db_user = None <EOL> def __get_db_what ( self ) : <EOL> return self . __db_what <EOL> def __set_db_what ( self , what ) : <EOL> self . __db_what = what <EOL> db_what = property ( __get_db_what , __set_db_what ) <EOL> def db_add_what ( self , what ) : <EOL> self . __db_what = what <EOL> def db_change_what ( self , what ) : <EOL> self . __db_what = what <EOL> def db_delete_what ( self , what ) : <EOL> self . __db_what = None <EOL> def __get_db_date ( self ) : <EOL> return self . __db_date <EOL> def __set_db_date ( self , date ) : <EOL> self . __db_date = date <EOL> db_date = property ( __get_db_date , __set_db_date ) <EOL> def db_add_date ( self , date ) : <EOL> self . __db_date = date <EOL> def db_change_date ( self , date ) : <EOL> self . __db_date = date <EOL> def db_delete_date ( self , date ) : <EOL> self . __db_date = None <EOL> def __get_db_notes ( self ) : <EOL> return self . __db_notes <EOL> def __set_db_notes ( self , notes ) : <EOL> self . __db_notes = notes <EOL> db_notes = property ( __get_db_notes , __set_db_notes ) <EOL> def db_add_notes ( self , notes ) : <EOL> self . __db_notes = notes <EOL> def db_change_notes ( self , notes ) : <EOL> self . __db_notes = notes <EOL> def db_delete_notes ( self , notes ) : <EOL> self . __db_notes = None <EOL> def __get_db_datas ( self ) : <EOL> return self . __db_datas <EOL> def __set_db_datas ( self , datas ) : <EOL> self . __db_datas = datas <EOL> db_datas = property ( __get_db_datas , __set_db_datas ) <EOL> def db_get_datas ( self ) : <EOL> return self . __db_datas <EOL> def db_add_data ( self , data ) : <EOL> self . __db_datas . append ( data ) <EOL> def db_change_data ( self , data ) : <EOL> found = False <EOL> for i in xrange ( len ( self . __db_datas ) ) : <EOL> if self . __db_datas [ i ] . db_id == data . db_id : <EOL> self . __db_datas [ i ] = data <EOL> found = True <EOL> break <EOL> if not found : <EOL> self . __db_datas . append ( data ) <EOL> def db_delete_data ( self , data ) : <EOL> for i in xrange ( len ( self . __db_datas ) ) : <EOL> if self . __db_datas [ i ] . db_id == data . db_id : <EOL> del self . __db_datas [ i ] <EOL> break <EOL> def db_get_data ( self , key ) : <EOL> for i in xrange ( len ( self . __db_datas ) ) : <EOL> if self . __db_datas [ i ] . db_id == data . db_id : <EOL> return self . __db_datas [ i ] <EOL> return None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_time <EOL> """<STR_LIT>""" <EOL> class DBAddConnection ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , id = None , destinationId = None , destinationModule = None , destinationPort = None , sourceId = None , sourceModule = None , sourcePort = None ) : <EOL> self . __db_id = id <EOL> self . __db_destinationId = destinationId <EOL> self . __db_destinationModule = destinationModule <EOL> self . __db_destinationPort = destinationPort <EOL> self . __db_sourceId = sourceId <EOL> self . __db_sourceModule = sourceModule <EOL> self . __db_sourcePort = sourcePort <EOL> def __get_db_id ( self ) : <EOL> return self . __db_id <EOL> def __set_db_id ( self , id ) : <EOL> self . __db_id = id <EOL> db_id = property ( __get_db_id , __set_db_id ) <EOL> def db_add_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_change_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_delete_id ( self , id ) : <EOL> self . __db_id = None <EOL> def __get_db_destinationId ( self ) : <EOL> return self . __db_destinationId <EOL> def __set_db_destinationId ( self , destinationId ) : <EOL> self . __db_destinationId = destinationId <EOL> db_destinationId = property ( __get_db_destinationId , __set_db_destinationId ) <EOL> def db_add_destinationId ( self , destinationId ) : <EOL> self . __db_destinationId = destinationId <EOL> def db_change_destinationId ( self , destinationId ) : <EOL> self . __db_destinationId = destinationId <EOL> def db_delete_destinationId ( self , destinationId ) : <EOL> self . __db_destinationId = None <EOL> def __get_db_destinationModule ( self ) : <EOL> return self . __db_destinationModule <EOL> def __set_db_destinationModule ( self , destinationModule ) : <EOL> self . __db_destinationModule = destinationModule <EOL> db_destinationModule = property ( __get_db_destinationModule , __set_db_destinationModule ) <EOL> def db_add_destinationModule ( self , destinationModule ) : <EOL> self . __db_destinationModule = destinationModule <EOL> def db_change_destinationModule ( self , destinationModule ) : <EOL> self . __db_destinationModule = destinationModule <EOL> def db_delete_destinationModule ( self , destinationModule ) : <EOL> self . __db_destinationModule = None <EOL> def __get_db_destinationPort ( self ) : <EOL> return self . __db_destinationPort <EOL> def __set_db_destinationPort ( self , destinationPort ) : <EOL> self . __db_destinationPort = destinationPort <EOL> db_destinationPort = property ( __get_db_destinationPort , __set_db_destinationPort ) <EOL> def db_add_destinationPort ( self , destinationPort ) : <EOL> self . __db_destinationPort = destinationPort <EOL> def db_change_destinationPort ( self , destinationPort ) : <EOL> self . __db_destinationPort = destinationPort <EOL> def db_delete_destinationPort ( self , destinationPort ) : <EOL> self . __db_destinationPort = None <EOL> def __get_db_sourceId ( self ) : <EOL> return self . __db_sourceId <EOL> def __set_db_sourceId ( self , sourceId ) : <EOL> self . __db_sourceId = sourceId <EOL> db_sourceId = property ( __get_db_sourceId , __set_db_sourceId ) <EOL> def db_add_sourceId ( self , sourceId ) : <EOL> self . __db_sourceId = sourceId <EOL> def db_change_sourceId ( self , sourceId ) : <EOL> self . __db_sourceId = sourceId <EOL> def db_delete_sourceId ( self , sourceId ) : <EOL> self . __db_sourceId = None <EOL> def __get_db_sourceModule ( self ) : <EOL> return self . __db_sourceModule <EOL> def __set_db_sourceModule ( self , sourceModule ) : <EOL> self . __db_sourceModule = sourceModule <EOL> db_sourceModule = property ( __get_db_sourceModule , __set_db_sourceModule ) <EOL> def db_add_sourceModule ( self , sourceModule ) : <EOL> self . __db_sourceModule = sourceModule <EOL> def db_change_sourceModule ( self , sourceModule ) : <EOL> self . __db_sourceModule = sourceModule <EOL> def db_delete_sourceModule ( self , sourceModule ) : <EOL> self . __db_sourceModule = None <EOL> def __get_db_sourcePort ( self ) : <EOL> return self . __db_sourcePort <EOL> def __set_db_sourcePort ( self , sourcePort ) : <EOL> self . __db_sourcePort = sourcePort <EOL> db_sourcePort = property ( __get_db_sourcePort , __set_db_sourcePort ) <EOL> def db_add_sourcePort ( self , sourcePort ) : <EOL> self . __db_sourcePort = sourcePort <EOL> def db_change_sourcePort ( self , sourcePort ) : <EOL> self . __db_sourcePort = sourcePort <EOL> def db_delete_sourcePort ( self , sourcePort ) : <EOL> self . __db_sourcePort = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_id <EOL> """<STR_LIT>""" <EOL> class DBMoveModule ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , id = None , dx = None , dy = None ) : <EOL> self . __db_id = id <EOL> self . __db_dx = dx <EOL> self . __db_dy = dy <EOL> def __get_db_id ( self ) : <EOL> return self . __db_id <EOL> def __set_db_id ( self , id ) : <EOL> self . __db_id = id <EOL> db_id = property ( __get_db_id , __set_db_id ) <EOL> def db_add_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_change_id ( self , id ) : <EOL> self . __db_id = id <EOL> def db_delete_id ( self , id ) : <EOL> self . __db_id = None <EOL> def __get_db_dx ( self ) : <EOL> return self . __db_dx <EOL> def __set_db_dx ( self , dx ) : <EOL> self . __db_dx = dx <EOL> db_dx = property ( __get_db_dx , __set_db_dx ) <EOL> def db_add_dx ( self , dx ) : <EOL> self . __db_dx = dx <EOL> def db_change_dx ( self , dx ) : <EOL> self . __db_dx = dx <EOL> def db_delete_dx ( self , dx ) : <EOL> self . __db_dx = None <EOL> def __get_db_dy ( self ) : <EOL> return self . __db_dy <EOL> def __set_db_dy ( self , dy ) : <EOL> self . __db_dy = dy <EOL> db_dy = property ( __get_db_dy , __set_db_dy ) <EOL> def db_add_dy ( self , dy ) : <EOL> self . __db_dy = dy <EOL> def db_change_dy ( self , dy ) : <EOL> self . __db_dy = dy <EOL> def db_delete_dy ( self , dy ) : <EOL> self . __db_dy = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_id <EOL> """<STR_LIT>""" <EOL> class DBVistrail ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , version = None , actions = None , tags = None ) : <EOL> self . __db_version = version <EOL> if actions is None : <EOL> self . __db_actions = { } <EOL> else : <EOL> self . __db_actions = actions <EOL> if tags is None : <EOL> self . __db_tags = { } <EOL> else : <EOL> self . __db_tags = tags <EOL> def __get_db_version ( self ) : <EOL> return self . __db_version <EOL> def __set_db_version ( self , version ) : <EOL> self . __db_version = version <EOL> db_version = property ( __get_db_version , __set_db_version ) <EOL> def db_add_version ( self , version ) : <EOL> self . __db_version = version <EOL> def db_change_version ( self , version ) : <EOL> self . __db_version = version <EOL> def db_delete_version ( self , version ) : <EOL> self . __db_version = None <EOL> def __get_db_actions ( self ) : <EOL> return self . __db_actions <EOL> def __set_db_actions ( self , actions ) : <EOL> self . __db_actions = actions <EOL> db_actions = property ( __get_db_actions , __set_db_actions ) <EOL> def db_get_actions ( self ) : <EOL> return self . __db_actions . values ( ) <EOL> def db_add_action ( self , action ) : <EOL> self . __db_actions [ action . db_time ] = action <EOL> def db_change_action ( self , action ) : <EOL> self . __db_actions [ action . db_time ] = action <EOL> def db_delete_action ( self , action ) : <EOL> del self . __db_actions [ action . db_time ] <EOL> def db_get_action ( self , key ) : <EOL> if self . __db_actions . has_key ( key ) : <EOL> return self . __db_actions [ key ] <EOL> return None <EOL> def __get_db_tags ( self ) : <EOL> return self . __db_tags <EOL> def __set_db_tags ( self , tags ) : <EOL> self . __db_tags = tags <EOL> db_tags = property ( __get_db_tags , __set_db_tags ) <EOL> def db_get_tags ( self ) : <EOL> return self . __db_tags . values ( ) <EOL> def db_add_tag ( self , tag ) : <EOL> self . __db_tags [ tag . db_time ] = tag <EOL> def db_change_tag ( self , tag ) : <EOL> self . __db_tags [ tag . db_time ] = tag <EOL> def db_delete_tag ( self , tag ) : <EOL> del self . __db_tags [ tag . db_time ] <EOL> def db_get_tag ( self , key ) : <EOL> if self . __db_tags . has_key ( key ) : <EOL> return self . __db_tags [ key ] <EOL> return None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_version <EOL> """<STR_LIT>""" <EOL> class DBChangeAnnotation ( object ) : <EOL> vtType = '<STR_LIT>' <EOL> def __init__ ( self , moduleId = None , key = None , value = None ) : <EOL> self . __db_moduleId = moduleId <EOL> self . __db_key = key <EOL> self . __db_value = value <EOL> def __get_db_moduleId ( self ) : <EOL> return self . __db_moduleId <EOL> def __set_db_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> db_moduleId = property ( __get_db_moduleId , __set_db_moduleId ) <EOL> def db_add_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_change_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = moduleId <EOL> def db_delete_moduleId ( self , moduleId ) : <EOL> self . __db_moduleId = None <EOL> def __get_db_key ( self ) : <EOL> return self . __db_key <EOL> def __set_db_key ( self , key ) : <EOL> self . __db_key = key <EOL> db_key = property ( __get_db_key , __set_db_key ) <EOL> def db_add_key ( self , key ) : <EOL> self . __db_key = key <EOL> def db_change_key ( self , key ) : <EOL> self . __db_key = key <EOL> def db_delete_key ( self , key ) : <EOL> self . __db_key = None <EOL> def __get_db_value ( self ) : <EOL> return self . __db_value <EOL> def __set_db_value ( self , value ) : <EOL> self . __db_value = value <EOL> db_value = property ( __get_db_value , __set_db_value ) <EOL> def db_add_value ( self , value ) : <EOL> self . __db_value = value <EOL> def db_change_value ( self , value ) : <EOL> self . __db_value = value <EOL> def db_delete_value ( self , value ) : <EOL> self . __db_value = None <EOL> def getPrimaryKey ( self ) : <EOL> return self . __db_moduleId </s>
