Blame | Last modification | View Log | RSS feed
/*** ReserveRangeRequest.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 ReserveRangeRequest implements java.io.Serializable {private com.aramex.stub.ClientInfo clientInfo;private com.aramex.stub.Transaction transaction;private java.lang.String entity;private java.lang.String productGroup;private java.lang.Integer count;public ReserveRangeRequest() {}public ReserveRangeRequest(com.aramex.stub.ClientInfo clientInfo,com.aramex.stub.Transaction transaction,java.lang.String entity,java.lang.String productGroup,java.lang.Integer count) {this.clientInfo = clientInfo;this.transaction = transaction;this.entity = entity;this.productGroup = productGroup;this.count = count;}/*** Gets the clientInfo value for this ReserveRangeRequest.** @return clientInfo*/public com.aramex.stub.ClientInfo getClientInfo() {return clientInfo;}/*** Sets the clientInfo value for this ReserveRangeRequest.** @param clientInfo*/public void setClientInfo(com.aramex.stub.ClientInfo clientInfo) {this.clientInfo = clientInfo;}/*** Gets the transaction value for this ReserveRangeRequest.** @return transaction*/public com.aramex.stub.Transaction getTransaction() {return transaction;}/*** Sets the transaction value for this ReserveRangeRequest.** @param transaction*/public void setTransaction(com.aramex.stub.Transaction transaction) {this.transaction = transaction;}/*** Gets the entity value for this ReserveRangeRequest.** @return entity*/public java.lang.String getEntity() {return entity;}/*** Sets the entity value for this ReserveRangeRequest.** @param entity*/public void setEntity(java.lang.String entity) {this.entity = entity;}/*** Gets the productGroup value for this ReserveRangeRequest.** @return productGroup*/public java.lang.String getProductGroup() {return productGroup;}/*** Sets the productGroup value for this ReserveRangeRequest.** @param productGroup*/public void setProductGroup(java.lang.String productGroup) {this.productGroup = productGroup;}/*** Gets the count value for this ReserveRangeRequest.** @return count*/public java.lang.Integer getCount() {return count;}/*** Sets the count value for this ReserveRangeRequest.** @param count*/public void setCount(java.lang.Integer count) {this.count = count;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof ReserveRangeRequest)) return false;ReserveRangeRequest other = (ReserveRangeRequest) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.clientInfo==null && other.getClientInfo()==null) ||(this.clientInfo!=null &&this.clientInfo.equals(other.getClientInfo()))) &&((this.transaction==null && other.getTransaction()==null) ||(this.transaction!=null &&this.transaction.equals(other.getTransaction()))) &&((this.entity==null && other.getEntity()==null) ||(this.entity!=null &&this.entity.equals(other.getEntity()))) &&((this.productGroup==null && other.getProductGroup()==null) ||(this.productGroup!=null &&this.productGroup.equals(other.getProductGroup()))) &&((this.count==null && other.getCount()==null) ||(this.count!=null &&this.count.equals(other.getCount())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getClientInfo() != null) {_hashCode += getClientInfo().hashCode();}if (getTransaction() != null) {_hashCode += getTransaction().hashCode();}if (getEntity() != null) {_hashCode += getEntity().hashCode();}if (getProductGroup() != null) {_hashCode += getProductGroup().hashCode();}if (getCount() != null) {_hashCode += getCount().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(ReserveRangeRequest.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ReserveRangeRequest"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("clientInfo");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("transaction");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Transaction"));elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Transaction"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("entity");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Entity"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("productGroup");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProductGroup"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("count");elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Count"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));elemField.setMinOccurs(0);elemField.setNillable(false);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);}}