📄 _offerattributes.java
字号:
/**
* _OfferAttributes.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class _OfferAttributes implements java.io.Serializable {
private java.lang.String condition;
private java.lang.String subCondition;
private java.lang.String conditionNote;
public _OfferAttributes() {
}
public java.lang.String getCondition() {
return condition;
}
public void setCondition(java.lang.String condition) {
this.condition = condition;
}
public java.lang.String getSubCondition() {
return subCondition;
}
public void setSubCondition(java.lang.String subCondition) {
this.subCondition = subCondition;
}
public java.lang.String getConditionNote() {
return conditionNote;
}
public void setConditionNote(java.lang.String conditionNote) {
this.conditionNote = conditionNote;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _OfferAttributes)) return false;
_OfferAttributes other = (_OfferAttributes) 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.subCondition==null && other.getSubCondition()==null) ||
(this.subCondition!=null &&
this.subCondition.equals(other.getSubCondition()))) &&
((this.conditionNote==null && other.getConditionNote()==null) ||
(this.conditionNote!=null &&
this.conditionNote.equals(other.getConditionNote())));
__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 (getSubCondition() != null) {
_hashCode += getSubCondition().hashCode();
}
if (getConditionNote() != null) {
_hashCode += getConditionNote().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_OfferAttributes.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", ">OfferAttributes"));
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"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("subCondition");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "SubCondition"));
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("conditionNote");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ConditionNote"));
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 + -