1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.datatype.subscription;
17
18 import java.util.Date;
19
20 import org.apache.juddi.datatype.RegistryObject;
21
22 /***
23 * Example:
24 *
25 * <coveragePeriod>
26 * <startPoint>20020727T00:00:00</startPoint>
27 * <endPoint>20020728T00:00:00</endPoint>
28 * </coveragePeriod>
29 *
30 * @author Steve Viens (sviens@apache.org)
31 */
32 public class CoveragePeriod implements RegistryObject
33 {
34 Date startPoint;
35 Date endPoint;
36
37 /***
38 * default constructor
39 */
40 public CoveragePeriod()
41 {
42 }
43
44 /***
45 * constructor
46 */
47 public CoveragePeriod(Date startPoint,Date endPoint)
48 {
49 }
50
51 /***
52 * @return Returns the endPoint.
53 */
54 public Date getEndPoint()
55 {
56 return endPoint;
57 }
58
59 /***
60 * @param endPoint The endPoint to set.
61 */
62 public void setEndPoint(Date endPoint)
63 {
64 this.endPoint = endPoint;
65 }
66
67 /***
68 * @return Returns the startPoint.
69 */
70 public Date getStartPoint()
71 {
72 return startPoint;
73 }
74
75 /***
76 * @param startPoint The startPoint to set.
77 */
78 public void setStartPoint(Date startPoint)
79 {
80 this.startPoint = startPoint;
81 }
82 }