View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.automatedreportingservice;
3   
4   import java.io.Serializable;
5   import java.math.BigInteger;
6   import java.util.ArrayList;
7   import java.util.List;
8   import javax.xml.bind.annotation.XmlAccessType;
9   import javax.xml.bind.annotation.XmlAccessorType;
10  import javax.xml.bind.annotation.XmlElement;
11  import javax.xml.bind.annotation.XmlType;
12  
13  
14  /**
15   * <p>Java class for weeklySchedule complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType name="weeklySchedule">
21   *   &lt;complexContent>
22   *     &lt;extension base="{urn:org:miloss:fgsms:services:interfaces:automatedReportingService}abstractSchedule">
23   *       &lt;sequence>
24   *         &lt;element name="reoccurs" type="{http://www.w3.org/2001/XMLSchema}integer"/>
25   *         &lt;element name="DayOfTheWeekIs" type="{urn:org:miloss:fgsms:services:interfaces:automatedReportingService}daynames" maxOccurs="unbounded"/>
26   *       &lt;/sequence>
27   *     &lt;/extension>
28   *   &lt;/complexContent>
29   * &lt;/complexType>
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "weeklySchedule", propOrder = {
36      "reoccurs",
37      "dayOfTheWeekIs"
38  })
39  public class WeeklySchedule
40      extends AbstractSchedule
41      implements Serializable
42  {
43  
44      private final static long serialVersionUID = 1L;
45      @XmlElement(required = true, defaultValue = "1")
46      protected BigInteger reoccurs;
47      @XmlElement(name = "DayOfTheWeekIs", required = true)
48      protected List<Daynames> dayOfTheWeekIs;
49  
50      /**
51       * Gets the value of the reoccurs property.
52       * 
53       * @return
54       *     possible object is
55       *     {@link BigInteger }
56       *     
57       */
58      public BigInteger getReoccurs() {
59          return reoccurs;
60      }
61  
62      /**
63       * Sets the value of the reoccurs property.
64       * 
65       * @param value
66       *     allowed object is
67       *     {@link BigInteger }
68       *     
69       */
70      public void setReoccurs(BigInteger value) {
71          this.reoccurs = value;
72      }
73  
74      public boolean isSetReoccurs() {
75          return (this.reoccurs!= null);
76      }
77  
78      /**
79       * Gets the value of the dayOfTheWeekIs property.
80       * 
81       * <p>
82       * This accessor method returns a reference to the live list,
83       * not a snapshot. Therefore any modification you make to the
84       * returned list will be present inside the JAXB object.
85       * This is why there is not a <CODE>set</CODE> method for the dayOfTheWeekIs property.
86       * 
87       * <p>
88       * For example, to add a new item, do as follows:
89       * <pre>
90       *    getDayOfTheWeekIs().add(newItem);
91       * </pre>
92       * 
93       * 
94       * <p>
95       * Objects of the following type(s) are allowed in the list
96       * {@link Daynames }
97       * 
98       * 
99       */
100     public List<Daynames> getDayOfTheWeekIs() {
101         if (dayOfTheWeekIs == null) {
102             dayOfTheWeekIs = new ArrayList<Daynames>();
103         }
104         return this.dayOfTheWeekIs;
105     }
106 
107     public boolean isSetDayOfTheWeekIs() {
108         return ((this.dayOfTheWeekIs!= null)&&(!this.dayOfTheWeekIs.isEmpty()));
109     }
110 
111     public void unsetDayOfTheWeekIs() {
112         this.dayOfTheWeekIs = null;
113     }
114 
115 }