Set
Object Hierarchy:
Description:
[
CCode ( type_id =
"gda_set_get_type ()" ) ]
public class Set :
Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public bool add_holder (Holder holder)
Adds holder to the list of holders managed within
this.
- public Set copy ()
Creates a new Set object, copy of
this
- public unowned SetGroup get_group (Holder holder)
Finds a SetGroup which
lists a SetNode containing holder, don't modify the returned structure.
- public unowned SList<SetGroup> get_groups ()
- public unowned Holder get_holder (string holder_id)
- public unowned Value? get_holder_value (string holder_id)
Get the value of the Holder
which ID is holder_id
- public unowned SList<Holder> get_holders ()
- public unowned SetNode get_node (Holder holder)
Finds a SetNode holding
information for holder, don't modify the returned structure
- public unowned SList<SetNode> get_nodes ()
- public unowned Holder get_nth_holder (int pos)
Finds a Holder using its
position
- public unowned SetSource get_source (Holder holder)
Finds a SetSource which
contains the DataModel restricting the possible values of holder,
don't modify the returned structure.
- public unowned SetSource get_source_for_model (DataModel model)
Finds the SetSource
structure used in this for which model is a the data model (the returned structure
should not be modified).
- public unowned SList<SetSource> get_sources ()
- public bool is_valid () throws Error
This method tells if all this's
Holder objects are valid, and if they represent a valid combination of values, as defined
by rules external to Libgda: the "validate-set" signal is emitted and if none of the signal handlers return an error, then the
returned value is TRUE, otherwise the return value is FALSE as soon as a signal handler returns an error.
- public void merge_with_set (Set set_to_merge)
Add to this all the holders of
set_to_merge.
- public void remove_holder (Holder holder)
Removes a Holder from the
list of holders managed by this
- public void replace_source_model (SetSource source, DataModel model)
Replaces source->data_model with model,
which must have the same characteristics as source->data_model (same column types)
Signals:
Inherited Members:
All known members inherited from class GLib.Object