Logo Search packages:      
Sourcecode: zeitgeist version File versions

_zeitgeist::engine::base::Entity Class Reference

Inherited by _zeitgeist::engine::base::Content, _zeitgeist::engine::base::Source, and _zeitgeist::engine::base::URI.

List of all members.

Detailed Description

Generic base class for anything that has an 'id' and a 'value'.
      It is assumed that there is a unique index on the value column

Definition at line 57 of file base.py.

Public Member Functions

def __init__
def lookup
def lookup_or_create
def resolve

Public Attributes


Static Public Attributes

dictionary CACHE = {}
tuple id = Int(allow_none=False)
tuple value = Unicode()

Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index