DBObject - persistent perl object
TODO
Constructor method to initialise a DBObject with the DB master. dbmaster
Create a new object tied to the database backend. values is mandatory and expects
Deletes an object from the database.
Returns a list of all indices.
Returns a list of all unique indices.
Returns a reference to a hash representing the attributes of this DBObject.
Returns a reference to a hash with all mandatory attributes of this DBObject.
Returns a reference to an array of objects, defined by the attribute values passed.
Returns a reference to self (true) if the attribute called attribute_name is
Returns a unique object, defined by the attribute values passed.
Returns reference to self (true) if the perl object is of the class perl_class_name,
Returns the default for the attribute attribute_name if defined, undef else.
Returns true if the attribute list is an unique index, false otherwise.
Set the attributes of an object to the values given in values. values is If no object matches the attributes, the method will return the reference to an If no object matches the attributes, the method will return undef.
Must be overwritten by subclass! Usually the database generator takes care of this. Must be overwritten by subclass! Usually the database generator takes care of this. Must be overwritten by subclass! Usually the database generator takes care of this. Must be overwritten by subclass! Usually the database generator takes care of this. The passed attributes must be an unique index, otherwise the method dies. a hash reference of key - value pairs. The method checks if the values correspond autogenerated method attributes. database table(s). empty array. existing perl object it will terminate and return itself. expects a reference to a DBMaster object and is mandatory. If called on an if the values correspond to the attributes of the DBObject and updates the mandatory and expects a hash reference of key - value pairs. The method checks mandatory, undef else. attribute_name is mandatory. This method uses the otherwise undef. perl_class_name is mandatory. to the attributes of the DBObject and updates the database table(s).
Internal or overwritten default perl methods. Do not use from outside!