|
|
pl:miw:2009:piw09_hades_1:hekate_case_vacation [2009/06/13 19:26] piw09 utworzono |
pl:miw:2009:piw09_hades_1:hekate_case_vacation [2019/06/27 15:50] |
====== Introduction ====== | |
| |
Eliasz Kańtoch | |
Tomasz Michalski | |
| |
====== HeKatE Vacation Design ====== | |
| |
| |
===== Description ===== | |
Vacation is a system which counts the number of vacation days. The number of vacations days depends on age and the number of working years. | |
| |
Example comes from [[http://openrules.com/examples.htm|OpenRules]] | |
| |
| |
===== Conceptualization ===== | |
| |
| |
==== Vocabulary ==== | |
* **Number of working years** – the sum of all working years of all employers. | |
* **Age** – age of employee | |
| |
==== Original Rules ==== | |
[[http://openrules.com/docs/xls/VacationDays.xls|Open Rules]] | |
| |
| |
{{:student:msc2008_bizrules_cases:vacation_orginal_rules.png|:student:msc2008_bizrules_cases:vacation_orginal_rules.png}} | |
| |
| |
===== Analysis ===== | |
Model design starts from attribute that indicates all system. In this case it is attribute VacationDays. On the level 1 it is finalized into three physical attributes age, service, days. In the following division is made and the relation between attributes is showed. Level 3 is the last level of ARD diagrams. | |
| |
The system which counts vacation days was designed in one XTT table. | |
| |
| |
===== Conceptual design ===== | |
| |
==== General Conceptual Design ==== | |
| |
| |
| |
| |
| |
| |
| |
==== Directed Conceptual Design ==== | |
| |
=== Full ARD Model === | |
| |
The VARDA representation is in this case as follows: {{:student:msc2008_bizrules_cases:vacation-model.pl|vacation-model.pl}} | |
| |
Subsequent ARD levels are given below: | |
| |
{{:student:msc2008_bizrules_cases:vacation_ard-lev.png|:student:msc2008_bizrules_cases:vacation_ard-lev.png}} | |
| |
The lowest level diagram is | |
| |
{{:student:msc2008_bizrules_cases:vacation-last.png|:student:msc2008_bizrules_cases:vacation-last.png}} | |
| |
The TPH for this model is | |
| |
{{:student:msc2008_bizrules_cases:vacation_tph.png|TPH model}} | |
| |
==== Refined Conceptual Design ==== | |
| |
| |
| |
===== Physical Attribute Specification ===== | |
{{:student:msc2008_bizrules_cases:vacation-spec.png|:student:msc2008_bizrules_cases:vacation-spec.png}} | |
| |
===== Structuralization ===== | |
XTT prototype generated by VARDA: | |
| |
{{:student:msc2008_bizrules_cases:vacation_xtt.png|XTT generated by VARDA}} | |
| |
| |
| |
===== Logical design ===== | |
Design made by HQed | |
| |
xttml model: {{:student:msc2008_bizrules_cases:vacation.xttml|vacation.xttml}} | |
| |
{{:student:msc2008_bizrules_cases:vacation.png|vacation xtt model}} | |