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

com.fedex.ship.stub.CompletedHoldAtLocationDetail Maven / Gradle / Ivy

The newest version!
/**
 * CompletedHoldAtLocationDetail.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 CompletedHoldAtLocationDetail  implements java.io.Serializable {
    /* Identifies the branded location name, the hold at location
     * phone number and the address of the location. */
    private com.fedex.ship.stub.ContactAndAddress holdingLocation;

    /* Identifies the type of FedEx location. */
    private com.fedex.ship.stub.FedExLocationType holdingLocationType;

    private java.lang.String holdingLocationTypeForDisplay;

    public CompletedHoldAtLocationDetail() {
    }

    public CompletedHoldAtLocationDetail(
           com.fedex.ship.stub.ContactAndAddress holdingLocation,
           com.fedex.ship.stub.FedExLocationType holdingLocationType,
           java.lang.String holdingLocationTypeForDisplay) {
           this.holdingLocation = holdingLocation;
           this.holdingLocationType = holdingLocationType;
           this.holdingLocationTypeForDisplay = holdingLocationTypeForDisplay;
    }


    /**
     * Gets the holdingLocation value for this CompletedHoldAtLocationDetail.
     * 
     * @return holdingLocation   * Identifies the branded location name, the hold at location
     * phone number and the address of the location.
     */
    public com.fedex.ship.stub.ContactAndAddress getHoldingLocation() {
        return holdingLocation;
    }


    /**
     * Sets the holdingLocation value for this CompletedHoldAtLocationDetail.
     * 
     * @param holdingLocation   * Identifies the branded location name, the hold at location
     * phone number and the address of the location.
     */
    public void setHoldingLocation(com.fedex.ship.stub.ContactAndAddress holdingLocation) {
        this.holdingLocation = holdingLocation;
    }


    /**
     * Gets the holdingLocationType value for this CompletedHoldAtLocationDetail.
     * 
     * @return holdingLocationType   * Identifies the type of FedEx location.
     */
    public com.fedex.ship.stub.FedExLocationType getHoldingLocationType() {
        return holdingLocationType;
    }


    /**
     * Sets the holdingLocationType value for this CompletedHoldAtLocationDetail.
     * 
     * @param holdingLocationType   * Identifies the type of FedEx location.
     */
    public void setHoldingLocationType(com.fedex.ship.stub.FedExLocationType holdingLocationType) {
        this.holdingLocationType = holdingLocationType;
    }


    /**
     * Gets the holdingLocationTypeForDisplay value for this CompletedHoldAtLocationDetail.
     * 
     * @return holdingLocationTypeForDisplay
     */
    public java.lang.String getHoldingLocationTypeForDisplay() {
        return holdingLocationTypeForDisplay;
    }


    /**
     * Sets the holdingLocationTypeForDisplay value for this CompletedHoldAtLocationDetail.
     * 
     * @param holdingLocationTypeForDisplay
     */
    public void setHoldingLocationTypeForDisplay(java.lang.String holdingLocationTypeForDisplay) {
        this.holdingLocationTypeForDisplay = holdingLocationTypeForDisplay;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof CompletedHoldAtLocationDetail)) return false;
        CompletedHoldAtLocationDetail other = (CompletedHoldAtLocationDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.holdingLocation==null && other.getHoldingLocation()==null) || 
             (this.holdingLocation!=null &&
              this.holdingLocation.equals(other.getHoldingLocation()))) &&
            ((this.holdingLocationType==null && other.getHoldingLocationType()==null) || 
             (this.holdingLocationType!=null &&
              this.holdingLocationType.equals(other.getHoldingLocationType()))) &&
            ((this.holdingLocationTypeForDisplay==null && other.getHoldingLocationTypeForDisplay()==null) || 
             (this.holdingLocationTypeForDisplay!=null &&
              this.holdingLocationTypeForDisplay.equals(other.getHoldingLocationTypeForDisplay())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getHoldingLocation() != null) {
            _hashCode += getHoldingLocation().hashCode();
        }
        if (getHoldingLocationType() != null) {
            _hashCode += getHoldingLocationType().hashCode();
        }
        if (getHoldingLocationTypeForDisplay() != null) {
            _hashCode += getHoldingLocationTypeForDisplay().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "CompletedHoldAtLocationDetail"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("holdingLocation");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "HoldingLocation"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "ContactAndAddress"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("holdingLocationType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "HoldingLocationType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "FedExLocationType"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("holdingLocationTypeForDisplay");
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v23", "HoldingLocationTypeForDisplay"));
        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