GdaEntityField

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

Synopsis




                    GdaEntityField;
GdaEntity*          gda_entity_field_get_entity         (GdaEntityField *iface);
GType               gda_entity_field_get_g_type         (GdaEntityField *iface);
GdaDictType*        gda_entity_field_get_dict_type      (GdaEntityField *iface);
const gchar*        gda_entity_field_get_name           (GdaEntityField *iface);
const gchar*        gda_entity_field_get_description    (GdaEntityField *iface);

Object Hierarchy


  GInterface
   +----GdaEntityField

Prerequisites

GdaEntityField requires GdaObject.

Known Implementations

GdaEntityField is implemented by GdaQueryFieldFunc, GdaQueryFieldAgg, GdaQueryFieldValue, GdaQueryFieldAll, GdaDictField and GdaQueryFieldField.

Description

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

Details

GdaEntityField

typedef struct _GdaEntityField GdaEntityField;


gda_entity_field_get_entity ()

GdaEntity*          gda_entity_field_get_entity         (GdaEntityField *iface);

Get a reference to the object implementing the GdaEntity interface to which the object implementing the GdaEntityField is attached to.

iface : an object which implements the GdaEntityField interface
Returns : the object implementing the GdaEntity interface

gda_entity_field_get_g_type ()

GType               gda_entity_field_get_g_type         (GdaEntityField *iface);

Get the gda type of the object implementing the GdaEntityField interface

iface : an object which implements the GdaEntityField interface
Returns : the corresponding GType or G_TYPE_INVALID if the gda type is unknown

gda_entity_field_get_dict_type ()

GdaDictType*        gda_entity_field_get_dict_type      (GdaEntityField *iface);

Get the dict type of the object implementing the GdaEntityField interface

iface : an object which implements the GdaEntityField interface
Returns : the corresponding GdaDictType

gda_entity_field_get_name ()

const gchar*        gda_entity_field_get_name           (GdaEntityField *iface);

Get the name of the object implementing the GdaEntityField interface

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

gda_entity_field_get_description ()

const gchar*        gda_entity_field_get_description    (GdaEntityField *iface);

Get the description of the object implementing the GdaEntityField interface

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