Class ::xo::db::sql::acs_attribute

::xo::db::sql::acs_attribute[i] create ...

Defined in

Class Relations

  • class: ::xo::db::Class[i]
  • superclass: ::xotcl::Object[i]

Methods (to be applied on the object)

  • add_description (scripted, public)

     xo::db::sql::acs_attribute[i] add_description [ -dbn dbn ] \
        -object_type object_type  -attribute_name attribute_name  \
        -description_key description_key  -description description 

    Automatically generated method

    Switches:
    -dbn (optional)
    -object_type (required)
    -attribute_name (required)
    -description_key (required)
    -description (required)

    Testcases:
    No testcase defined.
  • create_attribute (scripted, public)

     xo::db::sql::acs_attribute[i] create_attribute [ -dbn dbn ] \
        -object_type object_type  -attribute_name attribute_name  \
        -datatype datatype  -pretty_name pretty_name  \
        [ -pretty_plural pretty_plural ] [ -table_name table_name ] \
        [ -column_name column_name ] [ -default_value default_value ] \
        [ -min_n_values min_n_values ] [ -max_n_values max_n_values ] \
        [ -sort_order sort_order ] [ -storage storage ] \
        [ -static_p static_p ] [ -create_column_p create_column_p ] \
        [ -database_type database_type ] [ -size size ] [ -null_p null_p ] \
        [ -references references ] [ -check_expr check_expr ] \
        [ -column_spec column_spec ]

    Automatically generated method

    Switches:
    -dbn (optional)
    -object_type (required)
    -attribute_name (required)
    -datatype (required)
    -pretty_name (required)
    -pretty_plural (optional)
    -table_name (optional)
    -column_name (optional)
    -default_value (optional)
    -min_n_values (optional, defaults to "1")
    -max_n_values (optional, defaults to "1")
    -sort_order (optional)
    -storage (optional, defaults to "type_specific")
    -static_p (optional, defaults to "f")
    -create_column_p (optional, defaults to "f")
    -database_type (optional)
    -size (optional)
    -null_p (optional, defaults to "t")
    -references (optional)
    -check_expr (optional)
    -column_spec (optional)

    Testcases:
    xotcl_core_tutorial_2
  • drop_attribute (scripted, public)

     xo::db::sql::acs_attribute[i] drop_attribute [ -dbn dbn ] \
        -object_type object_type  -attribute_name attribute_name  \
        [ -drop_column_p drop_column_p ]

    Automatically generated method

    Switches:
    -dbn (optional)
    -object_type (required)
    -attribute_name (required)
    -drop_column_p (optional, defaults to "f")

    Testcases:
    No testcase defined.
  • drop_description (scripted, public)

     xo::db::sql::acs_attribute[i] drop_description [ -dbn dbn ] \
        -object_type object_type  -attribute_name attribute_name  \
        -description_key description_key 

    Automatically generated method

    Switches:
    -dbn (optional)
    -object_type (required)
    -attribute_name (required)
    -description_key (required)

    Testcases:
    No testcase defined.