Blame | Last modification | View Log | RSS feed
/*** DocTabZoneSpecification.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.fedex.ship.stub;public class DocTabZoneSpecification implements java.io.Serializable {/* Zone number can be between 1 and 12. */private org.apache.axis.types.PositiveInteger zoneNumber;/* Header value on this zone. */private java.lang.String header;/* Reference path to the element in the request/reply whose value* should be printed on this zone. */private java.lang.String dataField;/* Free form-text to be printed in this zone. */private java.lang.String literalValue;/* Justification for the text printed on this zone. */private com.fedex.ship.stub.DocTabZoneJustificationType justification;public DocTabZoneSpecification() {}public DocTabZoneSpecification(org.apache.axis.types.PositiveInteger zoneNumber,java.lang.String header,java.lang.String dataField,java.lang.String literalValue,com.fedex.ship.stub.DocTabZoneJustificationType justification) {this.zoneNumber = zoneNumber;this.header = header;this.dataField = dataField;this.literalValue = literalValue;this.justification = justification;}/*** Gets the zoneNumber value for this DocTabZoneSpecification.** @return zoneNumber * Zone number can be between 1 and 12.*/public org.apache.axis.types.PositiveInteger getZoneNumber() {return zoneNumber;}/*** Sets the zoneNumber value for this DocTabZoneSpecification.** @param zoneNumber * Zone number can be between 1 and 12.*/public void setZoneNumber(org.apache.axis.types.PositiveInteger zoneNumber) {this.zoneNumber = zoneNumber;}/*** Gets the header value for this DocTabZoneSpecification.** @return header * Header value on this zone.*/public java.lang.String getHeader() {return header;}/*** Sets the header value for this DocTabZoneSpecification.** @param header * Header value on this zone.*/public void setHeader(java.lang.String header) {this.header = header;}/*** Gets the dataField value for this DocTabZoneSpecification.** @return dataField * Reference path to the element in the request/reply whose value* should be printed on this zone.*/public java.lang.String getDataField() {return dataField;}/*** Sets the dataField value for this DocTabZoneSpecification.** @param dataField * Reference path to the element in the request/reply whose value* should be printed on this zone.*/public void setDataField(java.lang.String dataField) {this.dataField = dataField;}/*** Gets the literalValue value for this DocTabZoneSpecification.** @return literalValue * Free form-text to be printed in this zone.*/public java.lang.String getLiteralValue() {return literalValue;}/*** Sets the literalValue value for this DocTabZoneSpecification.** @param literalValue * Free form-text to be printed in this zone.*/public void setLiteralValue(java.lang.String literalValue) {this.literalValue = literalValue;}/*** Gets the justification value for this DocTabZoneSpecification.** @return justification * Justification for the text printed on this zone.*/public com.fedex.ship.stub.DocTabZoneJustificationType getJustification() {return justification;}/*** Sets the justification value for this DocTabZoneSpecification.** @param justification * Justification for the text printed on this zone.*/public void setJustification(com.fedex.ship.stub.DocTabZoneJustificationType justification) {this.justification = justification;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof DocTabZoneSpecification)) return false;DocTabZoneSpecification other = (DocTabZoneSpecification) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.zoneNumber==null && other.getZoneNumber()==null) ||(this.zoneNumber!=null &&this.zoneNumber.equals(other.getZoneNumber()))) &&((this.header==null && other.getHeader()==null) ||(this.header!=null &&this.header.equals(other.getHeader()))) &&((this.dataField==null && other.getDataField()==null) ||(this.dataField!=null &&this.dataField.equals(other.getDataField()))) &&((this.literalValue==null && other.getLiteralValue()==null) ||(this.literalValue!=null &&this.literalValue.equals(other.getLiteralValue()))) &&((this.justification==null && other.getJustification()==null) ||(this.justification!=null &&this.justification.equals(other.getJustification())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getZoneNumber() != null) {_hashCode += getZoneNumber().hashCode();}if (getHeader() != null) {_hashCode += getHeader().hashCode();}if (getDataField() != null) {_hashCode += getDataField().hashCode();}if (getLiteralValue() != null) {_hashCode += getLiteralValue().hashCode();}if (getJustification() != null) {_hashCode += getJustification().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(DocTabZoneSpecification.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabZoneSpecification"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("zoneNumber");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ZoneNumber"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "positiveInteger"));elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("header");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Header"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("dataField");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DataField"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("literalValue");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LiteralValue"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("justification");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Justification"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabZoneJustificationType"));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);}}