| 100 |
ashish |
1 |
/**
|
| 3430 |
rajveer |
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
| 100 |
ashish |
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.catalog;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
| 3430 |
rajveer |
18 |
import java.nio.ByteBuffer;
|
| 100 |
ashish |
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
| 3430 |
rajveer |
23 |
public class Item implements org.apache.thrift.TBase<Item, Item._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Item");
|
| 100 |
ashish |
25 |
|
| 3430 |
rajveer |
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField PRODUCT_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("productGroup", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("modelNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("modelName", org.apache.thrift.protocol.TType.STRING, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
| 4762 |
phani.kuma |
38 |
private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)18);
|
|
|
43 |
private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)19);
|
|
|
44 |
private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("status_description", org.apache.thrift.protocol.TType.STRING, (short)20);
|
| 5336 |
rajveer |
45 |
private static final org.apache.thrift.protocol.TField OTHER_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("otherInfo", org.apache.thrift.protocol.TType.MAP, (short)21);
|
| 4762 |
phani.kuma |
46 |
private static final org.apache.thrift.protocol.TField BEST_DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealText", org.apache.thrift.protocol.TType.STRING, (short)22);
|
|
|
47 |
private static final org.apache.thrift.protocol.TField BEST_DEAL_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealValue", org.apache.thrift.protocol.TType.DOUBLE, (short)23);
|
|
|
48 |
private static final org.apache.thrift.protocol.TField DEFAULT_FOR_ENTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultForEntity", org.apache.thrift.protocol.TType.BOOL, (short)24);
|
|
|
49 |
private static final org.apache.thrift.protocol.TField UPDATED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedOn", org.apache.thrift.protocol.TType.I64, (short)25);
|
|
|
50 |
private static final org.apache.thrift.protocol.TField BEST_SELLING_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestSellingRank", org.apache.thrift.protocol.TType.I64, (short)26);
|
|
|
51 |
private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)27);
|
|
|
52 |
private static final org.apache.thrift.protocol.TField EXPECTED_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelay", org.apache.thrift.protocol.TType.I32, (short)28);
|
| 5440 |
phani.kuma |
53 |
private static final org.apache.thrift.protocol.TField IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC = new org.apache.thrift.protocol.TField("isWarehousePreferenceSticky", org.apache.thrift.protocol.TType.BOOL, (short)29);
|
|
|
54 |
private static final org.apache.thrift.protocol.TField WARRANTY_PERIOD_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantyPeriod", org.apache.thrift.protocol.TType.I32, (short)30);
|
|
|
55 |
private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)31);
|
|
|
56 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
|
|
|
57 |
private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
|
|
|
58 |
private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
|
|
|
59 |
private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
|
| 7256 |
rajveer |
60 |
private static final org.apache.thrift.protocol.TField ACTIVE_ON_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("activeOnStore", org.apache.thrift.protocol.TType.BOOL, (short)36);
|
| 6241 |
amit.gupta |
61 |
private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
|
| 6777 |
vikram.rag |
62 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
|
|
|
63 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
|
| 6805 |
anupam.sin |
64 |
private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
|
| 7291 |
vikram.rag |
65 |
private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
|
|
|
66 |
private static final org.apache.thrift.protocol.TField DEFAULT_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultInventory", org.apache.thrift.protocol.TType.I64, (short)43);
|
|
|
67 |
private static final org.apache.thrift.protocol.TField HOLD_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("holdInventory", org.apache.thrift.protocol.TType.I64, (short)44);
|
| 9841 |
rajveer |
68 |
private static final org.apache.thrift.protocol.TField HOLD_OVERRIDE_FIELD_DESC = new org.apache.thrift.protocol.TField("holdOverride", org.apache.thrift.protocol.TType.BOOL, (short)45);
|
| 18002 |
kshitij.so |
69 |
private static final org.apache.thrift.protocol.TField PACK_QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("packQuantity", org.apache.thrift.protocol.TType.I64, (short)46);
|
| 18150 |
kshitij.so |
70 |
private static final org.apache.thrift.protocol.TField QUANTITY_STEP_FIELD_DESC = new org.apache.thrift.protocol.TField("quantityStep", org.apache.thrift.protocol.TType.I64, (short)47);
|
|
|
71 |
private static final org.apache.thrift.protocol.TField MINIMUM_BUY_QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumBuyQuantity", org.apache.thrift.protocol.TType.I64, (short)48);
|
| 18414 |
kshitij.so |
72 |
private static final org.apache.thrift.protocol.TField MAXIMUM_BUY_QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("maximumBuyQuantity", org.apache.thrift.protocol.TType.I64, (short)49);
|
| 19756 |
amit.gupta |
73 |
private static final org.apache.thrift.protocol.TField DEAL_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("dealPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)50);
|
| 21838 |
amit.gupta |
74 |
private static final org.apache.thrift.protocol.TField HSN_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("hsnCode", org.apache.thrift.protocol.TType.STRING, (short)51);
|
| 100 |
ashish |
75 |
|
| 3430 |
rajveer |
76 |
private long id; // required
|
|
|
77 |
private String productGroup; // required
|
|
|
78 |
private String brand; // required
|
|
|
79 |
private String modelNumber; // required
|
|
|
80 |
private String modelName; // required
|
|
|
81 |
private String color; // required
|
|
|
82 |
private long category; // required
|
|
|
83 |
private String comments; // required
|
|
|
84 |
private long catalogItemId; // required
|
|
|
85 |
private long featureId; // required
|
|
|
86 |
private String featureDescription; // required
|
|
|
87 |
private double mrp; // required
|
|
|
88 |
private double sellingPrice; // required
|
|
|
89 |
private double weight; // required
|
|
|
90 |
private long addedOn; // required
|
|
|
91 |
private long startDate; // required
|
|
|
92 |
private long retireDate; // required
|
|
|
93 |
private status itemStatus; // required
|
|
|
94 |
private String status_description; // required
|
| 5336 |
rajveer |
95 |
private Map<String,String> otherInfo; // required
|
| 3430 |
rajveer |
96 |
private String bestDealText; // required
|
|
|
97 |
private double bestDealValue; // required
|
|
|
98 |
private boolean defaultForEntity; // required
|
|
|
99 |
private long updatedOn; // required
|
|
|
100 |
private long bestSellingRank; // required
|
|
|
101 |
private boolean risky; // required
|
|
|
102 |
private int expectedDelay; // required
|
| 4406 |
anupam.sin |
103 |
private boolean isWarehousePreferenceSticky; // required
|
| 4295 |
varun.gupt |
104 |
private int warrantyPeriod; // required
|
| 4506 |
phani.kuma |
105 |
private long preferredVendor; // required
|
| 5110 |
mandeep.dh |
106 |
private ItemType type; // required
|
| 5217 |
amit.gupta |
107 |
private long comingSoonStartDate; // required
|
|
|
108 |
private long expectedArrivalDate; // required
|
| 5385 |
phani.kuma |
109 |
private boolean hasItemNo; // required
|
| 7256 |
rajveer |
110 |
private boolean activeOnStore; // required
|
| 6241 |
amit.gupta |
111 |
private boolean showSellingPrice; // required
|
| 6777 |
vikram.rag |
112 |
private String bestDealsDetailsText; // required
|
|
|
113 |
private String bestDealsDetailsLink; // required
|
| 6805 |
anupam.sin |
114 |
private long preferredInsurer; // required
|
| 7291 |
vikram.rag |
115 |
private String asin; // required
|
|
|
116 |
private long defaultInventory; // required
|
|
|
117 |
private long holdInventory; // required
|
| 9841 |
rajveer |
118 |
private boolean holdOverride; // required
|
| 18002 |
kshitij.so |
119 |
private long packQuantity; // required
|
| 18150 |
kshitij.so |
120 |
private long quantityStep; // required
|
|
|
121 |
private long minimumBuyQuantity; // required
|
| 18414 |
kshitij.so |
122 |
private long maximumBuyQuantity; // required
|
| 19756 |
amit.gupta |
123 |
private double dealPrice; // required
|
| 21838 |
amit.gupta |
124 |
private String hsnCode; // required
|
| 100 |
ashish |
125 |
|
|
|
126 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 3430 |
rajveer |
127 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 100 |
ashish |
128 |
ID((short)1, "id"),
|
| 957 |
chandransh |
129 |
PRODUCT_GROUP((short)2, "productGroup"),
|
|
|
130 |
BRAND((short)3, "brand"),
|
|
|
131 |
MODEL_NUMBER((short)4, "modelNumber"),
|
|
|
132 |
MODEL_NAME((short)5, "modelName"),
|
| 1329 |
chandransh |
133 |
COLOR((short)6, "color"),
|
|
|
134 |
CATEGORY((short)7, "category"),
|
|
|
135 |
COMMENTS((short)8, "comments"),
|
|
|
136 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
| 483 |
rajveer |
137 |
FEATURE_ID((short)10, "featureId"),
|
|
|
138 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
|
|
139 |
MRP((short)13, "mrp"),
|
| 4762 |
phani.kuma |
140 |
SELLING_PRICE((short)14, "sellingPrice"),
|
|
|
141 |
WEIGHT((short)15, "weight"),
|
|
|
142 |
ADDED_ON((short)16, "addedOn"),
|
|
|
143 |
START_DATE((short)17, "startDate"),
|
|
|
144 |
RETIRE_DATE((short)18, "retireDate"),
|
| 103 |
ashish |
145 |
/**
|
|
|
146 |
*
|
|
|
147 |
* @see status
|
|
|
148 |
*/
|
| 4762 |
phani.kuma |
149 |
ITEM_STATUS((short)19, "itemStatus"),
|
|
|
150 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
| 5336 |
rajveer |
151 |
OTHER_INFO((short)21, "otherInfo"),
|
| 4762 |
phani.kuma |
152 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
|
|
153 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
|
|
154 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
|
|
155 |
UPDATED_ON((short)25, "updatedOn"),
|
|
|
156 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
|
|
157 |
RISKY((short)27, "risky"),
|
|
|
158 |
EXPECTED_DELAY((short)28, "expectedDelay"),
|
| 5440 |
phani.kuma |
159 |
IS_WAREHOUSE_PREFERENCE_STICKY((short)29, "isWarehousePreferenceSticky"),
|
|
|
160 |
WARRANTY_PERIOD((short)30, "warrantyPeriod"),
|
|
|
161 |
PREFERRED_VENDOR((short)31, "preferredVendor"),
|
| 5110 |
mandeep.dh |
162 |
/**
|
|
|
163 |
*
|
|
|
164 |
* @see ItemType
|
|
|
165 |
*/
|
| 5440 |
phani.kuma |
166 |
TYPE((short)32, "type"),
|
|
|
167 |
COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
|
|
|
168 |
EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
|
| 5460 |
phani.kuma |
169 |
HAS_ITEM_NO((short)35, "hasItemNo"),
|
| 7256 |
rajveer |
170 |
ACTIVE_ON_STORE((short)36, "activeOnStore"),
|
| 6777 |
vikram.rag |
171 |
SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
|
|
|
172 |
BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
|
| 6805 |
anupam.sin |
173 |
BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
|
| 7291 |
vikram.rag |
174 |
PREFERRED_INSURER((short)41, "preferredInsurer"),
|
|
|
175 |
ASIN((short)42, "asin"),
|
|
|
176 |
DEFAULT_INVENTORY((short)43, "defaultInventory"),
|
| 9841 |
rajveer |
177 |
HOLD_INVENTORY((short)44, "holdInventory"),
|
| 18002 |
kshitij.so |
178 |
HOLD_OVERRIDE((short)45, "holdOverride"),
|
| 18150 |
kshitij.so |
179 |
PACK_QUANTITY((short)46, "packQuantity"),
|
|
|
180 |
QUANTITY_STEP((short)47, "quantityStep"),
|
| 18414 |
kshitij.so |
181 |
MINIMUM_BUY_QUANTITY((short)48, "minimumBuyQuantity"),
|
| 19756 |
amit.gupta |
182 |
MAXIMUM_BUY_QUANTITY((short)49, "maximumBuyQuantity"),
|
| 21838 |
amit.gupta |
183 |
DEAL_PRICE((short)50, "dealPrice"),
|
| 23160 |
ashik.ali |
184 |
HSN_CODE((short)51, "hsnCode");
|
| 100 |
ashish |
185 |
|
|
|
186 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
187 |
|
|
|
188 |
static {
|
|
|
189 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
190 |
byName.put(field.getFieldName(), field);
|
|
|
191 |
}
|
|
|
192 |
}
|
|
|
193 |
|
|
|
194 |
/**
|
|
|
195 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
196 |
*/
|
|
|
197 |
public static _Fields findByThriftId(int fieldId) {
|
| 3430 |
rajveer |
198 |
switch(fieldId) {
|
|
|
199 |
case 1: // ID
|
|
|
200 |
return ID;
|
|
|
201 |
case 2: // PRODUCT_GROUP
|
|
|
202 |
return PRODUCT_GROUP;
|
|
|
203 |
case 3: // BRAND
|
|
|
204 |
return BRAND;
|
|
|
205 |
case 4: // MODEL_NUMBER
|
|
|
206 |
return MODEL_NUMBER;
|
|
|
207 |
case 5: // MODEL_NAME
|
|
|
208 |
return MODEL_NAME;
|
|
|
209 |
case 6: // COLOR
|
|
|
210 |
return COLOR;
|
|
|
211 |
case 7: // CATEGORY
|
|
|
212 |
return CATEGORY;
|
|
|
213 |
case 8: // COMMENTS
|
|
|
214 |
return COMMENTS;
|
|
|
215 |
case 9: // CATALOG_ITEM_ID
|
|
|
216 |
return CATALOG_ITEM_ID;
|
|
|
217 |
case 10: // FEATURE_ID
|
|
|
218 |
return FEATURE_ID;
|
|
|
219 |
case 11: // FEATURE_DESCRIPTION
|
|
|
220 |
return FEATURE_DESCRIPTION;
|
|
|
221 |
case 13: // MRP
|
|
|
222 |
return MRP;
|
| 4762 |
phani.kuma |
223 |
case 14: // SELLING_PRICE
|
| 3430 |
rajveer |
224 |
return SELLING_PRICE;
|
| 4762 |
phani.kuma |
225 |
case 15: // WEIGHT
|
| 3430 |
rajveer |
226 |
return WEIGHT;
|
| 4762 |
phani.kuma |
227 |
case 16: // ADDED_ON
|
| 3430 |
rajveer |
228 |
return ADDED_ON;
|
| 4762 |
phani.kuma |
229 |
case 17: // START_DATE
|
| 3430 |
rajveer |
230 |
return START_DATE;
|
| 4762 |
phani.kuma |
231 |
case 18: // RETIRE_DATE
|
| 3430 |
rajveer |
232 |
return RETIRE_DATE;
|
| 4762 |
phani.kuma |
233 |
case 19: // ITEM_STATUS
|
| 3430 |
rajveer |
234 |
return ITEM_STATUS;
|
| 4762 |
phani.kuma |
235 |
case 20: // STATUS_DESCRIPTION
|
| 3430 |
rajveer |
236 |
return STATUS_DESCRIPTION;
|
| 5336 |
rajveer |
237 |
case 21: // OTHER_INFO
|
|
|
238 |
return OTHER_INFO;
|
| 4762 |
phani.kuma |
239 |
case 22: // BEST_DEAL_TEXT
|
| 3430 |
rajveer |
240 |
return BEST_DEAL_TEXT;
|
| 4762 |
phani.kuma |
241 |
case 23: // BEST_DEAL_VALUE
|
| 3430 |
rajveer |
242 |
return BEST_DEAL_VALUE;
|
| 4762 |
phani.kuma |
243 |
case 24: // DEFAULT_FOR_ENTITY
|
| 3430 |
rajveer |
244 |
return DEFAULT_FOR_ENTITY;
|
| 4762 |
phani.kuma |
245 |
case 25: // UPDATED_ON
|
| 3430 |
rajveer |
246 |
return UPDATED_ON;
|
| 4762 |
phani.kuma |
247 |
case 26: // BEST_SELLING_RANK
|
| 3430 |
rajveer |
248 |
return BEST_SELLING_RANK;
|
| 4762 |
phani.kuma |
249 |
case 27: // RISKY
|
| 3430 |
rajveer |
250 |
return RISKY;
|
| 4762 |
phani.kuma |
251 |
case 28: // EXPECTED_DELAY
|
| 3430 |
rajveer |
252 |
return EXPECTED_DELAY;
|
| 5440 |
phani.kuma |
253 |
case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| 4406 |
anupam.sin |
254 |
return IS_WAREHOUSE_PREFERENCE_STICKY;
|
| 5440 |
phani.kuma |
255 |
case 30: // WARRANTY_PERIOD
|
| 4295 |
varun.gupt |
256 |
return WARRANTY_PERIOD;
|
| 5440 |
phani.kuma |
257 |
case 31: // PREFERRED_VENDOR
|
| 4506 |
phani.kuma |
258 |
return PREFERRED_VENDOR;
|
| 5440 |
phani.kuma |
259 |
case 32: // TYPE
|
| 5110 |
mandeep.dh |
260 |
return TYPE;
|
| 5440 |
phani.kuma |
261 |
case 33: // COMING_SOON_START_DATE
|
| 5217 |
amit.gupta |
262 |
return COMING_SOON_START_DATE;
|
| 5440 |
phani.kuma |
263 |
case 34: // EXPECTED_ARRIVAL_DATE
|
| 5217 |
amit.gupta |
264 |
return EXPECTED_ARRIVAL_DATE;
|
| 5440 |
phani.kuma |
265 |
case 35: // HAS_ITEM_NO
|
| 5385 |
phani.kuma |
266 |
return HAS_ITEM_NO;
|
| 7256 |
rajveer |
267 |
case 36: // ACTIVE_ON_STORE
|
|
|
268 |
return ACTIVE_ON_STORE;
|
| 6241 |
amit.gupta |
269 |
case 38: // SHOW_SELLING_PRICE
|
|
|
270 |
return SHOW_SELLING_PRICE;
|
| 6777 |
vikram.rag |
271 |
case 39: // BEST_DEALS_DETAILS_TEXT
|
|
|
272 |
return BEST_DEALS_DETAILS_TEXT;
|
|
|
273 |
case 40: // BEST_DEALS_DETAILS_LINK
|
|
|
274 |
return BEST_DEALS_DETAILS_LINK;
|
| 6805 |
anupam.sin |
275 |
case 41: // PREFERRED_INSURER
|
|
|
276 |
return PREFERRED_INSURER;
|
| 7291 |
vikram.rag |
277 |
case 42: // ASIN
|
|
|
278 |
return ASIN;
|
|
|
279 |
case 43: // DEFAULT_INVENTORY
|
|
|
280 |
return DEFAULT_INVENTORY;
|
|
|
281 |
case 44: // HOLD_INVENTORY
|
|
|
282 |
return HOLD_INVENTORY;
|
| 9841 |
rajveer |
283 |
case 45: // HOLD_OVERRIDE
|
|
|
284 |
return HOLD_OVERRIDE;
|
| 18002 |
kshitij.so |
285 |
case 46: // PACK_QUANTITY
|
|
|
286 |
return PACK_QUANTITY;
|
| 18150 |
kshitij.so |
287 |
case 47: // QUANTITY_STEP
|
|
|
288 |
return QUANTITY_STEP;
|
|
|
289 |
case 48: // MINIMUM_BUY_QUANTITY
|
|
|
290 |
return MINIMUM_BUY_QUANTITY;
|
| 18414 |
kshitij.so |
291 |
case 49: // MAXIMUM_BUY_QUANTITY
|
|
|
292 |
return MAXIMUM_BUY_QUANTITY;
|
| 19756 |
amit.gupta |
293 |
case 50: // DEAL_PRICE
|
|
|
294 |
return DEAL_PRICE;
|
| 21838 |
amit.gupta |
295 |
case 51: // HSN_CODE
|
|
|
296 |
return HSN_CODE;
|
| 3430 |
rajveer |
297 |
default:
|
|
|
298 |
return null;
|
|
|
299 |
}
|
| 100 |
ashish |
300 |
}
|
|
|
301 |
|
|
|
302 |
/**
|
|
|
303 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
304 |
* if it is not found.
|
|
|
305 |
*/
|
|
|
306 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
307 |
_Fields fields = findByThriftId(fieldId);
|
|
|
308 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
309 |
return fields;
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
/**
|
|
|
313 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
314 |
*/
|
|
|
315 |
public static _Fields findByName(String name) {
|
|
|
316 |
return byName.get(name);
|
|
|
317 |
}
|
|
|
318 |
|
|
|
319 |
private final short _thriftId;
|
|
|
320 |
private final String _fieldName;
|
|
|
321 |
|
|
|
322 |
_Fields(short thriftId, String fieldName) {
|
|
|
323 |
_thriftId = thriftId;
|
|
|
324 |
_fieldName = fieldName;
|
|
|
325 |
}
|
|
|
326 |
|
|
|
327 |
public short getThriftFieldId() {
|
|
|
328 |
return _thriftId;
|
|
|
329 |
}
|
|
|
330 |
|
|
|
331 |
public String getFieldName() {
|
|
|
332 |
return _fieldName;
|
|
|
333 |
}
|
|
|
334 |
}
|
|
|
335 |
|
|
|
336 |
// isset id assignments
|
|
|
337 |
private static final int __ID_ISSET_ID = 0;
|
| 622 |
chandransh |
338 |
private static final int __CATEGORY_ISSET_ID = 1;
|
|
|
339 |
private static final int __CATALOGITEMID_ISSET_ID = 2;
|
|
|
340 |
private static final int __FEATUREID_ISSET_ID = 3;
|
|
|
341 |
private static final int __MRP_ISSET_ID = 4;
|
| 4762 |
phani.kuma |
342 |
private static final int __SELLINGPRICE_ISSET_ID = 5;
|
|
|
343 |
private static final int __WEIGHT_ISSET_ID = 6;
|
|
|
344 |
private static final int __ADDEDON_ISSET_ID = 7;
|
|
|
345 |
private static final int __STARTDATE_ISSET_ID = 8;
|
|
|
346 |
private static final int __RETIREDATE_ISSET_ID = 9;
|
|
|
347 |
private static final int __BESTDEALVALUE_ISSET_ID = 10;
|
|
|
348 |
private static final int __DEFAULTFORENTITY_ISSET_ID = 11;
|
|
|
349 |
private static final int __UPDATEDON_ISSET_ID = 12;
|
|
|
350 |
private static final int __BESTSELLINGRANK_ISSET_ID = 13;
|
|
|
351 |
private static final int __RISKY_ISSET_ID = 14;
|
|
|
352 |
private static final int __EXPECTEDDELAY_ISSET_ID = 15;
|
| 5440 |
phani.kuma |
353 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 16;
|
|
|
354 |
private static final int __WARRANTYPERIOD_ISSET_ID = 17;
|
|
|
355 |
private static final int __PREFERREDVENDOR_ISSET_ID = 18;
|
|
|
356 |
private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
|
|
|
357 |
private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
|
|
|
358 |
private static final int __HASITEMNO_ISSET_ID = 21;
|
| 7256 |
rajveer |
359 |
private static final int __ACTIVEONSTORE_ISSET_ID = 22;
|
| 7330 |
amit.gupta |
360 |
private static final int __SHOWSELLINGPRICE_ISSET_ID = 23;
|
|
|
361 |
private static final int __PREFERREDINSURER_ISSET_ID = 24;
|
|
|
362 |
private static final int __DEFAULTINVENTORY_ISSET_ID = 25;
|
|
|
363 |
private static final int __HOLDINVENTORY_ISSET_ID = 26;
|
| 9841 |
rajveer |
364 |
private static final int __HOLDOVERRIDE_ISSET_ID = 27;
|
| 18002 |
kshitij.so |
365 |
private static final int __PACKQUANTITY_ISSET_ID = 28;
|
| 18150 |
kshitij.so |
366 |
private static final int __QUANTITYSTEP_ISSET_ID = 29;
|
|
|
367 |
private static final int __MINIMUMBUYQUANTITY_ISSET_ID = 30;
|
| 18414 |
kshitij.so |
368 |
private static final int __MAXIMUMBUYQUANTITY_ISSET_ID = 31;
|
| 19756 |
amit.gupta |
369 |
private static final int __DEALPRICE_ISSET_ID = 32;
|
| 23160 |
ashik.ali |
370 |
private BitSet __isset_bit_vector = new BitSet(33);
|
| 100 |
ashish |
371 |
|
| 3430 |
rajveer |
372 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 100 |
ashish |
373 |
static {
|
| 3430 |
rajveer |
374 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
375 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
376 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
377 |
tmpMap.put(_Fields.PRODUCT_GROUP, new org.apache.thrift.meta_data.FieldMetaData("productGroup", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
378 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
379 |
tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
380 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
381 |
tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
382 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
383 |
tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
384 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
385 |
tmpMap.put(_Fields.COLOR, new org.apache.thrift.meta_data.FieldMetaData("color", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
386 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
387 |
tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
388 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
389 |
tmpMap.put(_Fields.COMMENTS, new org.apache.thrift.meta_data.FieldMetaData("comments", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
390 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
391 |
tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
392 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
393 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
394 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
395 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
396 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
397 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
398 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
399 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
400 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
401 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
402 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
403 |
tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
404 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
405 |
tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
406 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
407 |
tmpMap.put(_Fields.RETIRE_DATE, new org.apache.thrift.meta_data.FieldMetaData("retireDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
408 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
409 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
410 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
|
|
411 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
412 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 5336 |
rajveer |
413 |
tmpMap.put(_Fields.OTHER_INFO, new org.apache.thrift.meta_data.FieldMetaData("otherInfo", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
414 |
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
|
|
415 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
|
|
|
416 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
|
| 3430 |
rajveer |
417 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
418 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
419 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
420 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
421 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
422 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
423 |
tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
424 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
425 |
tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
426 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
427 |
tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
428 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
429 |
tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
430 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 4406 |
anupam.sin |
431 |
tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
432 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 4295 |
varun.gupt |
433 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
434 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 4506 |
phani.kuma |
435 |
tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
436 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 5110 |
mandeep.dh |
437 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
438 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ItemType.class)));
|
| 5217 |
amit.gupta |
439 |
tmpMap.put(_Fields.COMING_SOON_START_DATE, new org.apache.thrift.meta_data.FieldMetaData("comingSoonStartDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
440 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
441 |
tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
442 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 5385 |
phani.kuma |
443 |
tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
444 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 7256 |
rajveer |
445 |
tmpMap.put(_Fields.ACTIVE_ON_STORE, new org.apache.thrift.meta_data.FieldMetaData("activeOnStore", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 5460 |
phani.kuma |
446 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 6241 |
amit.gupta |
447 |
tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
448 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 6777 |
vikram.rag |
449 |
tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
450 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
451 |
tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
452 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6805 |
anupam.sin |
453 |
tmpMap.put(_Fields.PREFERRED_INSURER, new org.apache.thrift.meta_data.FieldMetaData("preferredInsurer", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
454 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 7291 |
vikram.rag |
455 |
tmpMap.put(_Fields.ASIN, new org.apache.thrift.meta_data.FieldMetaData("asin", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
456 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
457 |
tmpMap.put(_Fields.DEFAULT_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("defaultInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
458 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
459 |
tmpMap.put(_Fields.HOLD_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("holdInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
460 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 9841 |
rajveer |
461 |
tmpMap.put(_Fields.HOLD_OVERRIDE, new org.apache.thrift.meta_data.FieldMetaData("holdOverride", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
462 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 18002 |
kshitij.so |
463 |
tmpMap.put(_Fields.PACK_QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("packQuantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
464 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 18150 |
kshitij.so |
465 |
tmpMap.put(_Fields.QUANTITY_STEP, new org.apache.thrift.meta_data.FieldMetaData("quantityStep", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
466 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
467 |
tmpMap.put(_Fields.MINIMUM_BUY_QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("minimumBuyQuantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
468 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 18414 |
kshitij.so |
469 |
tmpMap.put(_Fields.MAXIMUM_BUY_QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("maximumBuyQuantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
470 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 19756 |
amit.gupta |
471 |
tmpMap.put(_Fields.DEAL_PRICE, new org.apache.thrift.meta_data.FieldMetaData("dealPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
472 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 21838 |
amit.gupta |
473 |
tmpMap.put(_Fields.HSN_CODE, new org.apache.thrift.meta_data.FieldMetaData("hsnCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
474 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 3430 |
rajveer |
475 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
476 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 100 |
ashish |
477 |
}
|
|
|
478 |
|
|
|
479 |
public Item() {
|
|
|
480 |
}
|
|
|
481 |
|
|
|
482 |
public Item(
|
|
|
483 |
long id,
|
| 957 |
chandransh |
484 |
String productGroup,
|
|
|
485 |
String brand,
|
| 483 |
rajveer |
486 |
String modelNumber,
|
|
|
487 |
String modelName,
|
| 1329 |
chandransh |
488 |
String color,
|
| 622 |
chandransh |
489 |
long category,
|
| 483 |
rajveer |
490 |
String comments,
|
| 123 |
ashish |
491 |
long catalogItemId,
|
| 483 |
rajveer |
492 |
long featureId,
|
|
|
493 |
String featureDescription,
|
| 103 |
ashish |
494 |
long addedOn,
|
|
|
495 |
status itemStatus,
|
| 2034 |
rajveer |
496 |
String status_description,
|
| 5336 |
rajveer |
497 |
Map<String,String> otherInfo,
|
| 607 |
chandransh |
498 |
String bestDealText,
|
| 1910 |
varun.gupt |
499 |
boolean defaultForEntity,
|
| 2064 |
ankur.sing |
500 |
long updatedOn,
|
| 4295 |
varun.gupt |
501 |
boolean risky,
|
| 5110 |
mandeep.dh |
502 |
int warrantyPeriod,
|
| 5385 |
phani.kuma |
503 |
ItemType type,
|
| 5460 |
phani.kuma |
504 |
boolean hasItemNo,
|
| 7256 |
rajveer |
505 |
boolean activeOnStore,
|
| 6777 |
vikram.rag |
506 |
boolean showSellingPrice,
|
|
|
507 |
String bestDealsDetailsText,
|
| 6805 |
anupam.sin |
508 |
String bestDealsDetailsLink,
|
| 7291 |
vikram.rag |
509 |
long preferredInsurer,
|
|
|
510 |
String asin,
|
|
|
511 |
long defaultInventory,
|
| 9841 |
rajveer |
512 |
long holdInventory,
|
| 18002 |
kshitij.so |
513 |
boolean holdOverride,
|
| 18150 |
kshitij.so |
514 |
long packQuantity,
|
|
|
515 |
long quantityStep,
|
| 18414 |
kshitij.so |
516 |
long minimumBuyQuantity,
|
| 21838 |
amit.gupta |
517 |
long maximumBuyQuantity,
|
| 23160 |
ashik.ali |
518 |
String hsnCode)
|
| 100 |
ashish |
519 |
{
|
|
|
520 |
this();
|
|
|
521 |
this.id = id;
|
|
|
522 |
setIdIsSet(true);
|
| 957 |
chandransh |
523 |
this.productGroup = productGroup;
|
|
|
524 |
this.brand = brand;
|
| 483 |
rajveer |
525 |
this.modelNumber = modelNumber;
|
|
|
526 |
this.modelName = modelName;
|
| 1329 |
chandransh |
527 |
this.color = color;
|
| 483 |
rajveer |
528 |
this.category = category;
|
| 622 |
chandransh |
529 |
setCategoryIsSet(true);
|
| 483 |
rajveer |
530 |
this.comments = comments;
|
| 123 |
ashish |
531 |
this.catalogItemId = catalogItemId;
|
|
|
532 |
setCatalogItemIdIsSet(true);
|
| 483 |
rajveer |
533 |
this.featureId = featureId;
|
|
|
534 |
setFeatureIdIsSet(true);
|
|
|
535 |
this.featureDescription = featureDescription;
|
| 103 |
ashish |
536 |
this.addedOn = addedOn;
|
|
|
537 |
setAddedOnIsSet(true);
|
|
|
538 |
this.itemStatus = itemStatus;
|
| 2034 |
rajveer |
539 |
this.status_description = status_description;
|
| 5336 |
rajveer |
540 |
this.otherInfo = otherInfo;
|
| 607 |
chandransh |
541 |
this.bestDealText = bestDealText;
|
| 1910 |
varun.gupt |
542 |
this.defaultForEntity = defaultForEntity;
|
|
|
543 |
setDefaultForEntityIsSet(true);
|
| 607 |
chandransh |
544 |
this.updatedOn = updatedOn;
|
|
|
545 |
setUpdatedOnIsSet(true);
|
| 2250 |
ankur.sing |
546 |
this.risky = risky;
|
|
|
547 |
setRiskyIsSet(true);
|
| 4295 |
varun.gupt |
548 |
this.warrantyPeriod = warrantyPeriod;
|
|
|
549 |
setWarrantyPeriodIsSet(true);
|
| 5110 |
mandeep.dh |
550 |
this.type = type;
|
| 5385 |
phani.kuma |
551 |
this.hasItemNo = hasItemNo;
|
|
|
552 |
setHasItemNoIsSet(true);
|
| 7256 |
rajveer |
553 |
this.activeOnStore = activeOnStore;
|
|
|
554 |
setActiveOnStoreIsSet(true);
|
| 6241 |
amit.gupta |
555 |
this.showSellingPrice = showSellingPrice;
|
|
|
556 |
setShowSellingPriceIsSet(true);
|
| 6777 |
vikram.rag |
557 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
|
|
558 |
this.bestDealsDetailsLink = bestDealsDetailsLink;
|
| 6805 |
anupam.sin |
559 |
this.preferredInsurer = preferredInsurer;
|
|
|
560 |
setPreferredInsurerIsSet(true);
|
| 7291 |
vikram.rag |
561 |
this.asin = asin;
|
|
|
562 |
this.defaultInventory = defaultInventory;
|
|
|
563 |
setDefaultInventoryIsSet(true);
|
|
|
564 |
this.holdInventory = holdInventory;
|
|
|
565 |
setHoldInventoryIsSet(true);
|
| 9841 |
rajveer |
566 |
this.holdOverride = holdOverride;
|
|
|
567 |
setHoldOverrideIsSet(true);
|
| 18002 |
kshitij.so |
568 |
this.packQuantity = packQuantity;
|
|
|
569 |
setPackQuantityIsSet(true);
|
| 18150 |
kshitij.so |
570 |
this.quantityStep = quantityStep;
|
|
|
571 |
setQuantityStepIsSet(true);
|
|
|
572 |
this.minimumBuyQuantity = minimumBuyQuantity;
|
|
|
573 |
setMinimumBuyQuantityIsSet(true);
|
| 18414 |
kshitij.so |
574 |
this.maximumBuyQuantity = maximumBuyQuantity;
|
|
|
575 |
setMaximumBuyQuantityIsSet(true);
|
| 21838 |
amit.gupta |
576 |
this.hsnCode = hsnCode;
|
| 100 |
ashish |
577 |
}
|
|
|
578 |
|
|
|
579 |
/**
|
|
|
580 |
* Performs a deep copy on <i>other</i>.
|
|
|
581 |
*/
|
|
|
582 |
public Item(Item other) {
|
|
|
583 |
__isset_bit_vector.clear();
|
|
|
584 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
585 |
this.id = other.id;
|
| 957 |
chandransh |
586 |
if (other.isSetProductGroup()) {
|
|
|
587 |
this.productGroup = other.productGroup;
|
| 483 |
rajveer |
588 |
}
|
| 957 |
chandransh |
589 |
if (other.isSetBrand()) {
|
|
|
590 |
this.brand = other.brand;
|
|
|
591 |
}
|
| 483 |
rajveer |
592 |
if (other.isSetModelNumber()) {
|
|
|
593 |
this.modelNumber = other.modelNumber;
|
|
|
594 |
}
|
|
|
595 |
if (other.isSetModelName()) {
|
|
|
596 |
this.modelName = other.modelName;
|
|
|
597 |
}
|
| 1329 |
chandransh |
598 |
if (other.isSetColor()) {
|
|
|
599 |
this.color = other.color;
|
|
|
600 |
}
|
| 622 |
chandransh |
601 |
this.category = other.category;
|
| 483 |
rajveer |
602 |
if (other.isSetComments()) {
|
|
|
603 |
this.comments = other.comments;
|
|
|
604 |
}
|
| 123 |
ashish |
605 |
this.catalogItemId = other.catalogItemId;
|
| 483 |
rajveer |
606 |
this.featureId = other.featureId;
|
|
|
607 |
if (other.isSetFeatureDescription()) {
|
|
|
608 |
this.featureDescription = other.featureDescription;
|
|
|
609 |
}
|
|
|
610 |
this.mrp = other.mrp;
|
|
|
611 |
this.sellingPrice = other.sellingPrice;
|
|
|
612 |
this.weight = other.weight;
|
| 103 |
ashish |
613 |
this.addedOn = other.addedOn;
|
|
|
614 |
this.startDate = other.startDate;
|
| 483 |
rajveer |
615 |
this.retireDate = other.retireDate;
|
| 103 |
ashish |
616 |
if (other.isSetItemStatus()) {
|
|
|
617 |
this.itemStatus = other.itemStatus;
|
|
|
618 |
}
|
| 2034 |
rajveer |
619 |
if (other.isSetStatus_description()) {
|
|
|
620 |
this.status_description = other.status_description;
|
|
|
621 |
}
|
| 5336 |
rajveer |
622 |
if (other.isSetOtherInfo()) {
|
|
|
623 |
Map<String,String> __this__otherInfo = new HashMap<String,String>();
|
|
|
624 |
for (Map.Entry<String, String> other_element : other.otherInfo.entrySet()) {
|
|
|
625 |
|
|
|
626 |
String other_element_key = other_element.getKey();
|
|
|
627 |
String other_element_value = other_element.getValue();
|
|
|
628 |
|
|
|
629 |
String __this__otherInfo_copy_key = other_element_key;
|
|
|
630 |
|
|
|
631 |
String __this__otherInfo_copy_value = other_element_value;
|
|
|
632 |
|
|
|
633 |
__this__otherInfo.put(__this__otherInfo_copy_key, __this__otherInfo_copy_value);
|
|
|
634 |
}
|
|
|
635 |
this.otherInfo = __this__otherInfo;
|
|
|
636 |
}
|
| 607 |
chandransh |
637 |
if (other.isSetBestDealText()) {
|
|
|
638 |
this.bestDealText = other.bestDealText;
|
|
|
639 |
}
|
|
|
640 |
this.bestDealValue = other.bestDealValue;
|
| 1910 |
varun.gupt |
641 |
this.defaultForEntity = other.defaultForEntity;
|
| 607 |
chandransh |
642 |
this.updatedOn = other.updatedOn;
|
| 2064 |
ankur.sing |
643 |
this.bestSellingRank = other.bestSellingRank;
|
| 2250 |
ankur.sing |
644 |
this.risky = other.risky;
|
| 3355 |
chandransh |
645 |
this.expectedDelay = other.expectedDelay;
|
| 4406 |
anupam.sin |
646 |
this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
|
| 4295 |
varun.gupt |
647 |
this.warrantyPeriod = other.warrantyPeriod;
|
| 4506 |
phani.kuma |
648 |
this.preferredVendor = other.preferredVendor;
|
| 5110 |
mandeep.dh |
649 |
if (other.isSetType()) {
|
|
|
650 |
this.type = other.type;
|
|
|
651 |
}
|
| 5217 |
amit.gupta |
652 |
this.comingSoonStartDate = other.comingSoonStartDate;
|
|
|
653 |
this.expectedArrivalDate = other.expectedArrivalDate;
|
| 5385 |
phani.kuma |
654 |
this.hasItemNo = other.hasItemNo;
|
| 7256 |
rajveer |
655 |
this.activeOnStore = other.activeOnStore;
|
| 6241 |
amit.gupta |
656 |
this.showSellingPrice = other.showSellingPrice;
|
| 6777 |
vikram.rag |
657 |
if (other.isSetBestDealsDetailsText()) {
|
|
|
658 |
this.bestDealsDetailsText = other.bestDealsDetailsText;
|
|
|
659 |
}
|
|
|
660 |
if (other.isSetBestDealsDetailsLink()) {
|
|
|
661 |
this.bestDealsDetailsLink = other.bestDealsDetailsLink;
|
|
|
662 |
}
|
| 6805 |
anupam.sin |
663 |
this.preferredInsurer = other.preferredInsurer;
|
| 7291 |
vikram.rag |
664 |
if (other.isSetAsin()) {
|
|
|
665 |
this.asin = other.asin;
|
|
|
666 |
}
|
|
|
667 |
this.defaultInventory = other.defaultInventory;
|
|
|
668 |
this.holdInventory = other.holdInventory;
|
| 9841 |
rajveer |
669 |
this.holdOverride = other.holdOverride;
|
| 18002 |
kshitij.so |
670 |
this.packQuantity = other.packQuantity;
|
| 18150 |
kshitij.so |
671 |
this.quantityStep = other.quantityStep;
|
|
|
672 |
this.minimumBuyQuantity = other.minimumBuyQuantity;
|
| 18414 |
kshitij.so |
673 |
this.maximumBuyQuantity = other.maximumBuyQuantity;
|
| 19756 |
amit.gupta |
674 |
this.dealPrice = other.dealPrice;
|
| 21838 |
amit.gupta |
675 |
if (other.isSetHsnCode()) {
|
|
|
676 |
this.hsnCode = other.hsnCode;
|
|
|
677 |
}
|
| 100 |
ashish |
678 |
}
|
|
|
679 |
|
|
|
680 |
public Item deepCopy() {
|
|
|
681 |
return new Item(this);
|
|
|
682 |
}
|
|
|
683 |
|
| 3430 |
rajveer |
684 |
@Override
|
|
|
685 |
public void clear() {
|
|
|
686 |
setIdIsSet(false);
|
|
|
687 |
this.id = 0;
|
|
|
688 |
this.productGroup = null;
|
|
|
689 |
this.brand = null;
|
|
|
690 |
this.modelNumber = null;
|
|
|
691 |
this.modelName = null;
|
|
|
692 |
this.color = null;
|
|
|
693 |
setCategoryIsSet(false);
|
|
|
694 |
this.category = 0;
|
|
|
695 |
this.comments = null;
|
|
|
696 |
setCatalogItemIdIsSet(false);
|
|
|
697 |
this.catalogItemId = 0;
|
|
|
698 |
setFeatureIdIsSet(false);
|
|
|
699 |
this.featureId = 0;
|
|
|
700 |
this.featureDescription = null;
|
|
|
701 |
setMrpIsSet(false);
|
|
|
702 |
this.mrp = 0.0;
|
|
|
703 |
setSellingPriceIsSet(false);
|
|
|
704 |
this.sellingPrice = 0.0;
|
|
|
705 |
setWeightIsSet(false);
|
|
|
706 |
this.weight = 0.0;
|
|
|
707 |
setAddedOnIsSet(false);
|
|
|
708 |
this.addedOn = 0;
|
|
|
709 |
setStartDateIsSet(false);
|
|
|
710 |
this.startDate = 0;
|
|
|
711 |
setRetireDateIsSet(false);
|
|
|
712 |
this.retireDate = 0;
|
|
|
713 |
this.itemStatus = null;
|
|
|
714 |
this.status_description = null;
|
| 5336 |
rajveer |
715 |
this.otherInfo = null;
|
| 3430 |
rajveer |
716 |
this.bestDealText = null;
|
|
|
717 |
setBestDealValueIsSet(false);
|
|
|
718 |
this.bestDealValue = 0.0;
|
|
|
719 |
setDefaultForEntityIsSet(false);
|
|
|
720 |
this.defaultForEntity = false;
|
|
|
721 |
setUpdatedOnIsSet(false);
|
|
|
722 |
this.updatedOn = 0;
|
|
|
723 |
setBestSellingRankIsSet(false);
|
|
|
724 |
this.bestSellingRank = 0;
|
|
|
725 |
setRiskyIsSet(false);
|
|
|
726 |
this.risky = false;
|
|
|
727 |
setExpectedDelayIsSet(false);
|
|
|
728 |
this.expectedDelay = 0;
|
| 4406 |
anupam.sin |
729 |
setIsWarehousePreferenceStickyIsSet(false);
|
|
|
730 |
this.isWarehousePreferenceSticky = false;
|
| 4295 |
varun.gupt |
731 |
setWarrantyPeriodIsSet(false);
|
|
|
732 |
this.warrantyPeriod = 0;
|
| 4506 |
phani.kuma |
733 |
setPreferredVendorIsSet(false);
|
|
|
734 |
this.preferredVendor = 0;
|
| 5110 |
mandeep.dh |
735 |
this.type = null;
|
| 5217 |
amit.gupta |
736 |
setComingSoonStartDateIsSet(false);
|
|
|
737 |
this.comingSoonStartDate = 0;
|
|
|
738 |
setExpectedArrivalDateIsSet(false);
|
|
|
739 |
this.expectedArrivalDate = 0;
|
| 5385 |
phani.kuma |
740 |
setHasItemNoIsSet(false);
|
|
|
741 |
this.hasItemNo = false;
|
| 7256 |
rajveer |
742 |
setActiveOnStoreIsSet(false);
|
|
|
743 |
this.activeOnStore = false;
|
| 6241 |
amit.gupta |
744 |
setShowSellingPriceIsSet(false);
|
|
|
745 |
this.showSellingPrice = false;
|
| 6777 |
vikram.rag |
746 |
this.bestDealsDetailsText = null;
|
|
|
747 |
this.bestDealsDetailsLink = null;
|
| 6805 |
anupam.sin |
748 |
setPreferredInsurerIsSet(false);
|
|
|
749 |
this.preferredInsurer = 0;
|
| 7291 |
vikram.rag |
750 |
this.asin = null;
|
|
|
751 |
setDefaultInventoryIsSet(false);
|
|
|
752 |
this.defaultInventory = 0;
|
|
|
753 |
setHoldInventoryIsSet(false);
|
|
|
754 |
this.holdInventory = 0;
|
| 9841 |
rajveer |
755 |
setHoldOverrideIsSet(false);
|
|
|
756 |
this.holdOverride = false;
|
| 18002 |
kshitij.so |
757 |
setPackQuantityIsSet(false);
|
|
|
758 |
this.packQuantity = 0;
|
| 18150 |
kshitij.so |
759 |
setQuantityStepIsSet(false);
|
|
|
760 |
this.quantityStep = 0;
|
|
|
761 |
setMinimumBuyQuantityIsSet(false);
|
|
|
762 |
this.minimumBuyQuantity = 0;
|
| 18414 |
kshitij.so |
763 |
setMaximumBuyQuantityIsSet(false);
|
|
|
764 |
this.maximumBuyQuantity = 0;
|
| 19756 |
amit.gupta |
765 |
setDealPriceIsSet(false);
|
|
|
766 |
this.dealPrice = 0.0;
|
| 21838 |
amit.gupta |
767 |
this.hsnCode = null;
|
| 100 |
ashish |
768 |
}
|
|
|
769 |
|
|
|
770 |
public long getId() {
|
|
|
771 |
return this.id;
|
|
|
772 |
}
|
|
|
773 |
|
| 3430 |
rajveer |
774 |
public void setId(long id) {
|
| 100 |
ashish |
775 |
this.id = id;
|
|
|
776 |
setIdIsSet(true);
|
|
|
777 |
}
|
|
|
778 |
|
|
|
779 |
public void unsetId() {
|
|
|
780 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
781 |
}
|
|
|
782 |
|
| 3430 |
rajveer |
783 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
| 100 |
ashish |
784 |
public boolean isSetId() {
|
|
|
785 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
786 |
}
|
|
|
787 |
|
|
|
788 |
public void setIdIsSet(boolean value) {
|
|
|
789 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
790 |
}
|
|
|
791 |
|
| 957 |
chandransh |
792 |
public String getProductGroup() {
|
|
|
793 |
return this.productGroup;
|
| 483 |
rajveer |
794 |
}
|
|
|
795 |
|
| 3430 |
rajveer |
796 |
public void setProductGroup(String productGroup) {
|
| 957 |
chandransh |
797 |
this.productGroup = productGroup;
|
| 483 |
rajveer |
798 |
}
|
|
|
799 |
|
| 957 |
chandransh |
800 |
public void unsetProductGroup() {
|
|
|
801 |
this.productGroup = null;
|
| 483 |
rajveer |
802 |
}
|
|
|
803 |
|
| 3430 |
rajveer |
804 |
/** Returns true if field productGroup is set (has been assigned a value) and false otherwise */
|
| 957 |
chandransh |
805 |
public boolean isSetProductGroup() {
|
|
|
806 |
return this.productGroup != null;
|
| 483 |
rajveer |
807 |
}
|
|
|
808 |
|
| 957 |
chandransh |
809 |
public void setProductGroupIsSet(boolean value) {
|
| 483 |
rajveer |
810 |
if (!value) {
|
| 957 |
chandransh |
811 |
this.productGroup = null;
|
| 483 |
rajveer |
812 |
}
|
|
|
813 |
}
|
|
|
814 |
|
| 957 |
chandransh |
815 |
public String getBrand() {
|
|
|
816 |
return this.brand;
|
|
|
817 |
}
|
|
|
818 |
|
| 3430 |
rajveer |
819 |
public void setBrand(String brand) {
|
| 957 |
chandransh |
820 |
this.brand = brand;
|
|
|
821 |
}
|
|
|
822 |
|
|
|
823 |
public void unsetBrand() {
|
|
|
824 |
this.brand = null;
|
|
|
825 |
}
|
|
|
826 |
|
| 3430 |
rajveer |
827 |
/** Returns true if field brand is set (has been assigned a value) and false otherwise */
|
| 957 |
chandransh |
828 |
public boolean isSetBrand() {
|
|
|
829 |
return this.brand != null;
|
|
|
830 |
}
|
|
|
831 |
|
|
|
832 |
public void setBrandIsSet(boolean value) {
|
|
|
833 |
if (!value) {
|
|
|
834 |
this.brand = null;
|
|
|
835 |
}
|
|
|
836 |
}
|
|
|
837 |
|
| 483 |
rajveer |
838 |
public String getModelNumber() {
|
|
|
839 |
return this.modelNumber;
|
|
|
840 |
}
|
|
|
841 |
|
| 3430 |
rajveer |
842 |
public void setModelNumber(String modelNumber) {
|
| 483 |
rajveer |
843 |
this.modelNumber = modelNumber;
|
|
|
844 |
}
|
|
|
845 |
|
|
|
846 |
public void unsetModelNumber() {
|
|
|
847 |
this.modelNumber = null;
|
|
|
848 |
}
|
|
|
849 |
|
| 3430 |
rajveer |
850 |
/** Returns true if field modelNumber is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
851 |
public boolean isSetModelNumber() {
|
|
|
852 |
return this.modelNumber != null;
|
|
|
853 |
}
|
|
|
854 |
|
|
|
855 |
public void setModelNumberIsSet(boolean value) {
|
|
|
856 |
if (!value) {
|
|
|
857 |
this.modelNumber = null;
|
|
|
858 |
}
|
|
|
859 |
}
|
|
|
860 |
|
|
|
861 |
public String getModelName() {
|
|
|
862 |
return this.modelName;
|
|
|
863 |
}
|
|
|
864 |
|
| 3430 |
rajveer |
865 |
public void setModelName(String modelName) {
|
| 483 |
rajveer |
866 |
this.modelName = modelName;
|
|
|
867 |
}
|
|
|
868 |
|
|
|
869 |
public void unsetModelName() {
|
|
|
870 |
this.modelName = null;
|
|
|
871 |
}
|
|
|
872 |
|
| 3430 |
rajveer |
873 |
/** Returns true if field modelName is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
874 |
public boolean isSetModelName() {
|
|
|
875 |
return this.modelName != null;
|
|
|
876 |
}
|
|
|
877 |
|
|
|
878 |
public void setModelNameIsSet(boolean value) {
|
|
|
879 |
if (!value) {
|
|
|
880 |
this.modelName = null;
|
|
|
881 |
}
|
|
|
882 |
}
|
|
|
883 |
|
| 1329 |
chandransh |
884 |
public String getColor() {
|
|
|
885 |
return this.color;
|
|
|
886 |
}
|
|
|
887 |
|
| 3430 |
rajveer |
888 |
public void setColor(String color) {
|
| 1329 |
chandransh |
889 |
this.color = color;
|
|
|
890 |
}
|
|
|
891 |
|
|
|
892 |
public void unsetColor() {
|
|
|
893 |
this.color = null;
|
|
|
894 |
}
|
|
|
895 |
|
| 3430 |
rajveer |
896 |
/** Returns true if field color is set (has been assigned a value) and false otherwise */
|
| 1329 |
chandransh |
897 |
public boolean isSetColor() {
|
|
|
898 |
return this.color != null;
|
|
|
899 |
}
|
|
|
900 |
|
|
|
901 |
public void setColorIsSet(boolean value) {
|
|
|
902 |
if (!value) {
|
|
|
903 |
this.color = null;
|
|
|
904 |
}
|
|
|
905 |
}
|
|
|
906 |
|
| 622 |
chandransh |
907 |
public long getCategory() {
|
| 483 |
rajveer |
908 |
return this.category;
|
|
|
909 |
}
|
|
|
910 |
|
| 3430 |
rajveer |
911 |
public void setCategory(long category) {
|
| 483 |
rajveer |
912 |
this.category = category;
|
| 622 |
chandransh |
913 |
setCategoryIsSet(true);
|
| 483 |
rajveer |
914 |
}
|
|
|
915 |
|
|
|
916 |
public void unsetCategory() {
|
| 622 |
chandransh |
917 |
__isset_bit_vector.clear(__CATEGORY_ISSET_ID);
|
| 483 |
rajveer |
918 |
}
|
|
|
919 |
|
| 3430 |
rajveer |
920 |
/** Returns true if field category is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
921 |
public boolean isSetCategory() {
|
| 622 |
chandransh |
922 |
return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
|
| 483 |
rajveer |
923 |
}
|
|
|
924 |
|
|
|
925 |
public void setCategoryIsSet(boolean value) {
|
| 622 |
chandransh |
926 |
__isset_bit_vector.set(__CATEGORY_ISSET_ID, value);
|
| 483 |
rajveer |
927 |
}
|
|
|
928 |
|
|
|
929 |
public String getComments() {
|
|
|
930 |
return this.comments;
|
|
|
931 |
}
|
|
|
932 |
|
| 3430 |
rajveer |
933 |
public void setComments(String comments) {
|
| 483 |
rajveer |
934 |
this.comments = comments;
|
|
|
935 |
}
|
|
|
936 |
|
|
|
937 |
public void unsetComments() {
|
|
|
938 |
this.comments = null;
|
|
|
939 |
}
|
|
|
940 |
|
| 3430 |
rajveer |
941 |
/** Returns true if field comments is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
942 |
public boolean isSetComments() {
|
|
|
943 |
return this.comments != null;
|
|
|
944 |
}
|
|
|
945 |
|
|
|
946 |
public void setCommentsIsSet(boolean value) {
|
|
|
947 |
if (!value) {
|
|
|
948 |
this.comments = null;
|
|
|
949 |
}
|
|
|
950 |
}
|
|
|
951 |
|
| 123 |
ashish |
952 |
public long getCatalogItemId() {
|
|
|
953 |
return this.catalogItemId;
|
| 100 |
ashish |
954 |
}
|
|
|
955 |
|
| 3430 |
rajveer |
956 |
public void setCatalogItemId(long catalogItemId) {
|
| 123 |
ashish |
957 |
this.catalogItemId = catalogItemId;
|
|
|
958 |
setCatalogItemIdIsSet(true);
|
| 100 |
ashish |
959 |
}
|
|
|
960 |
|
| 123 |
ashish |
961 |
public void unsetCatalogItemId() {
|
|
|
962 |
__isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
|
| 100 |
ashish |
963 |
}
|
|
|
964 |
|
| 3430 |
rajveer |
965 |
/** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
|
| 123 |
ashish |
966 |
public boolean isSetCatalogItemId() {
|
|
|
967 |
return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
|
| 100 |
ashish |
968 |
}
|
|
|
969 |
|
| 123 |
ashish |
970 |
public void setCatalogItemIdIsSet(boolean value) {
|
|
|
971 |
__isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
|
| 100 |
ashish |
972 |
}
|
|
|
973 |
|
| 483 |
rajveer |
974 |
public long getFeatureId() {
|
|
|
975 |
return this.featureId;
|
|
|
976 |
}
|
|
|
977 |
|
| 3430 |
rajveer |
978 |
public void setFeatureId(long featureId) {
|
| 483 |
rajveer |
979 |
this.featureId = featureId;
|
|
|
980 |
setFeatureIdIsSet(true);
|
|
|
981 |
}
|
|
|
982 |
|
|
|
983 |
public void unsetFeatureId() {
|
|
|
984 |
__isset_bit_vector.clear(__FEATUREID_ISSET_ID);
|
|
|
985 |
}
|
|
|
986 |
|
| 3430 |
rajveer |
987 |
/** Returns true if field featureId is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
988 |
public boolean isSetFeatureId() {
|
|
|
989 |
return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
|
|
|
990 |
}
|
|
|
991 |
|
|
|
992 |
public void setFeatureIdIsSet(boolean value) {
|
|
|
993 |
__isset_bit_vector.set(__FEATUREID_ISSET_ID, value);
|
|
|
994 |
}
|
|
|
995 |
|
|
|
996 |
public String getFeatureDescription() {
|
|
|
997 |
return this.featureDescription;
|
|
|
998 |
}
|
|
|
999 |
|
| 3430 |
rajveer |
1000 |
public void setFeatureDescription(String featureDescription) {
|
| 483 |
rajveer |
1001 |
this.featureDescription = featureDescription;
|
|
|
1002 |
}
|
|
|
1003 |
|
|
|
1004 |
public void unsetFeatureDescription() {
|
|
|
1005 |
this.featureDescription = null;
|
|
|
1006 |
}
|
|
|
1007 |
|
| 3430 |
rajveer |
1008 |
/** Returns true if field featureDescription is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1009 |
public boolean isSetFeatureDescription() {
|
|
|
1010 |
return this.featureDescription != null;
|
|
|
1011 |
}
|
|
|
1012 |
|
|
|
1013 |
public void setFeatureDescriptionIsSet(boolean value) {
|
|
|
1014 |
if (!value) {
|
|
|
1015 |
this.featureDescription = null;
|
|
|
1016 |
}
|
|
|
1017 |
}
|
|
|
1018 |
|
|
|
1019 |
public double getMrp() {
|
|
|
1020 |
return this.mrp;
|
|
|
1021 |
}
|
|
|
1022 |
|
| 3430 |
rajveer |
1023 |
public void setMrp(double mrp) {
|
| 483 |
rajveer |
1024 |
this.mrp = mrp;
|
|
|
1025 |
setMrpIsSet(true);
|
|
|
1026 |
}
|
|
|
1027 |
|
|
|
1028 |
public void unsetMrp() {
|
|
|
1029 |
__isset_bit_vector.clear(__MRP_ISSET_ID);
|
|
|
1030 |
}
|
|
|
1031 |
|
| 3430 |
rajveer |
1032 |
/** Returns true if field mrp is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1033 |
public boolean isSetMrp() {
|
|
|
1034 |
return __isset_bit_vector.get(__MRP_ISSET_ID);
|
|
|
1035 |
}
|
|
|
1036 |
|
|
|
1037 |
public void setMrpIsSet(boolean value) {
|
|
|
1038 |
__isset_bit_vector.set(__MRP_ISSET_ID, value);
|
|
|
1039 |
}
|
|
|
1040 |
|
|
|
1041 |
public double getSellingPrice() {
|
|
|
1042 |
return this.sellingPrice;
|
|
|
1043 |
}
|
|
|
1044 |
|
| 3430 |
rajveer |
1045 |
public void setSellingPrice(double sellingPrice) {
|
| 483 |
rajveer |
1046 |
this.sellingPrice = sellingPrice;
|
|
|
1047 |
setSellingPriceIsSet(true);
|
|
|
1048 |
}
|
|
|
1049 |
|
|
|
1050 |
public void unsetSellingPrice() {
|
|
|
1051 |
__isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
|
|
|
1052 |
}
|
|
|
1053 |
|
| 3430 |
rajveer |
1054 |
/** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1055 |
public boolean isSetSellingPrice() {
|
|
|
1056 |
return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
|
|
|
1057 |
}
|
|
|
1058 |
|
|
|
1059 |
public void setSellingPriceIsSet(boolean value) {
|
|
|
1060 |
__isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
|
|
|
1061 |
}
|
|
|
1062 |
|
|
|
1063 |
public double getWeight() {
|
|
|
1064 |
return this.weight;
|
|
|
1065 |
}
|
|
|
1066 |
|
| 3430 |
rajveer |
1067 |
public void setWeight(double weight) {
|
| 483 |
rajveer |
1068 |
this.weight = weight;
|
|
|
1069 |
setWeightIsSet(true);
|
|
|
1070 |
}
|
|
|
1071 |
|
|
|
1072 |
public void unsetWeight() {
|
|
|
1073 |
__isset_bit_vector.clear(__WEIGHT_ISSET_ID);
|
|
|
1074 |
}
|
|
|
1075 |
|
| 3430 |
rajveer |
1076 |
/** Returns true if field weight is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1077 |
public boolean isSetWeight() {
|
|
|
1078 |
return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
|
|
|
1079 |
}
|
|
|
1080 |
|
|
|
1081 |
public void setWeightIsSet(boolean value) {
|
|
|
1082 |
__isset_bit_vector.set(__WEIGHT_ISSET_ID, value);
|
|
|
1083 |
}
|
|
|
1084 |
|
| 103 |
ashish |
1085 |
public long getAddedOn() {
|
|
|
1086 |
return this.addedOn;
|
|
|
1087 |
}
|
|
|
1088 |
|
| 3430 |
rajveer |
1089 |
public void setAddedOn(long addedOn) {
|
| 103 |
ashish |
1090 |
this.addedOn = addedOn;
|
|
|
1091 |
setAddedOnIsSet(true);
|
|
|
1092 |
}
|
|
|
1093 |
|
|
|
1094 |
public void unsetAddedOn() {
|
|
|
1095 |
__isset_bit_vector.clear(__ADDEDON_ISSET_ID);
|
|
|
1096 |
}
|
|
|
1097 |
|
| 3430 |
rajveer |
1098 |
/** Returns true if field addedOn is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1099 |
public boolean isSetAddedOn() {
|
|
|
1100 |
return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
|
|
|
1101 |
}
|
|
|
1102 |
|
|
|
1103 |
public void setAddedOnIsSet(boolean value) {
|
|
|
1104 |
__isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
|
|
|
1105 |
}
|
|
|
1106 |
|
|
|
1107 |
public long getStartDate() {
|
|
|
1108 |
return this.startDate;
|
|
|
1109 |
}
|
|
|
1110 |
|
| 3430 |
rajveer |
1111 |
public void setStartDate(long startDate) {
|
| 103 |
ashish |
1112 |
this.startDate = startDate;
|
|
|
1113 |
setStartDateIsSet(true);
|
|
|
1114 |
}
|
|
|
1115 |
|
|
|
1116 |
public void unsetStartDate() {
|
|
|
1117 |
__isset_bit_vector.clear(__STARTDATE_ISSET_ID);
|
|
|
1118 |
}
|
|
|
1119 |
|
| 3430 |
rajveer |
1120 |
/** Returns true if field startDate is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1121 |
public boolean isSetStartDate() {
|
|
|
1122 |
return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
|
|
|
1123 |
}
|
|
|
1124 |
|
|
|
1125 |
public void setStartDateIsSet(boolean value) {
|
|
|
1126 |
__isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
|
|
|
1127 |
}
|
|
|
1128 |
|
| 483 |
rajveer |
1129 |
public long getRetireDate() {
|
|
|
1130 |
return this.retireDate;
|
|
|
1131 |
}
|
|
|
1132 |
|
| 3430 |
rajveer |
1133 |
public void setRetireDate(long retireDate) {
|
| 483 |
rajveer |
1134 |
this.retireDate = retireDate;
|
|
|
1135 |
setRetireDateIsSet(true);
|
|
|
1136 |
}
|
|
|
1137 |
|
|
|
1138 |
public void unsetRetireDate() {
|
|
|
1139 |
__isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
|
|
|
1140 |
}
|
|
|
1141 |
|
| 3430 |
rajveer |
1142 |
/** Returns true if field retireDate is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1143 |
public boolean isSetRetireDate() {
|
|
|
1144 |
return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
|
|
|
1145 |
}
|
|
|
1146 |
|
|
|
1147 |
public void setRetireDateIsSet(boolean value) {
|
|
|
1148 |
__isset_bit_vector.set(__RETIREDATE_ISSET_ID, value);
|
|
|
1149 |
}
|
|
|
1150 |
|
| 103 |
ashish |
1151 |
/**
|
|
|
1152 |
*
|
|
|
1153 |
* @see status
|
|
|
1154 |
*/
|
|
|
1155 |
public status getItemStatus() {
|
|
|
1156 |
return this.itemStatus;
|
|
|
1157 |
}
|
|
|
1158 |
|
|
|
1159 |
/**
|
|
|
1160 |
*
|
|
|
1161 |
* @see status
|
|
|
1162 |
*/
|
| 3430 |
rajveer |
1163 |
public void setItemStatus(status itemStatus) {
|
| 103 |
ashish |
1164 |
this.itemStatus = itemStatus;
|
|
|
1165 |
}
|
|
|
1166 |
|
|
|
1167 |
public void unsetItemStatus() {
|
|
|
1168 |
this.itemStatus = null;
|
|
|
1169 |
}
|
|
|
1170 |
|
| 3430 |
rajveer |
1171 |
/** Returns true if field itemStatus is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1172 |
public boolean isSetItemStatus() {
|
|
|
1173 |
return this.itemStatus != null;
|
|
|
1174 |
}
|
|
|
1175 |
|
|
|
1176 |
public void setItemStatusIsSet(boolean value) {
|
|
|
1177 |
if (!value) {
|
|
|
1178 |
this.itemStatus = null;
|
|
|
1179 |
}
|
|
|
1180 |
}
|
|
|
1181 |
|
| 2034 |
rajveer |
1182 |
public String getStatus_description() {
|
|
|
1183 |
return this.status_description;
|
|
|
1184 |
}
|
|
|
1185 |
|
| 3430 |
rajveer |
1186 |
public void setStatus_description(String status_description) {
|
| 2034 |
rajveer |
1187 |
this.status_description = status_description;
|
|
|
1188 |
}
|
|
|
1189 |
|
|
|
1190 |
public void unsetStatus_description() {
|
|
|
1191 |
this.status_description = null;
|
|
|
1192 |
}
|
|
|
1193 |
|
| 3430 |
rajveer |
1194 |
/** Returns true if field status_description is set (has been assigned a value) and false otherwise */
|
| 2034 |
rajveer |
1195 |
public boolean isSetStatus_description() {
|
|
|
1196 |
return this.status_description != null;
|
|
|
1197 |
}
|
|
|
1198 |
|
|
|
1199 |
public void setStatus_descriptionIsSet(boolean value) {
|
|
|
1200 |
if (!value) {
|
|
|
1201 |
this.status_description = null;
|
|
|
1202 |
}
|
|
|
1203 |
}
|
|
|
1204 |
|
| 5336 |
rajveer |
1205 |
public int getOtherInfoSize() {
|
|
|
1206 |
return (this.otherInfo == null) ? 0 : this.otherInfo.size();
|
|
|
1207 |
}
|
|
|
1208 |
|
|
|
1209 |
public void putToOtherInfo(String key, String val) {
|
|
|
1210 |
if (this.otherInfo == null) {
|
|
|
1211 |
this.otherInfo = new HashMap<String,String>();
|
|
|
1212 |
}
|
|
|
1213 |
this.otherInfo.put(key, val);
|
|
|
1214 |
}
|
|
|
1215 |
|
|
|
1216 |
public Map<String,String> getOtherInfo() {
|
|
|
1217 |
return this.otherInfo;
|
|
|
1218 |
}
|
|
|
1219 |
|
|
|
1220 |
public void setOtherInfo(Map<String,String> otherInfo) {
|
|
|
1221 |
this.otherInfo = otherInfo;
|
|
|
1222 |
}
|
|
|
1223 |
|
|
|
1224 |
public void unsetOtherInfo() {
|
|
|
1225 |
this.otherInfo = null;
|
|
|
1226 |
}
|
|
|
1227 |
|
|
|
1228 |
/** Returns true if field otherInfo is set (has been assigned a value) and false otherwise */
|
|
|
1229 |
public boolean isSetOtherInfo() {
|
|
|
1230 |
return this.otherInfo != null;
|
|
|
1231 |
}
|
|
|
1232 |
|
|
|
1233 |
public void setOtherInfoIsSet(boolean value) {
|
|
|
1234 |
if (!value) {
|
|
|
1235 |
this.otherInfo = null;
|
|
|
1236 |
}
|
|
|
1237 |
}
|
|
|
1238 |
|
| 607 |
chandransh |
1239 |
public String getBestDealText() {
|
|
|
1240 |
return this.bestDealText;
|
|
|
1241 |
}
|
|
|
1242 |
|
| 3430 |
rajveer |
1243 |
public void setBestDealText(String bestDealText) {
|
| 607 |
chandransh |
1244 |
this.bestDealText = bestDealText;
|
|
|
1245 |
}
|
|
|
1246 |
|
|
|
1247 |
public void unsetBestDealText() {
|
|
|
1248 |
this.bestDealText = null;
|
|
|
1249 |
}
|
|
|
1250 |
|
| 3430 |
rajveer |
1251 |
/** Returns true if field bestDealText is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1252 |
public boolean isSetBestDealText() {
|
|
|
1253 |
return this.bestDealText != null;
|
|
|
1254 |
}
|
|
|
1255 |
|
|
|
1256 |
public void setBestDealTextIsSet(boolean value) {
|
|
|
1257 |
if (!value) {
|
|
|
1258 |
this.bestDealText = null;
|
|
|
1259 |
}
|
|
|
1260 |
}
|
|
|
1261 |
|
|
|
1262 |
public double getBestDealValue() {
|
|
|
1263 |
return this.bestDealValue;
|
|
|
1264 |
}
|
|
|
1265 |
|
| 3430 |
rajveer |
1266 |
public void setBestDealValue(double bestDealValue) {
|
| 607 |
chandransh |
1267 |
this.bestDealValue = bestDealValue;
|
|
|
1268 |
setBestDealValueIsSet(true);
|
|
|
1269 |
}
|
|
|
1270 |
|
|
|
1271 |
public void unsetBestDealValue() {
|
|
|
1272 |
__isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
|
|
|
1273 |
}
|
|
|
1274 |
|
| 3430 |
rajveer |
1275 |
/** Returns true if field bestDealValue is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1276 |
public boolean isSetBestDealValue() {
|
|
|
1277 |
return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
|
|
|
1278 |
}
|
|
|
1279 |
|
|
|
1280 |
public void setBestDealValueIsSet(boolean value) {
|
|
|
1281 |
__isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
|
|
|
1282 |
}
|
|
|
1283 |
|
| 1910 |
varun.gupt |
1284 |
public boolean isDefaultForEntity() {
|
|
|
1285 |
return this.defaultForEntity;
|
|
|
1286 |
}
|
|
|
1287 |
|
| 3430 |
rajveer |
1288 |
public void setDefaultForEntity(boolean defaultForEntity) {
|
| 1910 |
varun.gupt |
1289 |
this.defaultForEntity = defaultForEntity;
|
|
|
1290 |
setDefaultForEntityIsSet(true);
|
|
|
1291 |
}
|
|
|
1292 |
|
|
|
1293 |
public void unsetDefaultForEntity() {
|
|
|
1294 |
__isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
|
|
|
1295 |
}
|
|
|
1296 |
|
| 3430 |
rajveer |
1297 |
/** Returns true if field defaultForEntity is set (has been assigned a value) and false otherwise */
|
| 1910 |
varun.gupt |
1298 |
public boolean isSetDefaultForEntity() {
|
|
|
1299 |
return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
|
|
|
1300 |
}
|
|
|
1301 |
|
|
|
1302 |
public void setDefaultForEntityIsSet(boolean value) {
|
|
|
1303 |
__isset_bit_vector.set(__DEFAULTFORENTITY_ISSET_ID, value);
|
|
|
1304 |
}
|
|
|
1305 |
|
| 607 |
chandransh |
1306 |
public long getUpdatedOn() {
|
|
|
1307 |
return this.updatedOn;
|
|
|
1308 |
}
|
|
|
1309 |
|
| 3430 |
rajveer |
1310 |
public void setUpdatedOn(long updatedOn) {
|
| 607 |
chandransh |
1311 |
this.updatedOn = updatedOn;
|
|
|
1312 |
setUpdatedOnIsSet(true);
|
|
|
1313 |
}
|
|
|
1314 |
|
|
|
1315 |
public void unsetUpdatedOn() {
|
|
|
1316 |
__isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
|
|
|
1317 |
}
|
|
|
1318 |
|
| 3430 |
rajveer |
1319 |
/** Returns true if field updatedOn is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1320 |
public boolean isSetUpdatedOn() {
|
|
|
1321 |
return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
|
|
|
1322 |
}
|
|
|
1323 |
|
|
|
1324 |
public void setUpdatedOnIsSet(boolean value) {
|
|
|
1325 |
__isset_bit_vector.set(__UPDATEDON_ISSET_ID, value);
|
|
|
1326 |
}
|
|
|
1327 |
|
| 2064 |
ankur.sing |
1328 |
public long getBestSellingRank() {
|
|
|
1329 |
return this.bestSellingRank;
|
|
|
1330 |
}
|
|
|
1331 |
|
| 3430 |
rajveer |
1332 |
public void setBestSellingRank(long bestSellingRank) {
|
| 2064 |
ankur.sing |
1333 |
this.bestSellingRank = bestSellingRank;
|
|
|
1334 |
setBestSellingRankIsSet(true);
|
|
|
1335 |
}
|
|
|
1336 |
|
|
|
1337 |
public void unsetBestSellingRank() {
|
|
|
1338 |
__isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
|
|
|
1339 |
}
|
|
|
1340 |
|
| 3430 |
rajveer |
1341 |
/** Returns true if field bestSellingRank is set (has been assigned a value) and false otherwise */
|
| 2064 |
ankur.sing |
1342 |
public boolean isSetBestSellingRank() {
|
|
|
1343 |
return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
|
|
|
1344 |
}
|
|
|
1345 |
|
|
|
1346 |
public void setBestSellingRankIsSet(boolean value) {
|
|
|
1347 |
__isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
|
|
|
1348 |
}
|
|
|
1349 |
|
| 2250 |
ankur.sing |
1350 |
public boolean isRisky() {
|
|
|
1351 |
return this.risky;
|
|
|
1352 |
}
|
|
|
1353 |
|
| 3430 |
rajveer |
1354 |
public void setRisky(boolean risky) {
|
| 2250 |
ankur.sing |
1355 |
this.risky = risky;
|
|
|
1356 |
setRiskyIsSet(true);
|
|
|
1357 |
}
|
|
|
1358 |
|
|
|
1359 |
public void unsetRisky() {
|
|
|
1360 |
__isset_bit_vector.clear(__RISKY_ISSET_ID);
|
|
|
1361 |
}
|
|
|
1362 |
|
| 3430 |
rajveer |
1363 |
/** Returns true if field risky is set (has been assigned a value) and false otherwise */
|
| 2250 |
ankur.sing |
1364 |
public boolean isSetRisky() {
|
|
|
1365 |
return __isset_bit_vector.get(__RISKY_ISSET_ID);
|
|
|
1366 |
}
|
|
|
1367 |
|
|
|
1368 |
public void setRiskyIsSet(boolean value) {
|
|
|
1369 |
__isset_bit_vector.set(__RISKY_ISSET_ID, value);
|
|
|
1370 |
}
|
|
|
1371 |
|
| 3355 |
chandransh |
1372 |
public int getExpectedDelay() {
|
|
|
1373 |
return this.expectedDelay;
|
|
|
1374 |
}
|
|
|
1375 |
|
| 3430 |
rajveer |
1376 |
public void setExpectedDelay(int expectedDelay) {
|
| 3355 |
chandransh |
1377 |
this.expectedDelay = expectedDelay;
|
|
|
1378 |
setExpectedDelayIsSet(true);
|
|
|
1379 |
}
|
|
|
1380 |
|
|
|
1381 |
public void unsetExpectedDelay() {
|
|
|
1382 |
__isset_bit_vector.clear(__EXPECTEDDELAY_ISSET_ID);
|
|
|
1383 |
}
|
|
|
1384 |
|
| 3430 |
rajveer |
1385 |
/** Returns true if field expectedDelay is set (has been assigned a value) and false otherwise */
|
| 3355 |
chandransh |
1386 |
public boolean isSetExpectedDelay() {
|
|
|
1387 |
return __isset_bit_vector.get(__EXPECTEDDELAY_ISSET_ID);
|
|
|
1388 |
}
|
|
|
1389 |
|
|
|
1390 |
public void setExpectedDelayIsSet(boolean value) {
|
|
|
1391 |
__isset_bit_vector.set(__EXPECTEDDELAY_ISSET_ID, value);
|
|
|
1392 |
}
|
|
|
1393 |
|
| 4406 |
anupam.sin |
1394 |
public boolean isIsWarehousePreferenceSticky() {
|
|
|
1395 |
return this.isWarehousePreferenceSticky;
|
|
|
1396 |
}
|
|
|
1397 |
|
|
|
1398 |
public void setIsWarehousePreferenceSticky(boolean isWarehousePreferenceSticky) {
|
|
|
1399 |
this.isWarehousePreferenceSticky = isWarehousePreferenceSticky;
|
|
|
1400 |
setIsWarehousePreferenceStickyIsSet(true);
|
|
|
1401 |
}
|
|
|
1402 |
|
|
|
1403 |
public void unsetIsWarehousePreferenceSticky() {
|
|
|
1404 |
__isset_bit_vector.clear(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
|
|
1405 |
}
|
|
|
1406 |
|
|
|
1407 |
/** Returns true if field isWarehousePreferenceSticky is set (has been assigned a value) and false otherwise */
|
|
|
1408 |
public boolean isSetIsWarehousePreferenceSticky() {
|
|
|
1409 |
return __isset_bit_vector.get(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
|
|
1410 |
}
|
|
|
1411 |
|
|
|
1412 |
public void setIsWarehousePreferenceStickyIsSet(boolean value) {
|
|
|
1413 |
__isset_bit_vector.set(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID, value);
|
|
|
1414 |
}
|
|
|
1415 |
|
| 4295 |
varun.gupt |
1416 |
public int getWarrantyPeriod() {
|
|
|
1417 |
return this.warrantyPeriod;
|
|
|
1418 |
}
|
|
|
1419 |
|
|
|
1420 |
public void setWarrantyPeriod(int warrantyPeriod) {
|
|
|
1421 |
this.warrantyPeriod = warrantyPeriod;
|
|
|
1422 |
setWarrantyPeriodIsSet(true);
|
|
|
1423 |
}
|
|
|
1424 |
|
|
|
1425 |
public void unsetWarrantyPeriod() {
|
|
|
1426 |
__isset_bit_vector.clear(__WARRANTYPERIOD_ISSET_ID);
|
|
|
1427 |
}
|
|
|
1428 |
|
|
|
1429 |
/** Returns true if field warrantyPeriod is set (has been assigned a value) and false otherwise */
|
|
|
1430 |
public boolean isSetWarrantyPeriod() {
|
|
|
1431 |
return __isset_bit_vector.get(__WARRANTYPERIOD_ISSET_ID);
|
|
|
1432 |
}
|
|
|
1433 |
|
|
|
1434 |
public void setWarrantyPeriodIsSet(boolean value) {
|
|
|
1435 |
__isset_bit_vector.set(__WARRANTYPERIOD_ISSET_ID, value);
|
|
|
1436 |
}
|
|
|
1437 |
|
| 4506 |
phani.kuma |
1438 |
public long getPreferredVendor() {
|
|
|
1439 |
return this.preferredVendor;
|
|
|
1440 |
}
|
|
|
1441 |
|
|
|
1442 |
public void setPreferredVendor(long preferredVendor) {
|
|
|
1443 |
this.preferredVendor = preferredVendor;
|
|
|
1444 |
setPreferredVendorIsSet(true);
|
|
|
1445 |
}
|
|
|
1446 |
|
|
|
1447 |
public void unsetPreferredVendor() {
|
|
|
1448 |
__isset_bit_vector.clear(__PREFERREDVENDOR_ISSET_ID);
|
|
|
1449 |
}
|
|
|
1450 |
|
|
|
1451 |
/** Returns true if field preferredVendor is set (has been assigned a value) and false otherwise */
|
|
|
1452 |
public boolean isSetPreferredVendor() {
|
|
|
1453 |
return __isset_bit_vector.get(__PREFERREDVENDOR_ISSET_ID);
|
|
|
1454 |
}
|
|
|
1455 |
|
|
|
1456 |
public void setPreferredVendorIsSet(boolean value) {
|
|
|
1457 |
__isset_bit_vector.set(__PREFERREDVENDOR_ISSET_ID, value);
|
|
|
1458 |
}
|
|
|
1459 |
|
| 5110 |
mandeep.dh |
1460 |
/**
|
|
|
1461 |
*
|
|
|
1462 |
* @see ItemType
|
|
|
1463 |
*/
|
|
|
1464 |
public ItemType getType() {
|
|
|
1465 |
return this.type;
|
|
|
1466 |
}
|
|
|
1467 |
|
|
|
1468 |
/**
|
|
|
1469 |
*
|
|
|
1470 |
* @see ItemType
|
|
|
1471 |
*/
|
|
|
1472 |
public void setType(ItemType type) {
|
|
|
1473 |
this.type = type;
|
|
|
1474 |
}
|
|
|
1475 |
|
|
|
1476 |
public void unsetType() {
|
|
|
1477 |
this.type = null;
|
|
|
1478 |
}
|
|
|
1479 |
|
|
|
1480 |
/** Returns true if field type is set (has been assigned a value) and false otherwise */
|
|
|
1481 |
public boolean isSetType() {
|
|
|
1482 |
return this.type != null;
|
|
|
1483 |
}
|
|
|
1484 |
|
|
|
1485 |
public void setTypeIsSet(boolean value) {
|
|
|
1486 |
if (!value) {
|
|
|
1487 |
this.type = null;
|
|
|
1488 |
}
|
|
|
1489 |
}
|
|
|
1490 |
|
| 5217 |
amit.gupta |
1491 |
public long getComingSoonStartDate() {
|
|
|
1492 |
return this.comingSoonStartDate;
|
|
|
1493 |
}
|
|
|
1494 |
|
|
|
1495 |
public void setComingSoonStartDate(long comingSoonStartDate) {
|
|
|
1496 |
this.comingSoonStartDate = comingSoonStartDate;
|
|
|
1497 |
setComingSoonStartDateIsSet(true);
|
|
|
1498 |
}
|
|
|
1499 |
|
|
|
1500 |
public void unsetComingSoonStartDate() {
|
|
|
1501 |
__isset_bit_vector.clear(__COMINGSOONSTARTDATE_ISSET_ID);
|
|
|
1502 |
}
|
|
|
1503 |
|
|
|
1504 |
/** Returns true if field comingSoonStartDate is set (has been assigned a value) and false otherwise */
|
|
|
1505 |
public boolean isSetComingSoonStartDate() {
|
|
|
1506 |
return __isset_bit_vector.get(__COMINGSOONSTARTDATE_ISSET_ID);
|
|
|
1507 |
}
|
|
|
1508 |
|
|
|
1509 |
public void setComingSoonStartDateIsSet(boolean value) {
|
|
|
1510 |
__isset_bit_vector.set(__COMINGSOONSTARTDATE_ISSET_ID, value);
|
|
|
1511 |
}
|
|
|
1512 |
|
|
|
1513 |
public long getExpectedArrivalDate() {
|
|
|
1514 |
return this.expectedArrivalDate;
|
|
|
1515 |
}
|
|
|
1516 |
|
|
|
1517 |
public void setExpectedArrivalDate(long expectedArrivalDate) {
|
|
|
1518 |
this.expectedArrivalDate = expectedArrivalDate;
|
|
|
1519 |
setExpectedArrivalDateIsSet(true);
|
|
|
1520 |
}
|
|
|
1521 |
|
|
|
1522 |
public void unsetExpectedArrivalDate() {
|
|
|
1523 |
__isset_bit_vector.clear(__EXPECTEDARRIVALDATE_ISSET_ID);
|
|
|
1524 |
}
|
|
|
1525 |
|
|
|
1526 |
/** Returns true if field expectedArrivalDate is set (has been assigned a value) and false otherwise */
|
|
|
1527 |
public boolean isSetExpectedArrivalDate() {
|
|
|
1528 |
return __isset_bit_vector.get(__EXPECTEDARRIVALDATE_ISSET_ID);
|
|
|
1529 |
}
|
|
|
1530 |
|
|
|
1531 |
public void setExpectedArrivalDateIsSet(boolean value) {
|
|
|
1532 |
__isset_bit_vector.set(__EXPECTEDARRIVALDATE_ISSET_ID, value);
|
|
|
1533 |
}
|
|
|
1534 |
|
| 5385 |
phani.kuma |
1535 |
public boolean isHasItemNo() {
|
|
|
1536 |
return this.hasItemNo;
|
|
|
1537 |
}
|
|
|
1538 |
|
|
|
1539 |
public void setHasItemNo(boolean hasItemNo) {
|
|
|
1540 |
this.hasItemNo = hasItemNo;
|
|
|
1541 |
setHasItemNoIsSet(true);
|
|
|
1542 |
}
|
|
|
1543 |
|
|
|
1544 |
public void unsetHasItemNo() {
|
|
|
1545 |
__isset_bit_vector.clear(__HASITEMNO_ISSET_ID);
|
|
|
1546 |
}
|
|
|
1547 |
|
|
|
1548 |
/** Returns true if field hasItemNo is set (has been assigned a value) and false otherwise */
|
|
|
1549 |
public boolean isSetHasItemNo() {
|
|
|
1550 |
return __isset_bit_vector.get(__HASITEMNO_ISSET_ID);
|
|
|
1551 |
}
|
|
|
1552 |
|
|
|
1553 |
public void setHasItemNoIsSet(boolean value) {
|
|
|
1554 |
__isset_bit_vector.set(__HASITEMNO_ISSET_ID, value);
|
|
|
1555 |
}
|
|
|
1556 |
|
| 7256 |
rajveer |
1557 |
public boolean isActiveOnStore() {
|
|
|
1558 |
return this.activeOnStore;
|
| 5460 |
phani.kuma |
1559 |
}
|
|
|
1560 |
|
| 7256 |
rajveer |
1561 |
public void setActiveOnStore(boolean activeOnStore) {
|
|
|
1562 |
this.activeOnStore = activeOnStore;
|
|
|
1563 |
setActiveOnStoreIsSet(true);
|
| 5460 |
phani.kuma |
1564 |
}
|
|
|
1565 |
|
| 7256 |
rajveer |
1566 |
public void unsetActiveOnStore() {
|
|
|
1567 |
__isset_bit_vector.clear(__ACTIVEONSTORE_ISSET_ID);
|
| 5460 |
phani.kuma |
1568 |
}
|
|
|
1569 |
|
| 7256 |
rajveer |
1570 |
/** Returns true if field activeOnStore is set (has been assigned a value) and false otherwise */
|
|
|
1571 |
public boolean isSetActiveOnStore() {
|
|
|
1572 |
return __isset_bit_vector.get(__ACTIVEONSTORE_ISSET_ID);
|
| 5460 |
phani.kuma |
1573 |
}
|
|
|
1574 |
|
| 7256 |
rajveer |
1575 |
public void setActiveOnStoreIsSet(boolean value) {
|
|
|
1576 |
__isset_bit_vector.set(__ACTIVEONSTORE_ISSET_ID, value);
|
| 5460 |
phani.kuma |
1577 |
}
|
|
|
1578 |
|
| 6241 |
amit.gupta |
1579 |
public boolean isShowSellingPrice() {
|
|
|
1580 |
return this.showSellingPrice;
|
|
|
1581 |
}
|
|
|
1582 |
|
|
|
1583 |
public void setShowSellingPrice(boolean showSellingPrice) {
|
|
|
1584 |
this.showSellingPrice = showSellingPrice;
|
|
|
1585 |
setShowSellingPriceIsSet(true);
|
|
|
1586 |
}
|
|
|
1587 |
|
|
|
1588 |
public void unsetShowSellingPrice() {
|
|
|
1589 |
__isset_bit_vector.clear(__SHOWSELLINGPRICE_ISSET_ID);
|
|
|
1590 |
}
|
|
|
1591 |
|
|
|
1592 |
/** Returns true if field showSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
1593 |
public boolean isSetShowSellingPrice() {
|
|
|
1594 |
return __isset_bit_vector.get(__SHOWSELLINGPRICE_ISSET_ID);
|
|
|
1595 |
}
|
|
|
1596 |
|
|
|
1597 |
public void setShowSellingPriceIsSet(boolean value) {
|
|
|
1598 |
__isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
|
|
|
1599 |
}
|
|
|
1600 |
|
| 6777 |
vikram.rag |
1601 |
public String getBestDealsDetailsText() {
|
|
|
1602 |
return this.bestDealsDetailsText;
|
|
|
1603 |
}
|
|
|
1604 |
|
|
|
1605 |
public void setBestDealsDetailsText(String bestDealsDetailsText) {
|
|
|
1606 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
|
|
1607 |
}
|
|
|
1608 |
|
|
|
1609 |
public void unsetBestDealsDetailsText() {
|
|
|
1610 |
this.bestDealsDetailsText = null;
|
|
|
1611 |
}
|
|
|
1612 |
|
|
|
1613 |
/** Returns true if field bestDealsDetailsText is set (has been assigned a value) and false otherwise */
|
|
|
1614 |
public boolean isSetBestDealsDetailsText() {
|
|
|
1615 |
return this.bestDealsDetailsText != null;
|
|
|
1616 |
}
|
|
|
1617 |
|
|
|
1618 |
public void setBestDealsDetailsTextIsSet(boolean value) {
|
|
|
1619 |
if (!value) {
|
|
|
1620 |
this.bestDealsDetailsText = null;
|
|
|
1621 |
}
|
|
|
1622 |
}
|
|
|
1623 |
|
|
|
1624 |
public String getBestDealsDetailsLink() {
|
|
|
1625 |
return this.bestDealsDetailsLink;
|
|
|
1626 |
}
|
|
|
1627 |
|
|
|
1628 |
public void setBestDealsDetailsLink(String bestDealsDetailsLink) {
|
|
|
1629 |
this.bestDealsDetailsLink = bestDealsDetailsLink;
|
|
|
1630 |
}
|
|
|
1631 |
|
|
|
1632 |
public void unsetBestDealsDetailsLink() {
|
|
|
1633 |
this.bestDealsDetailsLink = null;
|
|
|
1634 |
}
|
|
|
1635 |
|
|
|
1636 |
/** Returns true if field bestDealsDetailsLink is set (has been assigned a value) and false otherwise */
|
|
|
1637 |
public boolean isSetBestDealsDetailsLink() {
|
|
|
1638 |
return this.bestDealsDetailsLink != null;
|
|
|
1639 |
}
|
|
|
1640 |
|
|
|
1641 |
public void setBestDealsDetailsLinkIsSet(boolean value) {
|
|
|
1642 |
if (!value) {
|
|
|
1643 |
this.bestDealsDetailsLink = null;
|
|
|
1644 |
}
|
|
|
1645 |
}
|
|
|
1646 |
|
| 6805 |
anupam.sin |
1647 |
public long getPreferredInsurer() {
|
|
|
1648 |
return this.preferredInsurer;
|
|
|
1649 |
}
|
|
|
1650 |
|
|
|
1651 |
public void setPreferredInsurer(long preferredInsurer) {
|
|
|
1652 |
this.preferredInsurer = preferredInsurer;
|
|
|
1653 |
setPreferredInsurerIsSet(true);
|
|
|
1654 |
}
|
|
|
1655 |
|
|
|
1656 |
public void unsetPreferredInsurer() {
|
|
|
1657 |
__isset_bit_vector.clear(__PREFERREDINSURER_ISSET_ID);
|
|
|
1658 |
}
|
|
|
1659 |
|
|
|
1660 |
/** Returns true if field preferredInsurer is set (has been assigned a value) and false otherwise */
|
|
|
1661 |
public boolean isSetPreferredInsurer() {
|
|
|
1662 |
return __isset_bit_vector.get(__PREFERREDINSURER_ISSET_ID);
|
|
|
1663 |
}
|
|
|
1664 |
|
|
|
1665 |
public void setPreferredInsurerIsSet(boolean value) {
|
|
|
1666 |
__isset_bit_vector.set(__PREFERREDINSURER_ISSET_ID, value);
|
|
|
1667 |
}
|
|
|
1668 |
|
| 7291 |
vikram.rag |
1669 |
public String getAsin() {
|
|
|
1670 |
return this.asin;
|
|
|
1671 |
}
|
|
|
1672 |
|
|
|
1673 |
public void setAsin(String asin) {
|
|
|
1674 |
this.asin = asin;
|
|
|
1675 |
}
|
|
|
1676 |
|
|
|
1677 |
public void unsetAsin() {
|
|
|
1678 |
this.asin = null;
|
|
|
1679 |
}
|
|
|
1680 |
|
|
|
1681 |
/** Returns true if field asin is set (has been assigned a value) and false otherwise */
|
|
|
1682 |
public boolean isSetAsin() {
|
|
|
1683 |
return this.asin != null;
|
|
|
1684 |
}
|
|
|
1685 |
|
|
|
1686 |
public void setAsinIsSet(boolean value) {
|
|
|
1687 |
if (!value) {
|
|
|
1688 |
this.asin = null;
|
|
|
1689 |
}
|
|
|
1690 |
}
|
|
|
1691 |
|
|
|
1692 |
public long getDefaultInventory() {
|
|
|
1693 |
return this.defaultInventory;
|
|
|
1694 |
}
|
|
|
1695 |
|
|
|
1696 |
public void setDefaultInventory(long defaultInventory) {
|
|
|
1697 |
this.defaultInventory = defaultInventory;
|
|
|
1698 |
setDefaultInventoryIsSet(true);
|
|
|
1699 |
}
|
|
|
1700 |
|
|
|
1701 |
public void unsetDefaultInventory() {
|
|
|
1702 |
__isset_bit_vector.clear(__DEFAULTINVENTORY_ISSET_ID);
|
|
|
1703 |
}
|
|
|
1704 |
|
|
|
1705 |
/** Returns true if field defaultInventory is set (has been assigned a value) and false otherwise */
|
|
|
1706 |
public boolean isSetDefaultInventory() {
|
|
|
1707 |
return __isset_bit_vector.get(__DEFAULTINVENTORY_ISSET_ID);
|
|
|
1708 |
}
|
|
|
1709 |
|
|
|
1710 |
public void setDefaultInventoryIsSet(boolean value) {
|
|
|
1711 |
__isset_bit_vector.set(__DEFAULTINVENTORY_ISSET_ID, value);
|
|
|
1712 |
}
|
|
|
1713 |
|
|
|
1714 |
public long getHoldInventory() {
|
|
|
1715 |
return this.holdInventory;
|
|
|
1716 |
}
|
|
|
1717 |
|
|
|
1718 |
public void setHoldInventory(long holdInventory) {
|
|
|
1719 |
this.holdInventory = holdInventory;
|
|
|
1720 |
setHoldInventoryIsSet(true);
|
|
|
1721 |
}
|
|
|
1722 |
|
|
|
1723 |
public void unsetHoldInventory() {
|
|
|
1724 |
__isset_bit_vector.clear(__HOLDINVENTORY_ISSET_ID);
|
|
|
1725 |
}
|
|
|
1726 |
|
|
|
1727 |
/** Returns true if field holdInventory is set (has been assigned a value) and false otherwise */
|
|
|
1728 |
public boolean isSetHoldInventory() {
|
|
|
1729 |
return __isset_bit_vector.get(__HOLDINVENTORY_ISSET_ID);
|
|
|
1730 |
}
|
|
|
1731 |
|
|
|
1732 |
public void setHoldInventoryIsSet(boolean value) {
|
|
|
1733 |
__isset_bit_vector.set(__HOLDINVENTORY_ISSET_ID, value);
|
|
|
1734 |
}
|
|
|
1735 |
|
| 9841 |
rajveer |
1736 |
public boolean isHoldOverride() {
|
|
|
1737 |
return this.holdOverride;
|
|
|
1738 |
}
|
|
|
1739 |
|
|
|
1740 |
public void setHoldOverride(boolean holdOverride) {
|
|
|
1741 |
this.holdOverride = holdOverride;
|
|
|
1742 |
setHoldOverrideIsSet(true);
|
|
|
1743 |
}
|
|
|
1744 |
|
|
|
1745 |
public void unsetHoldOverride() {
|
|
|
1746 |
__isset_bit_vector.clear(__HOLDOVERRIDE_ISSET_ID);
|
|
|
1747 |
}
|
|
|
1748 |
|
|
|
1749 |
/** Returns true if field holdOverride is set (has been assigned a value) and false otherwise */
|
|
|
1750 |
public boolean isSetHoldOverride() {
|
|
|
1751 |
return __isset_bit_vector.get(__HOLDOVERRIDE_ISSET_ID);
|
|
|
1752 |
}
|
|
|
1753 |
|
|
|
1754 |
public void setHoldOverrideIsSet(boolean value) {
|
|
|
1755 |
__isset_bit_vector.set(__HOLDOVERRIDE_ISSET_ID, value);
|
|
|
1756 |
}
|
|
|
1757 |
|
| 18002 |
kshitij.so |
1758 |
public long getPackQuantity() {
|
|
|
1759 |
return this.packQuantity;
|
|
|
1760 |
}
|
|
|
1761 |
|
|
|
1762 |
public void setPackQuantity(long packQuantity) {
|
|
|
1763 |
this.packQuantity = packQuantity;
|
|
|
1764 |
setPackQuantityIsSet(true);
|
|
|
1765 |
}
|
|
|
1766 |
|
|
|
1767 |
public void unsetPackQuantity() {
|
|
|
1768 |
__isset_bit_vector.clear(__PACKQUANTITY_ISSET_ID);
|
|
|
1769 |
}
|
|
|
1770 |
|
|
|
1771 |
/** Returns true if field packQuantity is set (has been assigned a value) and false otherwise */
|
|
|
1772 |
public boolean isSetPackQuantity() {
|
|
|
1773 |
return __isset_bit_vector.get(__PACKQUANTITY_ISSET_ID);
|
|
|
1774 |
}
|
|
|
1775 |
|
|
|
1776 |
public void setPackQuantityIsSet(boolean value) {
|
|
|
1777 |
__isset_bit_vector.set(__PACKQUANTITY_ISSET_ID, value);
|
|
|
1778 |
}
|
|
|
1779 |
|
| 18150 |
kshitij.so |
1780 |
public long getQuantityStep() {
|
|
|
1781 |
return this.quantityStep;
|
|
|
1782 |
}
|
|
|
1783 |
|
|
|
1784 |
public void setQuantityStep(long quantityStep) {
|
|
|
1785 |
this.quantityStep = quantityStep;
|
|
|
1786 |
setQuantityStepIsSet(true);
|
|
|
1787 |
}
|
|
|
1788 |
|
|
|
1789 |
public void unsetQuantityStep() {
|
|
|
1790 |
__isset_bit_vector.clear(__QUANTITYSTEP_ISSET_ID);
|
|
|
1791 |
}
|
|
|
1792 |
|
|
|
1793 |
/** Returns true if field quantityStep is set (has been assigned a value) and false otherwise */
|
|
|
1794 |
public boolean isSetQuantityStep() {
|
|
|
1795 |
return __isset_bit_vector.get(__QUANTITYSTEP_ISSET_ID);
|
|
|
1796 |
}
|
|
|
1797 |
|
|
|
1798 |
public void setQuantityStepIsSet(boolean value) {
|
|
|
1799 |
__isset_bit_vector.set(__QUANTITYSTEP_ISSET_ID, value);
|
|
|
1800 |
}
|
|
|
1801 |
|
|
|
1802 |
public long getMinimumBuyQuantity() {
|
|
|
1803 |
return this.minimumBuyQuantity;
|
|
|
1804 |
}
|
|
|
1805 |
|
|
|
1806 |
public void setMinimumBuyQuantity(long minimumBuyQuantity) {
|
|
|
1807 |
this.minimumBuyQuantity = minimumBuyQuantity;
|
|
|
1808 |
setMinimumBuyQuantityIsSet(true);
|
|
|
1809 |
}
|
|
|
1810 |
|
|
|
1811 |
public void unsetMinimumBuyQuantity() {
|
|
|
1812 |
__isset_bit_vector.clear(__MINIMUMBUYQUANTITY_ISSET_ID);
|
|
|
1813 |
}
|
|
|
1814 |
|
|
|
1815 |
/** Returns true if field minimumBuyQuantity is set (has been assigned a value) and false otherwise */
|
|
|
1816 |
public boolean isSetMinimumBuyQuantity() {
|
|
|
1817 |
return __isset_bit_vector.get(__MINIMUMBUYQUANTITY_ISSET_ID);
|
|
|
1818 |
}
|
|
|
1819 |
|
|
|
1820 |
public void setMinimumBuyQuantityIsSet(boolean value) {
|
|
|
1821 |
__isset_bit_vector.set(__MINIMUMBUYQUANTITY_ISSET_ID, value);
|
|
|
1822 |
}
|
|
|
1823 |
|
| 18414 |
kshitij.so |
1824 |
public long getMaximumBuyQuantity() {
|
|
|
1825 |
return this.maximumBuyQuantity;
|
|
|
1826 |
}
|
|
|
1827 |
|
|
|
1828 |
public void setMaximumBuyQuantity(long maximumBuyQuantity) {
|
|
|
1829 |
this.maximumBuyQuantity = maximumBuyQuantity;
|
|
|
1830 |
setMaximumBuyQuantityIsSet(true);
|
|
|
1831 |
}
|
|
|
1832 |
|
|
|
1833 |
public void unsetMaximumBuyQuantity() {
|
|
|
1834 |
__isset_bit_vector.clear(__MAXIMUMBUYQUANTITY_ISSET_ID);
|
|
|
1835 |
}
|
|
|
1836 |
|
|
|
1837 |
/** Returns true if field maximumBuyQuantity is set (has been assigned a value) and false otherwise */
|
|
|
1838 |
public boolean isSetMaximumBuyQuantity() {
|
|
|
1839 |
return __isset_bit_vector.get(__MAXIMUMBUYQUANTITY_ISSET_ID);
|
|
|
1840 |
}
|
|
|
1841 |
|
|
|
1842 |
public void setMaximumBuyQuantityIsSet(boolean value) {
|
|
|
1843 |
__isset_bit_vector.set(__MAXIMUMBUYQUANTITY_ISSET_ID, value);
|
|
|
1844 |
}
|
|
|
1845 |
|
| 19756 |
amit.gupta |
1846 |
public double getDealPrice() {
|
|
|
1847 |
return this.dealPrice;
|
|
|
1848 |
}
|
|
|
1849 |
|
|
|
1850 |
public void setDealPrice(double dealPrice) {
|
|
|
1851 |
this.dealPrice = dealPrice;
|
|
|
1852 |
setDealPriceIsSet(true);
|
|
|
1853 |
}
|
|
|
1854 |
|
|
|
1855 |
public void unsetDealPrice() {
|
|
|
1856 |
__isset_bit_vector.clear(__DEALPRICE_ISSET_ID);
|
|
|
1857 |
}
|
|
|
1858 |
|
|
|
1859 |
/** Returns true if field dealPrice is set (has been assigned a value) and false otherwise */
|
|
|
1860 |
public boolean isSetDealPrice() {
|
|
|
1861 |
return __isset_bit_vector.get(__DEALPRICE_ISSET_ID);
|
|
|
1862 |
}
|
|
|
1863 |
|
|
|
1864 |
public void setDealPriceIsSet(boolean value) {
|
|
|
1865 |
__isset_bit_vector.set(__DEALPRICE_ISSET_ID, value);
|
|
|
1866 |
}
|
|
|
1867 |
|
| 21838 |
amit.gupta |
1868 |
public String getHsnCode() {
|
|
|
1869 |
return this.hsnCode;
|
|
|
1870 |
}
|
|
|
1871 |
|
|
|
1872 |
public void setHsnCode(String hsnCode) {
|
|
|
1873 |
this.hsnCode = hsnCode;
|
|
|
1874 |
}
|
|
|
1875 |
|
|
|
1876 |
public void unsetHsnCode() {
|
|
|
1877 |
this.hsnCode = null;
|
|
|
1878 |
}
|
|
|
1879 |
|
|
|
1880 |
/** Returns true if field hsnCode is set (has been assigned a value) and false otherwise */
|
|
|
1881 |
public boolean isSetHsnCode() {
|
|
|
1882 |
return this.hsnCode != null;
|
|
|
1883 |
}
|
|
|
1884 |
|
|
|
1885 |
public void setHsnCodeIsSet(boolean value) {
|
|
|
1886 |
if (!value) {
|
|
|
1887 |
this.hsnCode = null;
|
|
|
1888 |
}
|
|
|
1889 |
}
|
|
|
1890 |
|
| 100 |
ashish |
1891 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
1892 |
switch (field) {
|
|
|
1893 |
case ID:
|
|
|
1894 |
if (value == null) {
|
|
|
1895 |
unsetId();
|
|
|
1896 |
} else {
|
|
|
1897 |
setId((Long)value);
|
|
|
1898 |
}
|
|
|
1899 |
break;
|
|
|
1900 |
|
| 957 |
chandransh |
1901 |
case PRODUCT_GROUP:
|
| 483 |
rajveer |
1902 |
if (value == null) {
|
| 957 |
chandransh |
1903 |
unsetProductGroup();
|
| 483 |
rajveer |
1904 |
} else {
|
| 957 |
chandransh |
1905 |
setProductGroup((String)value);
|
| 483 |
rajveer |
1906 |
}
|
|
|
1907 |
break;
|
|
|
1908 |
|
| 957 |
chandransh |
1909 |
case BRAND:
|
|
|
1910 |
if (value == null) {
|
|
|
1911 |
unsetBrand();
|
|
|
1912 |
} else {
|
|
|
1913 |
setBrand((String)value);
|
|
|
1914 |
}
|
|
|
1915 |
break;
|
|
|
1916 |
|
| 483 |
rajveer |
1917 |
case MODEL_NUMBER:
|
|
|
1918 |
if (value == null) {
|
|
|
1919 |
unsetModelNumber();
|
|
|
1920 |
} else {
|
|
|
1921 |
setModelNumber((String)value);
|
|
|
1922 |
}
|
|
|
1923 |
break;
|
|
|
1924 |
|
|
|
1925 |
case MODEL_NAME:
|
|
|
1926 |
if (value == null) {
|
|
|
1927 |
unsetModelName();
|
|
|
1928 |
} else {
|
|
|
1929 |
setModelName((String)value);
|
|
|
1930 |
}
|
|
|
1931 |
break;
|
|
|
1932 |
|
| 1329 |
chandransh |
1933 |
case COLOR:
|
|
|
1934 |
if (value == null) {
|
|
|
1935 |
unsetColor();
|
|
|
1936 |
} else {
|
|
|
1937 |
setColor((String)value);
|
|
|
1938 |
}
|
|
|
1939 |
break;
|
|
|
1940 |
|
| 483 |
rajveer |
1941 |
case CATEGORY:
|
|
|
1942 |
if (value == null) {
|
|
|
1943 |
unsetCategory();
|
|
|
1944 |
} else {
|
| 622 |
chandransh |
1945 |
setCategory((Long)value);
|
| 483 |
rajveer |
1946 |
}
|
|
|
1947 |
break;
|
|
|
1948 |
|
|
|
1949 |
case COMMENTS:
|
|
|
1950 |
if (value == null) {
|
|
|
1951 |
unsetComments();
|
|
|
1952 |
} else {
|
|
|
1953 |
setComments((String)value);
|
|
|
1954 |
}
|
|
|
1955 |
break;
|
|
|
1956 |
|
| 123 |
ashish |
1957 |
case CATALOG_ITEM_ID:
|
| 100 |
ashish |
1958 |
if (value == null) {
|
| 123 |
ashish |
1959 |
unsetCatalogItemId();
|
| 100 |
ashish |
1960 |
} else {
|
| 123 |
ashish |
1961 |
setCatalogItemId((Long)value);
|
| 100 |
ashish |
1962 |
}
|
|
|
1963 |
break;
|
|
|
1964 |
|
| 483 |
rajveer |
1965 |
case FEATURE_ID:
|
| 100 |
ashish |
1966 |
if (value == null) {
|
| 483 |
rajveer |
1967 |
unsetFeatureId();
|
| 100 |
ashish |
1968 |
} else {
|
| 483 |
rajveer |
1969 |
setFeatureId((Long)value);
|
| 100 |
ashish |
1970 |
}
|
|
|
1971 |
break;
|
|
|
1972 |
|
| 483 |
rajveer |
1973 |
case FEATURE_DESCRIPTION:
|
| 103 |
ashish |
1974 |
if (value == null) {
|
| 483 |
rajveer |
1975 |
unsetFeatureDescription();
|
| 103 |
ashish |
1976 |
} else {
|
| 483 |
rajveer |
1977 |
setFeatureDescription((String)value);
|
| 103 |
ashish |
1978 |
}
|
|
|
1979 |
break;
|
|
|
1980 |
|
| 483 |
rajveer |
1981 |
case MRP:
|
| 103 |
ashish |
1982 |
if (value == null) {
|
| 483 |
rajveer |
1983 |
unsetMrp();
|
| 103 |
ashish |
1984 |
} else {
|
| 483 |
rajveer |
1985 |
setMrp((Double)value);
|
| 103 |
ashish |
1986 |
}
|
|
|
1987 |
break;
|
|
|
1988 |
|
| 483 |
rajveer |
1989 |
case SELLING_PRICE:
|
|
|
1990 |
if (value == null) {
|
|
|
1991 |
unsetSellingPrice();
|
|
|
1992 |
} else {
|
|
|
1993 |
setSellingPrice((Double)value);
|
|
|
1994 |
}
|
|
|
1995 |
break;
|
|
|
1996 |
|
| 123 |
ashish |
1997 |
case WEIGHT:
|
|
|
1998 |
if (value == null) {
|
|
|
1999 |
unsetWeight();
|
|
|
2000 |
} else {
|
|
|
2001 |
setWeight((Double)value);
|
|
|
2002 |
}
|
|
|
2003 |
break;
|
|
|
2004 |
|
| 483 |
rajveer |
2005 |
case ADDED_ON:
|
| 123 |
ashish |
2006 |
if (value == null) {
|
| 483 |
rajveer |
2007 |
unsetAddedOn();
|
| 123 |
ashish |
2008 |
} else {
|
| 483 |
rajveer |
2009 |
setAddedOn((Long)value);
|
| 123 |
ashish |
2010 |
}
|
|
|
2011 |
break;
|
|
|
2012 |
|
| 483 |
rajveer |
2013 |
case START_DATE:
|
| 123 |
ashish |
2014 |
if (value == null) {
|
| 483 |
rajveer |
2015 |
unsetStartDate();
|
| 123 |
ashish |
2016 |
} else {
|
| 483 |
rajveer |
2017 |
setStartDate((Long)value);
|
| 123 |
ashish |
2018 |
}
|
|
|
2019 |
break;
|
|
|
2020 |
|
| 483 |
rajveer |
2021 |
case RETIRE_DATE:
|
| 123 |
ashish |
2022 |
if (value == null) {
|
| 483 |
rajveer |
2023 |
unsetRetireDate();
|
| 123 |
ashish |
2024 |
} else {
|
| 483 |
rajveer |
2025 |
setRetireDate((Long)value);
|
| 123 |
ashish |
2026 |
}
|
|
|
2027 |
break;
|
|
|
2028 |
|
| 483 |
rajveer |
2029 |
case ITEM_STATUS:
|
|
|
2030 |
if (value == null) {
|
|
|
2031 |
unsetItemStatus();
|
|
|
2032 |
} else {
|
|
|
2033 |
setItemStatus((status)value);
|
|
|
2034 |
}
|
|
|
2035 |
break;
|
|
|
2036 |
|
| 2034 |
rajveer |
2037 |
case STATUS_DESCRIPTION:
|
|
|
2038 |
if (value == null) {
|
|
|
2039 |
unsetStatus_description();
|
|
|
2040 |
} else {
|
|
|
2041 |
setStatus_description((String)value);
|
|
|
2042 |
}
|
|
|
2043 |
break;
|
|
|
2044 |
|
| 5336 |
rajveer |
2045 |
case OTHER_INFO:
|
|
|
2046 |
if (value == null) {
|
|
|
2047 |
unsetOtherInfo();
|
|
|
2048 |
} else {
|
|
|
2049 |
setOtherInfo((Map<String,String>)value);
|
|
|
2050 |
}
|
|
|
2051 |
break;
|
|
|
2052 |
|
| 607 |
chandransh |
2053 |
case BEST_DEAL_TEXT:
|
|
|
2054 |
if (value == null) {
|
|
|
2055 |
unsetBestDealText();
|
|
|
2056 |
} else {
|
|
|
2057 |
setBestDealText((String)value);
|
|
|
2058 |
}
|
|
|
2059 |
break;
|
|
|
2060 |
|
|
|
2061 |
case BEST_DEAL_VALUE:
|
|
|
2062 |
if (value == null) {
|
|
|
2063 |
unsetBestDealValue();
|
|
|
2064 |
} else {
|
|
|
2065 |
setBestDealValue((Double)value);
|
|
|
2066 |
}
|
|
|
2067 |
break;
|
|
|
2068 |
|
| 1910 |
varun.gupt |
2069 |
case DEFAULT_FOR_ENTITY:
|
|
|
2070 |
if (value == null) {
|
|
|
2071 |
unsetDefaultForEntity();
|
|
|
2072 |
} else {
|
|
|
2073 |
setDefaultForEntity((Boolean)value);
|
|
|
2074 |
}
|
|
|
2075 |
break;
|
|
|
2076 |
|
| 607 |
chandransh |
2077 |
case UPDATED_ON:
|
|
|
2078 |
if (value == null) {
|
|
|
2079 |
unsetUpdatedOn();
|
|
|
2080 |
} else {
|
|
|
2081 |
setUpdatedOn((Long)value);
|
|
|
2082 |
}
|
|
|
2083 |
break;
|
|
|
2084 |
|
| 2064 |
ankur.sing |
2085 |
case BEST_SELLING_RANK:
|
|
|
2086 |
if (value == null) {
|
|
|
2087 |
unsetBestSellingRank();
|
|
|
2088 |
} else {
|
|
|
2089 |
setBestSellingRank((Long)value);
|
|
|
2090 |
}
|
|
|
2091 |
break;
|
|
|
2092 |
|
| 2250 |
ankur.sing |
2093 |
case RISKY:
|
|
|
2094 |
if (value == null) {
|
|
|
2095 |
unsetRisky();
|
|
|
2096 |
} else {
|
|
|
2097 |
setRisky((Boolean)value);
|
|
|
2098 |
}
|
|
|
2099 |
break;
|
|
|
2100 |
|
| 3355 |
chandransh |
2101 |
case EXPECTED_DELAY:
|
|
|
2102 |
if (value == null) {
|
|
|
2103 |
unsetExpectedDelay();
|
|
|
2104 |
} else {
|
|
|
2105 |
setExpectedDelay((Integer)value);
|
|
|
2106 |
}
|
|
|
2107 |
break;
|
|
|
2108 |
|
| 4406 |
anupam.sin |
2109 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
2110 |
if (value == null) {
|
|
|
2111 |
unsetIsWarehousePreferenceSticky();
|
|
|
2112 |
} else {
|
|
|
2113 |
setIsWarehousePreferenceSticky((Boolean)value);
|
|
|
2114 |
}
|
|
|
2115 |
break;
|
|
|
2116 |
|
| 4295 |
varun.gupt |
2117 |
case WARRANTY_PERIOD:
|
|
|
2118 |
if (value == null) {
|
|
|
2119 |
unsetWarrantyPeriod();
|
|
|
2120 |
} else {
|
|
|
2121 |
setWarrantyPeriod((Integer)value);
|
|
|
2122 |
}
|
|
|
2123 |
break;
|
|
|
2124 |
|
| 4506 |
phani.kuma |
2125 |
case PREFERRED_VENDOR:
|
|
|
2126 |
if (value == null) {
|
|
|
2127 |
unsetPreferredVendor();
|
|
|
2128 |
} else {
|
|
|
2129 |
setPreferredVendor((Long)value);
|
|
|
2130 |
}
|
|
|
2131 |
break;
|
|
|
2132 |
|
| 5110 |
mandeep.dh |
2133 |
case TYPE:
|
|
|
2134 |
if (value == null) {
|
|
|
2135 |
unsetType();
|
|
|
2136 |
} else {
|
|
|
2137 |
setType((ItemType)value);
|
|
|
2138 |
}
|
|
|
2139 |
break;
|
|
|
2140 |
|
| 5217 |
amit.gupta |
2141 |
case COMING_SOON_START_DATE:
|
|
|
2142 |
if (value == null) {
|
|
|
2143 |
unsetComingSoonStartDate();
|
|
|
2144 |
} else {
|
|
|
2145 |
setComingSoonStartDate((Long)value);
|
|
|
2146 |
}
|
|
|
2147 |
break;
|
|
|
2148 |
|
|
|
2149 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
2150 |
if (value == null) {
|
|
|
2151 |
unsetExpectedArrivalDate();
|
|
|
2152 |
} else {
|
|
|
2153 |
setExpectedArrivalDate((Long)value);
|
|
|
2154 |
}
|
|
|
2155 |
break;
|
|
|
2156 |
|
| 5385 |
phani.kuma |
2157 |
case HAS_ITEM_NO:
|
|
|
2158 |
if (value == null) {
|
|
|
2159 |
unsetHasItemNo();
|
|
|
2160 |
} else {
|
|
|
2161 |
setHasItemNo((Boolean)value);
|
|
|
2162 |
}
|
|
|
2163 |
break;
|
|
|
2164 |
|
| 7256 |
rajveer |
2165 |
case ACTIVE_ON_STORE:
|
| 5460 |
phani.kuma |
2166 |
if (value == null) {
|
| 7256 |
rajveer |
2167 |
unsetActiveOnStore();
|
| 5460 |
phani.kuma |
2168 |
} else {
|
| 7256 |
rajveer |
2169 |
setActiveOnStore((Boolean)value);
|
| 5460 |
phani.kuma |
2170 |
}
|
|
|
2171 |
break;
|
|
|
2172 |
|
| 6241 |
amit.gupta |
2173 |
case SHOW_SELLING_PRICE:
|
|
|
2174 |
if (value == null) {
|
|
|
2175 |
unsetShowSellingPrice();
|
|
|
2176 |
} else {
|
|
|
2177 |
setShowSellingPrice((Boolean)value);
|
|
|
2178 |
}
|
|
|
2179 |
break;
|
|
|
2180 |
|
| 6777 |
vikram.rag |
2181 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
2182 |
if (value == null) {
|
|
|
2183 |
unsetBestDealsDetailsText();
|
|
|
2184 |
} else {
|
|
|
2185 |
setBestDealsDetailsText((String)value);
|
|
|
2186 |
}
|
|
|
2187 |
break;
|
|
|
2188 |
|
|
|
2189 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
2190 |
if (value == null) {
|
|
|
2191 |
unsetBestDealsDetailsLink();
|
|
|
2192 |
} else {
|
|
|
2193 |
setBestDealsDetailsLink((String)value);
|
|
|
2194 |
}
|
|
|
2195 |
break;
|
|
|
2196 |
|
| 6805 |
anupam.sin |
2197 |
case PREFERRED_INSURER:
|
|
|
2198 |
if (value == null) {
|
|
|
2199 |
unsetPreferredInsurer();
|
|
|
2200 |
} else {
|
|
|
2201 |
setPreferredInsurer((Long)value);
|
|
|
2202 |
}
|
|
|
2203 |
break;
|
|
|
2204 |
|
| 7291 |
vikram.rag |
2205 |
case ASIN:
|
|
|
2206 |
if (value == null) {
|
|
|
2207 |
unsetAsin();
|
|
|
2208 |
} else {
|
|
|
2209 |
setAsin((String)value);
|
|
|
2210 |
}
|
|
|
2211 |
break;
|
|
|
2212 |
|
|
|
2213 |
case DEFAULT_INVENTORY:
|
|
|
2214 |
if (value == null) {
|
|
|
2215 |
unsetDefaultInventory();
|
|
|
2216 |
} else {
|
|
|
2217 |
setDefaultInventory((Long)value);
|
|
|
2218 |
}
|
|
|
2219 |
break;
|
|
|
2220 |
|
|
|
2221 |
case HOLD_INVENTORY:
|
|
|
2222 |
if (value == null) {
|
|
|
2223 |
unsetHoldInventory();
|
|
|
2224 |
} else {
|
|
|
2225 |
setHoldInventory((Long)value);
|
|
|
2226 |
}
|
|
|
2227 |
break;
|
|
|
2228 |
|
| 9841 |
rajveer |
2229 |
case HOLD_OVERRIDE:
|
|
|
2230 |
if (value == null) {
|
|
|
2231 |
unsetHoldOverride();
|
|
|
2232 |
} else {
|
|
|
2233 |
setHoldOverride((Boolean)value);
|
|
|
2234 |
}
|
|
|
2235 |
break;
|
|
|
2236 |
|
| 18002 |
kshitij.so |
2237 |
case PACK_QUANTITY:
|
|
|
2238 |
if (value == null) {
|
|
|
2239 |
unsetPackQuantity();
|
|
|
2240 |
} else {
|
|
|
2241 |
setPackQuantity((Long)value);
|
|
|
2242 |
}
|
|
|
2243 |
break;
|
|
|
2244 |
|
| 18150 |
kshitij.so |
2245 |
case QUANTITY_STEP:
|
|
|
2246 |
if (value == null) {
|
|
|
2247 |
unsetQuantityStep();
|
|
|
2248 |
} else {
|
|
|
2249 |
setQuantityStep((Long)value);
|
|
|
2250 |
}
|
|
|
2251 |
break;
|
|
|
2252 |
|
|
|
2253 |
case MINIMUM_BUY_QUANTITY:
|
|
|
2254 |
if (value == null) {
|
|
|
2255 |
unsetMinimumBuyQuantity();
|
|
|
2256 |
} else {
|
|
|
2257 |
setMinimumBuyQuantity((Long)value);
|
|
|
2258 |
}
|
|
|
2259 |
break;
|
|
|
2260 |
|
| 18414 |
kshitij.so |
2261 |
case MAXIMUM_BUY_QUANTITY:
|
|
|
2262 |
if (value == null) {
|
|
|
2263 |
unsetMaximumBuyQuantity();
|
|
|
2264 |
} else {
|
|
|
2265 |
setMaximumBuyQuantity((Long)value);
|
|
|
2266 |
}
|
|
|
2267 |
break;
|
|
|
2268 |
|
| 19756 |
amit.gupta |
2269 |
case DEAL_PRICE:
|
|
|
2270 |
if (value == null) {
|
|
|
2271 |
unsetDealPrice();
|
|
|
2272 |
} else {
|
|
|
2273 |
setDealPrice((Double)value);
|
|
|
2274 |
}
|
|
|
2275 |
break;
|
|
|
2276 |
|
| 21838 |
amit.gupta |
2277 |
case HSN_CODE:
|
|
|
2278 |
if (value == null) {
|
|
|
2279 |
unsetHsnCode();
|
|
|
2280 |
} else {
|
|
|
2281 |
setHsnCode((String)value);
|
|
|
2282 |
}
|
|
|
2283 |
break;
|
|
|
2284 |
|
| 100 |
ashish |
2285 |
}
|
|
|
2286 |
}
|
|
|
2287 |
|
|
|
2288 |
public Object getFieldValue(_Fields field) {
|
|
|
2289 |
switch (field) {
|
|
|
2290 |
case ID:
|
| 3430 |
rajveer |
2291 |
return Long.valueOf(getId());
|
| 100 |
ashish |
2292 |
|
| 957 |
chandransh |
2293 |
case PRODUCT_GROUP:
|
|
|
2294 |
return getProductGroup();
|
| 483 |
rajveer |
2295 |
|
| 957 |
chandransh |
2296 |
case BRAND:
|
|
|
2297 |
return getBrand();
|
|
|
2298 |
|
| 483 |
rajveer |
2299 |
case MODEL_NUMBER:
|
|
|
2300 |
return getModelNumber();
|
|
|
2301 |
|
|
|
2302 |
case MODEL_NAME:
|
|
|
2303 |
return getModelName();
|
|
|
2304 |
|
| 1329 |
chandransh |
2305 |
case COLOR:
|
|
|
2306 |
return getColor();
|
|
|
2307 |
|
| 483 |
rajveer |
2308 |
case CATEGORY:
|
| 3430 |
rajveer |
2309 |
return Long.valueOf(getCategory());
|
| 483 |
rajveer |
2310 |
|
|
|
2311 |
case COMMENTS:
|
|
|
2312 |
return getComments();
|
|
|
2313 |
|
| 123 |
ashish |
2314 |
case CATALOG_ITEM_ID:
|
| 3430 |
rajveer |
2315 |
return Long.valueOf(getCatalogItemId());
|
| 100 |
ashish |
2316 |
|
| 483 |
rajveer |
2317 |
case FEATURE_ID:
|
| 3430 |
rajveer |
2318 |
return Long.valueOf(getFeatureId());
|
| 483 |
rajveer |
2319 |
|
|
|
2320 |
case FEATURE_DESCRIPTION:
|
|
|
2321 |
return getFeatureDescription();
|
|
|
2322 |
|
|
|
2323 |
case MRP:
|
| 3430 |
rajveer |
2324 |
return Double.valueOf(getMrp());
|
| 483 |
rajveer |
2325 |
|
|
|
2326 |
case SELLING_PRICE:
|
| 3430 |
rajveer |
2327 |
return Double.valueOf(getSellingPrice());
|
| 483 |
rajveer |
2328 |
|
|
|
2329 |
case WEIGHT:
|
| 3430 |
rajveer |
2330 |
return Double.valueOf(getWeight());
|
| 483 |
rajveer |
2331 |
|
| 103 |
ashish |
2332 |
case ADDED_ON:
|
| 3430 |
rajveer |
2333 |
return Long.valueOf(getAddedOn());
|
| 103 |
ashish |
2334 |
|
|
|
2335 |
case START_DATE:
|
| 3430 |
rajveer |
2336 |
return Long.valueOf(getStartDate());
|
| 103 |
ashish |
2337 |
|
| 483 |
rajveer |
2338 |
case RETIRE_DATE:
|
| 3430 |
rajveer |
2339 |
return Long.valueOf(getRetireDate());
|
| 483 |
rajveer |
2340 |
|
| 103 |
ashish |
2341 |
case ITEM_STATUS:
|
|
|
2342 |
return getItemStatus();
|
|
|
2343 |
|
| 2034 |
rajveer |
2344 |
case STATUS_DESCRIPTION:
|
|
|
2345 |
return getStatus_description();
|
|
|
2346 |
|
| 5336 |
rajveer |
2347 |
case OTHER_INFO:
|
|
|
2348 |
return getOtherInfo();
|
|
|
2349 |
|
| 607 |
chandransh |
2350 |
case BEST_DEAL_TEXT:
|
|
|
2351 |
return getBestDealText();
|
|
|
2352 |
|
|
|
2353 |
case BEST_DEAL_VALUE:
|
| 3430 |
rajveer |
2354 |
return Double.valueOf(getBestDealValue());
|
| 607 |
chandransh |
2355 |
|
| 1910 |
varun.gupt |
2356 |
case DEFAULT_FOR_ENTITY:
|
| 3430 |
rajveer |
2357 |
return Boolean.valueOf(isDefaultForEntity());
|
| 1910 |
varun.gupt |
2358 |
|
| 607 |
chandransh |
2359 |
case UPDATED_ON:
|
| 3430 |
rajveer |
2360 |
return Long.valueOf(getUpdatedOn());
|
| 607 |
chandransh |
2361 |
|
| 2064 |
ankur.sing |
2362 |
case BEST_SELLING_RANK:
|
| 3430 |
rajveer |
2363 |
return Long.valueOf(getBestSellingRank());
|
| 2064 |
ankur.sing |
2364 |
|
| 2250 |
ankur.sing |
2365 |
case RISKY:
|
| 3430 |
rajveer |
2366 |
return Boolean.valueOf(isRisky());
|
| 2250 |
ankur.sing |
2367 |
|
| 3355 |
chandransh |
2368 |
case EXPECTED_DELAY:
|
| 3430 |
rajveer |
2369 |
return Integer.valueOf(getExpectedDelay());
|
| 3355 |
chandransh |
2370 |
|
| 4406 |
anupam.sin |
2371 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
2372 |
return Boolean.valueOf(isIsWarehousePreferenceSticky());
|
|
|
2373 |
|
| 4295 |
varun.gupt |
2374 |
case WARRANTY_PERIOD:
|
|
|
2375 |
return Integer.valueOf(getWarrantyPeriod());
|
|
|
2376 |
|
| 4506 |
phani.kuma |
2377 |
case PREFERRED_VENDOR:
|
|
|
2378 |
return Long.valueOf(getPreferredVendor());
|
|
|
2379 |
|
| 5110 |
mandeep.dh |
2380 |
case TYPE:
|
|
|
2381 |
return getType();
|
|
|
2382 |
|
| 5217 |
amit.gupta |
2383 |
case COMING_SOON_START_DATE:
|
|
|
2384 |
return Long.valueOf(getComingSoonStartDate());
|
|
|
2385 |
|
|
|
2386 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
2387 |
return Long.valueOf(getExpectedArrivalDate());
|
|
|
2388 |
|
| 5385 |
phani.kuma |
2389 |
case HAS_ITEM_NO:
|
|
|
2390 |
return Boolean.valueOf(isHasItemNo());
|
|
|
2391 |
|
| 7256 |
rajveer |
2392 |
case ACTIVE_ON_STORE:
|
|
|
2393 |
return Boolean.valueOf(isActiveOnStore());
|
| 5460 |
phani.kuma |
2394 |
|
| 6241 |
amit.gupta |
2395 |
case SHOW_SELLING_PRICE:
|
|
|
2396 |
return Boolean.valueOf(isShowSellingPrice());
|
|
|
2397 |
|
| 6777 |
vikram.rag |
2398 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
2399 |
return getBestDealsDetailsText();
|
|
|
2400 |
|
|
|
2401 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
2402 |
return getBestDealsDetailsLink();
|
|
|
2403 |
|
| 6805 |
anupam.sin |
2404 |
case PREFERRED_INSURER:
|
|
|
2405 |
return Long.valueOf(getPreferredInsurer());
|
|
|
2406 |
|
| 7291 |
vikram.rag |
2407 |
case ASIN:
|
|
|
2408 |
return getAsin();
|
|
|
2409 |
|
|
|
2410 |
case DEFAULT_INVENTORY:
|
|
|
2411 |
return Long.valueOf(getDefaultInventory());
|
|
|
2412 |
|
|
|
2413 |
case HOLD_INVENTORY:
|
|
|
2414 |
return Long.valueOf(getHoldInventory());
|
|
|
2415 |
|
| 9841 |
rajveer |
2416 |
case HOLD_OVERRIDE:
|
|
|
2417 |
return Boolean.valueOf(isHoldOverride());
|
|
|
2418 |
|
| 18002 |
kshitij.so |
2419 |
case PACK_QUANTITY:
|
|
|
2420 |
return Long.valueOf(getPackQuantity());
|
|
|
2421 |
|
| 18150 |
kshitij.so |
2422 |
case QUANTITY_STEP:
|
|
|
2423 |
return Long.valueOf(getQuantityStep());
|
|
|
2424 |
|
|
|
2425 |
case MINIMUM_BUY_QUANTITY:
|
|
|
2426 |
return Long.valueOf(getMinimumBuyQuantity());
|
|
|
2427 |
|
| 18414 |
kshitij.so |
2428 |
case MAXIMUM_BUY_QUANTITY:
|
|
|
2429 |
return Long.valueOf(getMaximumBuyQuantity());
|
|
|
2430 |
|
| 19756 |
amit.gupta |
2431 |
case DEAL_PRICE:
|
|
|
2432 |
return Double.valueOf(getDealPrice());
|
|
|
2433 |
|
| 21838 |
amit.gupta |
2434 |
case HSN_CODE:
|
|
|
2435 |
return getHsnCode();
|
|
|
2436 |
|
| 100 |
ashish |
2437 |
}
|
|
|
2438 |
throw new IllegalStateException();
|
|
|
2439 |
}
|
|
|
2440 |
|
| 3430 |
rajveer |
2441 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
2442 |
public boolean isSet(_Fields field) {
|
|
|
2443 |
if (field == null) {
|
|
|
2444 |
throw new IllegalArgumentException();
|
|
|
2445 |
}
|
| 100 |
ashish |
2446 |
|
|
|
2447 |
switch (field) {
|
|
|
2448 |
case ID:
|
|
|
2449 |
return isSetId();
|
| 957 |
chandransh |
2450 |
case PRODUCT_GROUP:
|
|
|
2451 |
return isSetProductGroup();
|
|
|
2452 |
case BRAND:
|
|
|
2453 |
return isSetBrand();
|
| 483 |
rajveer |
2454 |
case MODEL_NUMBER:
|
|
|
2455 |
return isSetModelNumber();
|
|
|
2456 |
case MODEL_NAME:
|
|
|
2457 |
return isSetModelName();
|
| 1329 |
chandransh |
2458 |
case COLOR:
|
|
|
2459 |
return isSetColor();
|
| 483 |
rajveer |
2460 |
case CATEGORY:
|
|
|
2461 |
return isSetCategory();
|
|
|
2462 |
case COMMENTS:
|
|
|
2463 |
return isSetComments();
|
| 123 |
ashish |
2464 |
case CATALOG_ITEM_ID:
|
|
|
2465 |
return isSetCatalogItemId();
|
| 483 |
rajveer |
2466 |
case FEATURE_ID:
|
|
|
2467 |
return isSetFeatureId();
|
|
|
2468 |
case FEATURE_DESCRIPTION:
|
|
|
2469 |
return isSetFeatureDescription();
|
|
|
2470 |
case MRP:
|
|
|
2471 |
return isSetMrp();
|
|
|
2472 |
case SELLING_PRICE:
|
|
|
2473 |
return isSetSellingPrice();
|
|
|
2474 |
case WEIGHT:
|
|
|
2475 |
return isSetWeight();
|
| 103 |
ashish |
2476 |
case ADDED_ON:
|
|
|
2477 |
return isSetAddedOn();
|
|
|
2478 |
case START_DATE:
|
|
|
2479 |
return isSetStartDate();
|
| 483 |
rajveer |
2480 |
case RETIRE_DATE:
|
|
|
2481 |
return isSetRetireDate();
|
| 103 |
ashish |
2482 |
case ITEM_STATUS:
|
|
|
2483 |
return isSetItemStatus();
|
| 2034 |
rajveer |
2484 |
case STATUS_DESCRIPTION:
|
|
|
2485 |
return isSetStatus_description();
|
| 5336 |
rajveer |
2486 |
case OTHER_INFO:
|
|
|
2487 |
return isSetOtherInfo();
|
| 607 |
chandransh |
2488 |
case BEST_DEAL_TEXT:
|
|
|
2489 |
return isSetBestDealText();
|
|
|
2490 |
case BEST_DEAL_VALUE:
|
|
|
2491 |
return isSetBestDealValue();
|
| 1910 |
varun.gupt |
2492 |
case DEFAULT_FOR_ENTITY:
|
|
|
2493 |
return isSetDefaultForEntity();
|
| 607 |
chandransh |
2494 |
case UPDATED_ON:
|
|
|
2495 |
return isSetUpdatedOn();
|
| 2064 |
ankur.sing |
2496 |
case BEST_SELLING_RANK:
|
|
|
2497 |
return isSetBestSellingRank();
|
| 2250 |
ankur.sing |
2498 |
case RISKY:
|
|
|
2499 |
return isSetRisky();
|
| 3355 |
chandransh |
2500 |
case EXPECTED_DELAY:
|
|
|
2501 |
return isSetExpectedDelay();
|
| 4406 |
anupam.sin |
2502 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
2503 |
return isSetIsWarehousePreferenceSticky();
|
| 4295 |
varun.gupt |
2504 |
case WARRANTY_PERIOD:
|
|
|
2505 |
return isSetWarrantyPeriod();
|
| 4506 |
phani.kuma |
2506 |
case PREFERRED_VENDOR:
|
|
|
2507 |
return isSetPreferredVendor();
|
| 5110 |
mandeep.dh |
2508 |
case TYPE:
|
|
|
2509 |
return isSetType();
|
| 5217 |
amit.gupta |
2510 |
case COMING_SOON_START_DATE:
|
|
|
2511 |
return isSetComingSoonStartDate();
|
|
|
2512 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
2513 |
return isSetExpectedArrivalDate();
|
| 5385 |
phani.kuma |
2514 |
case HAS_ITEM_NO:
|
|
|
2515 |
return isSetHasItemNo();
|
| 7256 |
rajveer |
2516 |
case ACTIVE_ON_STORE:
|
|
|
2517 |
return isSetActiveOnStore();
|
| 6241 |
amit.gupta |
2518 |
case SHOW_SELLING_PRICE:
|
|
|
2519 |
return isSetShowSellingPrice();
|
| 6777 |
vikram.rag |
2520 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
2521 |
return isSetBestDealsDetailsText();
|
|
|
2522 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
2523 |
return isSetBestDealsDetailsLink();
|
| 6805 |
anupam.sin |
2524 |
case PREFERRED_INSURER:
|
|
|
2525 |
return isSetPreferredInsurer();
|
| 7291 |
vikram.rag |
2526 |
case ASIN:
|
|
|
2527 |
return isSetAsin();
|
|
|
2528 |
case DEFAULT_INVENTORY:
|
|
|
2529 |
return isSetDefaultInventory();
|
|
|
2530 |
case HOLD_INVENTORY:
|
|
|
2531 |
return isSetHoldInventory();
|
| 9841 |
rajveer |
2532 |
case HOLD_OVERRIDE:
|
|
|
2533 |
return isSetHoldOverride();
|
| 18002 |
kshitij.so |
2534 |
case PACK_QUANTITY:
|
|
|
2535 |
return isSetPackQuantity();
|
| 18150 |
kshitij.so |
2536 |
case QUANTITY_STEP:
|
|
|
2537 |
return isSetQuantityStep();
|
|
|
2538 |
case MINIMUM_BUY_QUANTITY:
|
|
|
2539 |
return isSetMinimumBuyQuantity();
|
| 18414 |
kshitij.so |
2540 |
case MAXIMUM_BUY_QUANTITY:
|
|
|
2541 |
return isSetMaximumBuyQuantity();
|
| 19756 |
amit.gupta |
2542 |
case DEAL_PRICE:
|
|
|
2543 |
return isSetDealPrice();
|
| 21838 |
amit.gupta |
2544 |
case HSN_CODE:
|
|
|
2545 |
return isSetHsnCode();
|
| 100 |
ashish |
2546 |
}
|
|
|
2547 |
throw new IllegalStateException();
|
|
|
2548 |
}
|
|
|
2549 |
|
|
|
2550 |
@Override
|
|
|
2551 |
public boolean equals(Object that) {
|
|
|
2552 |
if (that == null)
|
|
|
2553 |
return false;
|
|
|
2554 |
if (that instanceof Item)
|
|
|
2555 |
return this.equals((Item)that);
|
|
|
2556 |
return false;
|
|
|
2557 |
}
|
|
|
2558 |
|
|
|
2559 |
public boolean equals(Item that) {
|
|
|
2560 |
if (that == null)
|
|
|
2561 |
return false;
|
|
|
2562 |
|
|
|
2563 |
boolean this_present_id = true;
|
|
|
2564 |
boolean that_present_id = true;
|
|
|
2565 |
if (this_present_id || that_present_id) {
|
|
|
2566 |
if (!(this_present_id && that_present_id))
|
|
|
2567 |
return false;
|
|
|
2568 |
if (this.id != that.id)
|
|
|
2569 |
return false;
|
|
|
2570 |
}
|
|
|
2571 |
|
| 957 |
chandransh |
2572 |
boolean this_present_productGroup = true && this.isSetProductGroup();
|
|
|
2573 |
boolean that_present_productGroup = true && that.isSetProductGroup();
|
|
|
2574 |
if (this_present_productGroup || that_present_productGroup) {
|
|
|
2575 |
if (!(this_present_productGroup && that_present_productGroup))
|
| 483 |
rajveer |
2576 |
return false;
|
| 957 |
chandransh |
2577 |
if (!this.productGroup.equals(that.productGroup))
|
| 483 |
rajveer |
2578 |
return false;
|
|
|
2579 |
}
|
|
|
2580 |
|
| 957 |
chandransh |
2581 |
boolean this_present_brand = true && this.isSetBrand();
|
|
|
2582 |
boolean that_present_brand = true && that.isSetBrand();
|
|
|
2583 |
if (this_present_brand || that_present_brand) {
|
|
|
2584 |
if (!(this_present_brand && that_present_brand))
|
|
|
2585 |
return false;
|
|
|
2586 |
if (!this.brand.equals(that.brand))
|
|
|
2587 |
return false;
|
|
|
2588 |
}
|
|
|
2589 |
|
| 483 |
rajveer |
2590 |
boolean this_present_modelNumber = true && this.isSetModelNumber();
|
|
|
2591 |
boolean that_present_modelNumber = true && that.isSetModelNumber();
|
|
|
2592 |
if (this_present_modelNumber || that_present_modelNumber) {
|
|
|
2593 |
if (!(this_present_modelNumber && that_present_modelNumber))
|
|
|
2594 |
return false;
|
|
|
2595 |
if (!this.modelNumber.equals(that.modelNumber))
|
|
|
2596 |
return false;
|
|
|
2597 |
}
|
|
|
2598 |
|
|
|
2599 |
boolean this_present_modelName = true && this.isSetModelName();
|
|
|
2600 |
boolean that_present_modelName = true && that.isSetModelName();
|
|
|
2601 |
if (this_present_modelName || that_present_modelName) {
|
|
|
2602 |
if (!(this_present_modelName && that_present_modelName))
|
|
|
2603 |
return false;
|
|
|
2604 |
if (!this.modelName.equals(that.modelName))
|
|
|
2605 |
return false;
|
|
|
2606 |
}
|
|
|
2607 |
|
| 1329 |
chandransh |
2608 |
boolean this_present_color = true && this.isSetColor();
|
|
|
2609 |
boolean that_present_color = true && that.isSetColor();
|
|
|
2610 |
if (this_present_color || that_present_color) {
|
|
|
2611 |
if (!(this_present_color && that_present_color))
|
|
|
2612 |
return false;
|
|
|
2613 |
if (!this.color.equals(that.color))
|
|
|
2614 |
return false;
|
|
|
2615 |
}
|
|
|
2616 |
|
| 622 |
chandransh |
2617 |
boolean this_present_category = true;
|
|
|
2618 |
boolean that_present_category = true;
|
| 483 |
rajveer |
2619 |
if (this_present_category || that_present_category) {
|
|
|
2620 |
if (!(this_present_category && that_present_category))
|
|
|
2621 |
return false;
|
| 622 |
chandransh |
2622 |
if (this.category != that.category)
|
| 483 |
rajveer |
2623 |
return false;
|
|
|
2624 |
}
|
|
|
2625 |
|
|
|
2626 |
boolean this_present_comments = true && this.isSetComments();
|
|
|
2627 |
boolean that_present_comments = true && that.isSetComments();
|
|
|
2628 |
if (this_present_comments || that_present_comments) {
|
|
|
2629 |
if (!(this_present_comments && that_present_comments))
|
|
|
2630 |
return false;
|
|
|
2631 |
if (!this.comments.equals(that.comments))
|
|
|
2632 |
return false;
|
|
|
2633 |
}
|
|
|
2634 |
|
| 123 |
ashish |
2635 |
boolean this_present_catalogItemId = true;
|
|
|
2636 |
boolean that_present_catalogItemId = true;
|
|
|
2637 |
if (this_present_catalogItemId || that_present_catalogItemId) {
|
|
|
2638 |
if (!(this_present_catalogItemId && that_present_catalogItemId))
|
| 100 |
ashish |
2639 |
return false;
|
| 123 |
ashish |
2640 |
if (this.catalogItemId != that.catalogItemId)
|
| 100 |
ashish |
2641 |
return false;
|
|
|
2642 |
}
|
|
|
2643 |
|
| 483 |
rajveer |
2644 |
boolean this_present_featureId = true;
|
|
|
2645 |
boolean that_present_featureId = true;
|
|
|
2646 |
if (this_present_featureId || that_present_featureId) {
|
|
|
2647 |
if (!(this_present_featureId && that_present_featureId))
|
|
|
2648 |
return false;
|
|
|
2649 |
if (this.featureId != that.featureId)
|
|
|
2650 |
return false;
|
|
|
2651 |
}
|
|
|
2652 |
|
|
|
2653 |
boolean this_present_featureDescription = true && this.isSetFeatureDescription();
|
|
|
2654 |
boolean that_present_featureDescription = true && that.isSetFeatureDescription();
|
|
|
2655 |
if (this_present_featureDescription || that_present_featureDescription) {
|
|
|
2656 |
if (!(this_present_featureDescription && that_present_featureDescription))
|
|
|
2657 |
return false;
|
|
|
2658 |
if (!this.featureDescription.equals(that.featureDescription))
|
|
|
2659 |
return false;
|
|
|
2660 |
}
|
|
|
2661 |
|
| 2128 |
ankur.sing |
2662 |
boolean this_present_mrp = true && this.isSetMrp();
|
|
|
2663 |
boolean that_present_mrp = true && that.isSetMrp();
|
| 483 |
rajveer |
2664 |
if (this_present_mrp || that_present_mrp) {
|
|
|
2665 |
if (!(this_present_mrp && that_present_mrp))
|
|
|
2666 |
return false;
|
|
|
2667 |
if (this.mrp != that.mrp)
|
|
|
2668 |
return false;
|
|
|
2669 |
}
|
|
|
2670 |
|
| 2128 |
ankur.sing |
2671 |
boolean this_present_sellingPrice = true && this.isSetSellingPrice();
|
|
|
2672 |
boolean that_present_sellingPrice = true && that.isSetSellingPrice();
|
| 483 |
rajveer |
2673 |
if (this_present_sellingPrice || that_present_sellingPrice) {
|
|
|
2674 |
if (!(this_present_sellingPrice && that_present_sellingPrice))
|
|
|
2675 |
return false;
|
|
|
2676 |
if (this.sellingPrice != that.sellingPrice)
|
|
|
2677 |
return false;
|
|
|
2678 |
}
|
|
|
2679 |
|
| 2128 |
ankur.sing |
2680 |
boolean this_present_weight = true && this.isSetWeight();
|
|
|
2681 |
boolean that_present_weight = true && that.isSetWeight();
|
| 483 |
rajveer |
2682 |
if (this_present_weight || that_present_weight) {
|
|
|
2683 |
if (!(this_present_weight && that_present_weight))
|
|
|
2684 |
return false;
|
|
|
2685 |
if (this.weight != that.weight)
|
|
|
2686 |
return false;
|
|
|
2687 |
}
|
|
|
2688 |
|
| 103 |
ashish |
2689 |
boolean this_present_addedOn = true;
|
|
|
2690 |
boolean that_present_addedOn = true;
|
|
|
2691 |
if (this_present_addedOn || that_present_addedOn) {
|
|
|
2692 |
if (!(this_present_addedOn && that_present_addedOn))
|
|
|
2693 |
return false;
|
|
|
2694 |
if (this.addedOn != that.addedOn)
|
|
|
2695 |
return false;
|
|
|
2696 |
}
|
|
|
2697 |
|
| 2491 |
ankur.sing |
2698 |
boolean this_present_startDate = true && this.isSetStartDate();
|
|
|
2699 |
boolean that_present_startDate = true && that.isSetStartDate();
|
| 103 |
ashish |
2700 |
if (this_present_startDate || that_present_startDate) {
|
|
|
2701 |
if (!(this_present_startDate && that_present_startDate))
|
|
|
2702 |
return false;
|
|
|
2703 |
if (this.startDate != that.startDate)
|
|
|
2704 |
return false;
|
|
|
2705 |
}
|
|
|
2706 |
|
| 2491 |
ankur.sing |
2707 |
boolean this_present_retireDate = true && this.isSetRetireDate();
|
|
|
2708 |
boolean that_present_retireDate = true && that.isSetRetireDate();
|
| 483 |
rajveer |
2709 |
if (this_present_retireDate || that_present_retireDate) {
|
|
|
2710 |
if (!(this_present_retireDate && that_present_retireDate))
|
|
|
2711 |
return false;
|
|
|
2712 |
if (this.retireDate != that.retireDate)
|
|
|
2713 |
return false;
|
|
|
2714 |
}
|
|
|
2715 |
|
| 103 |
ashish |
2716 |
boolean this_present_itemStatus = true && this.isSetItemStatus();
|
|
|
2717 |
boolean that_present_itemStatus = true && that.isSetItemStatus();
|
|
|
2718 |
if (this_present_itemStatus || that_present_itemStatus) {
|
|
|
2719 |
if (!(this_present_itemStatus && that_present_itemStatus))
|
|
|
2720 |
return false;
|
|
|
2721 |
if (!this.itemStatus.equals(that.itemStatus))
|
|
|
2722 |
return false;
|
|
|
2723 |
}
|
|
|
2724 |
|
| 2034 |
rajveer |
2725 |
boolean this_present_status_description = true && this.isSetStatus_description();
|
|
|
2726 |
boolean that_present_status_description = true && that.isSetStatus_description();
|
|
|
2727 |
if (this_present_status_description || that_present_status_description) {
|
|
|
2728 |
if (!(this_present_status_description && that_present_status_description))
|
|
|
2729 |
return false;
|
|
|
2730 |
if (!this.status_description.equals(that.status_description))
|
|
|
2731 |
return false;
|
|
|
2732 |
}
|
|
|
2733 |
|
| 5336 |
rajveer |
2734 |
boolean this_present_otherInfo = true && this.isSetOtherInfo();
|
|
|
2735 |
boolean that_present_otherInfo = true && that.isSetOtherInfo();
|
|
|
2736 |
if (this_present_otherInfo || that_present_otherInfo) {
|
|
|
2737 |
if (!(this_present_otherInfo && that_present_otherInfo))
|
|
|
2738 |
return false;
|
|
|
2739 |
if (!this.otherInfo.equals(that.otherInfo))
|
|
|
2740 |
return false;
|
|
|
2741 |
}
|
|
|
2742 |
|
| 607 |
chandransh |
2743 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
|
|
2744 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
|
|
2745 |
if (this_present_bestDealText || that_present_bestDealText) {
|
|
|
2746 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
|
|
2747 |
return false;
|
|
|
2748 |
if (!this.bestDealText.equals(that.bestDealText))
|
|
|
2749 |
return false;
|
|
|
2750 |
}
|
|
|
2751 |
|
| 2128 |
ankur.sing |
2752 |
boolean this_present_bestDealValue = true && this.isSetBestDealValue();
|
|
|
2753 |
boolean that_present_bestDealValue = true && that.isSetBestDealValue();
|
| 607 |
chandransh |
2754 |
if (this_present_bestDealValue || that_present_bestDealValue) {
|
|
|
2755 |
if (!(this_present_bestDealValue && that_present_bestDealValue))
|
|
|
2756 |
return false;
|
|
|
2757 |
if (this.bestDealValue != that.bestDealValue)
|
|
|
2758 |
return false;
|
|
|
2759 |
}
|
|
|
2760 |
|
| 1910 |
varun.gupt |
2761 |
boolean this_present_defaultForEntity = true;
|
|
|
2762 |
boolean that_present_defaultForEntity = true;
|
|
|
2763 |
if (this_present_defaultForEntity || that_present_defaultForEntity) {
|
|
|
2764 |
if (!(this_present_defaultForEntity && that_present_defaultForEntity))
|
|
|
2765 |
return false;
|
|
|
2766 |
if (this.defaultForEntity != that.defaultForEntity)
|
|
|
2767 |
return false;
|
|
|
2768 |
}
|
|
|
2769 |
|
| 607 |
chandransh |
2770 |
boolean this_present_updatedOn = true;
|
|
|
2771 |
boolean that_present_updatedOn = true;
|
|
|
2772 |
if (this_present_updatedOn || that_present_updatedOn) {
|
|
|
2773 |
if (!(this_present_updatedOn && that_present_updatedOn))
|
|
|
2774 |
return false;
|
|
|
2775 |
if (this.updatedOn != that.updatedOn)
|
|
|
2776 |
return false;
|
|
|
2777 |
}
|
|
|
2778 |
|
| 2128 |
ankur.sing |
2779 |
boolean this_present_bestSellingRank = true && this.isSetBestSellingRank();
|
|
|
2780 |
boolean that_present_bestSellingRank = true && that.isSetBestSellingRank();
|
| 2064 |
ankur.sing |
2781 |
if (this_present_bestSellingRank || that_present_bestSellingRank) {
|
|
|
2782 |
if (!(this_present_bestSellingRank && that_present_bestSellingRank))
|
|
|
2783 |
return false;
|
|
|
2784 |
if (this.bestSellingRank != that.bestSellingRank)
|
|
|
2785 |
return false;
|
|
|
2786 |
}
|
|
|
2787 |
|
| 2250 |
ankur.sing |
2788 |
boolean this_present_risky = true;
|
|
|
2789 |
boolean that_present_risky = true;
|
|
|
2790 |
if (this_present_risky || that_present_risky) {
|
|
|
2791 |
if (!(this_present_risky && that_present_risky))
|
|
|
2792 |
return false;
|
|
|
2793 |
if (this.risky != that.risky)
|
|
|
2794 |
return false;
|
|
|
2795 |
}
|
|
|
2796 |
|
| 3355 |
chandransh |
2797 |
boolean this_present_expectedDelay = true && this.isSetExpectedDelay();
|
|
|
2798 |
boolean that_present_expectedDelay = true && that.isSetExpectedDelay();
|
|
|
2799 |
if (this_present_expectedDelay || that_present_expectedDelay) {
|
|
|
2800 |
if (!(this_present_expectedDelay && that_present_expectedDelay))
|
|
|
2801 |
return false;
|
|
|
2802 |
if (this.expectedDelay != that.expectedDelay)
|
|
|
2803 |
return false;
|
|
|
2804 |
}
|
|
|
2805 |
|
| 4406 |
anupam.sin |
2806 |
boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
|
|
|
2807 |
boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
|
|
|
2808 |
if (this_present_isWarehousePreferenceSticky || that_present_isWarehousePreferenceSticky) {
|
|
|
2809 |
if (!(this_present_isWarehousePreferenceSticky && that_present_isWarehousePreferenceSticky))
|
|
|
2810 |
return false;
|
|
|
2811 |
if (this.isWarehousePreferenceSticky != that.isWarehousePreferenceSticky)
|
|
|
2812 |
return false;
|
|
|
2813 |
}
|
|
|
2814 |
|
| 4295 |
varun.gupt |
2815 |
boolean this_present_warrantyPeriod = true;
|
|
|
2816 |
boolean that_present_warrantyPeriod = true;
|
|
|
2817 |
if (this_present_warrantyPeriod || that_present_warrantyPeriod) {
|
|
|
2818 |
if (!(this_present_warrantyPeriod && that_present_warrantyPeriod))
|
|
|
2819 |
return false;
|
|
|
2820 |
if (this.warrantyPeriod != that.warrantyPeriod)
|
|
|
2821 |
return false;
|
|
|
2822 |
}
|
|
|
2823 |
|
| 4506 |
phani.kuma |
2824 |
boolean this_present_preferredVendor = true && this.isSetPreferredVendor();
|
|
|
2825 |
boolean that_present_preferredVendor = true && that.isSetPreferredVendor();
|
|
|
2826 |
if (this_present_preferredVendor || that_present_preferredVendor) {
|
|
|
2827 |
if (!(this_present_preferredVendor && that_present_preferredVendor))
|
|
|
2828 |
return false;
|
|
|
2829 |
if (this.preferredVendor != that.preferredVendor)
|
|
|
2830 |
return false;
|
|
|
2831 |
}
|
|
|
2832 |
|
| 5110 |
mandeep.dh |
2833 |
boolean this_present_type = true && this.isSetType();
|
|
|
2834 |
boolean that_present_type = true && that.isSetType();
|
|
|
2835 |
if (this_present_type || that_present_type) {
|
|
|
2836 |
if (!(this_present_type && that_present_type))
|
|
|
2837 |
return false;
|
|
|
2838 |
if (!this.type.equals(that.type))
|
|
|
2839 |
return false;
|
|
|
2840 |
}
|
|
|
2841 |
|
| 5217 |
amit.gupta |
2842 |
boolean this_present_comingSoonStartDate = true && this.isSetComingSoonStartDate();
|
|
|
2843 |
boolean that_present_comingSoonStartDate = true && that.isSetComingSoonStartDate();
|
|
|
2844 |
if (this_present_comingSoonStartDate || that_present_comingSoonStartDate) {
|
|
|
2845 |
if (!(this_present_comingSoonStartDate && that_present_comingSoonStartDate))
|
|
|
2846 |
return false;
|
|
|
2847 |
if (this.comingSoonStartDate != that.comingSoonStartDate)
|
|
|
2848 |
return false;
|
|
|
2849 |
}
|
|
|
2850 |
|
|
|
2851 |
boolean this_present_expectedArrivalDate = true && this.isSetExpectedArrivalDate();
|
|
|
2852 |
boolean that_present_expectedArrivalDate = true && that.isSetExpectedArrivalDate();
|
|
|
2853 |
if (this_present_expectedArrivalDate || that_present_expectedArrivalDate) {
|
|
|
2854 |
if (!(this_present_expectedArrivalDate && that_present_expectedArrivalDate))
|
|
|
2855 |
return false;
|
|
|
2856 |
if (this.expectedArrivalDate != that.expectedArrivalDate)
|
|
|
2857 |
return false;
|
|
|
2858 |
}
|
|
|
2859 |
|
| 5385 |
phani.kuma |
2860 |
boolean this_present_hasItemNo = true;
|
|
|
2861 |
boolean that_present_hasItemNo = true;
|
|
|
2862 |
if (this_present_hasItemNo || that_present_hasItemNo) {
|
|
|
2863 |
if (!(this_present_hasItemNo && that_present_hasItemNo))
|
|
|
2864 |
return false;
|
|
|
2865 |
if (this.hasItemNo != that.hasItemNo)
|
|
|
2866 |
return false;
|
|
|
2867 |
}
|
|
|
2868 |
|
| 7256 |
rajveer |
2869 |
boolean this_present_activeOnStore = true;
|
|
|
2870 |
boolean that_present_activeOnStore = true;
|
|
|
2871 |
if (this_present_activeOnStore || that_present_activeOnStore) {
|
|
|
2872 |
if (!(this_present_activeOnStore && that_present_activeOnStore))
|
| 5460 |
phani.kuma |
2873 |
return false;
|
| 7256 |
rajveer |
2874 |
if (this.activeOnStore != that.activeOnStore)
|
| 5460 |
phani.kuma |
2875 |
return false;
|
|
|
2876 |
}
|
|
|
2877 |
|
| 6241 |
amit.gupta |
2878 |
boolean this_present_showSellingPrice = true;
|
|
|
2879 |
boolean that_present_showSellingPrice = true;
|
|
|
2880 |
if (this_present_showSellingPrice || that_present_showSellingPrice) {
|
|
|
2881 |
if (!(this_present_showSellingPrice && that_present_showSellingPrice))
|
|
|
2882 |
return false;
|
|
|
2883 |
if (this.showSellingPrice != that.showSellingPrice)
|
|
|
2884 |
return false;
|
|
|
2885 |
}
|
|
|
2886 |
|
| 6777 |
vikram.rag |
2887 |
boolean this_present_bestDealsDetailsText = true && this.isSetBestDealsDetailsText();
|
|
|
2888 |
boolean that_present_bestDealsDetailsText = true && that.isSetBestDealsDetailsText();
|
|
|
2889 |
if (this_present_bestDealsDetailsText || that_present_bestDealsDetailsText) {
|
|
|
2890 |
if (!(this_present_bestDealsDetailsText && that_present_bestDealsDetailsText))
|
|
|
2891 |
return false;
|
|
|
2892 |
if (!this.bestDealsDetailsText.equals(that.bestDealsDetailsText))
|
|
|
2893 |
return false;
|
|
|
2894 |
}
|
|
|
2895 |
|
|
|
2896 |
boolean this_present_bestDealsDetailsLink = true && this.isSetBestDealsDetailsLink();
|
|
|
2897 |
boolean that_present_bestDealsDetailsLink = true && that.isSetBestDealsDetailsLink();
|
|
|
2898 |
if (this_present_bestDealsDetailsLink || that_present_bestDealsDetailsLink) {
|
|
|
2899 |
if (!(this_present_bestDealsDetailsLink && that_present_bestDealsDetailsLink))
|
|
|
2900 |
return false;
|
|
|
2901 |
if (!this.bestDealsDetailsLink.equals(that.bestDealsDetailsLink))
|
|
|
2902 |
return false;
|
|
|
2903 |
}
|
|
|
2904 |
|
| 6805 |
anupam.sin |
2905 |
boolean this_present_preferredInsurer = true;
|
|
|
2906 |
boolean that_present_preferredInsurer = true;
|
|
|
2907 |
if (this_present_preferredInsurer || that_present_preferredInsurer) {
|
|
|
2908 |
if (!(this_present_preferredInsurer && that_present_preferredInsurer))
|
|
|
2909 |
return false;
|
|
|
2910 |
if (this.preferredInsurer != that.preferredInsurer)
|
|
|
2911 |
return false;
|
|
|
2912 |
}
|
|
|
2913 |
|
| 7291 |
vikram.rag |
2914 |
boolean this_present_asin = true && this.isSetAsin();
|
|
|
2915 |
boolean that_present_asin = true && that.isSetAsin();
|
|
|
2916 |
if (this_present_asin || that_present_asin) {
|
|
|
2917 |
if (!(this_present_asin && that_present_asin))
|
|
|
2918 |
return false;
|
|
|
2919 |
if (!this.asin.equals(that.asin))
|
|
|
2920 |
return false;
|
|
|
2921 |
}
|
|
|
2922 |
|
|
|
2923 |
boolean this_present_defaultInventory = true;
|
|
|
2924 |
boolean that_present_defaultInventory = true;
|
|
|
2925 |
if (this_present_defaultInventory || that_present_defaultInventory) {
|
|
|
2926 |
if (!(this_present_defaultInventory && that_present_defaultInventory))
|
|
|
2927 |
return false;
|
|
|
2928 |
if (this.defaultInventory != that.defaultInventory)
|
|
|
2929 |
return false;
|
|
|
2930 |
}
|
|
|
2931 |
|
|
|
2932 |
boolean this_present_holdInventory = true;
|
|
|
2933 |
boolean that_present_holdInventory = true;
|
|
|
2934 |
if (this_present_holdInventory || that_present_holdInventory) {
|
|
|
2935 |
if (!(this_present_holdInventory && that_present_holdInventory))
|
|
|
2936 |
return false;
|
|
|
2937 |
if (this.holdInventory != that.holdInventory)
|
|
|
2938 |
return false;
|
|
|
2939 |
}
|
|
|
2940 |
|
| 9841 |
rajveer |
2941 |
boolean this_present_holdOverride = true;
|
|
|
2942 |
boolean that_present_holdOverride = true;
|
|
|
2943 |
if (this_present_holdOverride || that_present_holdOverride) {
|
|
|
2944 |
if (!(this_present_holdOverride && that_present_holdOverride))
|
|
|
2945 |
return false;
|
|
|
2946 |
if (this.holdOverride != that.holdOverride)
|
|
|
2947 |
return false;
|
|
|
2948 |
}
|
|
|
2949 |
|
| 18002 |
kshitij.so |
2950 |
boolean this_present_packQuantity = true;
|
|
|
2951 |
boolean that_present_packQuantity = true;
|
|
|
2952 |
if (this_present_packQuantity || that_present_packQuantity) {
|
|
|
2953 |
if (!(this_present_packQuantity && that_present_packQuantity))
|
|
|
2954 |
return false;
|
|
|
2955 |
if (this.packQuantity != that.packQuantity)
|
|
|
2956 |
return false;
|
|
|
2957 |
}
|
|
|
2958 |
|
| 18150 |
kshitij.so |
2959 |
boolean this_present_quantityStep = true;
|
|
|
2960 |
boolean that_present_quantityStep = true;
|
|
|
2961 |
if (this_present_quantityStep || that_present_quantityStep) {
|
|
|
2962 |
if (!(this_present_quantityStep && that_present_quantityStep))
|
|
|
2963 |
return false;
|
|
|
2964 |
if (this.quantityStep != that.quantityStep)
|
|
|
2965 |
return false;
|
|
|
2966 |
}
|
|
|
2967 |
|
|
|
2968 |
boolean this_present_minimumBuyQuantity = true;
|
|
|
2969 |
boolean that_present_minimumBuyQuantity = true;
|
|
|
2970 |
if (this_present_minimumBuyQuantity || that_present_minimumBuyQuantity) {
|
|
|
2971 |
if (!(this_present_minimumBuyQuantity && that_present_minimumBuyQuantity))
|
|
|
2972 |
return false;
|
|
|
2973 |
if (this.minimumBuyQuantity != that.minimumBuyQuantity)
|
|
|
2974 |
return false;
|
|
|
2975 |
}
|
|
|
2976 |
|
| 18414 |
kshitij.so |
2977 |
boolean this_present_maximumBuyQuantity = true;
|
|
|
2978 |
boolean that_present_maximumBuyQuantity = true;
|
|
|
2979 |
if (this_present_maximumBuyQuantity || that_present_maximumBuyQuantity) {
|
|
|
2980 |
if (!(this_present_maximumBuyQuantity && that_present_maximumBuyQuantity))
|
|
|
2981 |
return false;
|
|
|
2982 |
if (this.maximumBuyQuantity != that.maximumBuyQuantity)
|
|
|
2983 |
return false;
|
|
|
2984 |
}
|
|
|
2985 |
|
| 19756 |
amit.gupta |
2986 |
boolean this_present_dealPrice = true && this.isSetDealPrice();
|
|
|
2987 |
boolean that_present_dealPrice = true && that.isSetDealPrice();
|
|
|
2988 |
if (this_present_dealPrice || that_present_dealPrice) {
|
|
|
2989 |
if (!(this_present_dealPrice && that_present_dealPrice))
|
|
|
2990 |
return false;
|
|
|
2991 |
if (this.dealPrice != that.dealPrice)
|
|
|
2992 |
return false;
|
|
|
2993 |
}
|
|
|
2994 |
|
| 21838 |
amit.gupta |
2995 |
boolean this_present_hsnCode = true && this.isSetHsnCode();
|
|
|
2996 |
boolean that_present_hsnCode = true && that.isSetHsnCode();
|
|
|
2997 |
if (this_present_hsnCode || that_present_hsnCode) {
|
|
|
2998 |
if (!(this_present_hsnCode && that_present_hsnCode))
|
|
|
2999 |
return false;
|
|
|
3000 |
if (!this.hsnCode.equals(that.hsnCode))
|
|
|
3001 |
return false;
|
|
|
3002 |
}
|
|
|
3003 |
|
| 100 |
ashish |
3004 |
return true;
|
|
|
3005 |
}
|
|
|
3006 |
|
|
|
3007 |
@Override
|
|
|
3008 |
public int hashCode() {
|
|
|
3009 |
return 0;
|
|
|
3010 |
}
|
|
|
3011 |
|
| 3430 |
rajveer |
3012 |
public int compareTo(Item other) {
|
|
|
3013 |
if (!getClass().equals(other.getClass())) {
|
|
|
3014 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
3015 |
}
|
|
|
3016 |
|
|
|
3017 |
int lastComparison = 0;
|
|
|
3018 |
Item typedOther = (Item)other;
|
|
|
3019 |
|
|
|
3020 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
3021 |
if (lastComparison != 0) {
|
|
|
3022 |
return lastComparison;
|
|
|
3023 |
}
|
|
|
3024 |
if (isSetId()) {
|
|
|
3025 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
3026 |
if (lastComparison != 0) {
|
|
|
3027 |
return lastComparison;
|
|
|
3028 |
}
|
|
|
3029 |
}
|
|
|
3030 |
lastComparison = Boolean.valueOf(isSetProductGroup()).compareTo(typedOther.isSetProductGroup());
|
|
|
3031 |
if (lastComparison != 0) {
|
|
|
3032 |
return lastComparison;
|
|
|
3033 |
}
|
|
|
3034 |
if (isSetProductGroup()) {
|
|
|
3035 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productGroup, typedOther.productGroup);
|
|
|
3036 |
if (lastComparison != 0) {
|
|
|
3037 |
return lastComparison;
|
|
|
3038 |
}
|
|
|
3039 |
}
|
|
|
3040 |
lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
|
|
|
3041 |
if (lastComparison != 0) {
|
|
|
3042 |
return lastComparison;
|
|
|
3043 |
}
|
|
|
3044 |
if (isSetBrand()) {
|
|
|
3045 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
|
|
|
3046 |
if (lastComparison != 0) {
|
|
|
3047 |
return lastComparison;
|
|
|
3048 |
}
|
|
|
3049 |
}
|
|
|
3050 |
lastComparison = Boolean.valueOf(isSetModelNumber()).compareTo(typedOther.isSetModelNumber());
|
|
|
3051 |
if (lastComparison != 0) {
|
|
|
3052 |
return lastComparison;
|
|
|
3053 |
}
|
|
|
3054 |
if (isSetModelNumber()) {
|
|
|
3055 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
|
|
|
3056 |
if (lastComparison != 0) {
|
|
|
3057 |
return lastComparison;
|
|
|
3058 |
}
|
|
|
3059 |
}
|
|
|
3060 |
lastComparison = Boolean.valueOf(isSetModelName()).compareTo(typedOther.isSetModelName());
|
|
|
3061 |
if (lastComparison != 0) {
|
|
|
3062 |
return lastComparison;
|
|
|
3063 |
}
|
|
|
3064 |
if (isSetModelName()) {
|
|
|
3065 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelName, typedOther.modelName);
|
|
|
3066 |
if (lastComparison != 0) {
|
|
|
3067 |
return lastComparison;
|
|
|
3068 |
}
|
|
|
3069 |
}
|
|
|
3070 |
lastComparison = Boolean.valueOf(isSetColor()).compareTo(typedOther.isSetColor());
|
|
|
3071 |
if (lastComparison != 0) {
|
|
|
3072 |
return lastComparison;
|
|
|
3073 |
}
|
|
|
3074 |
if (isSetColor()) {
|
|
|
3075 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.color, typedOther.color);
|
|
|
3076 |
if (lastComparison != 0) {
|
|
|
3077 |
return lastComparison;
|
|
|
3078 |
}
|
|
|
3079 |
}
|
|
|
3080 |
lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
|
|
|
3081 |
if (lastComparison != 0) {
|
|
|
3082 |
return lastComparison;
|
|
|
3083 |
}
|
|
|
3084 |
if (isSetCategory()) {
|
|
|
3085 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
|
|
|
3086 |
if (lastComparison != 0) {
|
|
|
3087 |
return lastComparison;
|
|
|
3088 |
}
|
|
|
3089 |
}
|
|
|
3090 |
lastComparison = Boolean.valueOf(isSetComments()).compareTo(typedOther.isSetComments());
|
|
|
3091 |
if (lastComparison != 0) {
|
|
|
3092 |
return lastComparison;
|
|
|
3093 |
}
|
|
|
3094 |
if (isSetComments()) {
|
|
|
3095 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, typedOther.comments);
|
|
|
3096 |
if (lastComparison != 0) {
|
|
|
3097 |
return lastComparison;
|
|
|
3098 |
}
|
|
|
3099 |
}
|
|
|
3100 |
lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
|
|
|
3101 |
if (lastComparison != 0) {
|
|
|
3102 |
return lastComparison;
|
|
|
3103 |
}
|
|
|
3104 |
if (isSetCatalogItemId()) {
|
|
|
3105 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
|
|
|
3106 |
if (lastComparison != 0) {
|
|
|
3107 |
return lastComparison;
|
|
|
3108 |
}
|
|
|
3109 |
}
|
|
|
3110 |
lastComparison = Boolean.valueOf(isSetFeatureId()).compareTo(typedOther.isSetFeatureId());
|
|
|
3111 |
if (lastComparison != 0) {
|
|
|
3112 |
return lastComparison;
|
|
|
3113 |
}
|
|
|
3114 |
if (isSetFeatureId()) {
|
|
|
3115 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureId, typedOther.featureId);
|
|
|
3116 |
if (lastComparison != 0) {
|
|
|
3117 |
return lastComparison;
|
|
|
3118 |
}
|
|
|
3119 |
}
|
|
|
3120 |
lastComparison = Boolean.valueOf(isSetFeatureDescription()).compareTo(typedOther.isSetFeatureDescription());
|
|
|
3121 |
if (lastComparison != 0) {
|
|
|
3122 |
return lastComparison;
|
|
|
3123 |
}
|
|
|
3124 |
if (isSetFeatureDescription()) {
|
|
|
3125 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
|
|
3126 |
if (lastComparison != 0) {
|
|
|
3127 |
return lastComparison;
|
|
|
3128 |
}
|
|
|
3129 |
}
|
|
|
3130 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
|
|
3131 |
if (lastComparison != 0) {
|
|
|
3132 |
return lastComparison;
|
|
|
3133 |
}
|
|
|
3134 |
if (isSetMrp()) {
|
|
|
3135 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
|
|
|
3136 |
if (lastComparison != 0) {
|
|
|
3137 |
return lastComparison;
|
|
|
3138 |
}
|
|
|
3139 |
}
|
|
|
3140 |
lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
|
|
|
3141 |
if (lastComparison != 0) {
|
|
|
3142 |
return lastComparison;
|
|
|
3143 |
}
|
|
|
3144 |
if (isSetSellingPrice()) {
|
|
|
3145 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
|
|
|
3146 |
if (lastComparison != 0) {
|
|
|
3147 |
return lastComparison;
|
|
|
3148 |
}
|
|
|
3149 |
}
|
|
|
3150 |
lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
|
|
|
3151 |
if (lastComparison != 0) {
|
|
|
3152 |
return lastComparison;
|
|
|
3153 |
}
|
|
|
3154 |
if (isSetWeight()) {
|
|
|
3155 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.weight, typedOther.weight);
|
|
|
3156 |
if (lastComparison != 0) {
|
|
|
3157 |
return lastComparison;
|
|
|
3158 |
}
|
|
|
3159 |
}
|
|
|
3160 |
lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
|
|
|
3161 |
if (lastComparison != 0) {
|
|
|
3162 |
return lastComparison;
|
|
|
3163 |
}
|
|
|
3164 |
if (isSetAddedOn()) {
|
|
|
3165 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.addedOn, typedOther.addedOn);
|
|
|
3166 |
if (lastComparison != 0) {
|
|
|
3167 |
return lastComparison;
|
|
|
3168 |
}
|
|
|
3169 |
}
|
|
|
3170 |
lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
|
|
|
3171 |
if (lastComparison != 0) {
|
|
|
3172 |
return lastComparison;
|
|
|
3173 |
}
|
|
|
3174 |
if (isSetStartDate()) {
|
|
|
3175 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
|
|
|
3176 |
if (lastComparison != 0) {
|
|
|
3177 |
return lastComparison;
|
|
|
3178 |
}
|
|
|
3179 |
}
|
|
|
3180 |
lastComparison = Boolean.valueOf(isSetRetireDate()).compareTo(typedOther.isSetRetireDate());
|
|
|
3181 |
if (lastComparison != 0) {
|
|
|
3182 |
return lastComparison;
|
|
|
3183 |
}
|
|
|
3184 |
if (isSetRetireDate()) {
|
|
|
3185 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retireDate, typedOther.retireDate);
|
|
|
3186 |
if (lastComparison != 0) {
|
|
|
3187 |
return lastComparison;
|
|
|
3188 |
}
|
|
|
3189 |
}
|
|
|
3190 |
lastComparison = Boolean.valueOf(isSetItemStatus()).compareTo(typedOther.isSetItemStatus());
|
|
|
3191 |
if (lastComparison != 0) {
|
|
|
3192 |
return lastComparison;
|
|
|
3193 |
}
|
|
|
3194 |
if (isSetItemStatus()) {
|
|
|
3195 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemStatus, typedOther.itemStatus);
|
|
|
3196 |
if (lastComparison != 0) {
|
|
|
3197 |
return lastComparison;
|
|
|
3198 |
}
|
|
|
3199 |
}
|
|
|
3200 |
lastComparison = Boolean.valueOf(isSetStatus_description()).compareTo(typedOther.isSetStatus_description());
|
|
|
3201 |
if (lastComparison != 0) {
|
|
|
3202 |
return lastComparison;
|
|
|
3203 |
}
|
|
|
3204 |
if (isSetStatus_description()) {
|
|
|
3205 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
|
|
3206 |
if (lastComparison != 0) {
|
|
|
3207 |
return lastComparison;
|
|
|
3208 |
}
|
|
|
3209 |
}
|
| 5336 |
rajveer |
3210 |
lastComparison = Boolean.valueOf(isSetOtherInfo()).compareTo(typedOther.isSetOtherInfo());
|
|
|
3211 |
if (lastComparison != 0) {
|
|
|
3212 |
return lastComparison;
|
|
|
3213 |
}
|
|
|
3214 |
if (isSetOtherInfo()) {
|
|
|
3215 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInfo, typedOther.otherInfo);
|
|
|
3216 |
if (lastComparison != 0) {
|
|
|
3217 |
return lastComparison;
|
|
|
3218 |
}
|
|
|
3219 |
}
|
| 3430 |
rajveer |
3220 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
|
|
3221 |
if (lastComparison != 0) {
|
|
|
3222 |
return lastComparison;
|
|
|
3223 |
}
|
|
|
3224 |
if (isSetBestDealText()) {
|
|
|
3225 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealText, typedOther.bestDealText);
|
|
|
3226 |
if (lastComparison != 0) {
|
|
|
3227 |
return lastComparison;
|
|
|
3228 |
}
|
|
|
3229 |
}
|
|
|
3230 |
lastComparison = Boolean.valueOf(isSetBestDealValue()).compareTo(typedOther.isSetBestDealValue());
|
|
|
3231 |
if (lastComparison != 0) {
|
|
|
3232 |
return lastComparison;
|
|
|
3233 |
}
|
|
|
3234 |
if (isSetBestDealValue()) {
|
|
|
3235 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
|
|
|
3236 |
if (lastComparison != 0) {
|
|
|
3237 |
return lastComparison;
|
|
|
3238 |
}
|
|
|
3239 |
}
|
|
|
3240 |
lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
|
|
|
3241 |
if (lastComparison != 0) {
|
|
|
3242 |
return lastComparison;
|
|
|
3243 |
}
|
|
|
3244 |
if (isSetDefaultForEntity()) {
|
|
|
3245 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultForEntity, typedOther.defaultForEntity);
|
|
|
3246 |
if (lastComparison != 0) {
|
|
|
3247 |
return lastComparison;
|
|
|
3248 |
}
|
|
|
3249 |
}
|
|
|
3250 |
lastComparison = Boolean.valueOf(isSetUpdatedOn()).compareTo(typedOther.isSetUpdatedOn());
|
|
|
3251 |
if (lastComparison != 0) {
|
|
|
3252 |
return lastComparison;
|
|
|
3253 |
}
|
|
|
3254 |
if (isSetUpdatedOn()) {
|
|
|
3255 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updatedOn, typedOther.updatedOn);
|
|
|
3256 |
if (lastComparison != 0) {
|
|
|
3257 |
return lastComparison;
|
|
|
3258 |
}
|
|
|
3259 |
}
|
|
|
3260 |
lastComparison = Boolean.valueOf(isSetBestSellingRank()).compareTo(typedOther.isSetBestSellingRank());
|
|
|
3261 |
if (lastComparison != 0) {
|
|
|
3262 |
return lastComparison;
|
|
|
3263 |
}
|
|
|
3264 |
if (isSetBestSellingRank()) {
|
|
|
3265 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
|
|
|
3266 |
if (lastComparison != 0) {
|
|
|
3267 |
return lastComparison;
|
|
|
3268 |
}
|
|
|
3269 |
}
|
|
|
3270 |
lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
|
|
|
3271 |
if (lastComparison != 0) {
|
|
|
3272 |
return lastComparison;
|
|
|
3273 |
}
|
|
|
3274 |
if (isSetRisky()) {
|
|
|
3275 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
|
|
|
3276 |
if (lastComparison != 0) {
|
|
|
3277 |
return lastComparison;
|
|
|
3278 |
}
|
|
|
3279 |
}
|
|
|
3280 |
lastComparison = Boolean.valueOf(isSetExpectedDelay()).compareTo(typedOther.isSetExpectedDelay());
|
|
|
3281 |
if (lastComparison != 0) {
|
|
|
3282 |
return lastComparison;
|
|
|
3283 |
}
|
|
|
3284 |
if (isSetExpectedDelay()) {
|
|
|
3285 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedDelay, typedOther.expectedDelay);
|
|
|
3286 |
if (lastComparison != 0) {
|
|
|
3287 |
return lastComparison;
|
|
|
3288 |
}
|
|
|
3289 |
}
|
| 4406 |
anupam.sin |
3290 |
lastComparison = Boolean.valueOf(isSetIsWarehousePreferenceSticky()).compareTo(typedOther.isSetIsWarehousePreferenceSticky());
|
|
|
3291 |
if (lastComparison != 0) {
|
|
|
3292 |
return lastComparison;
|
|
|
3293 |
}
|
|
|
3294 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
3295 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isWarehousePreferenceSticky, typedOther.isWarehousePreferenceSticky);
|
|
|
3296 |
if (lastComparison != 0) {
|
|
|
3297 |
return lastComparison;
|
|
|
3298 |
}
|
|
|
3299 |
}
|
| 4295 |
varun.gupt |
3300 |
lastComparison = Boolean.valueOf(isSetWarrantyPeriod()).compareTo(typedOther.isSetWarrantyPeriod());
|
|
|
3301 |
if (lastComparison != 0) {
|
|
|
3302 |
return lastComparison;
|
|
|
3303 |
}
|
|
|
3304 |
if (isSetWarrantyPeriod()) {
|
|
|
3305 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantyPeriod, typedOther.warrantyPeriod);
|
|
|
3306 |
if (lastComparison != 0) {
|
|
|
3307 |
return lastComparison;
|
|
|
3308 |
}
|
|
|
3309 |
}
|
| 4506 |
phani.kuma |
3310 |
lastComparison = Boolean.valueOf(isSetPreferredVendor()).compareTo(typedOther.isSetPreferredVendor());
|
|
|
3311 |
if (lastComparison != 0) {
|
|
|
3312 |
return lastComparison;
|
|
|
3313 |
}
|
|
|
3314 |
if (isSetPreferredVendor()) {
|
|
|
3315 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredVendor, typedOther.preferredVendor);
|
|
|
3316 |
if (lastComparison != 0) {
|
|
|
3317 |
return lastComparison;
|
|
|
3318 |
}
|
|
|
3319 |
}
|
| 5110 |
mandeep.dh |
3320 |
lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
|
|
|
3321 |
if (lastComparison != 0) {
|
|
|
3322 |
return lastComparison;
|
|
|
3323 |
}
|
|
|
3324 |
if (isSetType()) {
|
|
|
3325 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
|
|
3326 |
if (lastComparison != 0) {
|
|
|
3327 |
return lastComparison;
|
|
|
3328 |
}
|
|
|
3329 |
}
|
| 5217 |
amit.gupta |
3330 |
lastComparison = Boolean.valueOf(isSetComingSoonStartDate()).compareTo(typedOther.isSetComingSoonStartDate());
|
|
|
3331 |
if (lastComparison != 0) {
|
|
|
3332 |
return lastComparison;
|
|
|
3333 |
}
|
|
|
3334 |
if (isSetComingSoonStartDate()) {
|
|
|
3335 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comingSoonStartDate, typedOther.comingSoonStartDate);
|
|
|
3336 |
if (lastComparison != 0) {
|
|
|
3337 |
return lastComparison;
|
|
|
3338 |
}
|
|
|
3339 |
}
|
|
|
3340 |
lastComparison = Boolean.valueOf(isSetExpectedArrivalDate()).compareTo(typedOther.isSetExpectedArrivalDate());
|
|
|
3341 |
if (lastComparison != 0) {
|
|
|
3342 |
return lastComparison;
|
|
|
3343 |
}
|
|
|
3344 |
if (isSetExpectedArrivalDate()) {
|
|
|
3345 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedArrivalDate, typedOther.expectedArrivalDate);
|
|
|
3346 |
if (lastComparison != 0) {
|
|
|
3347 |
return lastComparison;
|
|
|
3348 |
}
|
|
|
3349 |
}
|
| 5385 |
phani.kuma |
3350 |
lastComparison = Boolean.valueOf(isSetHasItemNo()).compareTo(typedOther.isSetHasItemNo());
|
|
|
3351 |
if (lastComparison != 0) {
|
|
|
3352 |
return lastComparison;
|
|
|
3353 |
}
|
|
|
3354 |
if (isSetHasItemNo()) {
|
|
|
3355 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasItemNo, typedOther.hasItemNo);
|
|
|
3356 |
if (lastComparison != 0) {
|
|
|
3357 |
return lastComparison;
|
|
|
3358 |
}
|
|
|
3359 |
}
|
| 7256 |
rajveer |
3360 |
lastComparison = Boolean.valueOf(isSetActiveOnStore()).compareTo(typedOther.isSetActiveOnStore());
|
| 5460 |
phani.kuma |
3361 |
if (lastComparison != 0) {
|
|
|
3362 |
return lastComparison;
|
|
|
3363 |
}
|
| 7256 |
rajveer |
3364 |
if (isSetActiveOnStore()) {
|
|
|
3365 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activeOnStore, typedOther.activeOnStore);
|
| 5460 |
phani.kuma |
3366 |
if (lastComparison != 0) {
|
|
|
3367 |
return lastComparison;
|
|
|
3368 |
}
|
|
|
3369 |
}
|
| 6241 |
amit.gupta |
3370 |
lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
|
|
|
3371 |
if (lastComparison != 0) {
|
|
|
3372 |
return lastComparison;
|
|
|
3373 |
}
|
|
|
3374 |
if (isSetShowSellingPrice()) {
|
|
|
3375 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
|
|
|
3376 |
if (lastComparison != 0) {
|
|
|
3377 |
return lastComparison;
|
|
|
3378 |
}
|
|
|
3379 |
}
|
| 6777 |
vikram.rag |
3380 |
lastComparison = Boolean.valueOf(isSetBestDealsDetailsText()).compareTo(typedOther.isSetBestDealsDetailsText());
|
|
|
3381 |
if (lastComparison != 0) {
|
|
|
3382 |
return lastComparison;
|
|
|
3383 |
}
|
|
|
3384 |
if (isSetBestDealsDetailsText()) {
|
|
|
3385 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsText, typedOther.bestDealsDetailsText);
|
|
|
3386 |
if (lastComparison != 0) {
|
|
|
3387 |
return lastComparison;
|
|
|
3388 |
}
|
|
|
3389 |
}
|
|
|
3390 |
lastComparison = Boolean.valueOf(isSetBestDealsDetailsLink()).compareTo(typedOther.isSetBestDealsDetailsLink());
|
|
|
3391 |
if (lastComparison != 0) {
|
|
|
3392 |
return lastComparison;
|
|
|
3393 |
}
|
|
|
3394 |
if (isSetBestDealsDetailsLink()) {
|
|
|
3395 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsLink, typedOther.bestDealsDetailsLink);
|
|
|
3396 |
if (lastComparison != 0) {
|
|
|
3397 |
return lastComparison;
|
|
|
3398 |
}
|
|
|
3399 |
}
|
| 6805 |
anupam.sin |
3400 |
lastComparison = Boolean.valueOf(isSetPreferredInsurer()).compareTo(typedOther.isSetPreferredInsurer());
|
|
|
3401 |
if (lastComparison != 0) {
|
|
|
3402 |
return lastComparison;
|
|
|
3403 |
}
|
|
|
3404 |
if (isSetPreferredInsurer()) {
|
|
|
3405 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredInsurer, typedOther.preferredInsurer);
|
|
|
3406 |
if (lastComparison != 0) {
|
|
|
3407 |
return lastComparison;
|
|
|
3408 |
}
|
|
|
3409 |
}
|
| 7291 |
vikram.rag |
3410 |
lastComparison = Boolean.valueOf(isSetAsin()).compareTo(typedOther.isSetAsin());
|
|
|
3411 |
if (lastComparison != 0) {
|
|
|
3412 |
return lastComparison;
|
|
|
3413 |
}
|
|
|
3414 |
if (isSetAsin()) {
|
|
|
3415 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.asin, typedOther.asin);
|
|
|
3416 |
if (lastComparison != 0) {
|
|
|
3417 |
return lastComparison;
|
|
|
3418 |
}
|
|
|
3419 |
}
|
|
|
3420 |
lastComparison = Boolean.valueOf(isSetDefaultInventory()).compareTo(typedOther.isSetDefaultInventory());
|
|
|
3421 |
if (lastComparison != 0) {
|
|
|
3422 |
return lastComparison;
|
|
|
3423 |
}
|
|
|
3424 |
if (isSetDefaultInventory()) {
|
|
|
3425 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultInventory, typedOther.defaultInventory);
|
|
|
3426 |
if (lastComparison != 0) {
|
|
|
3427 |
return lastComparison;
|
|
|
3428 |
}
|
|
|
3429 |
}
|
|
|
3430 |
lastComparison = Boolean.valueOf(isSetHoldInventory()).compareTo(typedOther.isSetHoldInventory());
|
|
|
3431 |
if (lastComparison != 0) {
|
|
|
3432 |
return lastComparison;
|
|
|
3433 |
}
|
|
|
3434 |
if (isSetHoldInventory()) {
|
|
|
3435 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdInventory, typedOther.holdInventory);
|
|
|
3436 |
if (lastComparison != 0) {
|
|
|
3437 |
return lastComparison;
|
|
|
3438 |
}
|
|
|
3439 |
}
|
| 9841 |
rajveer |
3440 |
lastComparison = Boolean.valueOf(isSetHoldOverride()).compareTo(typedOther.isSetHoldOverride());
|
|
|
3441 |
if (lastComparison != 0) {
|
|
|
3442 |
return lastComparison;
|
|
|
3443 |
}
|
|
|
3444 |
if (isSetHoldOverride()) {
|
|
|
3445 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdOverride, typedOther.holdOverride);
|
|
|
3446 |
if (lastComparison != 0) {
|
|
|
3447 |
return lastComparison;
|
|
|
3448 |
}
|
|
|
3449 |
}
|
| 18002 |
kshitij.so |
3450 |
lastComparison = Boolean.valueOf(isSetPackQuantity()).compareTo(typedOther.isSetPackQuantity());
|
|
|
3451 |
if (lastComparison != 0) {
|
|
|
3452 |
return lastComparison;
|
|
|
3453 |
}
|
|
|
3454 |
if (isSetPackQuantity()) {
|
|
|
3455 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.packQuantity, typedOther.packQuantity);
|
|
|
3456 |
if (lastComparison != 0) {
|
|
|
3457 |
return lastComparison;
|
|
|
3458 |
}
|
|
|
3459 |
}
|
| 18150 |
kshitij.so |
3460 |
lastComparison = Boolean.valueOf(isSetQuantityStep()).compareTo(typedOther.isSetQuantityStep());
|
|
|
3461 |
if (lastComparison != 0) {
|
|
|
3462 |
return lastComparison;
|
|
|
3463 |
}
|
|
|
3464 |
if (isSetQuantityStep()) {
|
|
|
3465 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.quantityStep, typedOther.quantityStep);
|
|
|
3466 |
if (lastComparison != 0) {
|
|
|
3467 |
return lastComparison;
|
|
|
3468 |
}
|
|
|
3469 |
}
|
|
|
3470 |
lastComparison = Boolean.valueOf(isSetMinimumBuyQuantity()).compareTo(typedOther.isSetMinimumBuyQuantity());
|
|
|
3471 |
if (lastComparison != 0) {
|
|
|
3472 |
return lastComparison;
|
|
|
3473 |
}
|
|
|
3474 |
if (isSetMinimumBuyQuantity()) {
|
|
|
3475 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minimumBuyQuantity, typedOther.minimumBuyQuantity);
|
|
|
3476 |
if (lastComparison != 0) {
|
|
|
3477 |
return lastComparison;
|
|
|
3478 |
}
|
|
|
3479 |
}
|
| 18414 |
kshitij.so |
3480 |
lastComparison = Boolean.valueOf(isSetMaximumBuyQuantity()).compareTo(typedOther.isSetMaximumBuyQuantity());
|
|
|
3481 |
if (lastComparison != 0) {
|
|
|
3482 |
return lastComparison;
|
|
|
3483 |
}
|
|
|
3484 |
if (isSetMaximumBuyQuantity()) {
|
|
|
3485 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maximumBuyQuantity, typedOther.maximumBuyQuantity);
|
|
|
3486 |
if (lastComparison != 0) {
|
|
|
3487 |
return lastComparison;
|
|
|
3488 |
}
|
|
|
3489 |
}
|
| 19756 |
amit.gupta |
3490 |
lastComparison = Boolean.valueOf(isSetDealPrice()).compareTo(typedOther.isSetDealPrice());
|
|
|
3491 |
if (lastComparison != 0) {
|
|
|
3492 |
return lastComparison;
|
|
|
3493 |
}
|
|
|
3494 |
if (isSetDealPrice()) {
|
|
|
3495 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dealPrice, typedOther.dealPrice);
|
|
|
3496 |
if (lastComparison != 0) {
|
|
|
3497 |
return lastComparison;
|
|
|
3498 |
}
|
|
|
3499 |
}
|
| 21838 |
amit.gupta |
3500 |
lastComparison = Boolean.valueOf(isSetHsnCode()).compareTo(typedOther.isSetHsnCode());
|
|
|
3501 |
if (lastComparison != 0) {
|
|
|
3502 |
return lastComparison;
|
|
|
3503 |
}
|
|
|
3504 |
if (isSetHsnCode()) {
|
|
|
3505 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hsnCode, typedOther.hsnCode);
|
|
|
3506 |
if (lastComparison != 0) {
|
|
|
3507 |
return lastComparison;
|
|
|
3508 |
}
|
|
|
3509 |
}
|
| 3430 |
rajveer |
3510 |
return 0;
|
|
|
3511 |
}
|
|
|
3512 |
|
|
|
3513 |
public _Fields fieldForId(int fieldId) {
|
|
|
3514 |
return _Fields.findByThriftId(fieldId);
|
|
|
3515 |
}
|
|
|
3516 |
|
|
|
3517 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
3518 |
org.apache.thrift.protocol.TField field;
|
| 100 |
ashish |
3519 |
iprot.readStructBegin();
|
|
|
3520 |
while (true)
|
|
|
3521 |
{
|
|
|
3522 |
field = iprot.readFieldBegin();
|
| 3430 |
rajveer |
3523 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 100 |
ashish |
3524 |
break;
|
|
|
3525 |
}
|
| 3430 |
rajveer |
3526 |
switch (field.id) {
|
|
|
3527 |
case 1: // ID
|
|
|
3528 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3529 |
this.id = iprot.readI64();
|
|
|
3530 |
setIdIsSet(true);
|
|
|
3531 |
} else {
|
|
|
3532 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3533 |
}
|
|
|
3534 |
break;
|
|
|
3535 |
case 2: // PRODUCT_GROUP
|
|
|
3536 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3537 |
this.productGroup = iprot.readString();
|
|
|
3538 |
} else {
|
|
|
3539 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3540 |
}
|
|
|
3541 |
break;
|
|
|
3542 |
case 3: // BRAND
|
|
|
3543 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3544 |
this.brand = iprot.readString();
|
|
|
3545 |
} else {
|
|
|
3546 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3547 |
}
|
|
|
3548 |
break;
|
|
|
3549 |
case 4: // MODEL_NUMBER
|
|
|
3550 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3551 |
this.modelNumber = iprot.readString();
|
|
|
3552 |
} else {
|
|
|
3553 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3554 |
}
|
|
|
3555 |
break;
|
|
|
3556 |
case 5: // MODEL_NAME
|
|
|
3557 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3558 |
this.modelName = iprot.readString();
|
|
|
3559 |
} else {
|
|
|
3560 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3561 |
}
|
|
|
3562 |
break;
|
|
|
3563 |
case 6: // COLOR
|
|
|
3564 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3565 |
this.color = iprot.readString();
|
|
|
3566 |
} else {
|
|
|
3567 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3568 |
}
|
|
|
3569 |
break;
|
|
|
3570 |
case 7: // CATEGORY
|
|
|
3571 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3572 |
this.category = iprot.readI64();
|
|
|
3573 |
setCategoryIsSet(true);
|
|
|
3574 |
} else {
|
|
|
3575 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3576 |
}
|
|
|
3577 |
break;
|
|
|
3578 |
case 8: // COMMENTS
|
|
|
3579 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3580 |
this.comments = iprot.readString();
|
|
|
3581 |
} else {
|
|
|
3582 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3583 |
}
|
|
|
3584 |
break;
|
|
|
3585 |
case 9: // CATALOG_ITEM_ID
|
|
|
3586 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3587 |
this.catalogItemId = iprot.readI64();
|
|
|
3588 |
setCatalogItemIdIsSet(true);
|
|
|
3589 |
} else {
|
|
|
3590 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3591 |
}
|
|
|
3592 |
break;
|
|
|
3593 |
case 10: // FEATURE_ID
|
|
|
3594 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3595 |
this.featureId = iprot.readI64();
|
|
|
3596 |
setFeatureIdIsSet(true);
|
|
|
3597 |
} else {
|
|
|
3598 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3599 |
}
|
|
|
3600 |
break;
|
|
|
3601 |
case 11: // FEATURE_DESCRIPTION
|
|
|
3602 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3603 |
this.featureDescription = iprot.readString();
|
|
|
3604 |
} else {
|
|
|
3605 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3606 |
}
|
|
|
3607 |
break;
|
|
|
3608 |
case 13: // MRP
|
|
|
3609 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3610 |
this.mrp = iprot.readDouble();
|
|
|
3611 |
setMrpIsSet(true);
|
|
|
3612 |
} else {
|
|
|
3613 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3614 |
}
|
|
|
3615 |
break;
|
| 4762 |
phani.kuma |
3616 |
case 14: // SELLING_PRICE
|
| 3430 |
rajveer |
3617 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3618 |
this.sellingPrice = iprot.readDouble();
|
|
|
3619 |
setSellingPriceIsSet(true);
|
|
|
3620 |
} else {
|
|
|
3621 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3622 |
}
|
|
|
3623 |
break;
|
| 4762 |
phani.kuma |
3624 |
case 15: // WEIGHT
|
| 3430 |
rajveer |
3625 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3626 |
this.weight = iprot.readDouble();
|
|
|
3627 |
setWeightIsSet(true);
|
|
|
3628 |
} else {
|
|
|
3629 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3630 |
}
|
|
|
3631 |
break;
|
| 4762 |
phani.kuma |
3632 |
case 16: // ADDED_ON
|
| 3430 |
rajveer |
3633 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3634 |
this.addedOn = iprot.readI64();
|
|
|
3635 |
setAddedOnIsSet(true);
|
|
|
3636 |
} else {
|
|
|
3637 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3638 |
}
|
|
|
3639 |
break;
|
| 4762 |
phani.kuma |
3640 |
case 17: // START_DATE
|
| 3430 |
rajveer |
3641 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3642 |
this.startDate = iprot.readI64();
|
|
|
3643 |
setStartDateIsSet(true);
|
|
|
3644 |
} else {
|
|
|
3645 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3646 |
}
|
|
|
3647 |
break;
|
| 4762 |
phani.kuma |
3648 |
case 18: // RETIRE_DATE
|
| 3430 |
rajveer |
3649 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3650 |
this.retireDate = iprot.readI64();
|
|
|
3651 |
setRetireDateIsSet(true);
|
|
|
3652 |
} else {
|
|
|
3653 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3654 |
}
|
|
|
3655 |
break;
|
| 4762 |
phani.kuma |
3656 |
case 19: // ITEM_STATUS
|
| 3430 |
rajveer |
3657 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3658 |
this.itemStatus = status.findByValue(iprot.readI32());
|
|
|
3659 |
} else {
|
|
|
3660 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3661 |
}
|
|
|
3662 |
break;
|
| 4762 |
phani.kuma |
3663 |
case 20: // STATUS_DESCRIPTION
|
| 3430 |
rajveer |
3664 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3665 |
this.status_description = iprot.readString();
|
|
|
3666 |
} else {
|
|
|
3667 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3668 |
}
|
|
|
3669 |
break;
|
| 5336 |
rajveer |
3670 |
case 21: // OTHER_INFO
|
|
|
3671 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
|
|
3672 |
{
|
| 5945 |
mandeep.dh |
3673 |
org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin();
|
|
|
3674 |
this.otherInfo = new HashMap<String,String>(2*_map0.size);
|
|
|
3675 |
for (int _i1 = 0; _i1 < _map0.size; ++_i1)
|
| 5336 |
rajveer |
3676 |
{
|
| 5945 |
mandeep.dh |
3677 |
String _key2; // required
|
|
|
3678 |
String _val3; // required
|
|
|
3679 |
_key2 = iprot.readString();
|
|
|
3680 |
_val3 = iprot.readString();
|
|
|
3681 |
this.otherInfo.put(_key2, _val3);
|
| 5336 |
rajveer |
3682 |
}
|
|
|
3683 |
iprot.readMapEnd();
|
|
|
3684 |
}
|
|
|
3685 |
} else {
|
|
|
3686 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3687 |
}
|
|
|
3688 |
break;
|
| 4762 |
phani.kuma |
3689 |
case 22: // BEST_DEAL_TEXT
|
| 3430 |
rajveer |
3690 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3691 |
this.bestDealText = iprot.readString();
|
|
|
3692 |
} else {
|
|
|
3693 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3694 |
}
|
|
|
3695 |
break;
|
| 4762 |
phani.kuma |
3696 |
case 23: // BEST_DEAL_VALUE
|
| 3430 |
rajveer |
3697 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3698 |
this.bestDealValue = iprot.readDouble();
|
|
|
3699 |
setBestDealValueIsSet(true);
|
|
|
3700 |
} else {
|
|
|
3701 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3702 |
}
|
|
|
3703 |
break;
|
| 4762 |
phani.kuma |
3704 |
case 24: // DEFAULT_FOR_ENTITY
|
| 3430 |
rajveer |
3705 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3706 |
this.defaultForEntity = iprot.readBool();
|
|
|
3707 |
setDefaultForEntityIsSet(true);
|
|
|
3708 |
} else {
|
|
|
3709 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3710 |
}
|
|
|
3711 |
break;
|
| 4762 |
phani.kuma |
3712 |
case 25: // UPDATED_ON
|
| 3430 |
rajveer |
3713 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3714 |
this.updatedOn = iprot.readI64();
|
|
|
3715 |
setUpdatedOnIsSet(true);
|
|
|
3716 |
} else {
|
|
|
3717 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3718 |
}
|
|
|
3719 |
break;
|
| 4762 |
phani.kuma |
3720 |
case 26: // BEST_SELLING_RANK
|
| 3430 |
rajveer |
3721 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3722 |
this.bestSellingRank = iprot.readI64();
|
|
|
3723 |
setBestSellingRankIsSet(true);
|
|
|
3724 |
} else {
|
|
|
3725 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3726 |
}
|
|
|
3727 |
break;
|
| 4762 |
phani.kuma |
3728 |
case 27: // RISKY
|
| 3430 |
rajveer |
3729 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3730 |
this.risky = iprot.readBool();
|
|
|
3731 |
setRiskyIsSet(true);
|
|
|
3732 |
} else {
|
|
|
3733 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3734 |
}
|
|
|
3735 |
break;
|
| 4762 |
phani.kuma |
3736 |
case 28: // EXPECTED_DELAY
|
| 3430 |
rajveer |
3737 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3738 |
this.expectedDelay = iprot.readI32();
|
|
|
3739 |
setExpectedDelayIsSet(true);
|
|
|
3740 |
} else {
|
|
|
3741 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3742 |
}
|
|
|
3743 |
break;
|
| 5440 |
phani.kuma |
3744 |
case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| 4406 |
anupam.sin |
3745 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3746 |
this.isWarehousePreferenceSticky = iprot.readBool();
|
|
|
3747 |
setIsWarehousePreferenceStickyIsSet(true);
|
|
|
3748 |
} else {
|
|
|
3749 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3750 |
}
|
|
|
3751 |
break;
|
| 5440 |
phani.kuma |
3752 |
case 30: // WARRANTY_PERIOD
|
| 4295 |
varun.gupt |
3753 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3754 |
this.warrantyPeriod = iprot.readI32();
|
|
|
3755 |
setWarrantyPeriodIsSet(true);
|
|
|
3756 |
} else {
|
|
|
3757 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3758 |
}
|
|
|
3759 |
break;
|
| 5440 |
phani.kuma |
3760 |
case 31: // PREFERRED_VENDOR
|
| 4506 |
phani.kuma |
3761 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3762 |
this.preferredVendor = iprot.readI64();
|
|
|
3763 |
setPreferredVendorIsSet(true);
|
|
|
3764 |
} else {
|
|
|
3765 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3766 |
}
|
|
|
3767 |
break;
|
| 5440 |
phani.kuma |
3768 |
case 32: // TYPE
|
| 5110 |
mandeep.dh |
3769 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3770 |
this.type = ItemType.findByValue(iprot.readI32());
|
|
|
3771 |
} else {
|
|
|
3772 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3773 |
}
|
|
|
3774 |
break;
|
| 5440 |
phani.kuma |
3775 |
case 33: // COMING_SOON_START_DATE
|
| 5217 |
amit.gupta |
3776 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3777 |
this.comingSoonStartDate = iprot.readI64();
|
|
|
3778 |
setComingSoonStartDateIsSet(true);
|
|
|
3779 |
} else {
|
|
|
3780 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3781 |
}
|
|
|
3782 |
break;
|
| 5440 |
phani.kuma |
3783 |
case 34: // EXPECTED_ARRIVAL_DATE
|
| 5217 |
amit.gupta |
3784 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3785 |
this.expectedArrivalDate = iprot.readI64();
|
|
|
3786 |
setExpectedArrivalDateIsSet(true);
|
|
|
3787 |
} else {
|
|
|
3788 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3789 |
}
|
|
|
3790 |
break;
|
| 5440 |
phani.kuma |
3791 |
case 35: // HAS_ITEM_NO
|
| 5385 |
phani.kuma |
3792 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3793 |
this.hasItemNo = iprot.readBool();
|
|
|
3794 |
setHasItemNoIsSet(true);
|
|
|
3795 |
} else {
|
|
|
3796 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3797 |
}
|
|
|
3798 |
break;
|
| 7256 |
rajveer |
3799 |
case 36: // ACTIVE_ON_STORE
|
| 5460 |
phani.kuma |
3800 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| 7256 |
rajveer |
3801 |
this.activeOnStore = iprot.readBool();
|
|
|
3802 |
setActiveOnStoreIsSet(true);
|
| 5460 |
phani.kuma |
3803 |
} else {
|
|
|
3804 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3805 |
}
|
|
|
3806 |
break;
|
| 6241 |
amit.gupta |
3807 |
case 38: // SHOW_SELLING_PRICE
|
|
|
3808 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3809 |
this.showSellingPrice = iprot.readBool();
|
|
|
3810 |
setShowSellingPriceIsSet(true);
|
|
|
3811 |
} else {
|
|
|
3812 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3813 |
}
|
|
|
3814 |
break;
|
| 6777 |
vikram.rag |
3815 |
case 39: // BEST_DEALS_DETAILS_TEXT
|
|
|
3816 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3817 |
this.bestDealsDetailsText = iprot.readString();
|
|
|
3818 |
} else {
|
|
|
3819 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3820 |
}
|
|
|
3821 |
break;
|
|
|
3822 |
case 40: // BEST_DEALS_DETAILS_LINK
|
|
|
3823 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3824 |
this.bestDealsDetailsLink = iprot.readString();
|
|
|
3825 |
} else {
|
|
|
3826 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3827 |
}
|
|
|
3828 |
break;
|
| 6805 |
anupam.sin |
3829 |
case 41: // PREFERRED_INSURER
|
|
|
3830 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3831 |
this.preferredInsurer = iprot.readI64();
|
|
|
3832 |
setPreferredInsurerIsSet(true);
|
|
|
3833 |
} else {
|
|
|
3834 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3835 |
}
|
|
|
3836 |
break;
|
| 7291 |
vikram.rag |
3837 |
case 42: // ASIN
|
|
|
3838 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3839 |
this.asin = iprot.readString();
|
|
|
3840 |
} else {
|
|
|
3841 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3842 |
}
|
|
|
3843 |
break;
|
|
|
3844 |
case 43: // DEFAULT_INVENTORY
|
|
|
3845 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3846 |
this.defaultInventory = iprot.readI64();
|
|
|
3847 |
setDefaultInventoryIsSet(true);
|
|
|
3848 |
} else {
|
|
|
3849 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3850 |
}
|
|
|
3851 |
break;
|
|
|
3852 |
case 44: // HOLD_INVENTORY
|
|
|
3853 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3854 |
this.holdInventory = iprot.readI64();
|
|
|
3855 |
setHoldInventoryIsSet(true);
|
|
|
3856 |
} else {
|
|
|
3857 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3858 |
}
|
|
|
3859 |
break;
|
| 9841 |
rajveer |
3860 |
case 45: // HOLD_OVERRIDE
|
|
|
3861 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3862 |
this.holdOverride = iprot.readBool();
|
|
|
3863 |
setHoldOverrideIsSet(true);
|
|
|
3864 |
} else {
|
|
|
3865 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3866 |
}
|
|
|
3867 |
break;
|
| 18002 |
kshitij.so |
3868 |
case 46: // PACK_QUANTITY
|
|
|
3869 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3870 |
this.packQuantity = iprot.readI64();
|
|
|
3871 |
setPackQuantityIsSet(true);
|
|
|
3872 |
} else {
|
|
|
3873 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3874 |
}
|
|
|
3875 |
break;
|
| 18150 |
kshitij.so |
3876 |
case 47: // QUANTITY_STEP
|
|
|
3877 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3878 |
this.quantityStep = iprot.readI64();
|
|
|
3879 |
setQuantityStepIsSet(true);
|
|
|
3880 |
} else {
|
|
|
3881 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3882 |
}
|
|
|
3883 |
break;
|
|
|
3884 |
case 48: // MINIMUM_BUY_QUANTITY
|
|
|
3885 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3886 |
this.minimumBuyQuantity = iprot.readI64();
|
|
|
3887 |
setMinimumBuyQuantityIsSet(true);
|
|
|
3888 |
} else {
|
|
|
3889 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3890 |
}
|
|
|
3891 |
break;
|
| 18414 |
kshitij.so |
3892 |
case 49: // MAXIMUM_BUY_QUANTITY
|
|
|
3893 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3894 |
this.maximumBuyQuantity = iprot.readI64();
|
|
|
3895 |
setMaximumBuyQuantityIsSet(true);
|
|
|
3896 |
} else {
|
|
|
3897 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3898 |
}
|
|
|
3899 |
break;
|
| 19756 |
amit.gupta |
3900 |
case 50: // DEAL_PRICE
|
|
|
3901 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3902 |
this.dealPrice = iprot.readDouble();
|
|
|
3903 |
setDealPriceIsSet(true);
|
|
|
3904 |
} else {
|
|
|
3905 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3906 |
}
|
|
|
3907 |
break;
|
| 21838 |
amit.gupta |
3908 |
case 51: // HSN_CODE
|
|
|
3909 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3910 |
this.hsnCode = iprot.readString();
|
|
|
3911 |
} else {
|
|
|
3912 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3913 |
}
|
|
|
3914 |
break;
|
| 3430 |
rajveer |
3915 |
default:
|
|
|
3916 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 100 |
ashish |
3917 |
}
|
| 3430 |
rajveer |
3918 |
iprot.readFieldEnd();
|
| 100 |
ashish |
3919 |
}
|
|
|
3920 |
iprot.readStructEnd();
|
|
|
3921 |
validate();
|
|
|
3922 |
}
|
|
|
3923 |
|
| 3430 |
rajveer |
3924 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 100 |
ashish |
3925 |
validate();
|
|
|
3926 |
|
|
|
3927 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
3928 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
3929 |
oprot.writeI64(this.id);
|
|
|
3930 |
oprot.writeFieldEnd();
|
| 957 |
chandransh |
3931 |
if (this.productGroup != null) {
|
|
|
3932 |
oprot.writeFieldBegin(PRODUCT_GROUP_FIELD_DESC);
|
|
|
3933 |
oprot.writeString(this.productGroup);
|
| 483 |
rajveer |
3934 |
oprot.writeFieldEnd();
|
|
|
3935 |
}
|
| 957 |
chandransh |
3936 |
if (this.brand != null) {
|
|
|
3937 |
oprot.writeFieldBegin(BRAND_FIELD_DESC);
|
|
|
3938 |
oprot.writeString(this.brand);
|
|
|
3939 |
oprot.writeFieldEnd();
|
|
|
3940 |
}
|
| 483 |
rajveer |
3941 |
if (this.modelNumber != null) {
|
|
|
3942 |
oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
|
|
|
3943 |
oprot.writeString(this.modelNumber);
|
|
|
3944 |
oprot.writeFieldEnd();
|
|
|
3945 |
}
|
|
|
3946 |
if (this.modelName != null) {
|
|
|
3947 |
oprot.writeFieldBegin(MODEL_NAME_FIELD_DESC);
|
|
|
3948 |
oprot.writeString(this.modelName);
|
|
|
3949 |
oprot.writeFieldEnd();
|
|
|
3950 |
}
|
| 1329 |
chandransh |
3951 |
if (this.color != null) {
|
|
|
3952 |
oprot.writeFieldBegin(COLOR_FIELD_DESC);
|
|
|
3953 |
oprot.writeString(this.color);
|
|
|
3954 |
oprot.writeFieldEnd();
|
|
|
3955 |
}
|
| 622 |
chandransh |
3956 |
oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
|
|
|
3957 |
oprot.writeI64(this.category);
|
|
|
3958 |
oprot.writeFieldEnd();
|
| 483 |
rajveer |
3959 |
if (this.comments != null) {
|
|
|
3960 |
oprot.writeFieldBegin(COMMENTS_FIELD_DESC);
|
|
|
3961 |
oprot.writeString(this.comments);
|
|
|
3962 |
oprot.writeFieldEnd();
|
|
|
3963 |
}
|
| 123 |
ashish |
3964 |
oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
|
|
|
3965 |
oprot.writeI64(this.catalogItemId);
|
|
|
3966 |
oprot.writeFieldEnd();
|
| 483 |
rajveer |
3967 |
oprot.writeFieldBegin(FEATURE_ID_FIELD_DESC);
|
|
|
3968 |
oprot.writeI64(this.featureId);
|
|
|
3969 |
oprot.writeFieldEnd();
|
|
|
3970 |
if (this.featureDescription != null) {
|
|
|
3971 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
|
|
3972 |
oprot.writeString(this.featureDescription);
|
|
|
3973 |
oprot.writeFieldEnd();
|
|
|
3974 |
}
|
| 2128 |
ankur.sing |
3975 |
if (isSetMrp()) {
|
|
|
3976 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
|
|
3977 |
oprot.writeDouble(this.mrp);
|
|
|
3978 |
oprot.writeFieldEnd();
|
|
|
3979 |
}
|
|
|
3980 |
if (isSetSellingPrice()) {
|
|
|
3981 |
oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
|
|
|
3982 |
oprot.writeDouble(this.sellingPrice);
|
|
|
3983 |
oprot.writeFieldEnd();
|
|
|
3984 |
}
|
|
|
3985 |
if (isSetWeight()) {
|
|
|
3986 |
oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
|
|
|
3987 |
oprot.writeDouble(this.weight);
|
|
|
3988 |
oprot.writeFieldEnd();
|
|
|
3989 |
}
|
| 103 |
ashish |
3990 |
oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
|
|
|
3991 |
oprot.writeI64(this.addedOn);
|
|
|
3992 |
oprot.writeFieldEnd();
|
| 2491 |
ankur.sing |
3993 |
if (isSetStartDate()) {
|
|
|
3994 |
oprot.writeFieldBegin(START_DATE_FIELD_DESC);
|
|
|
3995 |
oprot.writeI64(this.startDate);
|
|
|
3996 |
oprot.writeFieldEnd();
|
|
|
3997 |
}
|
|
|
3998 |
if (isSetRetireDate()) {
|
|
|
3999 |
oprot.writeFieldBegin(RETIRE_DATE_FIELD_DESC);
|
|
|
4000 |
oprot.writeI64(this.retireDate);
|
|
|
4001 |
oprot.writeFieldEnd();
|
|
|
4002 |
}
|
| 103 |
ashish |
4003 |
if (this.itemStatus != null) {
|
|
|
4004 |
oprot.writeFieldBegin(ITEM_STATUS_FIELD_DESC);
|
|
|
4005 |
oprot.writeI32(this.itemStatus.getValue());
|
|
|
4006 |
oprot.writeFieldEnd();
|
|
|
4007 |
}
|
| 2034 |
rajveer |
4008 |
if (this.status_description != null) {
|
|
|
4009 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
|
|
4010 |
oprot.writeString(this.status_description);
|
|
|
4011 |
oprot.writeFieldEnd();
|
|
|
4012 |
}
|
| 5336 |
rajveer |
4013 |
if (this.otherInfo != null) {
|
|
|
4014 |
oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
|
|
|
4015 |
{
|
|
|
4016 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
|
| 5945 |
mandeep.dh |
4017 |
for (Map.Entry<String, String> _iter4 : this.otherInfo.entrySet())
|
| 5336 |
rajveer |
4018 |
{
|
| 5945 |
mandeep.dh |
4019 |
oprot.writeString(_iter4.getKey());
|
|
|
4020 |
oprot.writeString(_iter4.getValue());
|
| 5336 |
rajveer |
4021 |
}
|
|
|
4022 |
oprot.writeMapEnd();
|
|
|
4023 |
}
|
|
|
4024 |
oprot.writeFieldEnd();
|
|
|
4025 |
}
|
| 607 |
chandransh |
4026 |
if (this.bestDealText != null) {
|
|
|
4027 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
|
|
4028 |
oprot.writeString(this.bestDealText);
|
|
|
4029 |
oprot.writeFieldEnd();
|
|
|
4030 |
}
|
| 2128 |
ankur.sing |
4031 |
if (isSetBestDealValue()) {
|
|
|
4032 |
oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
|
|
|
4033 |
oprot.writeDouble(this.bestDealValue);
|
|
|
4034 |
oprot.writeFieldEnd();
|
|
|
4035 |
}
|
| 1910 |
varun.gupt |
4036 |
oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
|
|
|
4037 |
oprot.writeBool(this.defaultForEntity);
|
|
|
4038 |
oprot.writeFieldEnd();
|
| 607 |
chandransh |
4039 |
oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
|
|
|
4040 |
oprot.writeI64(this.updatedOn);
|
|
|
4041 |
oprot.writeFieldEnd();
|
| 2128 |
ankur.sing |
4042 |
if (isSetBestSellingRank()) {
|
|
|
4043 |
oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
|
|
|
4044 |
oprot.writeI64(this.bestSellingRank);
|
|
|
4045 |
oprot.writeFieldEnd();
|
|
|
4046 |
}
|
| 2250 |
ankur.sing |
4047 |
oprot.writeFieldBegin(RISKY_FIELD_DESC);
|
|
|
4048 |
oprot.writeBool(this.risky);
|
|
|
4049 |
oprot.writeFieldEnd();
|
| 3355 |
chandransh |
4050 |
if (isSetExpectedDelay()) {
|
|
|
4051 |
oprot.writeFieldBegin(EXPECTED_DELAY_FIELD_DESC);
|
|
|
4052 |
oprot.writeI32(this.expectedDelay);
|
|
|
4053 |
oprot.writeFieldEnd();
|
|
|
4054 |
}
|
| 4406 |
anupam.sin |
4055 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
4056 |
oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
|
|
|
4057 |
oprot.writeBool(this.isWarehousePreferenceSticky);
|
|
|
4058 |
oprot.writeFieldEnd();
|
|
|
4059 |
}
|
| 4295 |
varun.gupt |
4060 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
|
|
4061 |
oprot.writeI32(this.warrantyPeriod);
|
|
|
4062 |
oprot.writeFieldEnd();
|
| 4506 |
phani.kuma |
4063 |
if (isSetPreferredVendor()) {
|
|
|
4064 |
oprot.writeFieldBegin(PREFERRED_VENDOR_FIELD_DESC);
|
|
|
4065 |
oprot.writeI64(this.preferredVendor);
|
|
|
4066 |
oprot.writeFieldEnd();
|
|
|
4067 |
}
|
| 5110 |
mandeep.dh |
4068 |
if (this.type != null) {
|
|
|
4069 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
|
|
4070 |
oprot.writeI32(this.type.getValue());
|
|
|
4071 |
oprot.writeFieldEnd();
|
|
|
4072 |
}
|
| 5217 |
amit.gupta |
4073 |
if (isSetComingSoonStartDate()) {
|
|
|
4074 |
oprot.writeFieldBegin(COMING_SOON_START_DATE_FIELD_DESC);
|
|
|
4075 |
oprot.writeI64(this.comingSoonStartDate);
|
|
|
4076 |
oprot.writeFieldEnd();
|
|
|
4077 |
}
|
|
|
4078 |
if (isSetExpectedArrivalDate()) {
|
|
|
4079 |
oprot.writeFieldBegin(EXPECTED_ARRIVAL_DATE_FIELD_DESC);
|
|
|
4080 |
oprot.writeI64(this.expectedArrivalDate);
|
|
|
4081 |
oprot.writeFieldEnd();
|
|
|
4082 |
}
|
| 5385 |
phani.kuma |
4083 |
oprot.writeFieldBegin(HAS_ITEM_NO_FIELD_DESC);
|
|
|
4084 |
oprot.writeBool(this.hasItemNo);
|
|
|
4085 |
oprot.writeFieldEnd();
|
| 7256 |
rajveer |
4086 |
oprot.writeFieldBegin(ACTIVE_ON_STORE_FIELD_DESC);
|
|
|
4087 |
oprot.writeBool(this.activeOnStore);
|
| 5460 |
phani.kuma |
4088 |
oprot.writeFieldEnd();
|
| 6241 |
amit.gupta |
4089 |
oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
|
|
|
4090 |
oprot.writeBool(this.showSellingPrice);
|
|
|
4091 |
oprot.writeFieldEnd();
|
| 6777 |
vikram.rag |
4092 |
if (this.bestDealsDetailsText != null) {
|
|
|
4093 |
oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
|
|
|
4094 |
oprot.writeString(this.bestDealsDetailsText);
|
|
|
4095 |
oprot.writeFieldEnd();
|
|
|
4096 |
}
|
|
|
4097 |
if (this.bestDealsDetailsLink != null) {
|
|
|
4098 |
oprot.writeFieldBegin(BEST_DEALS_DETAILS_LINK_FIELD_DESC);
|
|
|
4099 |
oprot.writeString(this.bestDealsDetailsLink);
|
|
|
4100 |
oprot.writeFieldEnd();
|
|
|
4101 |
}
|
| 6805 |
anupam.sin |
4102 |
oprot.writeFieldBegin(PREFERRED_INSURER_FIELD_DESC);
|
|
|
4103 |
oprot.writeI64(this.preferredInsurer);
|
|
|
4104 |
oprot.writeFieldEnd();
|
| 7291 |
vikram.rag |
4105 |
if (this.asin != null) {
|
|
|
4106 |
oprot.writeFieldBegin(ASIN_FIELD_DESC);
|
|
|
4107 |
oprot.writeString(this.asin);
|
|
|
4108 |
oprot.writeFieldEnd();
|
|
|
4109 |
}
|
|
|
4110 |
oprot.writeFieldBegin(DEFAULT_INVENTORY_FIELD_DESC);
|
|
|
4111 |
oprot.writeI64(this.defaultInventory);
|
|
|
4112 |
oprot.writeFieldEnd();
|
|
|
4113 |
oprot.writeFieldBegin(HOLD_INVENTORY_FIELD_DESC);
|
|
|
4114 |
oprot.writeI64(this.holdInventory);
|
|
|
4115 |
oprot.writeFieldEnd();
|
| 9841 |
rajveer |
4116 |
oprot.writeFieldBegin(HOLD_OVERRIDE_FIELD_DESC);
|
|
|
4117 |
oprot.writeBool(this.holdOverride);
|
|
|
4118 |
oprot.writeFieldEnd();
|
| 18002 |
kshitij.so |
4119 |
oprot.writeFieldBegin(PACK_QUANTITY_FIELD_DESC);
|
|
|
4120 |
oprot.writeI64(this.packQuantity);
|
|
|
4121 |
oprot.writeFieldEnd();
|
| 18150 |
kshitij.so |
4122 |
oprot.writeFieldBegin(QUANTITY_STEP_FIELD_DESC);
|
|
|
4123 |
oprot.writeI64(this.quantityStep);
|
|
|
4124 |
oprot.writeFieldEnd();
|
|
|
4125 |
oprot.writeFieldBegin(MINIMUM_BUY_QUANTITY_FIELD_DESC);
|
|
|
4126 |
oprot.writeI64(this.minimumBuyQuantity);
|
|
|
4127 |
oprot.writeFieldEnd();
|
| 18414 |
kshitij.so |
4128 |
oprot.writeFieldBegin(MAXIMUM_BUY_QUANTITY_FIELD_DESC);
|
|
|
4129 |
oprot.writeI64(this.maximumBuyQuantity);
|
|
|
4130 |
oprot.writeFieldEnd();
|
| 19756 |
amit.gupta |
4131 |
if (isSetDealPrice()) {
|
|
|
4132 |
oprot.writeFieldBegin(DEAL_PRICE_FIELD_DESC);
|
|
|
4133 |
oprot.writeDouble(this.dealPrice);
|
|
|
4134 |
oprot.writeFieldEnd();
|
|
|
4135 |
}
|
| 21838 |
amit.gupta |
4136 |
if (this.hsnCode != null) {
|
|
|
4137 |
oprot.writeFieldBegin(HSN_CODE_FIELD_DESC);
|
|
|
4138 |
oprot.writeString(this.hsnCode);
|
|
|
4139 |
oprot.writeFieldEnd();
|
|
|
4140 |
}
|
| 100 |
ashish |
4141 |
oprot.writeFieldStop();
|
|
|
4142 |
oprot.writeStructEnd();
|
|
|
4143 |
}
|
|
|
4144 |
|
|
|
4145 |
@Override
|
|
|
4146 |
public String toString() {
|
|
|
4147 |
StringBuilder sb = new StringBuilder("Item(");
|
|
|
4148 |
boolean first = true;
|
|
|
4149 |
|
|
|
4150 |
sb.append("id:");
|
|
|
4151 |
sb.append(this.id);
|
|
|
4152 |
first = false;
|
|
|
4153 |
if (!first) sb.append(", ");
|
| 957 |
chandransh |
4154 |
sb.append("productGroup:");
|
|
|
4155 |
if (this.productGroup == null) {
|
| 483 |
rajveer |
4156 |
sb.append("null");
|
|
|
4157 |
} else {
|
| 957 |
chandransh |
4158 |
sb.append(this.productGroup);
|
| 483 |
rajveer |
4159 |
}
|
|
|
4160 |
first = false;
|
|
|
4161 |
if (!first) sb.append(", ");
|
| 957 |
chandransh |
4162 |
sb.append("brand:");
|
|
|
4163 |
if (this.brand == null) {
|
|
|
4164 |
sb.append("null");
|
|
|
4165 |
} else {
|
|
|
4166 |
sb.append(this.brand);
|
|
|
4167 |
}
|
|
|
4168 |
first = false;
|
|
|
4169 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
4170 |
sb.append("modelNumber:");
|
|
|
4171 |
if (this.modelNumber == null) {
|
|
|
4172 |
sb.append("null");
|
|
|
4173 |
} else {
|
|
|
4174 |
sb.append(this.modelNumber);
|
|
|
4175 |
}
|
|
|
4176 |
first = false;
|
|
|
4177 |
if (!first) sb.append(", ");
|
|
|
4178 |
sb.append("modelName:");
|
|
|
4179 |
if (this.modelName == null) {
|
|
|
4180 |
sb.append("null");
|
|
|
4181 |
} else {
|
|
|
4182 |
sb.append(this.modelName);
|
|
|
4183 |
}
|
|
|
4184 |
first = false;
|
|
|
4185 |
if (!first) sb.append(", ");
|
| 1329 |
chandransh |
4186 |
sb.append("color:");
|
|
|
4187 |
if (this.color == null) {
|
|
|
4188 |
sb.append("null");
|
|
|
4189 |
} else {
|
|
|
4190 |
sb.append(this.color);
|
|
|
4191 |
}
|
|
|
4192 |
first = false;
|
|
|
4193 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
4194 |
sb.append("category:");
|
| 622 |
chandransh |
4195 |
sb.append(this.category);
|
| 483 |
rajveer |
4196 |
first = false;
|
|
|
4197 |
if (!first) sb.append(", ");
|
|
|
4198 |
sb.append("comments:");
|
|
|
4199 |
if (this.comments == null) {
|
|
|
4200 |
sb.append("null");
|
|
|
4201 |
} else {
|
|
|
4202 |
sb.append(this.comments);
|
|
|
4203 |
}
|
|
|
4204 |
first = false;
|
|
|
4205 |
if (!first) sb.append(", ");
|
| 123 |
ashish |
4206 |
sb.append("catalogItemId:");
|
|
|
4207 |
sb.append(this.catalogItemId);
|
| 100 |
ashish |
4208 |
first = false;
|
|
|
4209 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
4210 |
sb.append("featureId:");
|
|
|
4211 |
sb.append(this.featureId);
|
|
|
4212 |
first = false;
|
|
|
4213 |
if (!first) sb.append(", ");
|
|
|
4214 |
sb.append("featureDescription:");
|
|
|
4215 |
if (this.featureDescription == null) {
|
|
|
4216 |
sb.append("null");
|
|
|
4217 |
} else {
|
|
|
4218 |
sb.append(this.featureDescription);
|
|
|
4219 |
}
|
|
|
4220 |
first = false;
|
| 2128 |
ankur.sing |
4221 |
if (isSetMrp()) {
|
|
|
4222 |
if (!first) sb.append(", ");
|
|
|
4223 |
sb.append("mrp:");
|
|
|
4224 |
sb.append(this.mrp);
|
|
|
4225 |
first = false;
|
|
|
4226 |
}
|
|
|
4227 |
if (isSetSellingPrice()) {
|
|
|
4228 |
if (!first) sb.append(", ");
|
|
|
4229 |
sb.append("sellingPrice:");
|
|
|
4230 |
sb.append(this.sellingPrice);
|
|
|
4231 |
first = false;
|
|
|
4232 |
}
|
|
|
4233 |
if (isSetWeight()) {
|
|
|
4234 |
if (!first) sb.append(", ");
|
|
|
4235 |
sb.append("weight:");
|
|
|
4236 |
sb.append(this.weight);
|
|
|
4237 |
first = false;
|
|
|
4238 |
}
|
| 721 |
chandransh |
4239 |
if (!first) sb.append(", ");
|
| 103 |
ashish |
4240 |
sb.append("addedOn:");
|
|
|
4241 |
sb.append(this.addedOn);
|
|
|
4242 |
first = false;
|
| 2491 |
ankur.sing |
4243 |
if (isSetStartDate()) {
|
|
|
4244 |
if (!first) sb.append(", ");
|
|
|
4245 |
sb.append("startDate:");
|
|
|
4246 |
sb.append(this.startDate);
|
|
|
4247 |
first = false;
|
|
|
4248 |
}
|
|
|
4249 |
if (isSetRetireDate()) {
|
|
|
4250 |
if (!first) sb.append(", ");
|
|
|
4251 |
sb.append("retireDate:");
|
|
|
4252 |
sb.append(this.retireDate);
|
|
|
4253 |
first = false;
|
|
|
4254 |
}
|
| 103 |
ashish |
4255 |
if (!first) sb.append(", ");
|
|
|
4256 |
sb.append("itemStatus:");
|
|
|
4257 |
if (this.itemStatus == null) {
|
|
|
4258 |
sb.append("null");
|
|
|
4259 |
} else {
|
|
|
4260 |
sb.append(this.itemStatus);
|
|
|
4261 |
}
|
|
|
4262 |
first = false;
|
|
|
4263 |
if (!first) sb.append(", ");
|
| 2034 |
rajveer |
4264 |
sb.append("status_description:");
|
|
|
4265 |
if (this.status_description == null) {
|
|
|
4266 |
sb.append("null");
|
|
|
4267 |
} else {
|
|
|
4268 |
sb.append(this.status_description);
|
|
|
4269 |
}
|
|
|
4270 |
first = false;
|
|
|
4271 |
if (!first) sb.append(", ");
|
| 5336 |
rajveer |
4272 |
sb.append("otherInfo:");
|
|
|
4273 |
if (this.otherInfo == null) {
|
|
|
4274 |
sb.append("null");
|
|
|
4275 |
} else {
|
|
|
4276 |
sb.append(this.otherInfo);
|
|
|
4277 |
}
|
|
|
4278 |
first = false;
|
|
|
4279 |
if (!first) sb.append(", ");
|
| 607 |
chandransh |
4280 |
sb.append("bestDealText:");
|
|
|
4281 |
if (this.bestDealText == null) {
|
|
|
4282 |
sb.append("null");
|
|
|
4283 |
} else {
|
|
|
4284 |
sb.append(this.bestDealText);
|
|
|
4285 |
}
|
|
|
4286 |
first = false;
|
| 2128 |
ankur.sing |
4287 |
if (isSetBestDealValue()) {
|
|
|
4288 |
if (!first) sb.append(", ");
|
|
|
4289 |
sb.append("bestDealValue:");
|
|
|
4290 |
sb.append(this.bestDealValue);
|
|
|
4291 |
first = false;
|
|
|
4292 |
}
|
| 607 |
chandransh |
4293 |
if (!first) sb.append(", ");
|
| 1910 |
varun.gupt |
4294 |
sb.append("defaultForEntity:");
|
|
|
4295 |
sb.append(this.defaultForEntity);
|
|
|
4296 |
first = false;
|
|
|
4297 |
if (!first) sb.append(", ");
|
| 607 |
chandransh |
4298 |
sb.append("updatedOn:");
|
|
|
4299 |
sb.append(this.updatedOn);
|
|
|
4300 |
first = false;
|
| 2128 |
ankur.sing |
4301 |
if (isSetBestSellingRank()) {
|
|
|
4302 |
if (!first) sb.append(", ");
|
|
|
4303 |
sb.append("bestSellingRank:");
|
|
|
4304 |
sb.append(this.bestSellingRank);
|
|
|
4305 |
first = false;
|
|
|
4306 |
}
|
| 2064 |
ankur.sing |
4307 |
if (!first) sb.append(", ");
|
| 2250 |
ankur.sing |
4308 |
sb.append("risky:");
|
|
|
4309 |
sb.append(this.risky);
|
|
|
4310 |
first = false;
|
| 3355 |
chandransh |
4311 |
if (isSetExpectedDelay()) {
|
|
|
4312 |
if (!first) sb.append(", ");
|
|
|
4313 |
sb.append("expectedDelay:");
|
|
|
4314 |
sb.append(this.expectedDelay);
|
|
|
4315 |
first = false;
|
|
|
4316 |
}
|
| 4406 |
anupam.sin |
4317 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
4318 |
if (!first) sb.append(", ");
|
|
|
4319 |
sb.append("isWarehousePreferenceSticky:");
|
|
|
4320 |
sb.append(this.isWarehousePreferenceSticky);
|
|
|
4321 |
first = false;
|
|
|
4322 |
}
|
| 4295 |
varun.gupt |
4323 |
if (!first) sb.append(", ");
|
|
|
4324 |
sb.append("warrantyPeriod:");
|
|
|
4325 |
sb.append(this.warrantyPeriod);
|
|
|
4326 |
first = false;
|
| 4506 |
phani.kuma |
4327 |
if (isSetPreferredVendor()) {
|
|
|
4328 |
if (!first) sb.append(", ");
|
|
|
4329 |
sb.append("preferredVendor:");
|
|
|
4330 |
sb.append(this.preferredVendor);
|
|
|
4331 |
first = false;
|
|
|
4332 |
}
|
| 5110 |
mandeep.dh |
4333 |
if (!first) sb.append(", ");
|
|
|
4334 |
sb.append("type:");
|
|
|
4335 |
if (this.type == null) {
|
|
|
4336 |
sb.append("null");
|
|
|
4337 |
} else {
|
|
|
4338 |
sb.append(this.type);
|
|
|
4339 |
}
|
|
|
4340 |
first = false;
|
| 5217 |
amit.gupta |
4341 |
if (isSetComingSoonStartDate()) {
|
|
|
4342 |
if (!first) sb.append(", ");
|
|
|
4343 |
sb.append("comingSoonStartDate:");
|
|
|
4344 |
sb.append(this.comingSoonStartDate);
|
|
|
4345 |
first = false;
|
|
|
4346 |
}
|
|
|
4347 |
if (isSetExpectedArrivalDate()) {
|
|
|
4348 |
if (!first) sb.append(", ");
|
|
|
4349 |
sb.append("expectedArrivalDate:");
|
|
|
4350 |
sb.append(this.expectedArrivalDate);
|
|
|
4351 |
first = false;
|
|
|
4352 |
}
|
| 5385 |
phani.kuma |
4353 |
if (!first) sb.append(", ");
|
|
|
4354 |
sb.append("hasItemNo:");
|
|
|
4355 |
sb.append(this.hasItemNo);
|
|
|
4356 |
first = false;
|
| 5460 |
phani.kuma |
4357 |
if (!first) sb.append(", ");
|
| 7256 |
rajveer |
4358 |
sb.append("activeOnStore:");
|
|
|
4359 |
sb.append(this.activeOnStore);
|
| 5460 |
phani.kuma |
4360 |
first = false;
|
| 6039 |
amit.gupta |
4361 |
if (!first) sb.append(", ");
|
| 6241 |
amit.gupta |
4362 |
sb.append("showSellingPrice:");
|
|
|
4363 |
sb.append(this.showSellingPrice);
|
|
|
4364 |
first = false;
|
| 6777 |
vikram.rag |
4365 |
if (!first) sb.append(", ");
|
|
|
4366 |
sb.append("bestDealsDetailsText:");
|
|
|
4367 |
if (this.bestDealsDetailsText == null) {
|
|
|
4368 |
sb.append("null");
|
|
|
4369 |
} else {
|
|
|
4370 |
sb.append(this.bestDealsDetailsText);
|
|
|
4371 |
}
|
|
|
4372 |
first = false;
|
|
|
4373 |
if (!first) sb.append(", ");
|
|
|
4374 |
sb.append("bestDealsDetailsLink:");
|
|
|
4375 |
if (this.bestDealsDetailsLink == null) {
|
|
|
4376 |
sb.append("null");
|
|
|
4377 |
} else {
|
|
|
4378 |
sb.append(this.bestDealsDetailsLink);
|
|
|
4379 |
}
|
|
|
4380 |
first = false;
|
| 6805 |
anupam.sin |
4381 |
if (!first) sb.append(", ");
|
|
|
4382 |
sb.append("preferredInsurer:");
|
|
|
4383 |
sb.append(this.preferredInsurer);
|
|
|
4384 |
first = false;
|
| 7291 |
vikram.rag |
4385 |
if (!first) sb.append(", ");
|
|
|
4386 |
sb.append("asin:");
|
|
|
4387 |
if (this.asin == null) {
|
|
|
4388 |
sb.append("null");
|
|
|
4389 |
} else {
|
|
|
4390 |
sb.append(this.asin);
|
|
|
4391 |
}
|
|
|
4392 |
first = false;
|
|
|
4393 |
if (!first) sb.append(", ");
|
|
|
4394 |
sb.append("defaultInventory:");
|
|
|
4395 |
sb.append(this.defaultInventory);
|
|
|
4396 |
first = false;
|
|
|
4397 |
if (!first) sb.append(", ");
|
|
|
4398 |
sb.append("holdInventory:");
|
|
|
4399 |
sb.append(this.holdInventory);
|
|
|
4400 |
first = false;
|
| 9841 |
rajveer |
4401 |
if (!first) sb.append(", ");
|
|
|
4402 |
sb.append("holdOverride:");
|
|
|
4403 |
sb.append(this.holdOverride);
|
|
|
4404 |
first = false;
|
| 18002 |
kshitij.so |
4405 |
if (!first) sb.append(", ");
|
|
|
4406 |
sb.append("packQuantity:");
|
|
|
4407 |
sb.append(this.packQuantity);
|
|
|
4408 |
first = false;
|
| 18150 |
kshitij.so |
4409 |
if (!first) sb.append(", ");
|
|
|
4410 |
sb.append("quantityStep:");
|
|
|
4411 |
sb.append(this.quantityStep);
|
|
|
4412 |
first = false;
|
|
|
4413 |
if (!first) sb.append(", ");
|
|
|
4414 |
sb.append("minimumBuyQuantity:");
|
|
|
4415 |
sb.append(this.minimumBuyQuantity);
|
|
|
4416 |
first = false;
|
| 18414 |
kshitij.so |
4417 |
if (!first) sb.append(", ");
|
|
|
4418 |
sb.append("maximumBuyQuantity:");
|
|
|
4419 |
sb.append(this.maximumBuyQuantity);
|
|
|
4420 |
first = false;
|
| 19756 |
amit.gupta |
4421 |
if (isSetDealPrice()) {
|
|
|
4422 |
if (!first) sb.append(", ");
|
|
|
4423 |
sb.append("dealPrice:");
|
|
|
4424 |
sb.append(this.dealPrice);
|
|
|
4425 |
first = false;
|
|
|
4426 |
}
|
| 21838 |
amit.gupta |
4427 |
if (!first) sb.append(", ");
|
|
|
4428 |
sb.append("hsnCode:");
|
|
|
4429 |
if (this.hsnCode == null) {
|
|
|
4430 |
sb.append("null");
|
|
|
4431 |
} else {
|
|
|
4432 |
sb.append(this.hsnCode);
|
|
|
4433 |
}
|
|
|
4434 |
first = false;
|
| 100 |
ashish |
4435 |
sb.append(")");
|
|
|
4436 |
return sb.toString();
|
|
|
4437 |
}
|
|
|
4438 |
|
| 3430 |
rajveer |
4439 |
public void validate() throws org.apache.thrift.TException {
|
| 100 |
ashish |
4440 |
// check for required fields
|
|
|
4441 |
}
|
|
|
4442 |
|
| 3430 |
rajveer |
4443 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
4444 |
try {
|
|
|
4445 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
4446 |
} catch (org.apache.thrift.TException te) {
|
|
|
4447 |
throw new java.io.IOException(te);
|
|
|
4448 |
}
|
|
|
4449 |
}
|
|
|
4450 |
|
|
|
4451 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
4452 |
try {
|
|
|
4453 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
4454 |
__isset_bit_vector = new BitSet(1);
|
|
|
4455 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
4456 |
} catch (org.apache.thrift.TException te) {
|
|
|
4457 |
throw new java.io.IOException(te);
|
|
|
4458 |
}
|
|
|
4459 |
}
|
|
|
4460 |
|
| 100 |
ashish |
4461 |
}
|
|
|
4462 |
|