All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fedex.ship.TrackReturnDetail Maven / Gradle / Ivy

The newest version!
/**
 * TrackReturnDetail.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;

public class TrackReturnDetail  implements java.io.Serializable {
    private com.fedex.ship.TrackReturnMovementStatusType movementStatus;

    private com.fedex.ship.TrackReturnLabelType labelType;

    private java.lang.String description;

    private java.lang.String authorizationName;

    public TrackReturnDetail() {
    }

    public TrackReturnDetail(
           com.fedex.ship.TrackReturnMovementStatusType movementStatus,
           com.fedex.ship.TrackReturnLabelType labelType,
           java.lang.String description,
           java.lang.String authorizationName) {
           this.movementStatus = movementStatus;
           this.labelType = labelType;
           this.description = description;
           this.authorizationName = authorizationName;
    }


    /**
     * Gets the movementStatus value for this TrackReturnDetail.
     * 
     * @return movementStatus
     */
    public com.fedex.ship.TrackReturnMovementStatusType getMovementStatus() {
        return movementStatus;
    }


    /**
     * Sets the movementStatus value for this TrackReturnDetail.
     * 
     * @param movementStatus
     */
    public void setMovementStatus(com.fedex.ship.TrackReturnMovementStatusType movementStatus) {
        this.movementStatus = movementStatus;
    }


    /**
     * Gets the labelType value for this TrackReturnDetail.
     * 
     * @return labelType
     */
    public com.fedex.ship.TrackReturnLabelType getLabelType() {
        return labelType;
    }


    /**
     * Sets the labelType value for this TrackReturnDetail.
     * 
     * @param labelType
     */
    public void setLabelType(com.fedex.ship.TrackReturnLabelType labelType) {
        this.labelType = labelType;
    }


    /**
     * Gets the description value for this TrackReturnDetail.
     * 
     * @return description
     */
    public java.lang.String getDescription() {
        return description;
    }


    /**
     * Sets the description value for this TrackReturnDetail.
     * 
     * @param description
     */
    public void setDescription(java.lang.String description) {
        this.description = description;
    }


    /**
     * Gets the authorizationName value for this TrackReturnDetail.
     * 
     * @return authorizationName
     */
    public java.lang.String getAuthorizationName() {
        return authorizationName;
    }


    /**
     * Sets the authorizationName value for this TrackReturnDetail.
     * 
     * @param authorizationName
     */
    public void setAuthorizationName(java.lang.String authorizationName) {
        this.authorizationName = authorizationName;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof TrackReturnDetail)) return false;
        TrackReturnDetail other = (TrackReturnDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.movementStatus==null && other.getMovementStatus()==null) || 
             (this.movementStatus!=null &&
              this.movementStatus.equals(other.getMovementStatus()))) &&
            ((this.labelType==null && other.getLabelType()==null) || 
             (this.labelType!=null &&
              this.labelType.equals(other.getLabelType()))) &&
            ((this.description==null && other.getDescription()==null) || 
             (this.description!=null &&
              this.description.equals(other.getDescription()))) &&
            ((this.authorizationName==null && other.getAuthorizationName()==null) || 
             (this.authorizationName!=null &&
              this.authorizationName.equals(other.getAuthorizationName())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getMovementStatus() != null) {
            _hashCode += getMovementStatus().hashCode();
        }
        if (getLabelType() != null) {
            _hashCode += getLabelType().hashCode();
        }
        if (getDescription() != null) {
            _hashCode += getDescription().hashCode();
        }
        if (getAuthorizationName() != null) {
            _hashCode += getAuthorizationName().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(TrackReturnDetail.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "TrackReturnDetail"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("movementStatus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "MovementStatus"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "TrackReturnMovementStatusType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("labelType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "LabelType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "TrackReturnLabelType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("description");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "Description"));
        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("authorizationName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v16", "AuthorizationName"));
        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) {
        return 
          new  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) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy