4 * This file was auto-generated from WSDL
5 * by the Apache Axis WSDL2Java emitter.
11 implements java.io.Serializable
13 private java.lang.String type;
14 private java.lang.String content;
20 public java.lang.String getType()
25 public void setType(java.lang.String type)
30 public java.lang.String getContent()
35 public void setContent(java.lang.String content)
37 this.content = content;
40 private java.lang.Object __equalsCalc = null;
41 public synchronized boolean equals(java.lang.Object obj)
43 if (! (obj instanceof Data))
47 Data other = (Data) obj;
56 if (__equalsCalc != null)
58 return (__equalsCalc == obj);
63 ( (type == null && other.getType() == null) ||
65 type.equals(other.getType()))) &&
66 ( (content == null && other.getContent() == null) ||
68 content.equals(other.getContent())));
73 private boolean __hashCodeCalc = false;
74 public synchronized int hashCode()
80 __hashCodeCalc = true;
82 if (getType() != null)
84 _hashCode += getType().hashCode();
86 if (getContent() != null)
88 _hashCode += getContent().hashCode();
90 __hashCodeCalc = false;
95 private static org.apache.axis.description.TypeDesc typeDesc =
96 new org.apache.axis.description.TypeDesc(Data.class);
100 org.apache.axis.description.FieldDesc field = new org.apache.axis.
101 description.ElementDesc();
102 field.setFieldName("type");
103 field.setXmlName(new javax.xml.namespace.QName("", "type"));
104 field.setXmlType(new javax.xml.namespace.QName(
105 "http://www.w3.org/2001/XMLSchema", "string"));
106 typeDesc.addFieldDesc(field);
107 field = new org.apache.axis.description.ElementDesc();
108 field.setFieldName("content");
109 field.setXmlName(new javax.xml.namespace.QName("", "content"));
110 field.setXmlType(new javax.xml.namespace.QName(
111 "http://www.w3.org/2001/XMLSchema", "string"));
112 typeDesc.addFieldDesc(field);
116 * Return type metadata object
118 public static org.apache.axis.description.TypeDesc getTypeDesc()
124 * Get Custom Serializer
126 public static org.apache.axis.encoding.Serializer getSerializer(
127 java.lang.String mechType,
128 java.lang.Class _javaType,
129 javax.xml.namespace.QName _xmlType)
132 new org.apache.axis.encoding.ser.BeanSerializer(
133 _javaType, _xmlType, typeDesc);
137 * Get Custom Deserializer
139 public static org.apache.axis.encoding.Deserializer getDeserializer(
140 java.lang.String mechType,
141 java.lang.Class _javaType,
142 javax.xml.namespace.QName _xmlType)
145 new org.apache.axis.encoding.ser.BeanDeserializer(
146 _javaType, _xmlType, typeDesc);