📄 listsearchrequest.java
字号:
/**
* ListSearchRequest.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.amazon.xml.AWSECommerceService;
public class ListSearchRequest implements java.io.Serializable {
private java.lang.String city;
private java.lang.String email;
private java.lang.String firstName;
private java.lang.String lastName;
private org.apache.axis.types.PositiveInteger listPage;
private com.amazon.xml.AWSECommerceService.ListSearchRequest_ListType listType;
private java.lang.String name;
private java.lang.String[] responseGroup;
private java.lang.String state;
public ListSearchRequest() {
}
public java.lang.String getCity() {
return city;
}
public void setCity(java.lang.String city) {
this.city = city;
}
public java.lang.String getEmail() {
return email;
}
public void setEmail(java.lang.String email) {
this.email = email;
}
public java.lang.String getFirstName() {
return firstName;
}
public void setFirstName(java.lang.String firstName) {
this.firstName = firstName;
}
public java.lang.String getLastName() {
return lastName;
}
public void setLastName(java.lang.String lastName) {
this.lastName = lastName;
}
public org.apache.axis.types.PositiveInteger getListPage() {
return listPage;
}
public void setListPage(org.apache.axis.types.PositiveInteger listPage) {
this.listPage = listPage;
}
public com.amazon.xml.AWSECommerceService.ListSearchRequest_ListType getListType() {
return listType;
}
public void setListType(com.amazon.xml.AWSECommerceService.ListSearchRequest_ListType listType) {
this.listType = listType;
}
public java.lang.String getName() {
return name;
}
public void setName(java.lang.String name) {
this.name = name;
}
public java.lang.String[] getResponseGroup() {
return responseGroup;
}
public void setResponseGroup(java.lang.String[] responseGroup) {
this.responseGroup = responseGroup;
}
public java.lang.String getResponseGroup(int i) {
return responseGroup[i];
}
public void setResponseGroup(int i, java.lang.String value) {
this.responseGroup[i] = value;
}
public java.lang.String getState() {
return state;
}
public void setState(java.lang.String state) {
this.state = state;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ListSearchRequest)) return false;
ListSearchRequest other = (ListSearchRequest) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.city==null && other.getCity()==null) ||
(this.city!=null &&
this.city.equals(other.getCity()))) &&
((this.email==null && other.getEmail()==null) ||
(this.email!=null &&
this.email.equals(other.getEmail()))) &&
((this.firstName==null && other.getFirstName()==null) ||
(this.firstName!=null &&
this.firstName.equals(other.getFirstName()))) &&
((this.lastName==null && other.getLastName()==null) ||
(this.lastName!=null &&
this.lastName.equals(other.getLastName()))) &&
((this.listPage==null && other.getListPage()==null) ||
(this.listPage!=null &&
this.listPage.equals(other.getListPage()))) &&
((this.listType==null && other.getListType()==null) ||
(this.listType!=null &&
this.listType.equals(other.getListType()))) &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.responseGroup==null && other.getResponseGroup()==null) ||
(this.responseGroup!=null &&
java.util.Arrays.equals(this.responseGroup, other.getResponseGroup()))) &&
((this.state==null && other.getState()==null) ||
(this.state!=null &&
this.state.equals(other.getState())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCity() != null) {
_hashCode += getCity().hashCode();
}
if (getEmail() != null) {
_hashCode += getEmail().hashCode();
}
if (getFirstName() != null) {
_hashCode += getFirstName().hashCode();
}
if (getLastName() != null) {
_hashCode += getLastName().hashCode();
}
if (getListPage() != null) {
_hashCode += getListPage().hashCode();
}
if (getListType() != null) {
_hashCode += getListType().hashCode();
}
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getResponseGroup() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getResponseGroup());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getResponseGroup(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getState() != null) {
_hashCode += getState().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(ListSearchRequest.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ListSearchRequest"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("city");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "City"));
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("email");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Email"));
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("firstName");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "FirstName"));
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("lastName");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "LastName"));
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("listPage");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ListPage"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "positiveInteger"));
elemField.setMinOccurs(0);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("listType");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ListType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ListSearchRequest>ListType"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "Name"));
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("responseGroup");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "ResponseGroup"));
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("state");
elemField.setXmlName(new javax.xml.namespace.QName("http://xml.amazon.com/AWSECommerceService/2004-08-01", "State"));
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 + -