View · Index

Creating ACS Object Types

Approach:

  • Create a new XOTcl class via meta-class ::xo::db::Class
  • Define new top-level object types as subclass of ::xo::db::Object
  • If not provided, xotcl-core generates from the class name and namespace the table-name and id_column
  • xotcl-core creates all tables and necessary entries in acs-object-types, acs-attributes etc. from the XOTcl class definition