Blame | Last modification | View Log | RSS feed
/*** ArrayOfNotification.java** This file was auto-generated from WSDL* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.*/package com.aramex.stub;public class ArrayOfNotification implements java.io.Serializable {private com.aramex.stub.Notification[] notification;public ArrayOfNotification() {}public ArrayOfNotification(com.aramex.stub.Notification[] notification) {this.notification = notification;}/*** Gets the notification value for this ArrayOfNotification.** @return notification*/public com.aramex.stub.Notification[] getNotification() {return notification;}/*** Sets the notification value for this ArrayOfNotification.** @param notification*/public void setNotification(com.aramex.stub.Notification[] notification) {this.notification = notification;}public com.aramex.stub.Notification getNotification(int i) {return this.notification[i];}public void setNotification(int i, com.aramex.stub.Notification _value) {this.notification[i] = _value;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof ArrayOfNotification)) return false;ArrayOfNotification other = (ArrayOfNotification) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.notification==null && other.getNotification()==null) ||(this.notification!=null &&java.util.Arrays.equals(this.notification, other.getNotification())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getNotification() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getNotification());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getNotification(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(ArrayOfNotification.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfNotification"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("notification");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));elemField.setMinOccurs(0);elemField.setNillable(true);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);}/*** Return type metadata object*/public static org.apache.axis.description.TypeDesc getTypeDesc() {return typeDesc;}/*** Get Custom Serializer*/public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);}/*** Get Custom Deserializer*/public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);}}