Trees | Indices | Help |
|
---|
|
The BasicPrimaryObject is the base class for Note objects.
It is also the base class for the PrimaryObject class.
The PrimaryObject is the base class for all other primary objects in the database. Primary objects are the core objects in the database. Each object has a database handle and a GRAMPS ID value. The database handle is used as the record number for the database, and the GRAMPS ID is the user visible version.
Instance Methods | |||
|
|||
int |
|
||
str |
|
||
|
|||
str |
|
||
|
|||
str |
|
||
bool |
|
||
|
|||
|
|||
|
|||
MarkerType |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Method Details |
Initialize a PrimaryObject. If source is None, both the ID and handle are assigned as empty strings. If source is not None, then object is initialized from values of the source object.
|
Return the time that the data was last changed. The value in the format returned by the time.time() command.
|
Return the string representation of the last change time.
|
Set the database handle for the primary object.
|
Return the database handle for the primary object.
|
Set the GRAMPS ID for the primary object.
|
Return the GRAMPS ID for the primary object.
|
Return True if the object has reference to a given handle of given primary object type.
|
Remove all references in this object to object handles in the list.
|
Replace all references to old handle with those to the new handle.
|
Set the marker for the object.
|
Return the marker for the object. The exact type depends on the derived class type.
|
Indicate if the object has a source references. In the base class, no such references exist. Derived classes should override this if they provide source references. |
Indicate if the object has a media references. In the base class, no such references exist. Derived classes should override this if they provide media references. |
Remove the specified source references from the object. In the base class no such references exist. Derived classes should override this if they provide source references. |
Remove the specified media references from the object. In the base class no such references exist. Derived classes should override this if they provide media references. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 9 21:52:42 2008 | http://epydoc.sourceforge.net |