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 @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
56
57
58
59
60
61
62 public RunAtLocation getProcessAt() {
63 return processAt;
64 }
65
66
67
68
69
70
71
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
84
85
86
87
88
89
90 public String getClassName() {
91 return className;
92 }
93
94
95
96
97
98
99
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
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 }