GnomeDbField

GnomeDbField — Interface to represent a generic field (for tables's fields, etc).

Synopsis




            GnomeDbField;
GType       gnome_db_field_get_type         (void);
GnomeDbEntity* gnome_db_field_get_entity    (GnomeDbField *iface);
GnomeDbServerDataType* gnome_db_field_get_data_type
                                            (GnomeDbField *iface);
const gchar* gnome_db_field_get_name        (GnomeDbField *iface);
const gchar* gnome_db_field_get_description (GnomeDbField *iface);

Object Hierarchy


  GInterface
   +----GnomeDbField

Prerequisites

GnomeDbField requires GnomeDbBase.

Known Implementations

GnomeDbField is implemented by GnomeDbQfAll, GnomeDbQfValue, GnomeDbWrapperField, GnomeDbQfFunc, GnomeDbQfAgg, GnomeDbTableField and GnomeDbQfField.

Description

Each object implementing this interface MUST derive from the GnomeDbBase object.

Details

GnomeDbField

typedef struct _GnomeDbField GnomeDbField;


gnome_db_field_get_type ()

GType       gnome_db_field_get_type         (void);

Returns :

gnome_db_field_get_entity ()

GnomeDbEntity* gnome_db_field_get_entity    (GnomeDbField *iface);

Get a reference to the object implementing the GnomeDbEntity interface to which the object implementing the GnomeDbField is attached to.

iface : an object which implements the GnomeDbField interface
Returns : the object implementing the GnomeDbEntity interface

gnome_db_field_get_data_type ()

GnomeDbServerDataType* gnome_db_field_get_data_type
                                            (GnomeDbField *iface);

Get a data type of the object implementing the GnomeDbField interface

iface : an object which implements the GnomeDbField interface
Returns : the corresponding GnomeDbServerDataType

gnome_db_field_get_name ()

const gchar* gnome_db_field_get_name        (GnomeDbField *iface);

Get the name of the object implementing the GnomeDbField interface

iface : an object which implements the GnomeDbField interface
Returns : the name

gnome_db_field_get_description ()

const gchar* gnome_db_field_get_description (GnomeDbField *iface);

Get the description of the object implementing the GnomeDbField interface

iface : an object which implements the GnomeDbField interface
Returns : the description