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

Class TownDetail

      object --+    
               |    
Element'.Element --+
                   |
                  TownDetail

Town details, in the context of address.

Instance Methods [hide private]
 
__init__(self, code='', country='', stateOrProvince='', name='', section='', *args, **kw_args)
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 = ['code', 'country', 'stateOrProvince', 'name', 'secti...
  _defaults = {'code': '', 'country': '', 'name': '', 'section':...

Inherited from Element'.Element (private): _enums, _many_refs, _refs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 

Initialises a new 'TownDetail' instance.

Parameters:
  • code - Town code.
  • country - Name of the country.
  • stateOrProvince - Name of the state or province.
  • name - Town name.
  • section - Town section. For example, it is common for there to be 36 sections per township.
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:
['code', 'country', 'stateOrProvince', 'name', 'section']

_defaults

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