4 * This file was auto-generated from WSDL
5 * by the Apache Axis WSDL2Java emitter.
10 public class Data implements java.io.Serializable {
11 private java.lang.String type;
12 private java.lang.String content;
17 public java.lang.String getType() {
21 public void setType(java.lang.String type) {
25 public java.lang.String getContent() {
29 public void setContent(java.lang.String content) {
30 this.content = content;
33 private java.lang.Object __equalsCalc = null;
34 public synchronized boolean equals(java.lang.Object obj) {
35 if (!(obj instanceof Data)) return false;
36 Data other = (Data) obj;
37 if (obj == null) return false;
38 if (this == obj) return true;
39 if (__equalsCalc != null) {
40 return (__equalsCalc == obj);
45 ((type==null && other.getType()==null) ||
47 type.equals(other.getType()))) &&
48 ((content==null && other.getContent()==null) ||
50 content.equals(other.getContent())));
55 private boolean __hashCodeCalc = false;
56 public synchronized int hashCode() {
60 __hashCodeCalc = true;
62 if (getType() != null) {
63 _hashCode += getType().hashCode();
65 if (getContent() != null) {
66 _hashCode += getContent().hashCode();
68 __hashCodeCalc = false;
73 private static org.apache.axis.description.TypeDesc typeDesc =
74 new org.apache.axis.description.TypeDesc(Data.class);
77 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
78 field.setFieldName("type");
79 field.setXmlName(new javax.xml.namespace.QName("", "type"));
80 field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
81 typeDesc.addFieldDesc(field);
82 field = new org.apache.axis.description.ElementDesc();
83 field.setFieldName("content");
84 field.setXmlName(new javax.xml.namespace.QName("", "content"));
85 field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
86 typeDesc.addFieldDesc(field);
90 * Return type metadata object
92 public static org.apache.axis.description.TypeDesc getTypeDesc() {
97 * Get Custom Serializer
99 public static org.apache.axis.encoding.Serializer getSerializer(
100 java.lang.String mechType,
101 java.lang.Class _javaType,
102 javax.xml.namespace.QName _xmlType) {
104 new org.apache.axis.encoding.ser.BeanSerializer(
105 _javaType, _xmlType, typeDesc);
109 * Get Custom Deserializer
111 public static org.apache.axis.encoding.Deserializer getDeserializer(
112 java.lang.String mechType,
113 java.lang.Class _javaType,
114 javax.xml.namespace.QName _xmlType) {
116 new org.apache.axis.encoding.ser.BeanDeserializer(
117 _javaType, _xmlType, typeDesc);