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

Source Code for Module Products.ZenModel.ZenPackable

 1  ############################################################################## 
 2  #  
 3  # Copyright (C) Zenoss, Inc. 2007, all rights reserved. 
 4  #  
 5  # This content is made available according to terms specified in 
 6  # License.zenoss under the directory where your Zenoss product is installed. 
 7  #  
 8  ############################################################################## 
 9   
10   
11  from Products.ZenRelations.RelSchema import * 
12   
13   
14 -class ZenPackable(object):
15 "mix-in allows an object to be referenced by a ZenPack" 16 17 meta_type = "ZenPackable" 18 19 _relations = ( 20 ("pack", ToOne(ToMany, "Products.ZenModel.ZenPack", "packables")), 21 )
22