company logo

Module and submodule definition

Module definitions allow dividing schema resources in parts, which may act independent from each other. Thus, modules often describe independent sections of a project. The ODABA schema is divided in a documentation module, a database model module, an administration module and a dynamic module. Modules are not necessarily completely independent, but form units, which may act independent on each other. Thus, one may refer to the documentation module without using the database module.

NEW SCHEMA ODABA {

  NEW MODULE Administration {

    // definitions for administration module

  };

  NEW MODULE Documentation {

    // definitions for documentation module

  }

  ...

}