
com.fedex.track.stub.ShipmentEventNotificationDetail Maven / Gradle / Ivy
The newest version!
/**
* ShipmentEventNotificationDetail.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.track.stub;
public class ShipmentEventNotificationDetail implements java.io.Serializable {
private com.fedex.track.stub.ShipmentNotificationAggregationType aggregationType;
private java.lang.String personalMessage;
private com.fedex.track.stub.ShipmentEventNotificationSpecification[] eventNotifications;
public ShipmentEventNotificationDetail() {
}
public ShipmentEventNotificationDetail(
com.fedex.track.stub.ShipmentNotificationAggregationType aggregationType,
java.lang.String personalMessage,
com.fedex.track.stub.ShipmentEventNotificationSpecification[] eventNotifications) {
this.aggregationType = aggregationType;
this.personalMessage = personalMessage;
this.eventNotifications = eventNotifications;
}
/**
* Gets the aggregationType value for this ShipmentEventNotificationDetail.
*
* @return aggregationType
*/
public com.fedex.track.stub.ShipmentNotificationAggregationType getAggregationType() {
return aggregationType;
}
/**
* Sets the aggregationType value for this ShipmentEventNotificationDetail.
*
* @param aggregationType
*/
public void setAggregationType(com.fedex.track.stub.ShipmentNotificationAggregationType aggregationType) {
this.aggregationType = aggregationType;
}
/**
* Gets the personalMessage value for this ShipmentEventNotificationDetail.
*
* @return personalMessage
*/
public java.lang.String getPersonalMessage() {
return personalMessage;
}
/**
* Sets the personalMessage value for this ShipmentEventNotificationDetail.
*
* @param personalMessage
*/
public void setPersonalMessage(java.lang.String personalMessage) {
this.personalMessage = personalMessage;
}
/**
* Gets the eventNotifications value for this ShipmentEventNotificationDetail.
*
* @return eventNotifications
*/
public com.fedex.track.stub.ShipmentEventNotificationSpecification[] getEventNotifications() {
return eventNotifications;
}
/**
* Sets the eventNotifications value for this ShipmentEventNotificationDetail.
*
* @param eventNotifications
*/
public void setEventNotifications(com.fedex.track.stub.ShipmentEventNotificationSpecification[] eventNotifications) {
this.eventNotifications = eventNotifications;
}
public com.fedex.track.stub.ShipmentEventNotificationSpecification getEventNotifications(int i) {
return this.eventNotifications[i];
}
public void setEventNotifications(int i, com.fedex.track.stub.ShipmentEventNotificationSpecification _value) {
this.eventNotifications[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShipmentEventNotificationDetail)) return false;
ShipmentEventNotificationDetail other = (ShipmentEventNotificationDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.aggregationType==null && other.getAggregationType()==null) ||
(this.aggregationType!=null &&
this.aggregationType.equals(other.getAggregationType()))) &&
((this.personalMessage==null && other.getPersonalMessage()==null) ||
(this.personalMessage!=null &&
this.personalMessage.equals(other.getPersonalMessage()))) &&
((this.eventNotifications==null && other.getEventNotifications()==null) ||
(this.eventNotifications!=null &&
java.util.Arrays.equals(this.eventNotifications, other.getEventNotifications())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAggregationType() != null) {
_hashCode += getAggregationType().hashCode();
}
if (getPersonalMessage() != null) {
_hashCode += getPersonalMessage().hashCode();
}
if (getEventNotifications() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy