GdaQueryFieldField

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

## Synopsis

                GdaQueryFieldField;
    GObject*    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

      "field"                gpointer              : Read / Write
      "field-id"             gchararray            : Write
      "field-name"           gchararray            : Write
      "handler-plugin"       gchararray            : Read / Write
      "query"                gpointer              : Read / Write / Construct Only
      "target"               gpointer              : Read / Write
      "target-id"            gchararray            : Write
      "target-name"          gchararray            : Write
      "value-provider"       gpointer              : Read / Write
      "value-provider-xml-id" gchararray            : Read / Write

## Description

## Details

### GdaQueryFieldField

    typedef struct _GdaQueryFieldField GdaQueryFieldField;

### gda_query_field_field_new ()

    GObject*    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

## Properties

### The "`field`" property

      "field"                gpointer              : Read / Write

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

      "field-id"             gchararray            : Write

Default value: NULL

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

      "field-name"           gchararray            : Write

Default value: NULL

### The "`handler-plugin`" property

      "handler-plugin"       gchararray            : Read / Write

Default value: NULL

### The "`query`" property

      "query"                gpointer              : Read / Write / Construct Only

### The "`target`" property

      "target"               gpointer              : Read / Write

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

      "target-id"            gchararray            : Write

Default value: NULL

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

      "target-name"          gchararray            : Write

Default value: NULL

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

      "value-provider"       gpointer              : Read / Write

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

      "value-provider-xml-id" gchararray            : Read / Write

Default value: NULL