
com.fedex.ship.AppointmentDetail Maven / Gradle / Ivy
The newest version!
/**
* AppointmentDetail.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;
/**
* Specifies the different appointment times on a specific date.
*/
public class AppointmentDetail implements java.io.Serializable {
private java.util.Date date;
/* Different appointment time windows on the date specified. */
private com.fedex.ship.AppointmentTimeDetail[] windowDetails;
public AppointmentDetail() {
}
public AppointmentDetail(
java.util.Date date,
com.fedex.ship.AppointmentTimeDetail[] windowDetails) {
this.date = date;
this.windowDetails = windowDetails;
}
/**
* Gets the date value for this AppointmentDetail.
*
* @return date
*/
public java.util.Date getDate() {
return date;
}
/**
* Sets the date value for this AppointmentDetail.
*
* @param date
*/
public void setDate(java.util.Date date) {
this.date = date;
}
/**
* Gets the windowDetails value for this AppointmentDetail.
*
* @return windowDetails * Different appointment time windows on the date specified.
*/
public com.fedex.ship.AppointmentTimeDetail[] getWindowDetails() {
return windowDetails;
}
/**
* Sets the windowDetails value for this AppointmentDetail.
*
* @param windowDetails * Different appointment time windows on the date specified.
*/
public void setWindowDetails(com.fedex.ship.AppointmentTimeDetail[] windowDetails) {
this.windowDetails = windowDetails;
}
public com.fedex.ship.AppointmentTimeDetail getWindowDetails(int i) {
return this.windowDetails[i];
}
public void setWindowDetails(int i, com.fedex.ship.AppointmentTimeDetail _value) {
this.windowDetails[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AppointmentDetail)) return false;
AppointmentDetail other = (AppointmentDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.date==null && other.getDate()==null) ||
(this.date!=null &&
this.date.equals(other.getDate()))) &&
((this.windowDetails==null && other.getWindowDetails()==null) ||
(this.windowDetails!=null &&
java.util.Arrays.equals(this.windowDetails, other.getWindowDetails())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getDate() != null) {
_hashCode += getDate().hashCode();
}
if (getWindowDetails() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy