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