Package Products :: Package ZenRRD :: Module RRDToolItem |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenRRD.RRDToolItem

     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 Globals import InitializeClass
    12  from AccessControl import ClassSecurityInfo
    13
    14  from Products.ZenModel.ZenModelRM import ZenModelRM
    15
    16
    17 -class RRDToolItem(ZenModelRM):
    18      """base class for RRDTool persistent classes"""
    19
    20
    21      security = ClassSecurityInfo()
    22
    23 -    def getName(self):
    24          """Return the name of this item (take off the type from the id).
    25          """
    26          return self.id
    27
    28
    29  InitializeClass(RRDToolItem)
    30