4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
10 public class ServiceHandle
11 implements java.io.Serializable
13 private java.lang.String abstractName;
14 private java.lang.String description;
15 private java.lang.String endpointURL;
16 private java.lang.String name;
18 public ServiceHandle()
23 java.lang.String abstractName,
24 java.lang.String description,
25 java.lang.String endpointURL,
26 java.lang.String name)
28 this.abstractName = abstractName;
29 this.description = description;
30 this.endpointURL = endpointURL;
35 * Gets the abstractName value for this ServiceHandle.
37 * @return abstractName
39 public java.lang.String getAbstractName()
45 * Sets the abstractName value for this ServiceHandle.
49 public void setAbstractName(java.lang.String abstractName)
51 this.abstractName = abstractName;
55 * Gets the description value for this ServiceHandle.
59 public java.lang.String getDescription()
65 * Sets the description value for this ServiceHandle.
69 public void setDescription(java.lang.String description)
71 this.description = description;
75 * Gets the endpointURL value for this ServiceHandle.
79 public java.lang.String getEndpointURL()
85 * Sets the endpointURL value for this ServiceHandle.
89 public void setEndpointURL(java.lang.String endpointURL)
91 this.endpointURL = endpointURL;
95 * Gets the name value for this ServiceHandle.
99 public java.lang.String getName()
105 * Sets the name value for this ServiceHandle.
109 public void setName(java.lang.String name)
114 private java.lang.Object __equalsCalc = null;
115 public synchronized boolean equals(java.lang.Object obj)
117 if (! (obj instanceof ServiceHandle))
121 ServiceHandle other = (ServiceHandle) obj;
130 if (__equalsCalc != null)
132 return (__equalsCalc == obj);
137 ( (this.abstractName == null && other.getAbstractName() == null) ||
138 (this.abstractName != null &&
139 this.abstractName.equals(other.getAbstractName()))) &&
140 ( (this.description == null && other.getDescription() == null) ||
141 (this.description != null &&
142 this.description.equals(other.getDescription()))) &&
143 ( (this.endpointURL == null && other.getEndpointURL() == null) ||
144 (this.endpointURL != null &&
145 this.endpointURL.equals(other.getEndpointURL()))) &&
146 ( (this.name == null && other.getName() == null) ||
147 (this.name != null &&
148 this.name.equals(other.getName())));
153 private boolean __hashCodeCalc = false;
154 public synchronized int hashCode()
160 __hashCodeCalc = true;
162 if (getAbstractName() != null)
164 _hashCode += getAbstractName().hashCode();
166 if (getDescription() != null)
168 _hashCode += getDescription().hashCode();
170 if (getEndpointURL() != null)
172 _hashCode += getEndpointURL().hashCode();
174 if (getName() != null)
176 _hashCode += getName().hashCode();
178 __hashCodeCalc = false;
183 private static org.apache.axis.description.TypeDesc typeDesc =
184 new org.apache.axis.description.TypeDesc(ServiceHandle.class, true);
188 typeDesc.setXmlType(new javax.xml.namespace.QName("registry.objects.vamsas",
190 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.
191 description.ElementDesc();
192 elemField.setFieldName("abstractName");
193 elemField.setXmlName(new javax.xml.namespace.QName("", "abstractName"));
194 elemField.setXmlType(new javax.xml.namespace.QName(
195 "http://schemas.xmlsoap.org/soap/encoding/", "string"));
196 typeDesc.addFieldDesc(elemField);
197 elemField = new org.apache.axis.description.ElementDesc();
198 elemField.setFieldName("description");
199 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
200 elemField.setXmlType(new javax.xml.namespace.QName(
201 "http://schemas.xmlsoap.org/soap/encoding/", "string"));
202 typeDesc.addFieldDesc(elemField);
203 elemField = new org.apache.axis.description.ElementDesc();
204 elemField.setFieldName("endpointURL");
205 elemField.setXmlName(new javax.xml.namespace.QName("", "endpointURL"));
206 elemField.setXmlType(new javax.xml.namespace.QName(
207 "http://schemas.xmlsoap.org/soap/encoding/", "string"));
208 typeDesc.addFieldDesc(elemField);
209 elemField = new org.apache.axis.description.ElementDesc();
210 elemField.setFieldName("name");
211 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
212 elemField.setXmlType(new javax.xml.namespace.QName(
213 "http://schemas.xmlsoap.org/soap/encoding/", "string"));
214 typeDesc.addFieldDesc(elemField);
218 * Return type metadata object
220 public static org.apache.axis.description.TypeDesc getTypeDesc()
226 * Get Custom Serializer
228 public static org.apache.axis.encoding.Serializer getSerializer(
229 java.lang.String mechType,
230 java.lang.Class _javaType,
231 javax.xml.namespace.QName _xmlType)
234 new org.apache.axis.encoding.ser.BeanSerializer(
235 _javaType, _xmlType, typeDesc);
239 * Get Custom Deserializer
241 public static org.apache.axis.encoding.Deserializer getDeserializer(
242 java.lang.String mechType,
243 java.lang.Class _javaType,
244 javax.xml.namespace.QName _xmlType)
247 new org.apache.axis.encoding.ser.BeanDeserializer(
248 _javaType, _xmlType, typeDesc);