DataObject contains the following public methods:
| Method | Description |
|---|---|
clear() |
Clear all properties, resetting them to default values. |
duplicate() |
Return a copy of the object with only the record number changed. |
lock_record() |
Lock a record. If the lock is unable to be obtained, a RecordLockedError exception is raised with the username of the lock holder passed. |
unlock_record() |
Unlock a record. |
get_note_nums() |
Get a list of Note numbers that belong to this Object. |
get_episode_nums() |
Get a list of Episode numbers that belong to this Series. |
DataObject contains the following public properties:
| Property | Description |
|---|---|
number |
Record number (auto-incremented database field). |
id |
ID or Name (required). |
comment |
Description of the Object. |
record_lock |
Username of person who has locked the record (Read only). |
lock_time |
Time of the last record lock (Read only). |
isLocked |
Object Is Locked? |