View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.automatedreportingservice;
3   
4   import java.io.Serializable;
5   import javax.xml.bind.annotation.XmlAccessType;
6   import javax.xml.bind.annotation.XmlAccessorType;
7   import javax.xml.bind.annotation.XmlElement;
8   import javax.xml.bind.annotation.XmlType;
9   import javax.xml.datatype.Duration;
10  
11  
12  /**
13   * time range
14   * 
15   * <p>Java class for TimeRangeDiff complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType name="TimeRangeDiff">
21   *   &lt;complexContent>
22   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23   *       &lt;sequence>
24   *         &lt;element name="end" type="{http://www.w3.org/2001/XMLSchema}duration"/>
25   *         &lt;element name="start" type="{http://www.w3.org/2001/XMLSchema}duration"/>
26   *       &lt;/sequence>
27   *     &lt;/restriction>
28   *   &lt;/complexContent>
29   * &lt;/complexType>
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "TimeRangeDiff", propOrder = {
36      "end",
37      "start"
38  })
39  public class TimeRangeDiff
40      implements Serializable
41  {
42  
43      private final static long serialVersionUID = 1L;
44      @XmlElement(required = true)
45      protected Duration end;
46      @XmlElement(required = true)
47      protected Duration start;
48  
49      /**
50       * Gets the value of the end property.
51       * 
52       * @return
53       *     possible object is
54       *     {@link Duration }
55       *     
56       */
57      public Duration getEnd() {
58          return end;
59      }
60  
61      /**
62       * Sets the value of the end property.
63       * 
64       * @param value
65       *     allowed object is
66       *     {@link Duration }
67       *     
68       */
69      public void setEnd(Duration value) {
70          this.end = value;
71      }
72  
73      public boolean isSetEnd() {
74          return (this.end!= null);
75      }
76  
77      /**
78       * Gets the value of the start property.
79       * 
80       * @return
81       *     possible object is
82       *     {@link Duration }
83       *     
84       */
85      public Duration getStart() {
86          return start;
87      }
88  
89      /**
90       * Sets the value of the start property.
91       * 
92       * @param value
93       *     allowed object is
94       *     {@link Duration }
95       *     
96       */
97      public void setStart(Duration value) {
98          this.start = value;
99      }
100 
101     public boolean isSetStart() {
102         return (this.start!= null);
103     }
104 
105 }