001: /**
002: * AssertionNotValidException.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.2.1 Jul 21, 2005 (10:26:06 GMT-03:00) WSDL2Java emitter.
006: */package org.josso.gateway.session.service.ws.impl;
007:
008: public class AssertionNotValidException extends
009: org.josso.gateway.session.service.ws.impl.AssertionException
010: implements java.io.Serializable {
011: private java.lang.String message1;
012:
013: public AssertionNotValidException() {
014: }
015:
016: public AssertionNotValidException(java.lang.String message1) {
017: this .message1 = message1;
018: }
019:
020: /**
021: * Gets the message1 value for this AssertionNotValidException.
022: *
023: * @return message1
024: */
025: public java.lang.String getMessage1() {
026: return message1;
027: }
028:
029: /**
030: * Sets the message1 value for this AssertionNotValidException.
031: *
032: * @param message1
033: */
034: public void setMessage1(java.lang.String message1) {
035: this .message1 = message1;
036: }
037:
038: private java.lang.Object __equalsCalc = null;
039:
040: public synchronized boolean equals(java.lang.Object obj) {
041: if (!(obj instanceof AssertionNotValidException))
042: return false;
043: AssertionNotValidException other = (AssertionNotValidException) obj;
044: if (obj == null)
045: return false;
046: if (this == obj)
047: return true;
048: if (__equalsCalc != null) {
049: return (__equalsCalc == obj);
050: }
051: __equalsCalc = obj;
052: boolean _equals;
053: _equals = super .equals(obj)
054: && ((this .message1 == null && other.getMessage1() == null) || (this .message1 != null && this .message1
055: .equals(other.getMessage1())));
056: __equalsCalc = null;
057: return _equals;
058: }
059:
060: private boolean __hashCodeCalc = false;
061:
062: public synchronized int hashCode() {
063: if (__hashCodeCalc) {
064: return 0;
065: }
066: __hashCodeCalc = true;
067: int _hashCode = super .hashCode();
068: if (getMessage1() != null) {
069: _hashCode += getMessage1().hashCode();
070: }
071: __hashCodeCalc = false;
072: return _hashCode;
073: }
074:
075: // Type metadata
076: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
077: AssertionNotValidException.class, true);
078:
079: static {
080: typeDesc.setXmlType(new javax.xml.namespace.QName(
081: "http://josso.org/gateway/session/service/ws/impl",
082: "AssertionNotValidException"));
083: org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
084: elemField.setFieldName("message1");
085: elemField.setXmlName(new javax.xml.namespace.QName("",
086: "message"));
087: elemField.setXmlType(new javax.xml.namespace.QName(
088: "http://www.w3.org/2001/XMLSchema", "string"));
089: elemField.setNillable(true);
090: typeDesc.addFieldDesc(elemField);
091: }
092:
093: /**
094: * Return type metadata object
095: */
096: public static org.apache.axis.description.TypeDesc getTypeDesc() {
097: return typeDesc;
098: }
099:
100: /**
101: * Get Custom Serializer
102: */
103: public static org.apache.axis.encoding.Serializer getSerializer(
104: java.lang.String mechType, java.lang.Class _javaType,
105: javax.xml.namespace.QName _xmlType) {
106: return new org.apache.axis.encoding.ser.BeanSerializer(
107: _javaType, _xmlType, typeDesc);
108: }
109:
110: /**
111: * Get Custom Deserializer
112: */
113: public static org.apache.axis.encoding.Deserializer getDeserializer(
114: java.lang.String mechType, java.lang.Class _javaType,
115: javax.xml.namespace.QName _xmlType) {
116: return new org.apache.axis.encoding.ser.BeanDeserializer(
117: _javaType, _xmlType, typeDesc);
118: }
119:
120: /**
121: * Writes the exception data to the faultDetails
122: */
123: public void writeDetails(javax.xml.namespace.QName qname,
124: org.apache.axis.encoding.SerializationContext context)
125: throws java.io.IOException {
126: context.serialize(qname, null, this);
127: }
128: }
|