Blame | Last modification | View Log | RSS feed
/*** WayBillGenerationRequest.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.bluedart.stub;public class WayBillGenerationRequest implements java.io.Serializable {private com.bluedart.stub.Consignee consignee;private com.bluedart.stub.Services services;private com.bluedart.stub.Shipper shipper;public WayBillGenerationRequest() {}public WayBillGenerationRequest(com.bluedart.stub.Consignee consignee,com.bluedart.stub.Services services,com.bluedart.stub.Shipper shipper) {this.consignee = consignee;this.services = services;this.shipper = shipper;}/*** Gets the consignee value for this WayBillGenerationRequest.** @return consignee*/public com.bluedart.stub.Consignee getConsignee() {return consignee;}/*** Sets the consignee value for this WayBillGenerationRequest.** @param consignee*/public void setConsignee(com.bluedart.stub.Consignee consignee) {this.consignee = consignee;}/*** Gets the services value for this WayBillGenerationRequest.** @return services*/public com.bluedart.stub.Services getServices() {return services;}/*** Sets the services value for this WayBillGenerationRequest.** @param services*/public void setServices(com.bluedart.stub.Services services) {this.services = services;}/*** Gets the shipper value for this WayBillGenerationRequest.** @return shipper*/public com.bluedart.stub.Shipper getShipper() {return shipper;}/*** Sets the shipper value for this WayBillGenerationRequest.** @param shipper*/public void setShipper(com.bluedart.stub.Shipper shipper) {this.shipper = shipper;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof WayBillGenerationRequest)) return false;WayBillGenerationRequest other = (WayBillGenerationRequest) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.consignee==null && other.getConsignee()==null) ||(this.consignee!=null &&this.consignee.equals(other.getConsignee()))) &&((this.services==null && other.getServices()==null) ||(this.services!=null &&this.services.equals(other.getServices()))) &&((this.shipper==null && other.getShipper()==null) ||(this.shipper!=null &&this.shipper.equals(other.getShipper())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getConsignee() != null) {_hashCode += getConsignee().hashCode();}if (getServices() != null) {_hashCode += getServices().hashCode();}if (getShipper() != null) {_hashCode += getShipper().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(WayBillGenerationRequest.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "WayBillGenerationRequest"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("consignee");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Consignee"));elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Consignee"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("services");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Services"));elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Services"));elemField.setMinOccurs(0);elemField.setNillable(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("shipper");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Shipper"));elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Shipper"));elemField.setMinOccurs(0);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);}}