com.allegro.webapi.BidItemStruct 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
/**
* BidItemStruct.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 BidItemStruct 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 itemBidQuantity;
private int itemLeftQuantity;
private int itemQuantityType;
private long itemEndTime;
private java.lang.String itemEndTimeLeft;
private com.allegro.webapi.UserInfoStruct itemSeller;
private int itemBiddersCounter;
private com.allegro.webapi.UserInfoStruct itemHighestBidder;
private int itemCategoryId;
private int itemViewsCounter;
private java.lang.String itemNote;
private int itemSpecialInfo;
private int itemShopInfo;
private long itemProductInfo;
private int itemPayuInfo;
public BidItemStruct() {
}
public BidItemStruct(
long itemId,
java.lang.String itemTitle,
java.lang.String itemThumbnailUrl,
com.allegro.webapi.ArrayOfItempricestruct itemPrice,
int itemBidQuantity,
int itemLeftQuantity,
int itemQuantityType,
long itemEndTime,
java.lang.String itemEndTimeLeft,
com.allegro.webapi.UserInfoStruct itemSeller,
int itemBiddersCounter,
com.allegro.webapi.UserInfoStruct itemHighestBidder,
int itemCategoryId,
int itemViewsCounter,
java.lang.String itemNote,
int itemSpecialInfo,
int itemShopInfo,
long itemProductInfo,
int itemPayuInfo) {
this.itemId = itemId;
this.itemTitle = itemTitle;
this.itemThumbnailUrl = itemThumbnailUrl;
this.itemPrice = itemPrice;
this.itemBidQuantity = itemBidQuantity;
this.itemLeftQuantity = itemLeftQuantity;
this.itemQuantityType = itemQuantityType;
this.itemEndTime = itemEndTime;
this.itemEndTimeLeft = itemEndTimeLeft;
this.itemSeller = itemSeller;
this.itemBiddersCounter = itemBiddersCounter;
this.itemHighestBidder = itemHighestBidder;
this.itemCategoryId = itemCategoryId;
this.itemViewsCounter = itemViewsCounter;
this.itemNote = itemNote;
this.itemSpecialInfo = itemSpecialInfo;
this.itemShopInfo = itemShopInfo;
this.itemProductInfo = itemProductInfo;
this.itemPayuInfo = itemPayuInfo;
}
/**
* Gets the itemId value for this BidItemStruct.
*
* @return itemId
*/
public long getItemId() {
return itemId;
}
/**
* Sets the itemId value for this BidItemStruct.
*
* @param itemId
*/
public void setItemId(long itemId) {
this.itemId = itemId;
}
/**
* Gets the itemTitle value for this BidItemStruct.
*
* @return itemTitle
*/
public java.lang.String getItemTitle() {
return itemTitle;
}
/**
* Sets the itemTitle value for this BidItemStruct.
*
* @param itemTitle
*/
public void setItemTitle(java.lang.String itemTitle) {
this.itemTitle = itemTitle;
}
/**
* Gets the itemThumbnailUrl value for this BidItemStruct.
*
* @return itemThumbnailUrl
*/
public java.lang.String getItemThumbnailUrl() {
return itemThumbnailUrl;
}
/**
* Sets the itemThumbnailUrl value for this BidItemStruct.
*
* @param itemThumbnailUrl
*/
public void setItemThumbnailUrl(java.lang.String itemThumbnailUrl) {
this.itemThumbnailUrl = itemThumbnailUrl;
}
/**
* Gets the itemPrice value for this BidItemStruct.
*
* @return itemPrice
*/
public com.allegro.webapi.ArrayOfItempricestruct getItemPrice() {
return itemPrice;
}
/**
* Sets the itemPrice value for this BidItemStruct.
*
* @param itemPrice
*/
public void setItemPrice(com.allegro.webapi.ArrayOfItempricestruct itemPrice) {
this.itemPrice = itemPrice;
}
/**
* Gets the itemBidQuantity value for this BidItemStruct.
*
* @return itemBidQuantity
*/
public int getItemBidQuantity() {
return itemBidQuantity;
}
/**
* Sets the itemBidQuantity value for this BidItemStruct.
*
* @param itemBidQuantity
*/
public void setItemBidQuantity(int itemBidQuantity) {
this.itemBidQuantity = itemBidQuantity;
}
/**
* Gets the itemLeftQuantity value for this BidItemStruct.
*
* @return itemLeftQuantity
*/
public int getItemLeftQuantity() {
return itemLeftQuantity;
}
/**
* Sets the itemLeftQuantity value for this BidItemStruct.
*
* @param itemLeftQuantity
*/
public void setItemLeftQuantity(int itemLeftQuantity) {
this.itemLeftQuantity = itemLeftQuantity;
}
/**
* Gets the itemQuantityType value for this BidItemStruct.
*
* @return itemQuantityType
*/
public int getItemQuantityType() {
return itemQuantityType;
}
/**
* Sets the itemQuantityType value for this BidItemStruct.
*
* @param itemQuantityType
*/
public void setItemQuantityType(int itemQuantityType) {
this.itemQuantityType = itemQuantityType;
}
/**
* Gets the itemEndTime value for this BidItemStruct.
*
* @return itemEndTime
*/
public long getItemEndTime() {
return itemEndTime;
}
/**
* Sets the itemEndTime value for this BidItemStruct.
*
* @param itemEndTime
*/
public void setItemEndTime(long itemEndTime) {
this.itemEndTime = itemEndTime;
}
/**
* Gets the itemEndTimeLeft value for this BidItemStruct.
*
* @return itemEndTimeLeft
*/
public java.lang.String getItemEndTimeLeft() {
return itemEndTimeLeft;
}
/**
* Sets the itemEndTimeLeft value for this BidItemStruct.
*
* @param itemEndTimeLeft
*/
public void setItemEndTimeLeft(java.lang.String itemEndTimeLeft) {
this.itemEndTimeLeft = itemEndTimeLeft;
}
/**
* Gets the itemSeller value for this BidItemStruct.
*
* @return itemSeller
*/
public com.allegro.webapi.UserInfoStruct getItemSeller() {
return itemSeller;
}
/**
* Sets the itemSeller value for this BidItemStruct.
*
* @param itemSeller
*/
public void setItemSeller(com.allegro.webapi.UserInfoStruct itemSeller) {
this.itemSeller = itemSeller;
}
/**
* Gets the itemBiddersCounter value for this BidItemStruct.
*
* @return itemBiddersCounter
*/
public int getItemBiddersCounter() {
return itemBiddersCounter;
}
/**
* Sets the itemBiddersCounter value for this BidItemStruct.
*
* @param itemBiddersCounter
*/
public void setItemBiddersCounter(int itemBiddersCounter) {
this.itemBiddersCounter = itemBiddersCounter;
}
/**
* Gets the itemHighestBidder value for this BidItemStruct.
*
* @return itemHighestBidder
*/
public com.allegro.webapi.UserInfoStruct getItemHighestBidder() {
return itemHighestBidder;
}
/**
* Sets the itemHighestBidder value for this BidItemStruct.
*
* @param itemHighestBidder
*/
public void setItemHighestBidder(com.allegro.webapi.UserInfoStruct itemHighestBidder) {
this.itemHighestBidder = itemHighestBidder;
}
/**
* Gets the itemCategoryId value for this BidItemStruct.
*
* @return itemCategoryId
*/
public int getItemCategoryId() {
return itemCategoryId;
}
/**
* Sets the itemCategoryId value for this BidItemStruct.
*
* @param itemCategoryId
*/
public void setItemCategoryId(int itemCategoryId) {
this.itemCategoryId = itemCategoryId;
}
/**
* Gets the itemViewsCounter value for this BidItemStruct.
*
* @return itemViewsCounter
*/
public int getItemViewsCounter() {
return itemViewsCounter;
}
/**
* Sets the itemViewsCounter value for this BidItemStruct.
*
* @param itemViewsCounter
*/
public void setItemViewsCounter(int itemViewsCounter) {
this.itemViewsCounter = itemViewsCounter;
}
/**
* Gets the itemNote value for this BidItemStruct.
*
* @return itemNote
*/
public java.lang.String getItemNote() {
return itemNote;
}
/**
* Sets the itemNote value for this BidItemStruct.
*
* @param itemNote
*/
public void setItemNote(java.lang.String itemNote) {
this.itemNote = itemNote;
}
/**
* Gets the itemSpecialInfo value for this BidItemStruct.
*
* @return itemSpecialInfo
*/
public int getItemSpecialInfo() {
return itemSpecialInfo;
}
/**
* Sets the itemSpecialInfo value for this BidItemStruct.
*
* @param itemSpecialInfo
*/
public void setItemSpecialInfo(int itemSpecialInfo) {
this.itemSpecialInfo = itemSpecialInfo;
}
/**
* Gets the itemShopInfo value for this BidItemStruct.
*
* @return itemShopInfo
*/
public int getItemShopInfo() {
return itemShopInfo;
}
/**
* Sets the itemShopInfo value for this BidItemStruct.
*
* @param itemShopInfo
*/
public void setItemShopInfo(int itemShopInfo) {
this.itemShopInfo = itemShopInfo;
}
/**
* Gets the itemProductInfo value for this BidItemStruct.
*
* @return itemProductInfo
*/
public long getItemProductInfo() {
return itemProductInfo;
}
/**
* Sets the itemProductInfo value for this BidItemStruct.
*
* @param itemProductInfo
*/
public void setItemProductInfo(long itemProductInfo) {
this.itemProductInfo = itemProductInfo;
}
/**
* Gets the itemPayuInfo value for this BidItemStruct.
*
* @return itemPayuInfo
*/
public int getItemPayuInfo() {
return itemPayuInfo;
}
/**
* Sets the itemPayuInfo value for this BidItemStruct.
*
* @param itemPayuInfo
*/
public void setItemPayuInfo(int itemPayuInfo) {
this.itemPayuInfo = itemPayuInfo;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof BidItemStruct)) return false;
BidItemStruct other = (BidItemStruct) 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.itemBidQuantity == other.getItemBidQuantity() &&
this.itemLeftQuantity == other.getItemLeftQuantity() &&
this.itemQuantityType == other.getItemQuantityType() &&
this.itemEndTime == other.getItemEndTime() &&
((this.itemEndTimeLeft==null && other.getItemEndTimeLeft()==null) ||
(this.itemEndTimeLeft!=null &&
this.itemEndTimeLeft.equals(other.getItemEndTimeLeft()))) &&
((this.itemSeller==null && other.getItemSeller()==null) ||
(this.itemSeller!=null &&
this.itemSeller.equals(other.getItemSeller()))) &&
this.itemBiddersCounter == other.getItemBiddersCounter() &&
((this.itemHighestBidder==null && other.getItemHighestBidder()==null) ||
(this.itemHighestBidder!=null &&
this.itemHighestBidder.equals(other.getItemHighestBidder()))) &&
this.itemCategoryId == other.getItemCategoryId() &&
this.itemViewsCounter == other.getItemViewsCounter() &&
((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();
__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 += getItemBidQuantity();
_hashCode += getItemLeftQuantity();
_hashCode += getItemQuantityType();
_hashCode += new Long(getItemEndTime()).hashCode();
if (getItemEndTimeLeft() != null) {
_hashCode += getItemEndTimeLeft().hashCode();
}
if (getItemSeller() != null) {
_hashCode += getItemSeller().hashCode();
}
_hashCode += getItemBiddersCounter();
if (getItemHighestBidder() != null) {
_hashCode += getItemHighestBidder().hashCode();
}
_hashCode += getItemCategoryId();
_hashCode += getItemViewsCounter();
if (getItemNote() != null) {
_hashCode += getItemNote().hashCode();
}
_hashCode += getItemSpecialInfo();
_hashCode += getItemShopInfo();
_hashCode += new Long(getItemProductInfo()).hashCode();
_hashCode += getItemPayuInfo();
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(BidItemStruct.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "BidItemStruct"));
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("itemBidQuantity");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemBidQuantity"));
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("itemLeftQuantity");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemLeftQuantity"));
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("itemEndTime");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemEndTime"));
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("itemEndTimeLeft");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemEndTimeLeft"));
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("itemSeller");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemSeller"));
elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "UserInfoStruct"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("itemBiddersCounter");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemBiddersCounter"));
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("itemHighestBidder");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemHighestBidder"));
elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "UserInfoStruct"));
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("itemViewsCounter");
elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemViewsCounter"));
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);
}
/**
* 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);
}
}