%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ca.spaz.cron.targets.CRONTargetModel |
|
|
1 | /* |
|
2 | * Created on 4-Jun-2005 |
|
3 | */ |
|
4 | package ca.spaz.cron.targets; |
|
5 | ||
6 | import ca.spaz.cron.database.NutrientInfo; |
|
7 | import ca.spaz.cron.user.User; |
|
8 | ||
9 | 0 | public class CRONTargetModel implements TargetModel { |
10 | ||
11 | public double getTargetMinimum(User user, NutrientInfo ni) { |
|
12 | 0 | return ni.getReferenceDailyIntake(); |
13 | } |
|
14 | ||
15 | public double getTargetMaximum(User user, NutrientInfo ni) { |
|
16 | 0 | return ni.getReferenceDailyIntake(); |
17 | } |
|
18 | ||
19 | public String toString() { |
|
20 | 0 | return "CRON Diet"; |
21 | } |
|
22 | ||
23 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |