1 51 52 package org.objectweb.jass.examples.travelagency.ws; 53 54 public class NotEnoughRoomsException extends org.apache.axis.AxisFault implements java.io.Serializable { 55 56 public NotEnoughRoomsException() { 57 } 58 59 private java.lang.Object __equalsCalc = null; 60 public synchronized boolean equals(java.lang.Object obj) { 61 if (!(obj instanceof NotEnoughRoomsException)) return false; 62 NotEnoughRoomsException other = (NotEnoughRoomsException) obj; 63 if (obj == null) return false; 64 if (this == obj) return true; 65 if (__equalsCalc != null) { 66 return (__equalsCalc == obj); 67 } 68 __equalsCalc = obj; 69 boolean _equals; 70 _equals = true; 71 __equalsCalc = null; 72 return _equals; 73 } 74 75 private boolean __hashCodeCalc = false; 76 public synchronized int hashCode() { 77 if (__hashCodeCalc) { 78 return 0; 79 } 80 __hashCodeCalc = true; 81 int _hashCode = 1; 82 __hashCodeCalc = false; 83 return _hashCode; 84 } 85 86 private static org.apache.axis.description.TypeDesc typeDesc = 88 new org.apache.axis.description.TypeDesc(NotEnoughRoomsException.class); 89 90 static { 91 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://exceptions.travelagency.examples.jass.objectweb.org", "NotEnoughRoomsException")); 92 } 93 94 97 public static org.apache.axis.description.TypeDesc getTypeDesc() { 98 return typeDesc; 99 } 100 101 104 public static org.apache.axis.encoding.Serializer getSerializer( 105 java.lang.String mechType, 106 java.lang.Class _javaType, 107 javax.xml.namespace.QName _xmlType) { 108 return 109 new org.apache.axis.encoding.ser.BeanSerializer( 110 _javaType, _xmlType, typeDesc); 111 } 112 113 116 public static org.apache.axis.encoding.Deserializer getDeserializer( 117 java.lang.String mechType, 118 java.lang.Class _javaType, 119 javax.xml.namespace.QName _xmlType) { 120 return 121 new org.apache.axis.encoding.ser.BeanDeserializer( 122 _javaType, _xmlType, typeDesc); 123 } 124 125 126 129 public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { 130 context.serialize(qname, null, this); 131 } 132 } 133 | Popular Tags |