Table BDP

Defines the Table_BDP class.

class admit.bdp.Table_BDP.Table_BDP(xmlFile=None, **keyval)

Table Basic Data Product

Table base class for use in BDP’s. BDP’s that contain tables should inherit from this class. In the instance where more than one table is needed then the class should instantiate instances of the Table class directly.

Methods

delete([basedir, delfiles]) Method to delete the BDP.
depends_on_(other) deprecated
get(key) access an attribute
getfiles() return the filename(s) associated with the basic data in a BDP.
haskey(key) Query if a key exists for an AT.
isequal(bdp)
report() report some properties, human readable.
setkey([name, key, init]) set keys, two styles are possible:
show() for now, show the xmlFile name
update(new_state)
write([xmlFile]) Method to write the BDP to an xml file

This Page