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 ext;
20 public java.lang.String getType()
25 public void setType(java.lang.String type)
30 public java.lang.String getExt()
35 public void setExt(java.lang.String ext)
40 private java.lang.Object __equalsCalc = null;
41 public synchronized boolean equals(java.lang.Object obj)
43 if (! (obj instanceof WSFile))
47 WSFile other = (WSFile) obj;
56 if (__equalsCalc != null)
58 return (__equalsCalc == obj);
63 ( (type == null && other.getType() == null) ||
65 type.equals(other.getType()))) &&
66 ( (ext == null && other.getExt() == null) ||
68 ext.equals(other.getExt())));
73 private boolean __hashCodeCalc = false;
74 public synchronized int hashCode()
80 __hashCodeCalc = true;
82 if (getType() != null)
84 _hashCode += getType().hashCode();
88 _hashCode += getExt().hashCode();
90 __hashCodeCalc = false;
95 private static org.apache.axis.description.TypeDesc typeDesc =
96 new org.apache.axis.description.TypeDesc(WSFile.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("ext");
109 field.setXmlName(new javax.xml.namespace.QName("", "ext"));
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);