Home | Trees | Indices | Help |
|
---|
|
object --+ | _Qualified --+ | Txo
Element of a taxonomy.
In the simplest case, this can be seen as a value in a enumerated set of possible values. The possible values are defined as Pyblio.Schema.TxoItems, and are stored in the Store.Database, in the txo attribute, and Store.Records can contain Txo attributes which refer to these Pyblio.Schema.TxoItems. Say you have a list of known document types in the document-type taxonomy. You can then affect the document type to the type attribute of a record with the following operations:>>> item = db.txo['document-type'].byname('article') >>> record.add('type', item, Attribute.Txo)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|
|||
Inherited from |
|
|
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Sep 13 21:54:19 2007 | http://epydoc.sourceforge.net |