Jcat.Item – jcat Reference Manual
Packages
jcat
Jcat
Item
Item
add_alias_id
add_blob
get_alias_ids
get_blob_by_kind
get_blobs
get_blobs_by_kind
get_id
has_target
remove_alias_id
to_string
Item
Object Hierarchy:
Description:
[
CCode
( type_id =
"jcat_item_get_type ()"
) ]
public
class
Item
:
Object
Namespace:
Jcat
Package:
jcat
Content:
Creation methods:
public
Item
(
string
id)
Creates a new item.
Methods:
public
void
add_alias_id
(
string
id)
Adds an item alias ID.
public
void
add_blob
(
Blob
blob)
Adds a new blob to the item.
public
GenericArray
<
unowned
string
>
get_alias_ids
()
Gets the list of alias IDs.
public
Blob
get_blob_by_kind
(
BlobKind
kind)
throws
Error
Gets the item blobs by a specific kind.
public
GenericArray
<
unowned
Blob
>
get_blobs
()
Gets all the blobs for this item.
public
GenericArray
<
unowned
Blob
>
get_blobs_by_kind
(
BlobKind
kind)
Gets the item blobs by a specific kind.
public
unowned
string
get_id
()
Returns the item ID.
public
bool
has_target
()
Finds out if any of the blobs are targeting an internal checksum.
public
void
remove_alias_id
(
string
id)
Removes an item alias ID.
public
string
to_string
()
Converts the
Item
to a string.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref