Package bazaar :: Module cache :: Class Lazy
[show private | hide private]
[frames | no frames]

Type Lazy

object --+    
     Cache --+

Known Subclasses:
LazyAssociation, LazyObject

Abstract, basic cache class for lazy objects and association data loading.
Method Summary
  __getitem__(self, param)
Return referenced object or association data.
    Inherited from Cache
  __init__(self, owner)
Create cache object.
  load(self, key)
Load referenced objects or association data from database.
    Inherited from object
x.__delattr__('name') <==> del
x.__getattribute__('name') <==>
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
helper for pickle
helper for pickle
x.__repr__() <==> repr(x)
x.__setattr__('name', value) <==> = value
x.__str__() <==> str(x)

Instance Variable Summary
  dicttype: Weak dictionary superclass, i.e.
    Inherited from Cache
  owner: Owner of the cache - object broker or association object.

Method Details

__getitem__(self, param)
(Indexing operator)

Return referenced object or association data.
param - Referenced object primary key value or application object.

Instance Variable Details


Weak dictionary superclass, i.e. WeakValueDictionary or WeakKeyDictionary.

Generated by Epydoc 2.1 on Tue May 10 18:27:29 2005