Gom.ResourceClass

Fields

Name

Type

Access

Description

parent_class

GObject.ObjectClass

r

primary_key

[int]

r

table

[int]

r

Methods

set_notnull (property_name)

set_primary_key (primary_key)

set_property_from_bytes (property_name, from_bytes_func)

set_property_new_in_version (property_name, version)

set_property_set_mapped (property_name, is_mapped)

set_property_to_bytes (property_name, to_bytes_func)

set_reference (property_name, ref_table_name, ref_property_name)

set_table (table)

set_unique (property_name)

Details

class Gom.ResourceClass
set_notnull(property_name)
Parameters:

property_name (str) –

set_primary_key(primary_key)
Parameters:

primary_key (str) –

set_property_from_bytes(property_name, from_bytes_func)
Parameters:
set_property_new_in_version(property_name, version)
Parameters:
  • property_name (str) –

  • version (int) –

set_property_set_mapped(property_name, is_mapped)
Parameters:
  • property_name (str) –

  • is_mapped (bool) –

set_property_to_bytes(property_name, to_bytes_func)
Parameters:
set_reference(property_name, ref_table_name, ref_property_name)
Parameters:
  • property_name (str) –

  • ref_table_name (str) –

  • ref_property_name (str) –

set_table(table)
Parameters:

table (str) –

set_unique(property_name)
Parameters:

property_name (str) –