View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.policyconfiguration;
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   * 
15   * sla container
16   * 			
17   * 
18   * <p>Java class for ArrayOfSLA complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="ArrayOfSLA">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="SLA" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}SLA" maxOccurs="unbounded"/>
28   *       &lt;/sequence>
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   * 
34   * 
35   */
36  @XmlAccessorType(XmlAccessType.FIELD)
37  @XmlType(name = "ArrayOfSLA", propOrder = {
38      "sla"
39  })
40  public class ArrayOfSLA
41      implements Serializable
42  {
43  
44      private final static long serialVersionUID = 1L;
45      @XmlElement(name = "SLA", required = false, nillable = true)
46      protected List<SLA> sla;
47  
48      /**
49       * Gets the value of the sla property.
50       * 
51       * <p>
52       * This accessor method returns a reference to the live list,
53       * not a snapshot. Therefore any modification you make to the
54       * returned list will be present inside the JAXB object.
55       * This is why there is not a <CODE>set</CODE> method for the sla property.
56       * 
57       * <p>
58       * For example, to add a new item, do as follows:
59       * <pre>
60       *    getSLA().add(newItem);
61       * </pre>
62       * 
63       * 
64       * <p>
65       * Objects of the following type(s) are allowed in the list
66       * {@link SLA }
67       * 
68       * 
69       */
70      public List<SLA> getSLA() {
71          if (sla == null) {
72              sla = new ArrayList<SLA>();
73          }
74          return this.sla;
75      }
76  
77      public boolean isSetSLA() {
78          return ((this.sla!= null)&&(!this.sla.isEmpty()));
79      }
80  
81      public void unsetSLA() {
82          this.sla = null;
83      }
84  
85  }