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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
91
92
93
94
95
96
97 public String getImplementingClassName() {
98 return implementingClassName;
99 }
100
101
102
103
104
105
106
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 }