📄 _transaction_shipments_shipment.java
字号:
/**
* _Transaction_Shipments_Shipment.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class _Transaction_Shipments_Shipment implements java.io.Serializable {
private java.lang.String condition;
private java.lang.String deliveryMethod;
private com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_ShipmentItems shipmentItems;
private com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_Packages packages;
public _Transaction_Shipments_Shipment() {
}
public java.lang.String getCondition() {
return condition;
}
public void setCondition(java.lang.String condition) {
this.condition = condition;
}
public java.lang.String getDeliveryMethod() {
return deliveryMethod;
}
public void setDeliveryMethod(java.lang.String deliveryMethod) {
this.deliveryMethod = deliveryMethod;
}
public com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_ShipmentItems getShipmentItems() {
return shipmentItems;
}
public void setShipmentItems(com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_ShipmentItems shipmentItems) {
this.shipmentItems = shipmentItems;
}
public com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_Packages getPackages() {
return packages;
}
public void setPackages(com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment_Packages packages) {
this.packages = packages;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _Transaction_Shipments_Shipment)) return false;
_Transaction_Shipments_Shipment other = (_Transaction_Shipments_Shipment) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.condition==null && other.getCondition()==null) ||
(this.condition!=null &&
this.condition.equals(other.getCondition()))) &&
((this.deliveryMethod==null && other.getDeliveryMethod()==null) ||
(this.deliveryMethod!=null &&
this.deliveryMethod.equals(other.getDeliveryMethod()))) &&
((this.shipmentItems==null && other.getShipmentItems()==null) ||
(this.shipmentItems!=null &&
this.shipmentItems.equals(other.getShipmentItems()))) &&
((this.packages==null && other.getPackages()==null) ||
(this.packages!=null &&
this.packages.equals(other.getPackages())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCondition() != null) {
_hashCode += getCondition().hashCode();
}
if (getDeliveryMethod() != null) {
_hashCode += getDeliveryMethod().hashCode();
}
if (getShipmentItems() != null) {
_hashCode += getShipmentItems().hashCode();
}
if (getPackages() != null) {
_hashCode += getPackages().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_Transaction_Shipments_Shipment.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments>Shipment"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("condition");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Condition"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("deliveryMethod");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "DeliveryMethod"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("shipmentItems");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ShipmentItems"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments>Shipment>ShipmentItems"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("packages");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Packages"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments>Shipment>Packages"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -