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

Class TelephoneNumber

      object --+    
               |    
Element'.Element --+
                   |
                  TelephoneNumber

Telephone number.

Instance Methods [hide private]
 
__init__(self, countryCode='', cityCode='', areaCode='', localNumber='', extension='', *args, **kw_args)
Initialises a new 'TelephoneNumber' instance.

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

Class Variables [hide private]
  _attr_types = {'areaCode': <type 'str'>, 'cityCode': <type 'st...
  _attrs = ['countryCode', 'cityCode', 'areaCode', 'localNumber'...
  _defaults = {'areaCode': '', 'cityCode': '', 'countryCode': ''...

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, countryCode='', cityCode='', areaCode='', localNumber='', extension='', *args, **kw_args)
(Constructor)

 

Initialises a new 'TelephoneNumber' instance.

Parameters:
  • countryCode - Country code.
  • cityCode - (if applicable) City code.
  • areaCode - Area or region code.
  • localNumber - Main (local) part of this telephone number.
  • extension - (if applicable) Extension for this telephone number.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'areaCode': <type 'str'>,
 'cityCode': <type 'str'>,
 'countryCode': <type 'str'>,
 'extension': <type 'str'>,
 'localNumber': <type 'str'>}

_attrs

Value:
['countryCode', 'cityCode', 'areaCode', 'localNumber', 'extension']

_defaults

Value:
{'areaCode': '',
 'cityCode': '',
 'countryCode': '',
 'extension': '',
 'localNumber': ''}