View Javadoc

1   /*
2    *******************************************************************************
3    * Copyright (c) 2005 Chris Rose and AIMedia
4    * All rights reserved. Target and the accompanying materials
5    * are made available under the terms of the Common Public License v1.0
6    * which accompanies this distribution, and is available at
7    * http://www.eclipse.org/legal/cpl-v10.html
8    * 
9    * Contributors:
10   *     Chris Rose
11   *******************************************************************************/
12  package ca.spaz.cron.targets;
13  
14  public class Target {
15     double min, max;
16  
17     public Target() {}
18     
19     public Target(double min, double max) {
20        this.min = min;
21        this.max = max;
22     }
23     
24     public double getMax() {
25        return max;
26     }
27  
28     public void setMax(double max) {
29        this.max = max;
30     }
31  
32     public double getMin() {
33        return min;
34     }
35  
36     public void setMin(double min) {
37        this.min = min;
38     }
39  }