
com.fedex.ship.stub.ShipmentEventNotificationSpecification Maven / Gradle / Ivy
The newest version!
/**
* ShipmentEventNotificationSpecification.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 ShipmentEventNotificationSpecification implements java.io.Serializable {
private com.fedex.ship.stub.ShipmentNotificationRoleType role;
private com.fedex.ship.stub.NotificationEventType[] events;
private com.fedex.ship.stub.NotificationDetail notificationDetail;
private com.fedex.ship.stub.ShipmentNotificationFormatSpecification formatSpecification;
public ShipmentEventNotificationSpecification() {
}
public ShipmentEventNotificationSpecification(
com.fedex.ship.stub.ShipmentNotificationRoleType role,
com.fedex.ship.stub.NotificationEventType[] events,
com.fedex.ship.stub.NotificationDetail notificationDetail,
com.fedex.ship.stub.ShipmentNotificationFormatSpecification formatSpecification) {
this.role = role;
this.events = events;
this.notificationDetail = notificationDetail;
this.formatSpecification = formatSpecification;
}
/**
* Gets the role value for this ShipmentEventNotificationSpecification.
*
* @return role
*/
public com.fedex.ship.stub.ShipmentNotificationRoleType getRole() {
return role;
}
/**
* Sets the role value for this ShipmentEventNotificationSpecification.
*
* @param role
*/
public void setRole(com.fedex.ship.stub.ShipmentNotificationRoleType role) {
this.role = role;
}
/**
* Gets the events value for this ShipmentEventNotificationSpecification.
*
* @return events
*/
public com.fedex.ship.stub.NotificationEventType[] getEvents() {
return events;
}
/**
* Sets the events value for this ShipmentEventNotificationSpecification.
*
* @param events
*/
public void setEvents(com.fedex.ship.stub.NotificationEventType[] events) {
this.events = events;
}
public com.fedex.ship.stub.NotificationEventType getEvents(int i) {
return this.events[i];
}
public void setEvents(int i, com.fedex.ship.stub.NotificationEventType _value) {
this.events[i] = _value;
}
/**
* Gets the notificationDetail value for this ShipmentEventNotificationSpecification.
*
* @return notificationDetail
*/
public com.fedex.ship.stub.NotificationDetail getNotificationDetail() {
return notificationDetail;
}
/**
* Sets the notificationDetail value for this ShipmentEventNotificationSpecification.
*
* @param notificationDetail
*/
public void setNotificationDetail(com.fedex.ship.stub.NotificationDetail notificationDetail) {
this.notificationDetail = notificationDetail;
}
/**
* Gets the formatSpecification value for this ShipmentEventNotificationSpecification.
*
* @return formatSpecification
*/
public com.fedex.ship.stub.ShipmentNotificationFormatSpecification getFormatSpecification() {
return formatSpecification;
}
/**
* Sets the formatSpecification value for this ShipmentEventNotificationSpecification.
*
* @param formatSpecification
*/
public void setFormatSpecification(com.fedex.ship.stub.ShipmentNotificationFormatSpecification formatSpecification) {
this.formatSpecification = formatSpecification;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShipmentEventNotificationSpecification)) return false;
ShipmentEventNotificationSpecification other = (ShipmentEventNotificationSpecification) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.role==null && other.getRole()==null) ||
(this.role!=null &&
this.role.equals(other.getRole()))) &&
((this.events==null && other.getEvents()==null) ||
(this.events!=null &&
java.util.Arrays.equals(this.events, other.getEvents()))) &&
((this.notificationDetail==null && other.getNotificationDetail()==null) ||
(this.notificationDetail!=null &&
this.notificationDetail.equals(other.getNotificationDetail()))) &&
((this.formatSpecification==null && other.getFormatSpecification()==null) ||
(this.formatSpecification!=null &&
this.formatSpecification.equals(other.getFormatSpecification())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getRole() != null) {
_hashCode += getRole().hashCode();
}
if (getEvents() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy