Blame | Last modification | View Log | RSS feed
/*** DocTabContent.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 DocTabContent implements java.io.Serializable {/* The DocTabContentType options available. */private com.fedex.ship.stub.DocTabContentType docTabContentType;/* The DocTabContentType should be set to ZONE001 to specify additional* Zone details. */private com.fedex.ship.stub.DocTabContentZone001 zone001;/* The DocTabContentType should be set to BARCODED to specify* additional BarCoded details. */private com.fedex.ship.stub.DocTabContentBarcoded barcoded;public DocTabContent() {}public DocTabContent(com.fedex.ship.stub.DocTabContentType docTabContentType,com.fedex.ship.stub.DocTabContentZone001 zone001,com.fedex.ship.stub.DocTabContentBarcoded barcoded) {this.docTabContentType = docTabContentType;this.zone001 = zone001;this.barcoded = barcoded;}/*** Gets the docTabContentType value for this DocTabContent.** @return docTabContentType * The DocTabContentType options available.*/public com.fedex.ship.stub.DocTabContentType getDocTabContentType() {return docTabContentType;}/*** Sets the docTabContentType value for this DocTabContent.** @param docTabContentType * The DocTabContentType options available.*/public void setDocTabContentType(com.fedex.ship.stub.DocTabContentType docTabContentType) {this.docTabContentType = docTabContentType;}/*** Gets the zone001 value for this DocTabContent.** @return zone001 * The DocTabContentType should be set to ZONE001 to specify additional* Zone details.*/public com.fedex.ship.stub.DocTabContentZone001 getZone001() {return zone001;}/*** Sets the zone001 value for this DocTabContent.** @param zone001 * The DocTabContentType should be set to ZONE001 to specify additional* Zone details.*/public void setZone001(com.fedex.ship.stub.DocTabContentZone001 zone001) {this.zone001 = zone001;}/*** Gets the barcoded value for this DocTabContent.** @return barcoded * The DocTabContentType should be set to BARCODED to specify* additional BarCoded details.*/public com.fedex.ship.stub.DocTabContentBarcoded getBarcoded() {return barcoded;}/*** Sets the barcoded value for this DocTabContent.** @param barcoded * The DocTabContentType should be set to BARCODED to specify* additional BarCoded details.*/public void setBarcoded(com.fedex.ship.stub.DocTabContentBarcoded barcoded) {this.barcoded = barcoded;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof DocTabContent)) return false;DocTabContent other = (DocTabContent) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.docTabContentType==null && other.getDocTabContentType()==null) ||(this.docTabContentType!=null &&this.docTabContentType.equals(other.getDocTabContentType()))) &&((this.zone001==null && other.getZone001()==null) ||(this.zone001!=null &&this.zone001.equals(other.getZone001()))) &&((this.barcoded==null && other.getBarcoded()==null) ||(this.barcoded!=null &&this.barcoded.equals(other.getBarcoded())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getDocTabContentType() != null) {_hashCode += getDocTabContentType().hashCode();}if (getZone001() != null) {_hashCode += getZone001().hashCode();}if (getBarcoded() != null) {_hashCode += getBarcoded().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(DocTabContent.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContent"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("docTabContentType");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentType"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentType"));elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("zone001");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Zone001"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentZone001"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("barcoded");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Barcoded"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentBarcoded"));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);}}