
com.fedex.rate.stub.ShipmentVariationOptionDetail Maven / Gradle / Ivy
The newest version!
/**
* ShipmentVariationOptionDetail.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.rate.stub;
public class ShipmentVariationOptionDetail implements java.io.Serializable {
/* Specifies the name or the key for the shipment variation. */
private java.lang.String id;
/* The values that are valid for the specified shipment variation
* in the context of the current shipment. */
private java.lang.String[] values;
public ShipmentVariationOptionDetail() {
}
public ShipmentVariationOptionDetail(
java.lang.String id,
java.lang.String[] values) {
this.id = id;
this.values = values;
}
/**
* Gets the id value for this ShipmentVariationOptionDetail.
*
* @return id * Specifies the name or the key for the shipment variation.
*/
public java.lang.String getId() {
return id;
}
/**
* Sets the id value for this ShipmentVariationOptionDetail.
*
* @param id * Specifies the name or the key for the shipment variation.
*/
public void setId(java.lang.String id) {
this.id = id;
}
/**
* Gets the values value for this ShipmentVariationOptionDetail.
*
* @return values * The values that are valid for the specified shipment variation
* in the context of the current shipment.
*/
public java.lang.String[] getValues() {
return values;
}
/**
* Sets the values value for this ShipmentVariationOptionDetail.
*
* @param values * The values that are valid for the specified shipment variation
* in the context of the current shipment.
*/
public void setValues(java.lang.String[] values) {
this.values = values;
}
public java.lang.String getValues(int i) {
return this.values[i];
}
public void setValues(int i, java.lang.String _value) {
this.values[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShipmentVariationOptionDetail)) return false;
ShipmentVariationOptionDetail other = (ShipmentVariationOptionDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.id==null && other.getId()==null) ||
(this.id!=null &&
this.id.equals(other.getId()))) &&
((this.values==null && other.getValues()==null) ||
(this.values!=null &&
java.util.Arrays.equals(this.values, other.getValues())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getId() != null) {
_hashCode += getId().hashCode();
}
if (getValues() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy