Package Pyblio :: Module Adapter :: Class Adapter
[show private | hide private]
[frames | no frames]

Type Adapter

object --+    
         |    
  Database --+
             |
            Adapter

Known Subclasses:
OneToOneAdapter

This class is a db built on top of another db, which behaves as if it were of a different schema.
Method Summary
  __init__(self, base)
  save(self)
  xmlread(self)
    Inherited from Database
  __getitem__(self, key)
Get a record by key.
  __setitem__(self, key, record)
Update a record.
  add(self, record, key)
Insert a new entry in the database.
  collate(self, rs, field)
Partition the result set in a list of sets for every value taken by the specified field
  has_key(self, key)
Check for the existence of a key.
  query(self, query, permanent)
  validate(self, entry)
Check an entry for conformance against the Schema.
  xmlwrite(self, fd)
Output a database in XML format
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __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)

Property Summary
    Inherited from Database
  entries
  txo

Class Variable Summary
NoneType header = None                                                                  
    Inherited from Database
  entries = Pyblio.Store.Database.entries
  rs: a ResultSetStore instance, containing all the result sets defined on this database.
  txo = Pyblio.Store.Database.txo

Class Variable Details

header

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sun Sep 24 23:52:44 2006 http://epydoc.sf.net