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 public class RDITargetModel implements TargetModel {
10
11 public double getTargetMinimum(User user, NutrientInfo ni) {
12 return ni.getReferenceDailyIntake();
13 }
14
15 public double getTargetMaximum(User user, NutrientInfo ni) {
16 return ni.getReferenceDailyIntake();
17 }
18
19 public String toString() {
20 return "Reference Daily Intakes";
21 }
22
23 }