KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > supplier > webservice > opcclient > InvalidInvoiceException


1 /**
2  * InvalidInvoiceException.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis WSDL2Java emitter.
6  */

7
8 package com.sun.j2ee.blueprints.supplier.webservice.opcclient;
9
10 public class InvalidInvoiceException extends org.apache.axis.AxisFault implements java.io.Serializable {
11
12     public InvalidInvoiceException() {
13     }
14
15     private java.lang.Object __equalsCalc = null;
16     public synchronized boolean equals(java.lang.Object obj) {
17         if (!(obj instanceof InvalidInvoiceException)) return false;
18         InvalidInvoiceException other = (InvalidInvoiceException) obj;
19         if (obj == null) return false;
20         if (this == obj) return true;
21         if (__equalsCalc != null) {
22             return (__equalsCalc == obj);
23         }
24         __equalsCalc = obj;
25         boolean _equals;
26         _equals = true;
27         __equalsCalc = null;
28         return _equals;
29     }
30
31     private boolean __hashCodeCalc = false;
32     public synchronized int hashCode() {
33         if (__hashCodeCalc) {
34             return 0;
35         }
36         __hashCodeCalc = true;
37         int _hashCode = 1;
38         __hashCodeCalc = false;
39         return _hashCode;
40     }
41
42     // Type metadata
43
private static org.apache.axis.description.TypeDesc typeDesc =
44         new org.apache.axis.description.TypeDesc(InvalidInvoiceException.class);
45
46     static {
47         typeDesc.setXmlType(new javax.xml.namespace.QName("http://webservice.opc.blueprints.j2ee.sun.com", "InvalidInvoiceException"));
48     }
49
50     /**
51      * Return type metadata object
52      */

53     public static org.apache.axis.description.TypeDesc getTypeDesc() {
54         return typeDesc;
55     }
56
57     /**
58      * Get Custom Serializer
59      */

60     public static org.apache.axis.encoding.Serializer getSerializer(
61            java.lang.String mechType,
62            java.lang.Class _javaType,
63            javax.xml.namespace.QName _xmlType) {
64         return
65           new org.apache.axis.encoding.ser.BeanSerializer(
66             _javaType, _xmlType, typeDesc);
67     }
68
69     /**
70      * Get Custom Deserializer
71      */

72     public static org.apache.axis.encoding.Deserializer getDeserializer(
73            java.lang.String mechType,
74            java.lang.Class _javaType,
75            javax.xml.namespace.QName _xmlType) {
76         return
77           new org.apache.axis.encoding.ser.BeanDeserializer(
78             _javaType, _xmlType, typeDesc);
79     }
80
81
82     /**
83      * Writes the exception data to the faultDetails
84      */

85     public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
86         context.serialize(qname, null, this);
87     }
88 }
89
Popular Tags