Package gen :: Package lib :: Module researcher :: Class Researcher
[frames] | no frames]

Class Researcher

source code


Contains the information about the owner of the database.

Instance Methods
 
__init__(self, source=None)
Initialize the Researcher object, copying from the source if provided.
source code
 
serialize(self)
Convert the object to a serialized tuple of data.
source code
 
unserialize(self, data)
Convert a serialized tuple of data to an object.
source code
 
set_name(self, data)
Set the database owner's name.
source code
 
get_name(self)
Return the database owner's name.
source code
 
set_address(self, data)
Set the database owner's address.
source code
 
get_address(self)
Return the database owner's address.
source code
 
set_email(self, data)
Set the database owner's email.
source code
 
get_email(self)
Return the database owner's email.
source code
 
set_from(self, other_researcher)
Set all attributes from another instance.
source code

Inherited from locationbase.LocationBase: get_city, get_country, get_county, get_phone, get_postal_code, get_state, get_street, get_text_data_list, set_city, set_country, set_county, set_phone, set_postal_code, set_state, set_street

Method Details

__init__(self, source=None)
(Constructor)

source code 

Initialize the Researcher object, copying from the source if provided.

Overrides: locationbase.LocationBase.__init__

serialize(self)

source code 

Convert the object to a serialized tuple of data.

Overrides: locationbase.LocationBase.serialize

unserialize(self, data)

source code 

Convert a serialized tuple of data to an object.

Overrides: locationbase.LocationBase.unserialize