vacation

Document Sample
vacation Powered By Docstoc
					rule-set               Vacation Days
parameter              Employe
Condition              Condition               Condition
employee.age >= #{age} employee.age < #[age}   employee.service >=#{service}
age                    age                     service
                                  18
           18                     45
           18                     45                        25
           18                     45                        40
           45                     60
           45                     60                        25
           45                     60                        40
           68
Condition                     Consequence      Consequence      Consequence
employee.service < #[service} $vacation = 22   $vacation += 5   $vacation += 2
service

             25                       x               x
             40                       x                                x
                                      x                                x
             25                       x                                x
             40                       x                                x
                                      x                                x
Consequence
$vacation += 3




      x
      x