Package CIM15 :: Package IEC61968 :: Package Common :: Module TownDetail' :: Class TownDetail
[hide private]
[frames] | no frames]

Class TownDetail

object --+
         |
        TownDetail

Town details, in the context of address.Town details, in the context of address.

Instance Methods [hide private]
 
__init__(self, name='', stateOrProvince='', section='', code='', country='')
Initialises a new 'TownDetail' instance.

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

Class Variables [hide private]
  _attr_types = {'code': <type 'str'>, 'country': <type 'str'>, ...
  _attrs = ['name', 'stateOrProvince', 'section', 'code', 'count...
  _defaults = {'code': '', 'country': '', 'name': '', 'section':...
  _enums = {}
  _many_refs = []
  _refs = []
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name='', stateOrProvince='', section='', code='', country='')
(Constructor)

 

Initialises a new 'TownDetail' instance.

Parameters:
  • name - Town name.
  • stateOrProvince - Name of the state or province.
  • section - Town section. For example, it is common for there to be 36 sections per township.
  • code - Town code.
  • country - Name of the country.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'code': <type 'str'>,
 'country': <type 'str'>,
 'name': <type 'str'>,
 'section': <type 'str'>,
 'stateOrProvince': <type 'str'>}

_attrs

Value:
['name', 'stateOrProvince', 'section', 'code', 'country']

_defaults

Value:
{'code': '',
 'country': '',
 'name': '',
 'section': '',
 'stateOrProvince': ''}