Modgen : Component - Templates

Info

Modeling and Generation

Custom designs

Custom designs are a main service.

About the initiator

My name is James Wayne. I live in ... the Netherlands

User Guide Modgen




Component - Templates - Composition

The Template-pieces, that are used in the generation-process are defned in Template files, on which substitution actions can be executed. See Action scripts – Substitution-actions.
Template files have the following syntax (The fields between <> have to be entered):


For Example.Cre_hier5a.skl
%
!----------------------------------------------------------------------------------
! Copyright (c) : James Wayne Software and Market Research 2005
!----------------------------------------------------------------------------------
! Date File Author Description
! ---------- ------------------------------ ------------------ --------------------
! 30/04/2005 Crehier4.skl Drs. J.L.C. Wijnen Create hierarchy dm
! ---------- ------------------------------ ------------------ --------------------
! Create hierarchy dm : count part added
!----------------------------------------------------------------------------------

%BEGIN CRE_HIER1%
/*
--------------------------------------------------------------------------
Subsystem : %SSYSTEM_NAME%
Hierarchy
Generated at : %Sys_date% on : %Sys_time%
Based on Template : %Skl_name%
DataModel : %Db_name%
DataModel version : %Db_version%
Version Date Author Modification
------- -------- ----------- ---------------------------
%SSYSTEM_VERSION% %Sys_date% %AUTH_NAME% %SSYSTEM_DESC%
--------------------------------------------------------------------------
*/
%END CRE_HIER1%

%BEGIN CRE_HIER1A%

======================================
%E_name% References %ACTUAL_NUM_OWNERS% owners
%END CRE_HIER1A%

In the example above the following template pieces are present:

The second Template-piece consists of the following lines:

Note: The names of the Template_pieces as wel as the names of the substitution-variables are case-sensitive.


Component - Templates - Actions.

When using Templates the following actions can be used (See Action Scripts - Subsitution-Action):

By placing PROC_SKEL actions within iterations, more complex forms of generation are enabled.



Picture fetch

If you like the header, it can be found here.


Images

firefox

If you are using firefox, put your cursor over the logo. But for some reason IE does not like image rollover effects. Its not that big of a deal.