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

Class DeviceHW

source code

ManagedEntity.ManagedEntity --+        
                              |        
            MEProduct.MEProduct --+    
                                  |    
                  Hardware.Hardware --+
                                      |
                                     DeviceHW

Instance Methods [hide private]
 
__init__(self) source code
 
__call__(self, REQUEST=None) source code
 
totalMemoryString(self) source code
 
device(self)
Return our Device object for DeviceResultInt.
source code

Inherited from Hardware.Hardware: setProduct, setProductKey

Inherited from MEProduct.MEProduct: getDescription, getDeviceLink, getManufacturer, getManufacturerHref, getManufacturerLink, getManufacturerName, getModelName, getProductContext, getProductHref, getProductKey, getProductLink, getProductName, setDescription

Class Variables [hide private]
  __pychecker__ = 'no-override'
  meta_type = "DeviceHW"
  totalMemory = 0L
  _properties = Hardware._properties+({'id': 'totalMemory', 'typ...
  _relations = Hardware._relations+(("cpus", ToManyCont(ToOne, "...
  security = ClassSecurityInfo()

Inherited from Hardware.Hardware: portal_type, serialNumber, tag

Inherited from MEProduct.MEProduct (private): _manufacturer, _prodKey

Class Variable Details [hide private]

_properties

Value:
Hardware._properties+({'id': 'totalMemory', 'type': 'long', 'mode': 'w\
'},)

_relations

Value:
Hardware._relations+(("cpus", ToManyCont(ToOne, "Products.ZenModel.CPU\
", "hw")), ("cards", ToManyCont(ToOne, "Products.ZenModel.ExpansionCar\
d", "hw")), ("harddisks", ToManyCont(ToOne, "Products.ZenModel.HardDis\
k", "hw")), ("fans", ToManyCont(ToOne, "Products.ZenModel.Fan", "hw"))\
, ("powersupplies", ToManyCont(ToOne, "Products.ZenModel.PowerSupply",\
 "hw")), ("temperaturesensors", ToManyCont(ToOne, "Products.ZenModel.T\
emperatureSensor", "hw")),)