001: /**
002: * SingleTagResponse.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis WSDL2Java emitter.
006: */package interop.wsifserviceWrapped;
007:
008: public class SingleTagResponse implements java.io.Serializable {
009: private interop.wsifserviceWrapped.SingleTag_Type singleTag;
010:
011: public SingleTagResponse() {
012: }
013:
014: public interop.wsifserviceWrapped.SingleTag_Type getSingleTag() {
015: return singleTag;
016: }
017:
018: public void setSingleTag(
019: interop.wsifserviceWrapped.SingleTag_Type singleTag) {
020: this .singleTag = singleTag;
021: }
022:
023: private java.lang.Object __equalsCalc = null;
024:
025: public synchronized boolean equals(java.lang.Object obj) {
026: if (!(obj instanceof SingleTagResponse))
027: return false;
028: SingleTagResponse other = (SingleTagResponse) obj;
029: if (obj == null)
030: return false;
031: if (this == obj)
032: return true;
033: if (__equalsCalc != null) {
034: return (__equalsCalc == obj);
035: }
036: __equalsCalc = obj;
037: boolean _equals;
038: _equals = true && ((singleTag == null && other.getSingleTag() == null) || (singleTag != null && singleTag
039: .equals(other.getSingleTag())));
040: __equalsCalc = null;
041: return _equals;
042: }
043:
044: private boolean __hashCodeCalc = false;
045:
046: public synchronized int hashCode() {
047: if (__hashCodeCalc) {
048: return 0;
049: }
050: __hashCodeCalc = true;
051: int _hashCode = 1;
052: if (getSingleTag() != null) {
053: _hashCode += getSingleTag().hashCode();
054: }
055: __hashCodeCalc = false;
056: return _hashCode;
057: }
058:
059: // Type metadata
060: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
061: SingleTagResponse.class);
062:
063: static {
064: org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
065: field.setFieldName("singleTag");
066: field.setXmlName(new javax.xml.namespace.QName(
067: "http://soapinterop.org/", "SingleTag"));
068: field.setXmlType(new javax.xml.namespace.QName(
069: "http://soapinterop.org/", "SingleTag"));
070: field.setMinOccursIs0(true);
071: typeDesc.addFieldDesc(field);
072: };
073:
074: /**
075: * Return type metadata object
076: */
077: public static org.apache.axis.description.TypeDesc getTypeDesc() {
078: return typeDesc;
079: }
080:
081: /**
082: * Get Custom Serializer
083: */
084: public static org.apache.axis.encoding.Serializer getSerializer(
085: java.lang.String mechType, java.lang.Class _javaType,
086: javax.xml.namespace.QName _xmlType) {
087: return new org.apache.axis.encoding.ser.BeanSerializer(
088: _javaType, _xmlType, typeDesc);
089: }
090:
091: /**
092: * Get Custom Deserializer
093: */
094: public static org.apache.axis.encoding.Deserializer getDeserializer(
095: java.lang.String mechType, java.lang.Class _javaType,
096: javax.xml.namespace.QName _xmlType) {
097: return new org.apache.axis.encoding.ser.BeanDeserializer(
098: _javaType, _xmlType, typeDesc);
099: }
100:
101: }
|