| | This file copyright (c) 2004 SO.MUS.AR. s.a.s. | Subject to the license published at | http://www.somusar.com/contact/poc_request | vhs "VHS" | Simple design of a VHS string id[10] "Id." string title[40] "Title" int32 year "Year" int32 tape_length "Tape length" ------------------------------------------------------- DEFS ------ | No additional field definitions are required | for this simple entity. ------------------------------------------------------- DB -------- | | Define the field set for database table, its primary key, | and its finder keys. | table: id, year, title, tape_length pkey: id search_keys: title, year ------------------------------------------------------- LOGIC ----- | | Define the set of properties to be processed in the logic tier | class: id, year, title, tape_length ------------------------------------------------------- UI -------- | | Define a simple edit dialog | edit: id.......year.....title......tape_length..... ------------------------------------------------------- ADJUST ---- DB.test_data = "\ ID33|1985|Who knows this movie?|240,\ ID34|1999|I know this movie!|120,\ ID35|2001|I know it as well!|140"