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

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

The newest version!
/**
 * PriorityAlertDetail.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 PriorityAlertDetail  implements java.io.Serializable {
    private com.fedex.ship.stub.PriorityAlertEnhancementType[] enhancementTypes;

    private java.lang.String[] content;

    public PriorityAlertDetail() {
    }

    public PriorityAlertDetail(
           com.fedex.ship.stub.PriorityAlertEnhancementType[] enhancementTypes,
           java.lang.String[] content) {
           this.enhancementTypes = enhancementTypes;
           this.content = content;
    }


    /**
     * Gets the enhancementTypes value for this PriorityAlertDetail.
     * 
     * @return enhancementTypes
     */
    public com.fedex.ship.stub.PriorityAlertEnhancementType[] getEnhancementTypes() {
        return enhancementTypes;
    }


    /**
     * Sets the enhancementTypes value for this PriorityAlertDetail.
     * 
     * @param enhancementTypes
     */
    public void setEnhancementTypes(com.fedex.ship.stub.PriorityAlertEnhancementType[] enhancementTypes) {
        this.enhancementTypes = enhancementTypes;
    }

    public com.fedex.ship.stub.PriorityAlertEnhancementType getEnhancementTypes(int i) {
        return this.enhancementTypes[i];
    }

    public void setEnhancementTypes(int i, com.fedex.ship.stub.PriorityAlertEnhancementType _value) {
        this.enhancementTypes[i] = _value;
    }


    /**
     * Gets the content value for this PriorityAlertDetail.
     * 
     * @return content
     */
    public java.lang.String[] getContent() {
        return content;
    }


    /**
     * Sets the content value for this PriorityAlertDetail.
     * 
     * @param content
     */
    public void setContent(java.lang.String[] content) {
        this.content = content;
    }

    public java.lang.String getContent(int i) {
        return this.content[i];
    }

    public void setContent(int i, java.lang.String _value) {
        this.content[i] = _value;
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy