|  |  |  | GNOME Data Access manual |  | 
|---|---|---|---|---|
| GdaDictAggregateGdaDictAggregate — Represents an aggregate in the DBMS (like  | 
            GdaDictAggregate;
GObject*    gda_dict_aggregate_new          (GdaDict *dict);
void        gda_dict_aggregate_set_dbms_id  (GdaDictAggregate *agg,
                                             const gchar *id);
gchar*      gda_dict_aggregate_get_dbms_id  (GdaDictAggregate *agg);
void        gda_dict_aggregate_set_sqlname  (GdaDictAggregate *agg,
                                             const gchar *sqlname);
const gchar* gda_dict_aggregate_get_sqlname (GdaDictAggregate *agg);
void        gda_dict_aggregate_set_arg_dict_type
                                            (GdaDictAggregate *agg,
                                             GdaDictType *dt);
GdaDictType* gda_dict_aggregate_get_arg_dict_type
                                            (GdaDictAggregate *agg);
void        gda_dict_aggregate_set_ret_dict_type
                                            (GdaDictAggregate *agg,
                                             GdaDictType *dt);
GdaDictType* gda_dict_aggregate_get_ret_dict_type
                                            (GdaDictAggregate *agg);
Because aggregates can be polymorphic, the name is not enough to identify them, so the DBMS provides a unique id which can be used to uniquely identify an aggregate.
It implements the GdaXmlStorage interface.
GObject* gda_dict_aggregate_new (GdaDict *dict);
Creates a new GdaDictAggregate object which represents an aggregate in the dictionary
| dict: | a GdaDict object | 
| Returns : | the new object | 
void gda_dict_aggregate_set_dbms_id (GdaDictAggregate *agg, const gchar *id);
Set the DBMS identifier of the aggregate
| agg: | a GdaDictAggregate object | 
| id: | the DBMS identifier | 
gchar* gda_dict_aggregate_get_dbms_id (GdaDictAggregate *agg);
Get the DBMS identifier of the aggregate
| agg: | a GdaDictAggregate object | 
| Returns : | the aggregate's id | 
void gda_dict_aggregate_set_sqlname (GdaDictAggregate *agg, const gchar *sqlname);
Set the SQL name of the data type.
| agg: | a GdaDictAggregate object | 
| sqlname: | 
const gchar* gda_dict_aggregate_get_sqlname (GdaDictAggregate *agg);
Get the DBMS's name of a data type.
| agg: | a GdaDictAggregate object | 
| Returns : | the name of the data type | 
void        gda_dict_aggregate_set_arg_dict_type
                                            (GdaDictAggregate *agg,
                                             GdaDictType *dt);
Set the argument type of a aggregate
| agg: | a GdaDictAggregate object | 
| dt: | a GdaDictType objects or NULL value to represent the data type of the aggregate's unique argument . | 
GdaDictType* gda_dict_aggregate_get_arg_dict_type (GdaDictAggregate *agg);
To consult the list of arguments types (and number) of a aggregate.
| agg: | a GdaDictAggregate object | 
| Returns : | a list of GdaDictType objects, the list MUST NOT be modified. | 
void        gda_dict_aggregate_set_ret_dict_type
                                            (GdaDictAggregate *agg,
                                             GdaDictType *dt);
Set the return type of a aggregate
| agg: | a GdaDictAggregate object | 
| dt: | a GdaDictType object or NULL | 
GdaDictType* gda_dict_aggregate_get_ret_dict_type (GdaDictAggregate *agg);
To consult the return type of a aggregate.
| agg: | a GdaDictAggregate object | 
| Returns : | a GdaDictType object. |