Package bazaar :: Module config :: Class Config
[show private | hide private]
[frames | no frames]

Class Config

object --+
         |
        Config

Known Subclasses:
CPConfig

Basic, abstract configuration class.
Method Summary
  getAssociationCache(self, attr)
Get name of association cache.
  getClassRelation(self, cls)
Get name of application class' relation.
  getClassSequencer(self, cls)
Get name of sequencer used to get application objects primary key values.
  getDBModule(self)
Return Python DB API module.
  getDSN(self)
Return Python DB API data source name.
  getObjectCache(self, cls)
Get name of application objects cache class.
  getSeqPattern(self)
Return pattern of SQL query, which is used to get next value of application object's primary key value, i.e.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Method Details

getAssociationCache(self, attr)

Get name of association cache.
Parameters:
attr - Association attribute name, i.e. Order.items.

getClassRelation(self, cls)

Get name of application class' relation.
Parameters:
cls - Class name.

getClassSequencer(self, cls)

Get name of sequencer used to get application objects primary key values.
Parameters:
cls - Class name of application objects.

getDBModule(self)

Return Python DB API module.

getDSN(self)

Return Python DB API data source name.

getObjectCache(self, cls)

Get name of application objects cache class.
Parameters:
cls - Class name of application objects.

getSeqPattern(self)

Return pattern of SQL query, which is used to get next value of application object's primary key value, i.e. select nextval('%s'), where %s means name of sequencer.

Generated by Epydoc 2.0 on Tue Mar 23 14:53:30 2004 http://epydoc.sf.net