Package gen :: Package lib :: Module address :: Class Address
[frames] | no frames]

Class Address

source code


Provide address information.

Instance Methods
 
__init__(self, source=None)
Create a new Address instance, 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
list
get_text_data_list(self)
Return the list of all textual attributes of the object.
source code
list
get_text_data_child_list(self)
Return the list of child objects that may carry textual data.
source code
list
get_note_child_list(self)
Return the list of child secondary objects that may refer notes.
source code
list
get_handle_referents(self)
Return the list of child objects which may, directly or through their children, reference primary objects.
source code
list
get_referenced_handles(self)
Return the list of (classname, handle) tuples for all directly referenced primary objects.
source code

Inherited from secondaryobj.SecondaryObject: is_equal

Inherited from baseobj.BaseObject: get_referenced_handles_recursively, matches_regexp, matches_string

Inherited from privacybase.PrivacyBase: get_privacy, set_privacy

Inherited from srcbase.SourceBase: add_source_reference, get_source_references, get_sourcref_child_list, has_source_reference, remove_source_references, replace_source_references, set_source_reference_list

Inherited from notebase.NoteBase: add_note, get_note_list, get_referenced_note_handles, remove_note, set_note_list

Inherited from datebase.DateBase: get_date_object, set_date_object

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

Method Details

__init__(self, source=None)
(Constructor)

source code 

Create a new Address instance, copying from the source if provided.

Parameters:
  • source - Object used to initialize the new object
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

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.
Overrides: locationbase.LocationBase.get_text_data_list

get_text_data_child_list(self)

source code 

Return the list of child objects that may carry textual data.

Returns: list
Returns the list of child objects that may carry textual data.
Overrides: baseobj.BaseObject.get_text_data_child_list

get_note_child_list(self)

source code 

Return the list of child secondary objects that may refer notes.

Returns: list
Returns the list of child secondary child objects that may refer notes.
Overrides: notebase.NoteBase.get_note_child_list

get_handle_referents(self)

source code 

Return the list of child objects which may, directly or through their children, reference primary objects.

Returns: list
Returns the list of objects referencing primary objects.
Overrides: baseobj.BaseObject.get_handle_referents

get_referenced_handles(self)

source code 

Return the list of (classname, handle) tuples for all directly referenced primary objects.

Returns: list
List of (classname, handle) tuples for referenced objects.
Overrides: baseobj.BaseObject.get_referenced_handles