1 7 8 package interop.wsifserviceWrapped; 9 10 public class SimpleDocument_Type implements java.io.Serializable , org.apache.axis.encoding.SimpleType { 11 private java.lang.String value; 12 13 public SimpleDocument_Type() { 14 } 15 16 public SimpleDocument_Type(java.lang.String value) { 18 this.value = new java.lang.String (value); 19 } 20 21 public java.lang.String toString() { 23 return value == null ? null : value.toString(); 24 } 25 26 public java.lang.String getValue() { 27 return value; 28 } 29 30 public void setValue(java.lang.String value) { 31 this.value = value; 32 } 33 34 private java.lang.Object __equalsCalc = null; 35 public synchronized boolean equals(java.lang.Object obj) { 36 if (!(obj instanceof SimpleDocument_Type)) return false; 37 SimpleDocument_Type other = (SimpleDocument_Type) obj; 38 if (obj == null) return false; 39 if (this == obj) return true; 40 if (__equalsCalc != null) { 41 return (__equalsCalc == obj); 42 } 43 __equalsCalc = obj; 44 boolean _equals; 45 _equals = true && 46 ((value==null && other.getValue()==null) || 47 (value!=null && 48 value.equals(other.getValue()))); 49 __equalsCalc = null; 50 return _equals; 51 } 52 53 private boolean __hashCodeCalc = false; 54 public synchronized int hashCode() { 55 if (__hashCodeCalc) { 56 return 0; 57 } 58 __hashCodeCalc = true; 59 int _hashCode = 1; 60 if (getValue() != null) { 61 _hashCode += getValue().hashCode(); 62 } 63 __hashCodeCalc = false; 64 return _hashCode; 65 } 66 67 private static org.apache.axis.description.TypeDesc typeDesc = 69 new org.apache.axis.description.TypeDesc(SimpleDocument_Type.class); 70 71 static { 72 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc(); 73 field.setFieldName("value"); 74 field.setXmlName(new javax.xml.namespace.QName ("", "value")); 75 field.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 76 typeDesc.addFieldDesc(field); 77 }; 78 79 82 public static org.apache.axis.description.TypeDesc getTypeDesc() { 83 return typeDesc; 84 } 85 86 89 public static org.apache.axis.encoding.Serializer getSerializer( 90 java.lang.String mechType, 91 java.lang.Class _javaType, 92 javax.xml.namespace.QName _xmlType) { 93 return 94 new org.apache.axis.encoding.ser.SimpleSerializer( 95 _javaType, _xmlType, typeDesc); 96 } 97 98 101 public static org.apache.axis.encoding.Deserializer getDeserializer( 102 java.lang.String mechType, 103 java.lang.Class _javaType, 104 javax.xml.namespace.QName _xmlType) { 105 return 106 new org.apache.axis.encoding.ser.SimpleDeserializer( 107 _javaType, _xmlType, typeDesc); 108 } 109 110 } 111 | Popular Tags |