1 7 8 package interop.wsifserviceWrapped; 9 10 public class ComplexDocument_Type implements java.io.Serializable { 11 private interop.wsifserviceWrapped.ArrayOfSimpleDocument simpleDoc; 12 private interop.wsifserviceWrapped.ChildDocument child; 13 private java.lang.String anAttribute; 15 public ComplexDocument_Type() { 16 } 17 18 public interop.wsifserviceWrapped.ArrayOfSimpleDocument getSimpleDoc() { 19 return simpleDoc; 20 } 21 22 public void setSimpleDoc(interop.wsifserviceWrapped.ArrayOfSimpleDocument simpleDoc) { 23 this.simpleDoc = simpleDoc; 24 } 25 26 public interop.wsifserviceWrapped.ChildDocument getChild() { 27 return child; 28 } 29 30 public void setChild(interop.wsifserviceWrapped.ChildDocument child) { 31 this.child = child; 32 } 33 34 public java.lang.String getAnAttribute() { 35 return anAttribute; 36 } 37 38 public void setAnAttribute(java.lang.String anAttribute) { 39 this.anAttribute = anAttribute; 40 } 41 42 private java.lang.Object __equalsCalc = null; 43 public synchronized boolean equals(java.lang.Object obj) { 44 if (!(obj instanceof ComplexDocument_Type)) return false; 45 ComplexDocument_Type other = (ComplexDocument_Type) obj; 46 if (obj == null) return false; 47 if (this == obj) return true; 48 if (__equalsCalc != null) { 49 return (__equalsCalc == obj); 50 } 51 __equalsCalc = obj; 52 boolean _equals; 53 _equals = true && 54 ((simpleDoc==null && other.getSimpleDoc()==null) || 55 (simpleDoc!=null && 56 simpleDoc.equals(other.getSimpleDoc()))) && 57 ((child==null && other.getChild()==null) || 58 (child!=null && 59 child.equals(other.getChild()))) && 60 ((anAttribute==null && other.getAnAttribute()==null) || 61 (anAttribute!=null && 62 anAttribute.equals(other.getAnAttribute()))); 63 __equalsCalc = null; 64 return _equals; 65 } 66 67 private boolean __hashCodeCalc = false; 68 public synchronized int hashCode() { 69 if (__hashCodeCalc) { 70 return 0; 71 } 72 __hashCodeCalc = true; 73 int _hashCode = 1; 74 if (getSimpleDoc() != null) { 75 _hashCode += getSimpleDoc().hashCode(); 76 } 77 if (getChild() != null) { 78 _hashCode += getChild().hashCode(); 79 } 80 if (getAnAttribute() != null) { 81 _hashCode += getAnAttribute().hashCode(); 82 } 83 __hashCodeCalc = false; 84 return _hashCode; 85 } 86 87 private static org.apache.axis.description.TypeDesc typeDesc = 89 new org.apache.axis.description.TypeDesc(ComplexDocument_Type.class); 90 91 static { 92 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.AttributeDesc(); 93 field.setFieldName("anAttribute"); 94 field.setXmlName(new javax.xml.namespace.QName ("", "AnAttribute")); 95 field.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 96 typeDesc.addFieldDesc(field); 97 field = new org.apache.axis.description.ElementDesc(); 98 field.setFieldName("simpleDoc"); 99 field.setXmlName(new javax.xml.namespace.QName ("http://soapinterop.org/", "simpleDoc")); 100 field.setXmlType(new javax.xml.namespace.QName ("http://soapinterop.org/", "ArrayOfSimpleDocument")); 101 field.setMinOccursIs0(true); 102 typeDesc.addFieldDesc(field); 103 field = new org.apache.axis.description.ElementDesc(); 104 field.setFieldName("child"); 105 field.setXmlName(new javax.xml.namespace.QName ("http://soapinterop.org/", "child")); 106 field.setXmlType(new javax.xml.namespace.QName ("http://soapinterop.org/", "ChildDocument")); 107 field.setMinOccursIs0(true); 108 typeDesc.addFieldDesc(field); 109 }; 110 111 114 public static org.apache.axis.description.TypeDesc getTypeDesc() { 115 return typeDesc; 116 } 117 118 121 public static org.apache.axis.encoding.Serializer getSerializer( 122 java.lang.String mechType, 123 java.lang.Class _javaType, 124 javax.xml.namespace.QName _xmlType) { 125 return 126 new org.apache.axis.encoding.ser.BeanSerializer( 127 _javaType, _xmlType, typeDesc); 128 } 129 130 133 public static org.apache.axis.encoding.Deserializer getDeserializer( 134 java.lang.String mechType, 135 java.lang.Class _javaType, 136 javax.xml.namespace.QName _xmlType) { 137 return 138 new org.apache.axis.encoding.ser.BeanDeserializer( 139 _javaType, _xmlType, typeDesc); 140 } 141 142 } 143 | Popular Tags |