Blame | Last modification | View Log | RSS feed
/*** Rma.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;/*** June 2011 ITG 121203 IR-RMA number has been removed from this structure* and added as a new customer reference type. The structure remains* because of the reason field below.*/public class Rma implements java.io.Serializable {/* The reason for the return. */private java.lang.String reason;public Rma() {}public Rma(java.lang.String reason) {this.reason = reason;}/*** Gets the reason value for this Rma.** @return reason * The reason for the return.*/public java.lang.String getReason() {return reason;}/*** Sets the reason value for this Rma.** @param reason * The reason for the return.*/public void setReason(java.lang.String reason) {this.reason = reason;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof Rma)) return false;Rma other = (Rma) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((this.reason==null && other.getReason()==null) ||(this.reason!=null &&this.reason.equals(other.getReason())));__equalsCalc = null;return _equals;}private boolean __hashCodeCalc = false;public synchronized int hashCode() {if (__hashCodeCalc) {return 0;}__hashCodeCalc = true;int _hashCode = 1;if (getReason() != null) {_hashCode += getReason().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(Rma.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Rma"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("reason");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Reason"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));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);}}