📄 _offerlisting.java
字号:
/**
* _OfferListing.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class _OfferListing implements java.io.Serializable {
private java.lang.String offerListingId;
private java.lang.String exchangeId;
private com.amazon.xml.AWSECommerceService.Price price;
private com.amazon.xml.AWSECommerceService.Price salePrice;
private java.lang.String availability;
private com.amazon.xml.AWSECommerceService.Address ISPUStoreAddress;
private java.lang.String ISPUStoreHours;
public _OfferListing() {
}
public java.lang.String getOfferListingId() {
return offerListingId;
}
public void setOfferListingId(java.lang.String offerListingId) {
this.offerListingId = offerListingId;
}
public java.lang.String getExchangeId() {
return exchangeId;
}
public void setExchangeId(java.lang.String exchangeId) {
this.exchangeId = exchangeId;
}
public com.amazon.xml.AWSECommerceService.Price getPrice() {
return price;
}
public void setPrice(com.amazon.xml.AWSECommerceService.Price price) {
this.price = price;
}
public com.amazon.xml.AWSECommerceService.Price getSalePrice() {
return salePrice;
}
public void setSalePrice(com.amazon.xml.AWSECommerceService.Price salePrice) {
this.salePrice = salePrice;
}
public java.lang.String getAvailability() {
return availability;
}
public void setAvailability(java.lang.String availability) {
this.availability = availability;
}
public com.amazon.xml.AWSECommerceService.Address getISPUStoreAddress() {
return ISPUStoreAddress;
}
public void setISPUStoreAddress(com.amazon.xml.AWSECommerceService.Address ISPUStoreAddress) {
this.ISPUStoreAddress = ISPUStoreAddress;
}
public java.lang.String getISPUStoreHours() {
return ISPUStoreHours;
}
public void setISPUStoreHours(java.lang.String ISPUStoreHours) {
this.ISPUStoreHours = ISPUStoreHours;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _OfferListing)) return false;
_OfferListing other = (_OfferListing) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.offerListingId==null && other.getOfferListingId()==null) ||
(this.offerListingId!=null &&
this.offerListingId.equals(other.getOfferListingId()))) &&
((this.exchangeId==null && other.getExchangeId()==null) ||
(this.exchangeId!=null &&
this.exchangeId.equals(other.getExchangeId()))) &&
((this.price==null && other.getPrice()==null) ||
(this.price!=null &&
this.price.equals(other.getPrice()))) &&
((this.salePrice==null && other.getSalePrice()==null) ||
(this.salePrice!=null &&
this.salePrice.equals(other.getSalePrice()))) &&
((this.availability==null && other.getAvailability()==null) ||
(this.availability!=null &&
this.availability.equals(other.getAvailability()))) &&
((this.ISPUStoreAddress==null && other.getISPUStoreAddress()==null) ||
(this.ISPUStoreAddress!=null &&
this.ISPUStoreAddress.equals(other.getISPUStoreAddress()))) &&
((this.ISPUStoreHours==null && other.getISPUStoreHours()==null) ||
(this.ISPUStoreHours!=null &&
this.ISPUStoreHours.equals(other.getISPUStoreHours())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getOfferListingId() != null) {
_hashCode += getOfferListingId().hashCode();
}
if (getExchangeId() != null) {
_hashCode += getExchangeId().hashCode();
}
if (getPrice() != null) {
_hashCode += getPrice().hashCode();
}
if (getSalePrice() != null) {
_hashCode += getSalePrice().hashCode();
}
if (getAvailability() != null) {
_hashCode += getAvailability().hashCode();
}
if (getISPUStoreAddress() != null) {
_hashCode += getISPUStoreAddress().hashCode();
}
if (getISPUStoreHours() != null) {
_hashCode += getISPUStoreHours().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_OfferListing.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">OfferListing"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("offerListingId");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "OfferListingId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("exchangeId");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ExchangeId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("price");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("salePrice");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SalePrice"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Price"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("availability");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Availability"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ISPUStoreAddress");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ISPUStoreAddress"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Address"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ISPUStoreHours");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ISPUStoreHours"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
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 + -