001: /**
002: * ComplexDocumentResponse.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis WSDL2Java emitter.
006: */package interop.wsifserviceWrapped;
007:
008: public class ComplexDocumentResponse implements java.io.Serializable {
009: private interop.wsifserviceWrapped.ComplexDocument_Type complexDocument;
010:
011: public ComplexDocumentResponse() {
012: }
013:
014: public interop.wsifserviceWrapped.ComplexDocument_Type getComplexDocument() {
015: return complexDocument;
016: }
017:
018: public void setComplexDocument(
019: interop.wsifserviceWrapped.ComplexDocument_Type complexDocument) {
020: this .complexDocument = complexDocument;
021: }
022:
023: private java.lang.Object __equalsCalc = null;
024:
025: public synchronized boolean equals(java.lang.Object obj) {
026: if (!(obj instanceof ComplexDocumentResponse))
027: return false;
028: ComplexDocumentResponse other = (ComplexDocumentResponse) obj;
029: if (obj == null)
030: return false;
031: if (this == obj)
032: return true;
033: if (__equalsCalc != null) {
034: return (__equalsCalc == obj);
035: }
036: __equalsCalc = obj;
037: boolean _equals;
038: _equals = true && ((complexDocument == null && other
039: .getComplexDocument() == null) || (complexDocument != null && complexDocument
040: .equals(other.getComplexDocument())));
041: __equalsCalc = null;
042: return _equals;
043: }
044:
045: private boolean __hashCodeCalc = false;
046:
047: public synchronized int hashCode() {
048: if (__hashCodeCalc) {
049: return 0;
050: }
051: __hashCodeCalc = true;
052: int _hashCode = 1;
053: if (getComplexDocument() != null) {
054: _hashCode += getComplexDocument().hashCode();
055: }
056: __hashCodeCalc = false;
057: return _hashCode;
058: }
059:
060: // Type metadata
061: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
062: ComplexDocumentResponse.class);
063:
064: static {
065: org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
066: field.setFieldName("complexDocument");
067: field.setXmlName(new javax.xml.namespace.QName(
068: "http://soapinterop.org/", "ComplexDocument"));
069: field.setXmlType(new javax.xml.namespace.QName(
070: "http://soapinterop.org/", "ComplexDocument"));
071: field.setMinOccursIs0(true);
072: typeDesc.addFieldDesc(field);
073: };
074:
075: /**
076: * Return type metadata object
077: */
078: public static org.apache.axis.description.TypeDesc getTypeDesc() {
079: return typeDesc;
080: }
081:
082: /**
083: * Get Custom Serializer
084: */
085: public static org.apache.axis.encoding.Serializer getSerializer(
086: java.lang.String mechType, java.lang.Class _javaType,
087: javax.xml.namespace.QName _xmlType) {
088: return new org.apache.axis.encoding.ser.BeanSerializer(
089: _javaType, _xmlType, typeDesc);
090: }
091:
092: /**
093: * Get Custom Deserializer
094: */
095: public static org.apache.axis.encoding.Deserializer getDeserializer(
096: java.lang.String mechType, java.lang.Class _javaType,
097: javax.xml.namespace.QName _xmlType) {
098: return new org.apache.axis.encoding.ser.BeanDeserializer(
099: _javaType, _xmlType, typeDesc);
100: }
101:
102: }
|