Package wsatools :: Module DataFactory :: Class CurationTaskTable
[hide private]

Class CurationTaskTable

source code


A specific database table container for the CurationTask table.

Instance Methods [hide private]
new empty dictionary

__init__(self, db, cuNum)
Accesses the default database and extracts the requested table data for this Curation task.
source code
str
getDescription(self)
Returns: Curation task description.
source code
 
updateDetails(self)
Updates CurationTaskTable object with the latest database values.
source code

Inherited from Table: getAll, getAttr, setCurRow

Inherited from Table (private): _setCurRow

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from Table: name

Inherited from Table (private): _curRow, _db

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, db, cuNum)
(Constructor)

source code 

Accesses the default database and extracts the requested table data for this Curation task.

Parameters:
  • db (DbSession) - Database connection.
  • cuNum (int) - Curation task number.
Returns:
new empty dictionary

Overrides: object.__init__

getDescription(self)

source code 
Returns: str
Curation task description.

updateDetails(self)

source code 

Updates CurationTaskTable object with the latest database values.

Parameters:
  • uidName - Column name that contains the unique ID values in the table that will unchanged.
Overrides: Table.updateDetails