| | This file copyright (c) 2004 SO.MUS.AR. s.a.s. | Subject to the license published at | http://www.somusar.com/contact/poc_request | contact_information "Contact information" | | This entity features a logic-tier class. | string e_mail[80] "E-mail" string given_name[80] "Given name" string family_name[80] "Family name" address address "Address" string telephone[80] "Telephone" --- DEFS ------------------------------------------------------------------ | No particular definitions required for this entity --- DB -------------------------------------------------------------------- | | Define the field set for the database tables that embed | this entity, and define its primary key. | table: e_mail, given_name, family_name, address, telephone pkey: e_mail | | Define the list of fields to be returned by a select query | query: e_mail, given_name, family_name, address, telephone --- LOGIC ----------------------------------------------------------------- | | Define the list of properties for the logic tier class | properties: e_mail, given_name, family_name, address, telephone | | For some reason the sequence of parameters in the constructor | is required to be different than the list of properties: | hence override the default constructor sequence with an | ad-hoc sequence. | constructor: family_name, given_name, telephone, e_mail, address --- UI -------------------------------------------------------------------- | No usage interface for this entity, yet --- ADJUST ---------------------------------------------------------------- | Do not generate any SQL "create table" for this entity. DB.make_table = "false" | For some reason, some field names are renamed in the realm of the database DB.column_map = \ "email=e_mail;first_name=given_name;last_name=family_name;phone=telephone" | Override default "protected" attribute for the class members LOGIC.properties.private = "true"