Blame | Last modification | View Log | RSS feed
/*** Dimension.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 Dimension implements java.io.Serializable {private java.lang.Double breadth;private java.lang.Integer count;private java.lang.Double height;private java.lang.Double length;public Dimension() {}public Dimension(java.lang.Double breadth,java.lang.Integer count,java.lang.Double height,java.lang.Double length) {this.breadth = breadth;this.count = count;this.height = height;this.length = length;}/*** Gets the breadth value for this Dimension.** @return breadth*/public java.lang.Double getBreadth() {return breadth;}/*** Sets the breadth value for this Dimension.** @param breadth*/public void setBreadth(java.lang.Double breadth) {this.breadth = breadth;}/*** Gets the count value for this Dimension.** @return count*/public java.lang.Integer getCount() {return count;}/*** Sets the count value for this Dimension.** @param count*/public void setCount(java.lang.Integer count) {this.count = count;}/*** Gets the height value for this Dimension.** @return height*/public java.lang.Double getHeight() {return height;}/*** Sets the height value for this Dimension.** @param height*/public void setHeight(java.lang.Double height) {this.height = height;}/*** Gets the length value for this Dimension.** @return length*/public java.lang.Double getLength() {return length;}/*** Sets the length value for this Dimension.** @param length*/public void setLength(java.lang.Double length) {this.length = length;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof Dimension)) return false;Dimension other = (Dimension) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.breadth==null && other.getBreadth()==null) ||(this.breadth!=null &&this.breadth.equals(other.getBreadth()))) &&((this.count==null && other.getCount()==null) ||(this.count!=null &&this.count.equals(other.getCount()))) &&((this.height==null && other.getHeight()==null) ||(this.height!=null &&this.height.equals(other.getHeight()))) &&((this.length==null && other.getLength()==null) ||(this.length!=null &&this.length.equals(other.getLength())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getBreadth() != null) {_hashCode += getBreadth().hashCode();}if (getCount() != null) {_hashCode += getCount().hashCode();}if (getHeight() != null) {_hashCode += getHeight().hashCode();}if (getLength() != null) {_hashCode += getLength().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(Dimension.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Dimension"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("breadth");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Breadth"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("count");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Count"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("height");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Height"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("length");elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Length"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));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);}}