Package bodhi :: Module model :: Class Comment :: Class sqlmeta
[hide private]
[frames] | no frames]

Class sqlmeta



  object --+    
           |    
main.sqlmeta --+
               |
              bodhi.model.Comment.sqlmeta

This object is the object we use to keep track of all sorts of information. Subclasses are made for each SQLObject subclass (dynamically if necessary), and instances are created to go alongside every SQLObject instance.

Nested Classes [hide private]
  soClass

Inherited from sqlobject.main.sqlmeta: __metaclass__, idType

Instance Methods [hide private]

Inherited from sqlobject.main.sqlmeta: __init__, asDict

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

Class Methods [hide private]

Inherited from sqlobject.main.sqlmeta: addColumn, addColumnsFromDatabase, addIndex, addJoin, delColumn, delJoin, expireAll, send, setClass

Static Methods [hide private]

Inherited from sqlobject.main.sqlmeta: __classinit__

Class Variables [hide private]
  _plainForeignGetters = {'update': 1}
  _plainForeignSetters = {'update': 1}
  _plainGetters = {'author': 1, 'karma': 1, 'text': 1, 'timestam...
  _plainSetters = {'author': 1, 'karma': 1, 'text': 1, 'timestam...
  columnDefinitions = {'author': <UnicodeCol a4002d4 author>, 'k...
  columnList = [<SODateTimeCol timestamp default=datetime.dateti...
  columns = {'author': <SOUnicodeCol author not null>, 'karma': ...
  table = 'comment'

Inherited from sqlobject.main.sqlmeta: cacheValues, childClasses, childName, defaultOrder, expired, fromDatabase, idName, idSequence, indexDefinitions, indexes, joinDefinitions, joins, lazyUpdate, parentClass, registry, style

Inherited from sqlobject.main.sqlmeta (private): _creating, _obsolete, _perConnection, _plainJoinAdders, _plainJoinGetters, _plainJoinRemovers, _unshared_attributes

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

_plainGetters

Value:
{'author': 1, 'karma': 1, 'text': 1, 'timestamp': 1, 'updateID': 1}

_plainSetters

Value:
{'author': 1, 'karma': 1, 'text': 1, 'timestamp': 1, 'updateID': 1}

columnDefinitions

Value:
{'author': <UnicodeCol a4002d4 author>,
 'karma': <IntCol a4034bc karma>,
 'text': <UnicodeCol a4027dc text>,
 'timestamp': <DateTimeCol a36c13c timestamp>,
 'updateID': <ForeignKey a3fcb1c update>}

columnList

Value:
[<SODateTimeCol timestamp default=datetime.datetime(2007, 9, 23, 14, 4\
6, 32, 192436)>,
 <SOForeignKey updateID connected to PackageUpdate not null>,
 <SOUnicodeCol author not null>,
 <SOIntCol karma default=0>,
 <SOUnicodeCol text>]

columns

Value:
{'author': <SOUnicodeCol author not null>,
 'karma': <SOIntCol karma default=0>,
 'text': <SOUnicodeCol text>,
 'timestamp': <SODateTimeCol timestamp default=datetime.datetime(2007,\
 9, 23, 14, 46, 32, 199669)>,
 'updateID': <SOForeignKey updateID connected to PackageUpdate not nul\
l>}