📄 _transaction_shipments.java
字号:
/**
* _Transaction_Shipments.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class _Transaction_Shipments implements java.io.Serializable {
private com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment[] shipment;
public _Transaction_Shipments() {
}
public com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment[] getShipment() {
return shipment;
}
public void setShipment(com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment[] shipment) {
this.shipment = shipment;
}
public com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment getShipment(int i) {
return shipment[i];
}
public void setShipment(int i, com.amazon.xml.AWSECommerceService._Transaction_Shipments_Shipment value) {
this.shipment[i] = value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _Transaction_Shipments)) return false;
_Transaction_Shipments other = (_Transaction_Shipments) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.shipment==null && other.getShipment()==null) ||
(this.shipment!=null &&
java.util.Arrays.equals(this.shipment, other.getShipment())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getShipment() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getShipment());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getShipment(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_Transaction_Shipments.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("shipment");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Shipment"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">Transaction>Shipments>Shipment"));
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 + -