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 ServiceHandles implements java.io.Serializable {
11 private ext.vamsas.ServiceHandle[] services;
13 public ServiceHandles() {
16 public ServiceHandles(
17 ext.vamsas.ServiceHandle[] services) {
18 this.services = services;
23 * Gets the services value for this ServiceHandles.
27 public ext.vamsas.ServiceHandle[] getServices() {
33 * Sets the services value for this ServiceHandles.
37 public void setServices(ext.vamsas.ServiceHandle[] services) {
38 this.services = services;
41 private java.lang.Object __equalsCalc = null;
42 public synchronized boolean equals(java.lang.Object obj) {
43 if (!(obj instanceof ServiceHandles)) return false;
44 ServiceHandles other = (ServiceHandles) obj;
45 if (obj == null) return false;
46 if (this == obj) return true;
47 if (__equalsCalc != null) {
48 return (__equalsCalc == obj);
53 ((this.services==null && other.getServices()==null) ||
54 (this.services!=null &&
55 java.util.Arrays.equals(this.services, other.getServices())));
60 private boolean __hashCodeCalc = false;
61 public synchronized int hashCode() {
65 __hashCodeCalc = true;
67 if (getServices() != null) {
69 i<java.lang.reflect.Array.getLength(getServices());
71 java.lang.Object obj = java.lang.reflect.Array.get(getServices(), i);
73 !obj.getClass().isArray()) {
74 _hashCode += obj.hashCode();
78 __hashCodeCalc = false;
83 private static org.apache.axis.description.TypeDesc typeDesc =
84 new org.apache.axis.description.TypeDesc(ServiceHandles.class, true);
87 typeDesc.setXmlType(new javax.xml.namespace.QName("registry.objects.vamsas", "ServiceHandles"));
88 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
89 elemField.setFieldName("services");
90 elemField.setXmlName(new javax.xml.namespace.QName("", "services"));
91 elemField.setXmlType(new javax.xml.namespace.QName("registry.objects.vamsas", "ServiceHandle"));
92 typeDesc.addFieldDesc(elemField);
96 * Return type metadata object
98 public static org.apache.axis.description.TypeDesc getTypeDesc() {
103 * Get Custom Serializer
105 public static org.apache.axis.encoding.Serializer getSerializer(
106 java.lang.String mechType,
107 java.lang.Class _javaType,
108 javax.xml.namespace.QName _xmlType) {
110 new org.apache.axis.encoding.ser.BeanSerializer(
111 _javaType, _xmlType, typeDesc);
115 * Get Custom Deserializer
117 public static org.apache.axis.encoding.Deserializer getDeserializer(
118 java.lang.String mechType,
119 java.lang.Class _javaType,
120 javax.xml.namespace.QName _xmlType) {
122 new org.apache.axis.encoding.ser.BeanDeserializer(
123 _javaType, _xmlType, typeDesc);