Package ZenRelations :: Package tests :: Module dataImportExport
[show private | hide private]
[frames | no frames]

Module ZenRelations.tests.dataImportExport

Variable Summary
str objnoprops = "<object id='loc' module='Products.ZenRelat...
str objwithprops = '<object id=\'dev\' module=\'Products.Zen...
str objwithtomany = "<object id='loc' module='Products.ZenRe...
str objwithtomanycont = '<object id=\'dev\' module=\'Product...
str objwithtoone = '<object id=\'dev\' module=\'Products.Zen...

Variable Details

objnoprops

Type:
str
Value:
"""<object id='loc' module='Products.ZenRelations.tests.TestSchema' cl\
ass='Location'>
</object>
"""                                                                    

objwithprops

Type:
str
Value:
'''<object id=\'dev\' module=\'Products.ZenRelations.tests.TestSchema\\
' class=\'Device\'>
<property setter="setPingStatus" type="int" id="pingStatus" mode="w" >
0
</property>
</object>
'''                                                                    

objwithtomany

Type:
str
Value:
"""<object id='loc' module='Products.ZenRelations.tests.TestSchema' cl\
ass='Location'>
<tomany id='devices'>
<link objid='dev'/>
</tomany>
</object>
"""                                                                    

objwithtomanycont

Type:
str
Value:
'''<object id=\'dev\' module=\'Products.ZenRelations.tests.TestSchema\\
' class=\'Device\'>
<property setter="setPingStatus" type="int" id="pingStatus" mode="w" >
0
</property>
<tomanycont id=\'interfaces\'>
<object id=\'eth0\' module=\'Products.ZenRelations.tests.TestSchema\' \
class=\'IpInterface\'>
...                                                                    

objwithtoone

Type:
str
Value:
'''<object id=\'dev\' module=\'Products.ZenRelations.tests.TestSchema\\
' class=\'Device\'>
<property setter="setPingStatus" type="int" id="pingStatus" mode="w" >
0
</property>
<toone id=\'location\' objid=\'loc\'/>
</object>
'''                                                                    

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