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  import org.miloss.fgsms.services.interfaces.common.NameValuePair;
12  
13  
14  /**
15   * <p>Java class for SLARuleGeneric complex type.
16   * 
17   * <p>The following schema fragment specifies the expected content contained within this class.
18   * 
19   * <pre>
20   * &lt;complexType name="SLARuleGeneric">
21   *   &lt;complexContent>
22   *     &lt;extension base="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RuleBaseType">
23   *       &lt;sequence>
24   *         &lt;element name="ProcessAt" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}RunAtLocation"/>
25   *         &lt;element name="ClassName" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="parameter_name_value" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair" maxOccurs="unbounded" minOccurs="0"/>
27   *       &lt;/sequence>
28   *     &lt;/extension>
29   *   &lt;/complexContent>
30   * &lt;/complexType>
31   * </pre>
32   * 
33   * 
34   */
35  @XmlAccessorType(XmlAccessType.FIELD)
36  @XmlType(name = "SLARuleGeneric", propOrder = {
37      "processAt",
38      "className",
39      "parameterNameValue"
40  })
41  public class SLARuleGeneric
42      extends RuleBaseType
43      implements Serializable
44  {
45  
46      private final static long serialVersionUID = 1L;
47      @XmlElement(name = "ProcessAt", required = true, nillable = true)
48      protected RunAtLocation processAt;
49      @XmlElement(name = "ClassName", required = true)
50      protected String className;
51      @XmlElement(name = "parameter_name_value", required=false)
52      protected List<NameValuePair> parameterNameValue;
53  
54      /**
55       * Gets the value of the processAt property.
56       * 
57       * @return
58       *     possible object is
59       *     {@link RunAtLocation }
60       *     
61       */
62      public RunAtLocation getProcessAt() {
63          return processAt;
64      }
65  
66      /**
67       * Sets the value of the processAt property.
68       * 
69       * @param value
70       *     allowed object is
71       *     {@link RunAtLocation }
72       *     
73       */
74      public void setProcessAt(RunAtLocation value) {
75          this.processAt = value;
76      }
77  
78      public boolean isSetProcessAt() {
79          return (this.processAt!= null);
80      }
81  
82      /**
83       * Gets the value of the className property.
84       * 
85       * @return
86       *     possible object is
87       *     {@link String }
88       *     
89       */
90      public String getClassName() {
91          return className;
92      }
93  
94      /**
95       * Sets the value of the className property.
96       * 
97       * @param value
98       *     allowed object is
99       *     {@link String }
100      *     
101      */
102     public void setClassName(String value) {
103         this.className = value;
104     }
105 
106     public boolean isSetClassName() {
107         return (this.className!= null);
108     }
109 
110     /**
111      * Gets the value of the parameterNameValue property.
112      * 
113      * <p>
114      * This accessor method returns a reference to the live list,
115      * not a snapshot. Therefore any modification you make to the
116      * returned list will be present inside the JAXB object.
117      * This is why there is not a <CODE>set</CODE> method for the parameterNameValue property.
118      * 
119      * <p>
120      * For example, to add a new item, do as follows:
121      * <pre>
122      *    getParameterNameValue().add(newItem);
123      * </pre>
124      * 
125      * 
126      * <p>
127      * Objects of the following type(s) are allowed in the list
128      * {@link NameValuePair }
129      * 
130      * 
131      */
132     public List<NameValuePair> getParameterNameValue() {
133         if (parameterNameValue == null) {
134             parameterNameValue = new ArrayList<NameValuePair>();
135         }
136         return this.parameterNameValue;
137     }
138 
139     public boolean isSetParameterNameValue() {
140         return ((this.parameterNameValue!= null)&&(!this.parameterNameValue.isEmpty()));
141     }
142 
143     public void unsetParameterNameValue() {
144         this.parameterNameValue = null;
145     }
146 
147 }