Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: interop/wsifserviceWrapped/ComplexDocument_ElemType.java


1   /**
2    * ComplexDocument_ElemType.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis WSDL2Java emitter.
6    */
7   
8   package interop.wsifserviceWrapped;
9   
10  public class ComplexDocument_ElemType  implements java.io.Serializable {
11      private interop.wsifserviceWrapped.ComplexDocument_Type complexDocument;
12  
13      public ComplexDocument_ElemType() {
14      }
15  
16      public interop.wsifserviceWrapped.ComplexDocument_Type getComplexDocument() {
17          return complexDocument;
18      }
19  
20      public void setComplexDocument(interop.wsifserviceWrapped.ComplexDocument_Type complexDocument) {
21          this.complexDocument = complexDocument;
22      }
23  
24      private java.lang.Object __equalsCalc = null;
25      public synchronized boolean equals(java.lang.Object obj) {
26          if (!(obj instanceof ComplexDocument_ElemType)) return false;
27          ComplexDocument_ElemType other = (ComplexDocument_ElemType) obj;
28          if (obj == null) return false;
29          if (this == obj) return true;
30          if (__equalsCalc != null) {
31              return (__equalsCalc == obj);
32          }
33          __equalsCalc = obj;
34          boolean _equals;
35          _equals = true && 
36              ((complexDocument==null && other.getComplexDocument()==null) || 
37               (complexDocument!=null &&
38                complexDocument.equals(other.getComplexDocument())));
39          __equalsCalc = null;
40          return _equals;
41      }
42  
43      private boolean __hashCodeCalc = false;
44      public synchronized int hashCode() {
45          if (__hashCodeCalc) {
46              return 0;
47          }
48          __hashCodeCalc = true;
49          int _hashCode = 1;
50          if (getComplexDocument() != null) {
51              _hashCode += getComplexDocument().hashCode();
52          }
53          __hashCodeCalc = false;
54          return _hashCode;
55      }
56  
57      // Type metadata
58      private static org.apache.axis.description.TypeDesc typeDesc =
59          new org.apache.axis.description.TypeDesc(ComplexDocument_ElemType.class);
60  
61      static {
62          org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
63          field.setFieldName("complexDocument");
64          field.setXmlName(new javax.xml.namespace.QName("http://soapinterop.org/", "ComplexDocument"));
65          field.setXmlType(new javax.xml.namespace.QName("http://soapinterop.org/", "ComplexDocument"));
66          field.setMinOccursIs0(true);
67          typeDesc.addFieldDesc(field);
68      };
69  
70      /**
71       * Return type metadata object
72       */
73      public static org.apache.axis.description.TypeDesc getTypeDesc() {
74          return typeDesc;
75      }
76  
77      /**
78       * Get Custom Serializer
79       */
80      public static org.apache.axis.encoding.Serializer getSerializer(
81             java.lang.String mechType, 
82             java.lang.Class _javaType,  
83             javax.xml.namespace.QName _xmlType) {
84          return 
85            new  org.apache.axis.encoding.ser.BeanSerializer(
86              _javaType, _xmlType, typeDesc);
87      }
88  
89      /**
90       * Get Custom Deserializer
91       */
92      public static org.apache.axis.encoding.Deserializer getDeserializer(
93             java.lang.String mechType, 
94             java.lang.Class _javaType,  
95             javax.xml.namespace.QName _xmlType) {
96          return 
97            new  org.apache.axis.encoding.ser.BeanDeserializer(
98              _javaType, _xmlType, typeDesc);
99      }
100 
101 }