1
7
8 package oasis.names.tc.wsrp.v1.types;
9
10 public class PerformBlockingInteraction implements java.io.Serializable {
11 private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
12 private oasis.names.tc.wsrp.v1.types.PortletContext portletContext;
13 private oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext;
14 private oasis.names.tc.wsrp.v1.types.UserContext userContext;
15 private oasis.names.tc.wsrp.v1.types.MarkupParams markupParams;
16 private oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams;
17
18 public PerformBlockingInteraction() {
19 }
20
21 public PerformBlockingInteraction(
22 oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams,
23 oasis.names.tc.wsrp.v1.types.MarkupParams markupParams,
24 oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
25 oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
26 oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext,
27 oasis.names.tc.wsrp.v1.types.UserContext userContext) {
28 this.registrationContext = registrationContext;
29 this.portletContext = portletContext;
30 this.runtimeContext = runtimeContext;
31 this.userContext = userContext;
32 this.markupParams = markupParams;
33 this.interactionParams = interactionParams;
34 }
35
36
37
42 public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
43 return registrationContext;
44 }
45
46
47
52 public void setRegistrationContext(oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
53 this.registrationContext = registrationContext;
54 }
55
56
57
62 public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
63 return portletContext;
64 }
65
66
67
72 public void setPortletContext(oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
73 this.portletContext = portletContext;
74 }
75
76
77
82 public oasis.names.tc.wsrp.v1.types.RuntimeContext getRuntimeContext() {
83 return runtimeContext;
84 }
85
86
87
92 public void setRuntimeContext(oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext) {
93 this.runtimeContext = runtimeContext;
94 }
95
96
97
102 public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
103 return userContext;
104 }
105
106
107
112 public void setUserContext(oasis.names.tc.wsrp.v1.types.UserContext userContext) {
113 this.userContext = userContext;
114 }
115
116
117
122 public oasis.names.tc.wsrp.v1.types.MarkupParams getMarkupParams() {
123 return markupParams;
124 }
125
126
127
132 public void setMarkupParams(oasis.names.tc.wsrp.v1.types.MarkupParams markupParams) {
133 this.markupParams = markupParams;
134 }
135
136
137
142 public oasis.names.tc.wsrp.v1.types.InteractionParams getInteractionParams() {
143 return interactionParams;
144 }
145
146
147
152 public void setInteractionParams(oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams) {
153 this.interactionParams = interactionParams;
154 }
155
156 private java.lang.Object __equalsCalc = null;
157 public synchronized boolean equals(java.lang.Object obj) {
158 if (!(obj instanceof PerformBlockingInteraction)) return false;
159 PerformBlockingInteraction other = (PerformBlockingInteraction) obj;
160 if (obj == null) return false;
161 if (this == obj) return true;
162 if (__equalsCalc != null) {
163 return (__equalsCalc == obj);
164 }
165 __equalsCalc = obj;
166 boolean _equals;
167 _equals = true &&
168 ((this.registrationContext==null && other.getRegistrationContext()==null) ||
169 (this.registrationContext!=null &&
170 this.registrationContext.equals(other.getRegistrationContext()))) &&
171 ((this.portletContext==null && other.getPortletContext()==null) ||
172 (this.portletContext!=null &&
173 this.portletContext.equals(other.getPortletContext()))) &&
174 ((this.runtimeContext==null && other.getRuntimeContext()==null) ||
175 (this.runtimeContext!=null &&
176 this.runtimeContext.equals(other.getRuntimeContext()))) &&
177 ((this.userContext==null && other.getUserContext()==null) ||
178 (this.userContext!=null &&
179 this.userContext.equals(other.getUserContext()))) &&
180 ((this.markupParams==null && other.getMarkupParams()==null) ||
181 (this.markupParams!=null &&
182 this.markupParams.equals(other.getMarkupParams()))) &&
183 ((this.interactionParams==null && other.getInteractionParams()==null) ||
184 (this.interactionParams!=null &&
185 this.interactionParams.equals(other.getInteractionParams())));
186 __equalsCalc = null;
187 return _equals;
188 }
189
190 private boolean __hashCodeCalc = false;
191 public synchronized int hashCode() {
192 if (__hashCodeCalc) {
193 return 0;
194 }
195 __hashCodeCalc = true;
196 int _hashCode = 1;
197 if (getRegistrationContext() != null) {
198 _hashCode += getRegistrationContext().hashCode();
199 }
200 if (getPortletContext() != null) {
201 _hashCode += getPortletContext().hashCode();
202 }
203 if (getRuntimeContext() != null) {
204 _hashCode += getRuntimeContext().hashCode();
205 }
206 if (getUserContext() != null) {
207 _hashCode += getUserContext().hashCode();
208 }
209 if (getMarkupParams() != null) {
210 _hashCode += getMarkupParams().hashCode();
211 }
212 if (getInteractionParams() != null) {
213 _hashCode += getInteractionParams().hashCode();
214 }
215 __hashCodeCalc = false;
216 return _hashCode;
217 }
218
219 private static org.apache.axis.description.TypeDesc typeDesc =
221 new org.apache.axis.description.TypeDesc(PerformBlockingInteraction.class, true);
222
223 static {
224 typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", ">performBlockingInteraction"));
225 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
226 elemField.setFieldName("registrationContext");
227 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "registrationContext"));
228 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RegistrationContext"));
229 elemField.setNillable(true);
230 typeDesc.addFieldDesc(elemField);
231 elemField = new org.apache.axis.description.ElementDesc();
232 elemField.setFieldName("portletContext");
233 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletContext"));
234 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "PortletContext"));
235 typeDesc.addFieldDesc(elemField);
236 elemField = new org.apache.axis.description.ElementDesc();
237 elemField.setFieldName("runtimeContext");
238 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "runtimeContext"));
239 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "RuntimeContext"));
240 typeDesc.addFieldDesc(elemField);
241 elemField = new org.apache.axis.description.ElementDesc();
242 elemField.setFieldName("userContext");
243 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userContext"));
244 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "UserContext"));
245 elemField.setNillable(true);
246 typeDesc.addFieldDesc(elemField);
247 elemField = new org.apache.axis.description.ElementDesc();
248 elemField.setFieldName("markupParams");
249 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "markupParams"));
250 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "MarkupParams"));
251 typeDesc.addFieldDesc(elemField);
252 elemField = new org.apache.axis.description.ElementDesc();
253 elemField.setFieldName("interactionParams");
254 elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "interactionParams"));
255 elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InteractionParams"));
256 typeDesc.addFieldDesc(elemField);
257 }
258
259
262 public static org.apache.axis.description.TypeDesc getTypeDesc() {
263 return typeDesc;
264 }
265
266
269 public static org.apache.axis.encoding.Serializer getSerializer(
270 java.lang.String mechType,
271 java.lang.Class _javaType,
272 javax.xml.namespace.QName _xmlType) {
273 return
274 new org.apache.axis.encoding.ser.BeanSerializer(
275 _javaType, _xmlType, typeDesc);
276 }
277
278
281 public static org.apache.axis.encoding.Deserializer getDeserializer(
282 java.lang.String mechType,
283 java.lang.Class _javaType,
284 javax.xml.namespace.QName _xmlType) {
285 return
286 new org.apache.axis.encoding.ser.BeanDeserializer(
287 _javaType, _xmlType, typeDesc);
288 }
289
290 }
291