com.allegro.webapi.FutureItemStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allegro-webapi Show documentation
Show all versions of allegro-webapi Show documentation
Allegro Web API WSDL converted to Java
/**
* FutureItemStruct.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.allegro.webapi;
public class FutureItemStruct implements java.io.Serializable {
private long itemId;
private java.lang.String itemTitle;
private java.lang.String itemThumbnailUrl;
private com.allegro.webapi.ArrayOfItempricestruct itemPrice;
private int itemStartQuantity;
private int itemQuantityType;
private long itemStartTime;
private int itemCategoryId;
private java.lang.String itemNote;
private int itemSpecialInfo;
private int itemShopInfo;
private long itemProductInfo;
private int itemPayuInfo;
private int itemStatus;
public FutureItemStruct() {
}
public FutureItemStruct(
long itemId,
java.lang.String itemTitle,
java.lang.String itemThumbnailUrl,
com.allegro.webapi.ArrayOfItempricestruct itemPrice,
int itemStartQuantity,
int itemQuantityType,
long itemStartTime,
int itemCategoryId,
java.lang.String itemNote,
int itemSpecialInfo,
int itemShopInfo,
long itemProductInfo,
int itemPayuInfo,
int itemStatus) {
this.itemId = itemId;
this.itemTitle = itemTitle;
this.itemThumbnailUrl = itemThumbnailUrl;
this.itemPrice = itemPrice;
this.itemStartQuantity = itemStartQuantity;
this.itemQuantityType = itemQuantityType;
this.itemStartTime = itemStartTime;
this.itemCategoryId = itemCategoryId;
this.itemNote = itemNote;
this.itemSpecialInfo = itemSpecialInfo;
this.itemShopInfo = itemShopInfo;
this.itemProductInfo = itemProductInfo;
this.itemPayuInfo = itemPayuInfo;
this.itemStatus = itemStatus;
}
/**
* Gets the itemId value for this FutureItemStruct.
*
* @return itemId
*/
public long getItemId() {
return itemId;
}
/**
* Sets the itemId value for this FutureItemStruct.
*
* @param itemId
*/
public void setItemId(long itemId) {
this.itemId = itemId;
}
/**
* Gets the itemTitle value for this FutureItemStruct.
*
* @return itemTitle
*/
public java.lang.String getItemTitle() {
return itemTitle;
}
/**
* Sets the itemTitle value for this FutureItemStruct.
*
* @param itemTitle
*/
public void setItemTitle(java.lang.String itemTitle) {
this.itemTitle = itemTitle;
}
/**
* Gets the itemThumbnailUrl value for this FutureItemStruct.
*
* @return itemThumbnailUrl
*/
public java.lang.String getItemThumbnailUrl() {
return itemThumbnailUrl;
}
/**
* Sets the itemThumbnailUrl value for this FutureItemStruct.
*
* @param itemThumbnailUrl
*/
public void setItemThumbnailUrl(java.lang.String itemThumbnailUrl) {
this.itemThumbnailUrl = itemThumbnailUrl;
}
/**
* Gets the itemPrice value for this FutureItemStruct.
*
* @return itemPrice
*/
public com.allegro.webapi.ArrayOfItempricestruct getItemPrice() {
return itemPrice;
}
/**
* Sets the itemPrice value for this FutureItemStruct.
*
* @param itemPrice
*/
public void setItemPrice(com.allegro.webapi.ArrayOfItempricestruct itemPrice) {
this.itemPrice = itemPrice;
}
/**
* Gets the itemStartQuantity value for this FutureItemStruct.
*
* @return itemStartQuantity
*/
public int getItemStartQuantity() {
return itemStartQuantity;
}
/**
* Sets the itemStartQuantity value for this FutureItemStruct.
*
* @param itemStartQuantity
*/
public void setItemStartQuantity(int itemStartQuantity) {
this.itemStartQuantity = itemStartQuantity;
}
/**
* Gets the itemQuantityType value for this FutureItemStruct.
*
* @return itemQuantityType
*/
public int getItemQuantityType() {
return itemQuantityType;
}
/**
* Sets the itemQuantityType value for this FutureItemStruct.
*
* @param itemQuantityType
*/
public void setItemQuantityType(int itemQuantityType) {
this.itemQuantityType = itemQuantityType;
}
/**
* Gets the itemStartTime value for this FutureItemStruct.
*
* @return itemStartTime
*/
public long getItemStartTime() {
return itemStartTime;
}
/**
* Sets the itemStartTime value for this FutureItemStruct.
*
* @param itemStartTime
*/
public void setItemStartTime(long itemStartTime) {
this.itemStartTime = itemStartTime;
}
/**
* Gets the itemCategoryId value for this FutureItemStruct.
*
* @return itemCategoryId
*/
public int getItemCategoryId() {
return itemCategoryId;
}
/**
* Sets the itemCategoryId value for this FutureItemStruct.
*
* @param itemCategoryId
*/
public void setItemCategoryId(int itemCategoryId) {
this.itemCategoryId = itemCategoryId;
}
/**
* Gets the itemNote value for this FutureItemStruct.
*
* @return itemNote
*/
public java.lang.String getItemNote() {
return itemNote;
}
/**
* Sets the itemNote value for this FutureItemStruct.
*
* @param itemNote
*/
public void setItemNote(java.lang.String itemNote) {
this.itemNote = itemNote;
}
/**
* Gets the itemSpecialInfo value for this FutureItemStruct.
*
* @return itemSpecialInfo
*/
public int getItemSpecialInfo() {
return itemSpecialInfo;
}
/**
* Sets the itemSpecialInfo value for this FutureItemStruct.
*
* @param itemSpecialInfo
*/
public void setItemSpecialInfo(int itemSpecialInfo) {
this.itemSpecialInfo = itemSpecialInfo;
}
/**
* Gets the itemShopInfo value for this FutureItemStruct.
*
* @return itemShopInfo
*/
public int getItemShopInfo() {
return itemShopInfo;
}
/**
* Sets the itemShopInfo value for this FutureItemStruct.
*
* @param itemShopInfo
*/
public void setItemShopInfo(int itemShopInfo) {
this.itemShopInfo = itemShopInfo;
}
/**
* Gets the itemProductInfo value for this FutureItemStruct.
*
* @return itemProductInfo
*/
public long getItemProductInfo() {
return itemProductInfo;
}
/**
* Sets the itemProductInfo value for this FutureItemStruct.
*
* @param itemProductInfo
*/
public void setItemProductInfo(long itemProductInfo) {
this.itemProductInfo = itemProductInfo;
}
/**
* Gets the itemPayuInfo value for this FutureItemStruct.
*
* @return itemPayuInfo
*/
public int getItemPayuInfo() {
return itemPayuInfo;
}
/**
* Sets the itemPayuInfo value for this FutureItemStruct.
*
* @param itemPayuInfo
*/
public void setItemPayuInfo(int itemPayuInfo) {
this.itemPayuInfo = itemPayuInfo;
}
/**
* Gets the itemStatus value for this FutureItemStruct.
*
* @return itemStatus
*/
public int getItemStatus() {
return itemStatus;
}
/**
* Sets the itemStatus value for this FutureItemStruct.
*
* @param itemStatus
*/
public void setItemStatus(int itemStatus) {
this.itemStatus = itemStatus;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof FutureItemStruct)) return false;
FutureItemStruct other = (FutureItemStruct) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
this.itemId == other.getItemId() &&
((this.itemTitle==null && other.getItemTitle()==null) ||
(this.itemTitle!=null &&
this.itemTitle.equals(other.getItemTitle()))) &&
((this.itemThumbnailUrl==null && other.getItemThumbnailUrl()==null) ||
(this.itemThumbnailUrl!=null &&
this.itemThumbnailUrl.equals(other.getItemThumbnailUrl()))) &&
((this.itemPrice==null && other.getItemPrice()==null) ||
(this.itemPrice!=null &&
this.itemPrice.equals(other.getItemPrice()))) &&
this.itemStartQuantity == other.getItemStartQuantity() &&
this.itemQuantityType == other.getItemQuantityType() &&
this.itemStartTime == other.getItemStartTime() &&
this.itemCategoryId == other.getItemCategoryId() &&
((this.itemNote==null && other.getItemNote()==null) ||
(this.itemNote!=null &&
this.itemNote.equals(other.getItemNote()))) &&
this.itemSpecialInfo == other.getItemSpecialInfo() &&
this.itemShopInfo == other.getItemShopInfo() &&
this.itemProductInfo == other.getItemProductInfo() &&
this.itemPayuInfo == other.getItemPayuInfo() &&
this.itemStatus == other.getItemStatus();
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
_hashCode += new Long(getItemId()).hashCode();
if (getItemTitle() != null) {
_hashCode += getItemTitle().hashCode();
}
if (getItemThumbnailUrl() != null) {
_hashCode += getItemThumbnailUrl().hashCode();
}
if (getItemPrice() != null) {
_hashCode += getItemPrice().hashCode();
}
_hashCode += getItemStartQuantity();
_hashCode += getItemQuantityType();
_hashCode += new Long(getItemStartTime()).hashCode();
_hashCode += getItemCategoryId();
if (getItemNote() != null) {
_hashCode += getItemNote().hashCode();
}
_hashCode += getItemSpecialInfo();
_hashCode += getItemShopInfo();
_hashCode += new Long(getItemProductInfo()).hashCode();
_hashCode += getItemPayuInfo();
_hashCode += getItemStatus();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(FutureItemStruct.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "FutureItemStruct"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemId");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemTitle");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemTitle"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemThumbnailUrl");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemThumbnailUrl"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemPrice");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemPrice"));
elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfItempricestruct"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemStartQuantity");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemStartQuantity"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemQuantityType");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemQuantityType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemStartTime");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemStartTime"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemCategoryId");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemCategoryId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemNote");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemNote"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemSpecialInfo");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemSpecialInfo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemShopInfo");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemShopInfo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemProductInfo");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemProductInfo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemPayuInfo");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemPayuInfo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemStatus");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemStatus"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
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);
}
}