Package gnue :: Package appserver :: Module repository :: Class Procedure
[show private | hide private]

Class Procedure

   BaseItem --+
              |
LabelsMixIn --+
              |
             Procedure


A procedure object in the repository.
Method Summary
  __init__(self, predefined, moduleLookup)
Create a new procedure item.
  secondaryInit(self, moduleLookup)
Check wether a procedure matches all requirements of a calculated property
  updateLinks(self, aClass, modules, unlink)
Update the links of a procedure item to it's module and class.
    Inherited from LabelsMixIn
  getFilterLabels(self, language)
    Inherited from BaseItem
  __getitem__(self, attr)
Emulate a dictionary access to the wrapper instance.
  __nonzero__(self)

Instance Variable Summary
  calcFullName: fully qualified name of the calculated property
  calcName: name of the calculated property withouth any module name
  fullName: fully qualified name of the procedure
  isCalculated: if True, this procedure matches all requirements of a calculated property.
  parameters: caseless dictionary with all Parameters of the procedure

Method Details

__init__(self, predefined, moduleLookup)
(Constructor)

Create a new procedure item.
Parameters:
predefined - dictionary with predefined ('builtin') values
moduleLookup - (raw) lookup-dictionary with all modules available
Overrides:
gnue.appserver.repository.BaseItem.__init__

secondaryInit(self, moduleLookup)

Check wether a procedure matches all requirements of a calculated property
Parameters:
moduleLookup - lookup dictionary for modules

updateLinks(self, aClass, modules, unlink=False)

Update the links of a procedure item to it's module and class. If unlink is set the references are cleared.
Parameters:
aClass - Class instance the procedure belongs to
modules - module dictionary with all modules available
unlink - this boolean Flag determines wether to establish links or to break them

Instance Variable Details

calcFullName

fully qualified name of the calculated property

calcName

name of the calculated property withouth any module name

fullName

fully qualified name of the procedure

isCalculated

if True, this procedure matches all requirements of a calculated property.

parameters

caseless dictionary with all Parameters of the procedure


GNUe Home

Public API

Developer's Corner