Package Pyblio :: Module Schema :: Class TxoItem
[hide private]
[frames] | no frames]

Class TxoItem

source code

object --+
         |
        TxoItem

Definition of a taxonomy item.

This item can then be reused as the argument for Attribute.Txo creation. A taxonomy item can be seen as a value in a enumeration of possible values. Compared to a simple enumeration, it has the additional property of being hierachical. For instance, you could define a taxonomy of document types:
 - publication
    - article
       - peer-reviewed
       - not peer-reviewed
    - conference paper
 - unpublished
    - report
...and use this taxonomy to fill an attribute of your records. If you use Pyblio.Query to search for the item article, you will retrieve all the records which contain one of article, peer-reviewed or not peer-reviewed.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_name_get(self) source code
 
xmlwrite(self, fd, space='') source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]
  name

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

name

Get Method:
Pyblio.Schema.TxoItem._name_get(self)