Package turbogears :: Package i18n :: Package sogettext :: Module model :: Class TG_Message :: Class sqlmeta

Class sqlmeta

  object --+    
           |    
main.sqlmeta --+
               |
              turbogears.i18n.sogettext.model.TG_Message.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
  soClass

Inherited from sqlobject.main.sqlmeta: __metaclass__, idType

Instance Methods

Inherited from sqlobject.main.sqlmeta: __init__, asDict

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

Class Methods

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

Static Methods

Inherited from sqlobject.main.sqlmeta: __classinit__

Class Variables
  table = 'tg_i18n_message'
hash(x)
  defaultOrder = 'name'
hash(x)
  columnDefinitions = {'created': <DateTimeCol 3202490 created>,...
  columnList = [<SOUnicodeCol name>, <SOUnicodeCol text default=...
  columns = {'created': <SODateTimeCol created default=datetime....
  idName = 'id'
hash(x)
  style = <sqlobject.styles.MixedCaseUnderscoreStyle object at 0...
hash(x)

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

Properties

Inherited from object: __class__

Class Variable Details

columnDefinitions

Value:
{'created': <DateTimeCol 3202490 created>,
 'domainID': <ForeignKey 3202410 domain>,
 'locale': <StringCol 3202450 locale>,
 'name': <UnicodeCol 32021d0 name>,
 'text': <UnicodeCol 3202390 text>,
 'updated': <DateTimeCol 32024d0 updated>}

columnList

Value:
[<SOUnicodeCol name>,
 <SOUnicodeCol text default=''>,
 <SOForeignKey domainID connected to TG_Domain>,
 <SOStringCol locale>,
 <SODateTimeCol created default=datetime.datetime(2011, 7, 14, 21, 45,\
 37, 94412)>,
 <SODateTimeCol updated default=None>]

columns

Value:
{'created': <SODateTimeCol created default=datetime.datetime(2011, 7, \
14, 21, 45, 37, 95185)>,
 'domainID': <SOForeignKey domainID connected to TG_Domain>,
 'locale': <SOStringCol locale>,
 'name': <SOUnicodeCol name>,
 'text': <SOUnicodeCol text default=''>,
 'updated': <SODateTimeCol updated default=None>}

style

hash(x)

Value:
<sqlobject.styles.MixedCaseUnderscoreStyle object at 0x13c6490>