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

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

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


/**
 * Options available for a tracking notification recipient.
 */
public class TrackNotificationRecipientDetail  implements java.io.Serializable {
    private com.fedex.ship.NotificationEventType[] notificationEventsAvailable;

    public TrackNotificationRecipientDetail() {
    }

    public TrackNotificationRecipientDetail(
           com.fedex.ship.NotificationEventType[] notificationEventsAvailable) {
           this.notificationEventsAvailable = notificationEventsAvailable;
    }


    /**
     * Gets the notificationEventsAvailable value for this TrackNotificationRecipientDetail.
     * 
     * @return notificationEventsAvailable
     */
    public com.fedex.ship.NotificationEventType[] getNotificationEventsAvailable() {
        return notificationEventsAvailable;
    }


    /**
     * Sets the notificationEventsAvailable value for this TrackNotificationRecipientDetail.
     * 
     * @param notificationEventsAvailable
     */
    public void setNotificationEventsAvailable(com.fedex.ship.NotificationEventType[] notificationEventsAvailable) {
        this.notificationEventsAvailable = notificationEventsAvailable;
    }

    public com.fedex.ship.NotificationEventType getNotificationEventsAvailable(int i) {
        return this.notificationEventsAvailable[i];
    }

    public void setNotificationEventsAvailable(int i, com.fedex.ship.NotificationEventType _value) {
        this.notificationEventsAvailable[i] = _value;
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy