This class defines the structure for the Core Data object. This implements Dublin Core Metadata information about a media file. See http://www.dublincore.org for more information on this specification.

CoreData contains the following public methods:

MethodDescription
clear() Remove all data from the Core Data object's properties
db_load() Load a record by Name.
db_save() Save the record to the database using Insert or Update as appropriate.
db_delete() Delete this object record from the database.
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.
duplicate() Return a copy of the object with only the record number changed.
get_episode_nums() Get a list of Episode numbers that belong to this Series.

CoreData contains the following public properties:

PropertyDescription
title See http://www.dublincore.org for details.
creator See http://www.dublincore.org for details.
subject See http://www.dublincore.org for details.
description See http://www.dublincore.org for details.
publisher See http://www.dublincore.org for details.
contributor See http://www.dublincore.org for details.
dc_date See http://www.dublincore.org for details.
dc_date_db dc_date in the format needed for the MySQL Database
dc_type See http://www.dublincore.org for details.
format See http://www.dublincore.org for details.
source See http://www.dublincore.org for details.
language See http://www.dublincore.org for details.
relation See http://www.dublincore.org for details.
coverage See http://www.dublincore.org for details.
rights See http://www.dublincore.org for details.
comment Description of the Object.
id ID or Name (required).
isLocked Object Is Locked?
lock_time Time of the last record lock (Read only).
number Record number (auto-incremented database field).
record_lock Username of person who has locked the record (Read only).