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

com.fedex.rate.stub.RecommendedDocumentSpecification Maven / Gradle / Ivy

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


/**
 * Specifies the details about documents that are recommended to be
 * included with the shipment for ease of shipment processing and transportation.
 */
public class RecommendedDocumentSpecification  implements java.io.Serializable {
    private com.fedex.rate.stub.RecommendedDocumentType[] types;

    public RecommendedDocumentSpecification() {
    }

    public RecommendedDocumentSpecification(
           com.fedex.rate.stub.RecommendedDocumentType[] types) {
           this.types = types;
    }


    /**
     * Gets the types value for this RecommendedDocumentSpecification.
     * 
     * @return types
     */
    public com.fedex.rate.stub.RecommendedDocumentType[] getTypes() {
        return types;
    }


    /**
     * Sets the types value for this RecommendedDocumentSpecification.
     * 
     * @param types
     */
    public void setTypes(com.fedex.rate.stub.RecommendedDocumentType[] types) {
        this.types = types;
    }

    public com.fedex.rate.stub.RecommendedDocumentType getTypes(int i) {
        return this.types[i];
    }

    public void setTypes(int i, com.fedex.rate.stub.RecommendedDocumentType _value) {
        this.types[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RecommendedDocumentSpecification)) return false;
        RecommendedDocumentSpecification other = (RecommendedDocumentSpecification) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.types==null && other.getTypes()==null) || 
             (this.types!=null &&
              java.util.Arrays.equals(this.types, other.getTypes())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getTypes() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy