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