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