Entity
Object Hierarchy:
Description:
All known sub-classes:
Namespace: Osinfo
Package: libosinfo-1.0
Content:
Properties:
- public string id { owned get; set construct; }
The unique identifier for the entity The format of identifiers is undefined, but the recommended practice is to use a URI.
Creation methods:
- protected Entity ()
Methods:
- public void add_param (string key, string value)
Adds a new parameter against the entity.
- public void clear_param (string key)
Remove all values associated with a key
- public unowned string get_id ()
Retrieves the unique key for the entity.
- public List<unowned string> get_param_keys ()
Retrieve all the known parameter keys associated with the entity
- public unowned string get_param_value (string key)
Retrieve the parameter value associated with a named key.
- public bool get_param_value_boolean (string key)
Retrieve the parameter value associated with a named key as a boolean.
- public bool get_param_value_boolean_with_default (string key, bool default_value)
Retrieve the parameter value associated with a named key as a boolean.
- public int get_param_value_enum (string key, Type enum_type, int default_value)
Retrieve the parameter value associated with a named key as an enum value.
- public int64 get_param_value_int64 (string key)
Retrieve the parameter value associated with a named key as an int64.
- public int64 get_param_value_int64_with_default (string key, int64 default_value)
Retrieve the parameter value associated with a named key as an int64.
- public List<unowned string> get_param_value_list (string key)
Retrieve all the parameter values associated with a named key.
- public void set_param (string key, string value)
Sets a new parameter against the entity.
- public void set_param_boolean (string key, bool value)
Sets a new parameter against the entity.
- public void set_param_enum (string key, int value, Type enum_type)
Sets a new parameter against the entity.
- public void set_param_int64 (string key, int64 value)
Sets a new parameter against the entity.
Inherited Members:
All known members inherited from class GLib.Object