1   /**
2    * InvalidRegistrationFault.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
6    */
7   
8   package oasis.names.tc.wsrp.v1.types;
9   
10  public class InvalidRegistrationFault  extends oasis.names.tc.wsrp.v1.types.Fault  implements java.io.Serializable {
11  
12      public InvalidRegistrationFault() {
13      }
14  
15      private java.lang.Object __equalsCalc = null;
16      public synchronized boolean equals(java.lang.Object obj) {
17          if (!(obj instanceof InvalidRegistrationFault)) return false;
18          InvalidRegistrationFault other = (InvalidRegistrationFault) 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 = super.equals(obj);
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 = super.hashCode();
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(InvalidRegistrationFault.class, true);
45  
46      static {
47          typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "InvalidRegistrationFault"));
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