## GdaQueryFieldField

GdaQueryFieldField — Represents one field of an entity (through a GdaQueryTarget object)

## Synopsis

                        GdaQueryFieldField;
    GdaQueryField*      gda_query_field_field_new           (GdaQuery *query,
                                                             const gchar *field);
    gchar*              gda_query_field_field_get_ref_field_name
                                                            (GdaQueryFieldField *field);
    GdaEntityField*     gda_query_field_field_get_ref_field (GdaQueryFieldField *field);
    GdaQueryTarget*     gda_query_field_field_get_target    (GdaQueryFieldField *field);

## Object Hierarchy

      GObject
       +----GdaObject
             +----GdaQueryObject
                   +----GdaQueryField
                         +----GdaQueryFieldField

## Implemented Interfaces

GdaQueryFieldField implements GdaXmlStorage, GdaReferer, GdaEntityField and GdaRenderer.

## Properties

      "entry-plugin"             gchar*                : Read / Write
      "field"                    GdaEntityField*       : Read / Write
      "field-id"                 gchar*                : Write
      "field-name"               gchar*                : Read / Write
      "query"                    GdaQuery*             : Read / Write / Construct Only
      "target"                   GdaQueryTarget*       : Read / Write
      "target-id"                gchar*                : Write
      "target-name"              gchar*                : Write
      "value-provider"           GdaQueryField*        : Read / Write
      "value-provider-xml-id"    gchar*                : Read / Write

## Description

## Details

### GdaQueryFieldField

    typedef struct _GdaQueryFieldField GdaQueryFieldField;

### gda_query_field_field_new ()

    GdaQueryField*      gda_query_field_field_new           (GdaQuery *query,
                                                             const gchar *field);

Creates a new GdaQueryFieldField object which represents a given field. `field` can be among the following forms:

- field_name

- table_name.field_name

`query` : | a GdaQuery in which the new object will be
`field` : | the name of the field to represent
Returns : | the new object

### gda_query_field_field_get_ref_field_name ()

    gchar*              gda_query_field_field_get_ref_field_name
                                                            (GdaQueryFieldField *field);

Get the real name of the represented field. The returned name can be in either forms:

- field_name

- table_name.field_name

`field` : | a GdaQueryFieldField object
Returns : | represented field name (free the memory after usage)

### gda_query_field_field_get_ref_field ()

    GdaEntityField*     gda_query_field_field_get_ref_field (GdaQueryFieldField *field);

Get the real GdaEntityField object (well, the object which implements that interface) referenced by `field`

`field` : | a GdaQueryFieldField object
Returns : | the GdaEntityField object, or NULL if `field` is not active

### gda_query_field_field_get_target ()

    GdaQueryTarget*     gda_query_field_field_get_target    (GdaQueryFieldField *field);

Get the GdaQueryTarget object `field` 'belongs' to

`field` : | a GdaQueryFieldField object
Returns : | the GdaQueryTarget object

## Property Details

### The `"entry-plugin"` property

      "entry-plugin"             gchar*                : Read / Write

Default value: NULL

### The `"field"` property

      "field"                    GdaEntityField*       : Read / Write

### The `"field-id"` property

      "field-id"                 gchar*                : Write

Default value: NULL

### The `"field-name"` property

      "field-name"               gchar*                : Read / Write

Default value: NULL

### The `"query"` property

      "query"                    GdaQuery*             : Read / Write / Construct Only

### The `"target"` property

      "target"                   GdaQueryTarget*       : Read / Write

### The `"target-id"` property

      "target-id"                gchar*                : Write

Default value: NULL

### The `"target-name"` property

      "target-name"              gchar*                : Write

Default value: NULL

### The `"value-provider"` property

      "value-provider"           GdaQueryField*        : Read / Write

### The `"value-provider-xml-id"` property

      "value-provider-xml-id"    gchar*                : Read / Write

Default value: NULL