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 *
16 *
17 *
18 * <p>Java class for SLAAction complex type.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 *
22 * <pre>
23 * <complexType name="SLAAction">
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <sequence>
27 * <element name="parameter_name_value" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair" maxOccurs="unbounded"/>
28 * <element name="implementing_class_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
29 * </sequence>
30 * </restriction>
31 * </complexContent>
32 * </complexType>
33 * </pre>
34 *
35 *
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "SLAAction", propOrder = {
39 "parameterNameValue",
40 "implementingClassName"
41 })
42 public class SLAAction
43 implements Serializable
44 {
45
46 private final static long serialVersionUID = 1L;
47 @XmlElement(name = "parameter_name_value", required = false)
48 protected List<NameValuePair> parameterNameValue;
49 @XmlElement(name = "implementing_class_name", required = true)
50 protected String implementingClassName;
51
52 /**
53 * Gets the value of the parameterNameValue property.
54 *
55 * <p>
56 * This accessor method returns a reference to the live list,
57 * not a snapshot. Therefore any modification you make to the
58 * returned list will be present inside the JAXB object.
59 * This is why there is not a <CODE>set</CODE> method for the parameterNameValue property.
60 *
61 * <p>
62 * For example, to add a new item, do as follows:
63 * <pre>
64 * getParameterNameValue().add(newItem);
65 * </pre>
66 *
67 *
68 * <p>
69 * Objects of the following type(s) are allowed in the list
70 * {@link NameValuePair }
71 *
72 *
73 */
74 public List<NameValuePair> getParameterNameValue() {
75 if (parameterNameValue == null) {
76 parameterNameValue = new ArrayList<NameValuePair>();
77 }
78 return this.parameterNameValue;
79 }
80
81 public boolean isSetParameterNameValue() {
82 return ((this.parameterNameValue!= null)&&(!this.parameterNameValue.isEmpty()));
83 }
84
85 public void unsetParameterNameValue() {
86 this.parameterNameValue = null;
87 }
88
89 /**
90 * Gets the value of the implementingClassName property.
91 *
92 * @return
93 * possible object is
94 * {@link String }
95 *
96 */
97 public String getImplementingClassName() {
98 return implementingClassName;
99 }
100
101 /**
102 * Sets the value of the implementingClassName property.
103 *
104 * @param value
105 * allowed object is
106 * {@link String }
107 *
108 */
109 public void setImplementingClassName(String value) {
110 this.implementingClassName = value;
111 }
112
113 public boolean isSetImplementingClassName() {
114 return (this.implementingClassName!= null);
115 }
116
117 }