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

Class TelephoneNumber

object --+
         |
        TelephoneNumber

Telephone number.Telephone number.

Instance Methods [hide private]
 
__init__(self, cityCode='', localNumber='', extension='', areaCode='', countryCode='')
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 = ['cityCode', 'localNumber', 'extension', 'areaCode', ...
  _defaults = {'areaCode': '', 'cityCode': '', 'countryCode': ''...
  _enums = {}
  _many_refs = []
  _refs = []
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 

Initialises a new 'TelephoneNumber' instance.

Parameters:
  • cityCode - (if applicable) City code.
  • localNumber - Main (local) part of this telephone number.
  • extension - (if applicable) Extension for this telephone number.
  • areaCode - Area or region code.
  • countryCode - Country code.
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:
['cityCode', 'localNumber', 'extension', 'areaCode', 'countryCode']

_defaults

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