4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
10 public class Sequence implements java.io.Serializable {
11 private java.lang.String id;
12 private java.lang.String seq;
19 java.lang.String seq) {
26 * Gets the id value for this Sequence.
30 public java.lang.String getId() {
36 * Sets the id value for this Sequence.
40 public void setId(java.lang.String id) {
46 * Gets the seq value for this Sequence.
50 public java.lang.String getSeq() {
56 * Sets the seq value for this Sequence.
60 public void setSeq(java.lang.String seq) {
64 private java.lang.Object __equalsCalc = null;
65 public synchronized boolean equals(java.lang.Object obj) {
66 if (!(obj instanceof Sequence)) return false;
67 Sequence other = (Sequence) obj;
68 if (obj == null) return false;
69 if (this == obj) return true;
70 if (__equalsCalc != null) {
71 return (__equalsCalc == obj);
76 ((this.id==null && other.getId()==null) ||
78 this.id.equals(other.getId()))) &&
79 ((this.seq==null && other.getSeq()==null) ||
81 this.seq.equals(other.getSeq())));
86 private boolean __hashCodeCalc = false;
87 public synchronized int hashCode() {
91 __hashCodeCalc = true;
93 if (getId() != null) {
94 _hashCode += getId().hashCode();
96 if (getSeq() != null) {
97 _hashCode += getSeq().hashCode();
99 __hashCodeCalc = false;
104 private static org.apache.axis.description.TypeDesc typeDesc =
105 new org.apache.axis.description.TypeDesc(Sequence.class, true);
108 typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "Sequence"));
109 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
110 elemField.setFieldName("id");
111 elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "id"));
112 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
113 elemField.setNillable(true);
114 typeDesc.addFieldDesc(elemField);
115 elemField = new org.apache.axis.description.ElementDesc();
116 elemField.setFieldName("seq");
117 elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "seq"));
118 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
119 elemField.setNillable(true);
120 typeDesc.addFieldDesc(elemField);
124 * Return type metadata object
126 public static org.apache.axis.description.TypeDesc getTypeDesc() {
131 * Get Custom Serializer
133 public static org.apache.axis.encoding.Serializer getSerializer(
134 java.lang.String mechType,
135 java.lang.Class _javaType,
136 javax.xml.namespace.QName _xmlType) {
138 new org.apache.axis.encoding.ser.BeanSerializer(
139 _javaType, _xmlType, typeDesc);
143 * Get Custom Deserializer
145 public static org.apache.axis.encoding.Deserializer getDeserializer(
146 java.lang.String mechType,
147 java.lang.Class _javaType,
148 javax.xml.namespace.QName _xmlType) {
150 new org.apache.axis.encoding.ser.BeanDeserializer(
151 _javaType, _xmlType, typeDesc);