01: /**
02: * AccessDeniedFault.java
03: *
04: * This file was auto-generated from WSDL
05: * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
06: */package oasis.names.tc.wsrp.v1.types;
07:
08: public class AccessDeniedFault extends
09: oasis.names.tc.wsrp.v1.types.Fault implements
10: java.io.Serializable {
11:
12: public AccessDeniedFault() {
13: }
14:
15: private java.lang.Object __equalsCalc = null;
16:
17: public synchronized boolean equals(java.lang.Object obj) {
18: if (!(obj instanceof AccessDeniedFault))
19: return false;
20: AccessDeniedFault other = (AccessDeniedFault) obj;
21: if (obj == null)
22: return false;
23: if (this == obj)
24: return true;
25: if (__equalsCalc != null) {
26: return (__equalsCalc == obj);
27: }
28: __equalsCalc = obj;
29: boolean _equals;
30: _equals = super .equals(obj);
31: __equalsCalc = null;
32: return _equals;
33: }
34:
35: private boolean __hashCodeCalc = false;
36:
37: public synchronized int hashCode() {
38: if (__hashCodeCalc) {
39: return 0;
40: }
41: __hashCodeCalc = true;
42: int _hashCode = super .hashCode();
43: __hashCodeCalc = false;
44: return _hashCode;
45: }
46:
47: // Type metadata
48: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
49: AccessDeniedFault.class, true);
50:
51: static {
52: typeDesc
53: .setXmlType(new javax.xml.namespace.QName(
54: "urn:oasis:names:tc:wsrp:v1:types",
55: "AccessDeniedFault"));
56: }
57:
58: /**
59: * Return type metadata object
60: */
61: public static org.apache.axis.description.TypeDesc getTypeDesc() {
62: return typeDesc;
63: }
64:
65: /**
66: * Get Custom Serializer
67: */
68: public static org.apache.axis.encoding.Serializer getSerializer(
69: java.lang.String mechType, java.lang.Class _javaType,
70: javax.xml.namespace.QName _xmlType) {
71: return new org.apache.axis.encoding.ser.BeanSerializer(
72: _javaType, _xmlType, typeDesc);
73: }
74:
75: /**
76: * Get Custom Deserializer
77: */
78: public static org.apache.axis.encoding.Deserializer getDeserializer(
79: java.lang.String mechType, java.lang.Class _javaType,
80: javax.xml.namespace.QName _xmlType) {
81: return new org.apache.axis.encoding.ser.BeanDeserializer(
82: _javaType, _xmlType, typeDesc);
83: }
84:
85: /**
86: * Writes the exception data to the faultDetails
87: */
88: public void writeDetails(javax.xml.namespace.QName qname,
89: org.apache.axis.encoding.SerializationContext context)
90: throws java.io.IOException {
91: context.serialize(qname, null, this);
92: }
93: }
|