Package ZenModel :: Module ZenPackable
[hide private]
[frames] | no frames]

Source Code for Module ZenModel.ZenPackable

 1  ########################################################################### 
 2  # 
 3  # This program is part of Zenoss Core, an open source monitoring platform. 
 4  # Copyright (C) 2007, Zenoss Inc. 
 5  # 
 6  # This program is free software; you can redistribute it and/or modify it 
 7  # under the terms of the GNU General Public License version 2 as published by 
 8  # the Free Software Foundation. 
 9  # 
10  # For complete information please visit: http://www.zenoss.com/oss/ 
11  # 
12  ########################################################################### 
13   
14  from ZenModelRM import ZenModelRM 
15  from Products.ZenRelations.RelSchema import * 
16   
17   
18 -class ZenPackable(object):
19 "mix-in allows an object to be referenced by a ZenPack" 20 21 meta_type = "ZenPackable" 22 23 _relations = ( 24 ("pack", ToOne(ToMany, "Products.ZenModel.ZenPack", "packables")), 25 )
26