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 implements java.io.Serializable {
11 private java.lang.String abstractName;
12 private java.lang.String description;
13 private java.lang.String endpointURL;
14 private java.lang.String name;
16 public ServiceHandle() {
20 java.lang.String abstractName,
21 java.lang.String description,
22 java.lang.String endpointURL,
23 java.lang.String name) {
24 this.abstractName = abstractName;
25 this.description = description;
26 this.endpointURL = endpointURL;
32 * Gets the abstractName value for this ServiceHandle.
34 * @return abstractName
36 public java.lang.String getAbstractName() {
42 * Sets the abstractName value for this ServiceHandle.
46 public void setAbstractName(java.lang.String abstractName) {
47 this.abstractName = abstractName;
52 * Gets the description value for this ServiceHandle.
56 public java.lang.String getDescription() {
62 * Sets the description value for this ServiceHandle.
66 public void setDescription(java.lang.String description) {
67 this.description = description;
72 * Gets the endpointURL value for this ServiceHandle.
76 public java.lang.String getEndpointURL() {
82 * Sets the endpointURL value for this ServiceHandle.
86 public void setEndpointURL(java.lang.String endpointURL) {
87 this.endpointURL = endpointURL;
92 * Gets the name value for this ServiceHandle.
96 public java.lang.String getName() {
102 * Sets the name value for this ServiceHandle.
106 public void setName(java.lang.String name) {
110 private java.lang.Object __equalsCalc = null;
111 public synchronized boolean equals(java.lang.Object obj) {
112 if (!(obj instanceof ServiceHandle)) return false;
113 ServiceHandle other = (ServiceHandle) obj;
114 if (obj == null) return false;
115 if (this == obj) return true;
116 if (__equalsCalc != null) {
117 return (__equalsCalc == obj);
122 ((this.abstractName==null && other.getAbstractName()==null) ||
123 (this.abstractName!=null &&
124 this.abstractName.equals(other.getAbstractName()))) &&
125 ((this.description==null && other.getDescription()==null) ||
126 (this.description!=null &&
127 this.description.equals(other.getDescription()))) &&
128 ((this.endpointURL==null && other.getEndpointURL()==null) ||
129 (this.endpointURL!=null &&
130 this.endpointURL.equals(other.getEndpointURL()))) &&
131 ((this.name==null && other.getName()==null) ||
133 this.name.equals(other.getName())));
138 private boolean __hashCodeCalc = false;
139 public synchronized int hashCode() {
140 if (__hashCodeCalc) {
143 __hashCodeCalc = true;
145 if (getAbstractName() != null) {
146 _hashCode += getAbstractName().hashCode();
148 if (getDescription() != null) {
149 _hashCode += getDescription().hashCode();
151 if (getEndpointURL() != null) {
152 _hashCode += getEndpointURL().hashCode();
154 if (getName() != null) {
155 _hashCode += getName().hashCode();
157 __hashCodeCalc = false;
162 private static org.apache.axis.description.TypeDesc typeDesc =
163 new org.apache.axis.description.TypeDesc(ServiceHandle.class, true);
166 typeDesc.setXmlType(new javax.xml.namespace.QName("registry.objects.vamsas", "ServiceHandle"));
167 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
168 elemField.setFieldName("abstractName");
169 elemField.setXmlName(new javax.xml.namespace.QName("", "abstractName"));
170 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
171 typeDesc.addFieldDesc(elemField);
172 elemField = new org.apache.axis.description.ElementDesc();
173 elemField.setFieldName("description");
174 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
175 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
176 typeDesc.addFieldDesc(elemField);
177 elemField = new org.apache.axis.description.ElementDesc();
178 elemField.setFieldName("endpointURL");
179 elemField.setXmlName(new javax.xml.namespace.QName("", "endpointURL"));
180 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
181 typeDesc.addFieldDesc(elemField);
182 elemField = new org.apache.axis.description.ElementDesc();
183 elemField.setFieldName("name");
184 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
185 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
186 typeDesc.addFieldDesc(elemField);
190 * Return type metadata object
192 public static org.apache.axis.description.TypeDesc getTypeDesc() {
197 * Get Custom Serializer
199 public static org.apache.axis.encoding.Serializer getSerializer(
200 java.lang.String mechType,
201 java.lang.Class _javaType,
202 javax.xml.namespace.QName _xmlType) {
204 new org.apache.axis.encoding.ser.BeanSerializer(
205 _javaType, _xmlType, typeDesc);
209 * Get Custom Deserializer
211 public static org.apache.axis.encoding.Deserializer getDeserializer(
212 java.lang.String mechType,
213 java.lang.Class _javaType,
214 javax.xml.namespace.QName _xmlType) {
216 new org.apache.axis.encoding.ser.BeanDeserializer(
217 _javaType, _xmlType, typeDesc);