Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*** ProcessedShipmentHold.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 ProcessedShipmentHold implements java.io.Serializable {private java.lang.String ID;private boolean hasErrors;private com.aramex.stub.ArrayOfNotification notifications;public ProcessedShipmentHold() {}public ProcessedShipmentHold(java.lang.String ID,boolean hasErrors,com.aramex.stub.ArrayOfNotification notifications) {this.ID = ID;this.hasErrors = hasErrors;this.notifications = notifications;}/*** Gets the ID value for this ProcessedShipmentHold.** @return ID*/public java.lang.String getID() {return ID;}/*** Sets the ID value for this ProcessedShipmentHold.** @param ID*/public void setID(java.lang.String ID) {this.ID = ID;}/*** Gets the hasErrors value for this ProcessedShipmentHold.** @return hasErrors*/public boolean isHasErrors() {return hasErrors;}/*** Sets the hasErrors value for this ProcessedShipmentHold.** @param hasErrors*/public void setHasErrors(boolean hasErrors) {this.hasErrors = hasErrors;}/*** Gets the notifications value for this ProcessedShipmentHold.** @return notifications*/public com.aramex.stub.ArrayOfNotification getNotifications() {return notifications;}/*** Sets the notifications value for this ProcessedShipmentHold.** @param notifications*/public void setNotifications(com.aramex.stub.ArrayOfNotification notifications) {this.notifications = notifications;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof ProcessedShipmentHold)) return false;ProcessedShipmentHold other = (ProcessedShipmentHold) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.ID==null && other.getID()==null) ||(this.ID!=null &&this.ID.equals(other.getID()))) &&this.hasErrors == other.isHasErrors() &&((this.notifications==null && other.getNotifications()==null) ||(this.notifications!=null &&this.notifications.equals(other.getNotifications())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getID() != null) {_hashCode += getID().hashCode();}_hashCode += (isHasErrors() ? Boolean.TRUE : Boolean.FALSE).hashCode();if (getNotifications() != null) {_hashCode += getNotifications().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(ProcessedShipmentHold.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("ID");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ID"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("hasErrors");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HasErrors"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("notifications");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notifications"));elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfNotification"));elemField.setNillable(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);}}