View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.policyconfiguration;
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   
10  
11  /**
12   * 
13   *             Service Level Aggrements
14   *            
15   * 
16   * <p>Java class for SLA complex type.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   * 
20   * <pre>
21   * &lt;complexType name="SLA">
22   *   &lt;complexContent>
23   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       &lt;sequence>
25   *         &lt;element name="guid" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="Action" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}ArrayOfSLAActionBaseType"/>
27   *         &lt;element name="Rule" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RuleBaseType"/>
28   *       &lt;/sequence>
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   * 
34   * 
35   */
36  @XmlAccessorType(XmlAccessType.FIELD)
37  @XmlType(name = "SLA", propOrder = {
38      "guid",
39      "action",
40      "rule"
41  })
42  public class SLA
43      implements Serializable
44  {
45  
46      private final static long serialVersionUID = 1L;
47      @XmlElement(required = true, nillable = true)
48      protected String guid;
49      @XmlElement(name = "Action", required = true, nillable = true)
50      protected ArrayOfSLAActionBaseType action;
51      @XmlElement(name = "Rule", required = true, nillable = true)
52      protected RuleBaseType rule;
53  
54      /**
55       * Gets the value of the guid property.
56       * 
57       * @return
58       *     possible object is
59       *     {@link String }
60       *     
61       */
62      public String getGuid() {
63          return guid;
64      }
65  
66      /**
67       * Sets the value of the guid property.
68       * 
69       * @param value
70       *     allowed object is
71       *     {@link String }
72       *     
73       */
74      public void setGuid(String value) {
75          this.guid = value;
76      }
77  
78      public boolean isSetGuid() {
79          return (this.guid!= null);
80      }
81  
82      /**
83       * Gets the value of the action property.
84       * 
85       * @return
86       *     possible object is
87       *     {@link ArrayOfSLAActionBaseType }
88       *     
89       */
90      public ArrayOfSLAActionBaseType getAction() {
91          return action;
92      }
93  
94      /**
95       * Sets the value of the action property.
96       * 
97       * @param value
98       *     allowed object is
99       *     {@link ArrayOfSLAActionBaseType }
100      *     
101      */
102     public void setAction(ArrayOfSLAActionBaseType value) {
103         this.action = value;
104     }
105 
106     public boolean isSetAction() {
107         return (this.action!= null);
108     }
109 
110     /**
111      * Gets the value of the rule property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link RuleBaseType }
116      *     
117      */
118     public RuleBaseType getRule() {
119         return rule;
120     }
121 
122     /**
123      * Sets the value of the rule property.
124      * 
125      * @param value
126      *     allowed object is
127      *     {@link RuleBaseType }
128      *     
129      */
130     public void setRule(RuleBaseType value) {
131         this.rule = value;
132     }
133 
134     public boolean isSetRule() {
135         return (this.rule!= null);
136     }
137 
138 }