Package gen :: Package lib :: Module locationbase :: Class LocationBase
[frames] | no frames]

Class LocationBase

source code


Base class for all things Address.

Instance Methods
 
__init__(self, source=None)
Create a LocationBase object, copying from the source object if it exists.
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
list
get_text_data_list(self)
Return the list of all textual attributes of the object.
source code
 
set_street(self, val)
Set the street portion of the Location.
source code
 
get_street(self)
Return the street portion of the Location.
source code
 
set_city(self, data)
Set the city name of the LocationBase object.
source code
 
get_city(self)
Return the city name of the LocationBase object.
source code
 
set_postal_code(self, data)
Set the postal code of the LocationBase object.
source code
 
get_postal_code(self)
Return the postal code of the LocationBase object.
source code
 
set_phone(self, data)
Set the phone number of the LocationBase object.
source code
 
get_phone(self)
Return the phone number of the LocationBase object.
source code
 
set_state(self, data)
Set the state name of the LocationBase object.
source code
 
get_state(self)
Return the state name of the LocationBase object.
source code
 
set_country(self, data)
Set the country name of the LocationBase object.
source code
 
get_country(self)
Return the country name of the LocationBase object.
source code
 
set_county(self, data)
Set the county name of the LocationBase object.
source code
 
get_county(self)
Return the county name of the LocationBase object.
source code
Method Details

get_text_data_list(self)

source code 

Return the list of all textual attributes of the object.

Returns: list
Returns the list of all textual attributes of the object.