Package DataCollector :: Package plugins :: Module DataMaps :: Class ObjectMap
[show private | hide private]
[frames | no frames]

Type ObjectMap

object --+
         |
        ObjectMap


ObjectMap defines a mapping of some data to a ZenModel object. To be valid it must specify modname the full path to the module where the class to be created is defined. If the class name is the same as the module classname doesn't need to be defined.
Method Summary
  __init__(self, data, compname, modname, classname)
  __setattr__(self, name, value)
  items(self)
Return the name value pairs for this ObjectMap.
  updateFromDict(self, data)
Update this ObjectMap from a dictionary's values.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __str__

Class Variable Summary
str classname = ''
str compname = ''
str modname = ''
list _attrs = []
tuple _blockattrs = ('compname', 'modname', 'classname')

Method Details

items(self)

Return the name value pairs for this ObjectMap.

updateFromDict(self, data)

Update this ObjectMap from a dictionary's values.

Class Variable Details

classname

Type:
str
Value:
''                                                                     

compname

Type:
str
Value:
''                                                                     

modname

Type:
str
Value:
''                                                                     

_attrs

Type:
list
Value:
[]                                                                     

_blockattrs

Type:
tuple
Value:
('compname', 'modname', 'classname')                                   

Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 http://epydoc.sf.net