001: /**
002: * PerformBlockingInteraction.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
006: */package oasis.names.tc.wsrp.v1.types;
007:
008: public class PerformBlockingInteraction implements java.io.Serializable {
009: private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
010: private oasis.names.tc.wsrp.v1.types.PortletContext portletContext;
011: private oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext;
012: private oasis.names.tc.wsrp.v1.types.UserContext userContext;
013: private oasis.names.tc.wsrp.v1.types.MarkupParams markupParams;
014: private oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams;
015:
016: public PerformBlockingInteraction() {
017: }
018:
019: public PerformBlockingInteraction(
020: oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams,
021: oasis.names.tc.wsrp.v1.types.MarkupParams markupParams,
022: oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
023: oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
024: oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext,
025: oasis.names.tc.wsrp.v1.types.UserContext userContext) {
026: this .registrationContext = registrationContext;
027: this .portletContext = portletContext;
028: this .runtimeContext = runtimeContext;
029: this .userContext = userContext;
030: this .markupParams = markupParams;
031: this .interactionParams = interactionParams;
032: }
033:
034: /**
035: * Gets the registrationContext value for this PerformBlockingInteraction.
036: *
037: * @return registrationContext
038: */
039: public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
040: return registrationContext;
041: }
042:
043: /**
044: * Sets the registrationContext value for this PerformBlockingInteraction.
045: *
046: * @param registrationContext
047: */
048: public void setRegistrationContext(
049: oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
050: this .registrationContext = registrationContext;
051: }
052:
053: /**
054: * Gets the portletContext value for this PerformBlockingInteraction.
055: *
056: * @return portletContext
057: */
058: public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
059: return portletContext;
060: }
061:
062: /**
063: * Sets the portletContext value for this PerformBlockingInteraction.
064: *
065: * @param portletContext
066: */
067: public void setPortletContext(
068: oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
069: this .portletContext = portletContext;
070: }
071:
072: /**
073: * Gets the runtimeContext value for this PerformBlockingInteraction.
074: *
075: * @return runtimeContext
076: */
077: public oasis.names.tc.wsrp.v1.types.RuntimeContext getRuntimeContext() {
078: return runtimeContext;
079: }
080:
081: /**
082: * Sets the runtimeContext value for this PerformBlockingInteraction.
083: *
084: * @param runtimeContext
085: */
086: public void setRuntimeContext(
087: oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext) {
088: this .runtimeContext = runtimeContext;
089: }
090:
091: /**
092: * Gets the userContext value for this PerformBlockingInteraction.
093: *
094: * @return userContext
095: */
096: public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
097: return userContext;
098: }
099:
100: /**
101: * Sets the userContext value for this PerformBlockingInteraction.
102: *
103: * @param userContext
104: */
105: public void setUserContext(
106: oasis.names.tc.wsrp.v1.types.UserContext userContext) {
107: this .userContext = userContext;
108: }
109:
110: /**
111: * Gets the markupParams value for this PerformBlockingInteraction.
112: *
113: * @return markupParams
114: */
115: public oasis.names.tc.wsrp.v1.types.MarkupParams getMarkupParams() {
116: return markupParams;
117: }
118:
119: /**
120: * Sets the markupParams value for this PerformBlockingInteraction.
121: *
122: * @param markupParams
123: */
124: public void setMarkupParams(
125: oasis.names.tc.wsrp.v1.types.MarkupParams markupParams) {
126: this .markupParams = markupParams;
127: }
128:
129: /**
130: * Gets the interactionParams value for this PerformBlockingInteraction.
131: *
132: * @return interactionParams
133: */
134: public oasis.names.tc.wsrp.v1.types.InteractionParams getInteractionParams() {
135: return interactionParams;
136: }
137:
138: /**
139: * Sets the interactionParams value for this PerformBlockingInteraction.
140: *
141: * @param interactionParams
142: */
143: public void setInteractionParams(
144: oasis.names.tc.wsrp.v1.types.InteractionParams interactionParams) {
145: this .interactionParams = interactionParams;
146: }
147:
148: private java.lang.Object __equalsCalc = null;
149:
150: public synchronized boolean equals(java.lang.Object obj) {
151: if (!(obj instanceof PerformBlockingInteraction))
152: return false;
153: PerformBlockingInteraction other = (PerformBlockingInteraction) obj;
154: if (obj == null)
155: return false;
156: if (this == obj)
157: return true;
158: if (__equalsCalc != null) {
159: return (__equalsCalc == obj);
160: }
161: __equalsCalc = obj;
162: boolean _equals;
163: _equals = true
164: && ((this .registrationContext == null && other
165: .getRegistrationContext() == null) || (this .registrationContext != null && this .registrationContext
166: .equals(other.getRegistrationContext())))
167: && ((this .portletContext == null && other
168: .getPortletContext() == null) || (this .portletContext != null && this .portletContext
169: .equals(other.getPortletContext())))
170: && ((this .runtimeContext == null && other
171: .getRuntimeContext() == null) || (this .runtimeContext != null && this .runtimeContext
172: .equals(other.getRuntimeContext())))
173: && ((this .userContext == null && other.getUserContext() == null) || (this .userContext != null && this .userContext
174: .equals(other.getUserContext())))
175: && ((this .markupParams == null && other
176: .getMarkupParams() == null) || (this .markupParams != null && this .markupParams
177: .equals(other.getMarkupParams())))
178: && ((this .interactionParams == null && other
179: .getInteractionParams() == null) || (this .interactionParams != null && this .interactionParams
180: .equals(other.getInteractionParams())));
181: __equalsCalc = null;
182: return _equals;
183: }
184:
185: private boolean __hashCodeCalc = false;
186:
187: public synchronized int hashCode() {
188: if (__hashCodeCalc) {
189: return 0;
190: }
191: __hashCodeCalc = true;
192: int _hashCode = 1;
193: if (getRegistrationContext() != null) {
194: _hashCode += getRegistrationContext().hashCode();
195: }
196: if (getPortletContext() != null) {
197: _hashCode += getPortletContext().hashCode();
198: }
199: if (getRuntimeContext() != null) {
200: _hashCode += getRuntimeContext().hashCode();
201: }
202: if (getUserContext() != null) {
203: _hashCode += getUserContext().hashCode();
204: }
205: if (getMarkupParams() != null) {
206: _hashCode += getMarkupParams().hashCode();
207: }
208: if (getInteractionParams() != null) {
209: _hashCode += getInteractionParams().hashCode();
210: }
211: __hashCodeCalc = false;
212: return _hashCode;
213: }
214:
215: // Type metadata
216: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
217: PerformBlockingInteraction.class, true);
218:
219: static {
220: typeDesc.setXmlType(new javax.xml.namespace.QName(
221: "urn:oasis:names:tc:wsrp:v1:types",
222: ">performBlockingInteraction"));
223: org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
224: elemField.setFieldName("registrationContext");
225: elemField.setXmlName(new javax.xml.namespace.QName(
226: "urn:oasis:names:tc:wsrp:v1:types",
227: "registrationContext"));
228: elemField.setXmlType(new javax.xml.namespace.QName(
229: "urn:oasis:names:tc:wsrp:v1:types",
230: "RegistrationContext"));
231: elemField.setNillable(true);
232: typeDesc.addFieldDesc(elemField);
233: elemField = new org.apache.axis.description.ElementDesc();
234: elemField.setFieldName("portletContext");
235: elemField.setXmlName(new javax.xml.namespace.QName(
236: "urn:oasis:names:tc:wsrp:v1:types", "portletContext"));
237: elemField.setXmlType(new javax.xml.namespace.QName(
238: "urn:oasis:names:tc:wsrp:v1:types", "PortletContext"));
239: typeDesc.addFieldDesc(elemField);
240: elemField = new org.apache.axis.description.ElementDesc();
241: elemField.setFieldName("runtimeContext");
242: elemField.setXmlName(new javax.xml.namespace.QName(
243: "urn:oasis:names:tc:wsrp:v1:types", "runtimeContext"));
244: elemField.setXmlType(new javax.xml.namespace.QName(
245: "urn:oasis:names:tc:wsrp:v1:types", "RuntimeContext"));
246: typeDesc.addFieldDesc(elemField);
247: elemField = new org.apache.axis.description.ElementDesc();
248: elemField.setFieldName("userContext");
249: elemField.setXmlName(new javax.xml.namespace.QName(
250: "urn:oasis:names:tc:wsrp:v1:types", "userContext"));
251: elemField.setXmlType(new javax.xml.namespace.QName(
252: "urn:oasis:names:tc:wsrp:v1:types", "UserContext"));
253: elemField.setNillable(true);
254: typeDesc.addFieldDesc(elemField);
255: elemField = new org.apache.axis.description.ElementDesc();
256: elemField.setFieldName("markupParams");
257: elemField.setXmlName(new javax.xml.namespace.QName(
258: "urn:oasis:names:tc:wsrp:v1:types", "markupParams"));
259: elemField.setXmlType(new javax.xml.namespace.QName(
260: "urn:oasis:names:tc:wsrp:v1:types", "MarkupParams"));
261: typeDesc.addFieldDesc(elemField);
262: elemField = new org.apache.axis.description.ElementDesc();
263: elemField.setFieldName("interactionParams");
264: elemField
265: .setXmlName(new javax.xml.namespace.QName(
266: "urn:oasis:names:tc:wsrp:v1:types",
267: "interactionParams"));
268: elemField
269: .setXmlType(new javax.xml.namespace.QName(
270: "urn:oasis:names:tc:wsrp:v1:types",
271: "InteractionParams"));
272: typeDesc.addFieldDesc(elemField);
273: }
274:
275: /**
276: * Return type metadata object
277: */
278: public static org.apache.axis.description.TypeDesc getTypeDesc() {
279: return typeDesc;
280: }
281:
282: /**
283: * Get Custom Serializer
284: */
285: public static org.apache.axis.encoding.Serializer getSerializer(
286: java.lang.String mechType, java.lang.Class _javaType,
287: javax.xml.namespace.QName _xmlType) {
288: return new org.apache.axis.encoding.ser.BeanSerializer(
289: _javaType, _xmlType, typeDesc);
290: }
291:
292: /**
293: * Get Custom Deserializer
294: */
295: public static org.apache.axis.encoding.Deserializer getDeserializer(
296: java.lang.String mechType, java.lang.Class _javaType,
297: javax.xml.namespace.QName _xmlType) {
298: return new org.apache.axis.encoding.ser.BeanDeserializer(
299: _javaType, _xmlType, typeDesc);
300: }
301:
302: }
|