| 11015 |
kshitij.so |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
|
|
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;
|
|
|
18 |
import java.nio.ByteBuffer;
|
|
|
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
|
|
23 |
public class MarketplaceHistory implements org.apache.thrift.TBase<MarketplaceHistory, MarketplaceHistory._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MarketplaceHistory");
|
|
|
25 |
|
|
|
26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.I64, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 11076 |
kshitij.so |
29 |
private static final org.apache.thrift.protocol.TField LOWEST_POSSIBLE_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("lowest_possible_tp", org.apache.thrift.protocol.TType.I64, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField LOWEST_POSSIBLE_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("lowest_possible_sp", org.apache.thrift.protocol.TType.I64, (short)5);
|
| 11015 |
kshitij.so |
31 |
private static final org.apache.thrift.protocol.TField OUR_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("ourInventory", org.apache.thrift.protocol.TType.I64, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField OTHER_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("otherInventory", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField SECOND_LOWEST_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("secondLowestInventory", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField OUR_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("ourRank", org.apache.thrift.protocol.TType.I64, (short)9);
|
| 11076 |
kshitij.so |
35 |
private static final org.apache.thrift.protocol.TField OUR_OFFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourOfferPrice", org.apache.thrift.protocol.TType.I64, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField OUR_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("ourSellingPrice", org.apache.thrift.protocol.TType.I64, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField OUR_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("ourTp", org.apache.thrift.protocol.TType.I64, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField OUR_NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("ourNlc", org.apache.thrift.protocol.TType.I64, (short)13);
|
| 11015 |
kshitij.so |
39 |
private static final org.apache.thrift.protocol.TField COMPETITIVE_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("competitiveCategory", org.apache.thrift.protocol.TType.I32, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.I64, (short)15);
|
| 11076 |
kshitij.so |
41 |
private static final org.apache.thrift.protocol.TField LOWEST_OFFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestOfferPrice", org.apache.thrift.protocol.TType.I64, (short)16);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField LOWEST_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSellingPrice", org.apache.thrift.protocol.TType.I64, (short)17);
|
|
|
43 |
private static final org.apache.thrift.protocol.TField LOWEST_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestTp", org.apache.thrift.protocol.TType.I64, (short)18);
|
| 11015 |
kshitij.so |
44 |
private static final org.apache.thrift.protocol.TField LOWEST_SELLER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("lowestSellerName", org.apache.thrift.protocol.TType.STRING, (short)19);
|
| 11076 |
kshitij.so |
45 |
private static final org.apache.thrift.protocol.TField PROPOSED_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("proposedSellingPrice", org.apache.thrift.protocol.TType.I64, (short)20);
|
|
|
46 |
private static final org.apache.thrift.protocol.TField PROPOSED_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("proposedTp", org.apache.thrift.protocol.TType.I64, (short)21);
|
|
|
47 |
private static final org.apache.thrift.protocol.TField TARGET_NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("targetNlc", org.apache.thrift.protocol.TType.I64, (short)22);
|
| 11015 |
kshitij.so |
48 |
private static final org.apache.thrift.protocol.TField SALES_POTENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("salesPotential", org.apache.thrift.protocol.TType.I32, (short)23);
|
|
|
49 |
private static final org.apache.thrift.protocol.TField SECOND_LOWEST_SELLER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("secondLowestSellerName", org.apache.thrift.protocol.TType.STRING, (short)24);
|
| 11076 |
kshitij.so |
50 |
private static final org.apache.thrift.protocol.TField SECOND_LOWEST_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("secondLowestSellingPrice", org.apache.thrift.protocol.TType.I64, (short)25);
|
|
|
51 |
private static final org.apache.thrift.protocol.TField SECOND_LOWEST_OFFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("secondLowestOfferPrice", org.apache.thrift.protocol.TType.I64, (short)26);
|
|
|
52 |
private static final org.apache.thrift.protocol.TField SECOND_LOWEST_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("secondLowestTp", org.apache.thrift.protocol.TType.I64, (short)27);
|
|
|
53 |
private static final org.apache.thrift.protocol.TField MARGIN_INCREASED_POTENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("marginIncreasedPotential", org.apache.thrift.protocol.TType.I64, (short)28);
|
|
|
54 |
private static final org.apache.thrift.protocol.TField MARGIN_FIELD_DESC = new org.apache.thrift.protocol.TField("margin", org.apache.thrift.protocol.TType.I64, (short)29);
|
| 11015 |
kshitij.so |
55 |
private static final org.apache.thrift.protocol.TField OUR_ENOUGH_STOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("ourEnoughStock", org.apache.thrift.protocol.TType.BOOL, (short)30);
|
|
|
56 |
private static final org.apache.thrift.protocol.TField TOTAL_SELLER_FIELD_DESC = new org.apache.thrift.protocol.TField("totalSeller", org.apache.thrift.protocol.TType.I64, (short)31);
|
|
|
57 |
private static final org.apache.thrift.protocol.TField AVERAGE_SALE_FIELD_DESC = new org.apache.thrift.protocol.TField("averageSale", org.apache.thrift.protocol.TType.DOUBLE, (short)32);
|
|
|
58 |
private static final org.apache.thrift.protocol.TField TO_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("toGroup", org.apache.thrift.protocol.TType.BOOL, (short)33);
|
| 11076 |
kshitij.so |
59 |
private static final org.apache.thrift.protocol.TField DECISION_FIELD_DESC = new org.apache.thrift.protocol.TField("decision", org.apache.thrift.protocol.TType.I32, (short)34);
|
|
|
60 |
private static final org.apache.thrift.protocol.TField REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("reason", org.apache.thrift.protocol.TType.STRING, (short)35);
|
| 11015 |
kshitij.so |
61 |
|
|
|
62 |
private long item_id; // required
|
|
|
63 |
private long source; // required
|
|
|
64 |
private long timestamp; // required
|
| 11076 |
kshitij.so |
65 |
private long lowest_possible_tp; // required
|
|
|
66 |
private long lowest_possible_sp; // required
|
| 11015 |
kshitij.so |
67 |
private long ourInventory; // required
|
|
|
68 |
private long otherInventory; // required
|
|
|
69 |
private long secondLowestInventory; // required
|
|
|
70 |
private long ourRank; // required
|
| 11076 |
kshitij.so |
71 |
private long ourOfferPrice; // required
|
|
|
72 |
private long ourSellingPrice; // required
|
|
|
73 |
private long ourTp; // required
|
|
|
74 |
private long ourNlc; // required
|
| 11015 |
kshitij.so |
75 |
private CompetitionCategory competitiveCategory; // required
|
|
|
76 |
private long risky; // required
|
| 11076 |
kshitij.so |
77 |
private long lowestOfferPrice; // required
|
|
|
78 |
private long lowestSellingPrice; // required
|
|
|
79 |
private long lowestTp; // required
|
| 11015 |
kshitij.so |
80 |
private String lowestSellerName; // required
|
| 11076 |
kshitij.so |
81 |
private long proposedSellingPrice; // required
|
|
|
82 |
private long proposedTp; // required
|
|
|
83 |
private long targetNlc; // required
|
| 11015 |
kshitij.so |
84 |
private SalesPotential salesPotential; // required
|
|
|
85 |
private String secondLowestSellerName; // required
|
| 11076 |
kshitij.so |
86 |
private long secondLowestSellingPrice; // required
|
|
|
87 |
private long secondLowestOfferPrice; // required
|
|
|
88 |
private long secondLowestTp; // required
|
|
|
89 |
private long marginIncreasedPotential; // required
|
|
|
90 |
private long margin; // required
|
| 11015 |
kshitij.so |
91 |
private boolean ourEnoughStock; // required
|
|
|
92 |
private long totalSeller; // required
|
|
|
93 |
private double averageSale; // required
|
|
|
94 |
private boolean toGroup; // required
|
| 11076 |
kshitij.so |
95 |
private Decision decision; // required
|
|
|
96 |
private String reason; // required
|
| 11015 |
kshitij.so |
97 |
|
|
|
98 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
99 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
100 |
ITEM_ID((short)1, "item_id"),
|
|
|
101 |
SOURCE((short)2, "source"),
|
|
|
102 |
TIMESTAMP((short)3, "timestamp"),
|
|
|
103 |
LOWEST_POSSIBLE_TP((short)4, "lowest_possible_tp"),
|
|
|
104 |
LOWEST_POSSIBLE_SP((short)5, "lowest_possible_sp"),
|
|
|
105 |
OUR_INVENTORY((short)6, "ourInventory"),
|
|
|
106 |
OTHER_INVENTORY((short)7, "otherInventory"),
|
|
|
107 |
SECOND_LOWEST_INVENTORY((short)8, "secondLowestInventory"),
|
|
|
108 |
OUR_RANK((short)9, "ourRank"),
|
|
|
109 |
OUR_OFFER_PRICE((short)10, "ourOfferPrice"),
|
|
|
110 |
OUR_SELLING_PRICE((short)11, "ourSellingPrice"),
|
|
|
111 |
OUR_TP((short)12, "ourTp"),
|
|
|
112 |
OUR_NLC((short)13, "ourNlc"),
|
|
|
113 |
/**
|
|
|
114 |
*
|
|
|
115 |
* @see CompetitionCategory
|
|
|
116 |
*/
|
|
|
117 |
COMPETITIVE_CATEGORY((short)14, "competitiveCategory"),
|
|
|
118 |
RISKY((short)15, "risky"),
|
|
|
119 |
LOWEST_OFFER_PRICE((short)16, "lowestOfferPrice"),
|
|
|
120 |
LOWEST_SELLING_PRICE((short)17, "lowestSellingPrice"),
|
|
|
121 |
LOWEST_TP((short)18, "lowestTp"),
|
|
|
122 |
LOWEST_SELLER_NAME((short)19, "lowestSellerName"),
|
|
|
123 |
PROPOSED_SELLING_PRICE((short)20, "proposedSellingPrice"),
|
|
|
124 |
PROPOSED_TP((short)21, "proposedTp"),
|
|
|
125 |
TARGET_NLC((short)22, "targetNlc"),
|
|
|
126 |
/**
|
|
|
127 |
*
|
|
|
128 |
* @see SalesPotential
|
|
|
129 |
*/
|
|
|
130 |
SALES_POTENTIAL((short)23, "salesPotential"),
|
|
|
131 |
SECOND_LOWEST_SELLER_NAME((short)24, "secondLowestSellerName"),
|
|
|
132 |
SECOND_LOWEST_SELLING_PRICE((short)25, "secondLowestSellingPrice"),
|
|
|
133 |
SECOND_LOWEST_OFFER_PRICE((short)26, "secondLowestOfferPrice"),
|
|
|
134 |
SECOND_LOWEST_TP((short)27, "secondLowestTp"),
|
|
|
135 |
MARGIN_INCREASED_POTENTIAL((short)28, "marginIncreasedPotential"),
|
|
|
136 |
MARGIN((short)29, "margin"),
|
|
|
137 |
OUR_ENOUGH_STOCK((short)30, "ourEnoughStock"),
|
|
|
138 |
TOTAL_SELLER((short)31, "totalSeller"),
|
|
|
139 |
AVERAGE_SALE((short)32, "averageSale"),
|
| 11076 |
kshitij.so |
140 |
TO_GROUP((short)33, "toGroup"),
|
|
|
141 |
/**
|
|
|
142 |
*
|
|
|
143 |
* @see Decision
|
|
|
144 |
*/
|
|
|
145 |
DECISION((short)34, "decision"),
|
|
|
146 |
REASON((short)35, "reason");
|
| 11015 |
kshitij.so |
147 |
|
|
|
148 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
149 |
|
|
|
150 |
static {
|
|
|
151 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
152 |
byName.put(field.getFieldName(), field);
|
|
|
153 |
}
|
|
|
154 |
}
|
|
|
155 |
|
|
|
156 |
/**
|
|
|
157 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
158 |
*/
|
|
|
159 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
160 |
switch(fieldId) {
|
|
|
161 |
case 1: // ITEM_ID
|
|
|
162 |
return ITEM_ID;
|
|
|
163 |
case 2: // SOURCE
|
|
|
164 |
return SOURCE;
|
|
|
165 |
case 3: // TIMESTAMP
|
|
|
166 |
return TIMESTAMP;
|
|
|
167 |
case 4: // LOWEST_POSSIBLE_TP
|
|
|
168 |
return LOWEST_POSSIBLE_TP;
|
|
|
169 |
case 5: // LOWEST_POSSIBLE_SP
|
|
|
170 |
return LOWEST_POSSIBLE_SP;
|
|
|
171 |
case 6: // OUR_INVENTORY
|
|
|
172 |
return OUR_INVENTORY;
|
|
|
173 |
case 7: // OTHER_INVENTORY
|
|
|
174 |
return OTHER_INVENTORY;
|
|
|
175 |
case 8: // SECOND_LOWEST_INVENTORY
|
|
|
176 |
return SECOND_LOWEST_INVENTORY;
|
|
|
177 |
case 9: // OUR_RANK
|
|
|
178 |
return OUR_RANK;
|
|
|
179 |
case 10: // OUR_OFFER_PRICE
|
|
|
180 |
return OUR_OFFER_PRICE;
|
|
|
181 |
case 11: // OUR_SELLING_PRICE
|
|
|
182 |
return OUR_SELLING_PRICE;
|
|
|
183 |
case 12: // OUR_TP
|
|
|
184 |
return OUR_TP;
|
|
|
185 |
case 13: // OUR_NLC
|
|
|
186 |
return OUR_NLC;
|
|
|
187 |
case 14: // COMPETITIVE_CATEGORY
|
|
|
188 |
return COMPETITIVE_CATEGORY;
|
|
|
189 |
case 15: // RISKY
|
|
|
190 |
return RISKY;
|
|
|
191 |
case 16: // LOWEST_OFFER_PRICE
|
|
|
192 |
return LOWEST_OFFER_PRICE;
|
|
|
193 |
case 17: // LOWEST_SELLING_PRICE
|
|
|
194 |
return LOWEST_SELLING_PRICE;
|
|
|
195 |
case 18: // LOWEST_TP
|
|
|
196 |
return LOWEST_TP;
|
|
|
197 |
case 19: // LOWEST_SELLER_NAME
|
|
|
198 |
return LOWEST_SELLER_NAME;
|
|
|
199 |
case 20: // PROPOSED_SELLING_PRICE
|
|
|
200 |
return PROPOSED_SELLING_PRICE;
|
|
|
201 |
case 21: // PROPOSED_TP
|
|
|
202 |
return PROPOSED_TP;
|
|
|
203 |
case 22: // TARGET_NLC
|
|
|
204 |
return TARGET_NLC;
|
|
|
205 |
case 23: // SALES_POTENTIAL
|
|
|
206 |
return SALES_POTENTIAL;
|
|
|
207 |
case 24: // SECOND_LOWEST_SELLER_NAME
|
|
|
208 |
return SECOND_LOWEST_SELLER_NAME;
|
|
|
209 |
case 25: // SECOND_LOWEST_SELLING_PRICE
|
|
|
210 |
return SECOND_LOWEST_SELLING_PRICE;
|
|
|
211 |
case 26: // SECOND_LOWEST_OFFER_PRICE
|
|
|
212 |
return SECOND_LOWEST_OFFER_PRICE;
|
|
|
213 |
case 27: // SECOND_LOWEST_TP
|
|
|
214 |
return SECOND_LOWEST_TP;
|
|
|
215 |
case 28: // MARGIN_INCREASED_POTENTIAL
|
|
|
216 |
return MARGIN_INCREASED_POTENTIAL;
|
|
|
217 |
case 29: // MARGIN
|
|
|
218 |
return MARGIN;
|
|
|
219 |
case 30: // OUR_ENOUGH_STOCK
|
|
|
220 |
return OUR_ENOUGH_STOCK;
|
|
|
221 |
case 31: // TOTAL_SELLER
|
|
|
222 |
return TOTAL_SELLER;
|
|
|
223 |
case 32: // AVERAGE_SALE
|
|
|
224 |
return AVERAGE_SALE;
|
|
|
225 |
case 33: // TO_GROUP
|
|
|
226 |
return TO_GROUP;
|
| 11076 |
kshitij.so |
227 |
case 34: // DECISION
|
|
|
228 |
return DECISION;
|
|
|
229 |
case 35: // REASON
|
|
|
230 |
return REASON;
|
| 11015 |
kshitij.so |
231 |
default:
|
|
|
232 |
return null;
|
|
|
233 |
}
|
|
|
234 |
}
|
|
|
235 |
|
|
|
236 |
/**
|
|
|
237 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
238 |
* if it is not found.
|
|
|
239 |
*/
|
|
|
240 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
241 |
_Fields fields = findByThriftId(fieldId);
|
|
|
242 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
243 |
return fields;
|
|
|
244 |
}
|
|
|
245 |
|
|
|
246 |
/**
|
|
|
247 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
248 |
*/
|
|
|
249 |
public static _Fields findByName(String name) {
|
|
|
250 |
return byName.get(name);
|
|
|
251 |
}
|
|
|
252 |
|
|
|
253 |
private final short _thriftId;
|
|
|
254 |
private final String _fieldName;
|
|
|
255 |
|
|
|
256 |
_Fields(short thriftId, String fieldName) {
|
|
|
257 |
_thriftId = thriftId;
|
|
|
258 |
_fieldName = fieldName;
|
|
|
259 |
}
|
|
|
260 |
|
|
|
261 |
public short getThriftFieldId() {
|
|
|
262 |
return _thriftId;
|
|
|
263 |
}
|
|
|
264 |
|
|
|
265 |
public String getFieldName() {
|
|
|
266 |
return _fieldName;
|
|
|
267 |
}
|
|
|
268 |
}
|
|
|
269 |
|
|
|
270 |
// isset id assignments
|
|
|
271 |
private static final int __ITEM_ID_ISSET_ID = 0;
|
|
|
272 |
private static final int __SOURCE_ISSET_ID = 1;
|
|
|
273 |
private static final int __TIMESTAMP_ISSET_ID = 2;
|
|
|
274 |
private static final int __LOWEST_POSSIBLE_TP_ISSET_ID = 3;
|
|
|
275 |
private static final int __LOWEST_POSSIBLE_SP_ISSET_ID = 4;
|
|
|
276 |
private static final int __OURINVENTORY_ISSET_ID = 5;
|
|
|
277 |
private static final int __OTHERINVENTORY_ISSET_ID = 6;
|
|
|
278 |
private static final int __SECONDLOWESTINVENTORY_ISSET_ID = 7;
|
|
|
279 |
private static final int __OURRANK_ISSET_ID = 8;
|
|
|
280 |
private static final int __OUROFFERPRICE_ISSET_ID = 9;
|
|
|
281 |
private static final int __OURSELLINGPRICE_ISSET_ID = 10;
|
|
|
282 |
private static final int __OURTP_ISSET_ID = 11;
|
|
|
283 |
private static final int __OURNLC_ISSET_ID = 12;
|
|
|
284 |
private static final int __RISKY_ISSET_ID = 13;
|
|
|
285 |
private static final int __LOWESTOFFERPRICE_ISSET_ID = 14;
|
|
|
286 |
private static final int __LOWESTSELLINGPRICE_ISSET_ID = 15;
|
|
|
287 |
private static final int __LOWESTTP_ISSET_ID = 16;
|
|
|
288 |
private static final int __PROPOSEDSELLINGPRICE_ISSET_ID = 17;
|
|
|
289 |
private static final int __PROPOSEDTP_ISSET_ID = 18;
|
|
|
290 |
private static final int __TARGETNLC_ISSET_ID = 19;
|
|
|
291 |
private static final int __SECONDLOWESTSELLINGPRICE_ISSET_ID = 20;
|
|
|
292 |
private static final int __SECONDLOWESTOFFERPRICE_ISSET_ID = 21;
|
|
|
293 |
private static final int __SECONDLOWESTTP_ISSET_ID = 22;
|
|
|
294 |
private static final int __MARGININCREASEDPOTENTIAL_ISSET_ID = 23;
|
|
|
295 |
private static final int __MARGIN_ISSET_ID = 24;
|
|
|
296 |
private static final int __OURENOUGHSTOCK_ISSET_ID = 25;
|
|
|
297 |
private static final int __TOTALSELLER_ISSET_ID = 26;
|
|
|
298 |
private static final int __AVERAGESALE_ISSET_ID = 27;
|
|
|
299 |
private static final int __TOGROUP_ISSET_ID = 28;
|
|
|
300 |
private BitSet __isset_bit_vector = new BitSet(29);
|
|
|
301 |
|
|
|
302 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
303 |
static {
|
|
|
304 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
305 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
306 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
307 |
tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
308 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
309 |
tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
310 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
311 |
tmpMap.put(_Fields.LOWEST_POSSIBLE_TP, new org.apache.thrift.meta_data.FieldMetaData("lowest_possible_tp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
312 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
313 |
tmpMap.put(_Fields.LOWEST_POSSIBLE_SP, new org.apache.thrift.meta_data.FieldMetaData("lowest_possible_sp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
314 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
315 |
tmpMap.put(_Fields.OUR_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("ourInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
316 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
317 |
tmpMap.put(_Fields.OTHER_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("otherInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
318 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
319 |
tmpMap.put(_Fields.SECOND_LOWEST_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("secondLowestInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
320 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
321 |
tmpMap.put(_Fields.OUR_RANK, new org.apache.thrift.meta_data.FieldMetaData("ourRank", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
322 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
323 |
tmpMap.put(_Fields.OUR_OFFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourOfferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
324 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
325 |
tmpMap.put(_Fields.OUR_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("ourSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
326 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
327 |
tmpMap.put(_Fields.OUR_TP, new org.apache.thrift.meta_data.FieldMetaData("ourTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
328 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
329 |
tmpMap.put(_Fields.OUR_NLC, new org.apache.thrift.meta_data.FieldMetaData("ourNlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
330 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
331 |
tmpMap.put(_Fields.COMPETITIVE_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("competitiveCategory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
332 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, CompetitionCategory.class)));
|
|
|
333 |
tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
334 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
335 |
tmpMap.put(_Fields.LOWEST_OFFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestOfferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
336 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
337 |
tmpMap.put(_Fields.LOWEST_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("lowestSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
338 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
339 |
tmpMap.put(_Fields.LOWEST_TP, new org.apache.thrift.meta_data.FieldMetaData("lowestTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
340 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
341 |
tmpMap.put(_Fields.LOWEST_SELLER_NAME, new org.apache.thrift.meta_data.FieldMetaData("lowestSellerName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
342 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
343 |
tmpMap.put(_Fields.PROPOSED_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("proposedSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
344 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
345 |
tmpMap.put(_Fields.PROPOSED_TP, new org.apache.thrift.meta_data.FieldMetaData("proposedTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
346 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
347 |
tmpMap.put(_Fields.TARGET_NLC, new org.apache.thrift.meta_data.FieldMetaData("targetNlc", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
348 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
349 |
tmpMap.put(_Fields.SALES_POTENTIAL, new org.apache.thrift.meta_data.FieldMetaData("salesPotential", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
350 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, SalesPotential.class)));
|
|
|
351 |
tmpMap.put(_Fields.SECOND_LOWEST_SELLER_NAME, new org.apache.thrift.meta_data.FieldMetaData("secondLowestSellerName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
352 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
353 |
tmpMap.put(_Fields.SECOND_LOWEST_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("secondLowestSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
354 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
355 |
tmpMap.put(_Fields.SECOND_LOWEST_OFFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("secondLowestOfferPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
356 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
357 |
tmpMap.put(_Fields.SECOND_LOWEST_TP, new org.apache.thrift.meta_data.FieldMetaData("secondLowestTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
358 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
359 |
tmpMap.put(_Fields.MARGIN_INCREASED_POTENTIAL, new org.apache.thrift.meta_data.FieldMetaData("marginIncreasedPotential", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
360 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
361 |
tmpMap.put(_Fields.MARGIN, new org.apache.thrift.meta_data.FieldMetaData("margin", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 11076 |
kshitij.so |
362 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 11015 |
kshitij.so |
363 |
tmpMap.put(_Fields.OUR_ENOUGH_STOCK, new org.apache.thrift.meta_data.FieldMetaData("ourEnoughStock", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
364 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
365 |
tmpMap.put(_Fields.TOTAL_SELLER, new org.apache.thrift.meta_data.FieldMetaData("totalSeller", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
366 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
367 |
tmpMap.put(_Fields.AVERAGE_SALE, new org.apache.thrift.meta_data.FieldMetaData("averageSale", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
368 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
369 |
tmpMap.put(_Fields.TO_GROUP, new org.apache.thrift.meta_data.FieldMetaData("toGroup", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
370 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 11076 |
kshitij.so |
371 |
tmpMap.put(_Fields.DECISION, new org.apache.thrift.meta_data.FieldMetaData("decision", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
372 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, Decision.class)));
|
|
|
373 |
tmpMap.put(_Fields.REASON, new org.apache.thrift.meta_data.FieldMetaData("reason", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
374 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 11015 |
kshitij.so |
375 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
376 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(MarketplaceHistory.class, metaDataMap);
|
|
|
377 |
}
|
|
|
378 |
|
|
|
379 |
public MarketplaceHistory() {
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
public MarketplaceHistory(
|
|
|
383 |
long item_id,
|
|
|
384 |
long source,
|
|
|
385 |
long timestamp,
|
| 11076 |
kshitij.so |
386 |
long lowest_possible_tp,
|
|
|
387 |
long lowest_possible_sp,
|
| 11015 |
kshitij.so |
388 |
long ourInventory,
|
|
|
389 |
long otherInventory,
|
|
|
390 |
long secondLowestInventory,
|
|
|
391 |
long ourRank,
|
| 11076 |
kshitij.so |
392 |
long ourOfferPrice,
|
|
|
393 |
long ourSellingPrice,
|
|
|
394 |
long ourTp,
|
|
|
395 |
long ourNlc,
|
| 11015 |
kshitij.so |
396 |
CompetitionCategory competitiveCategory,
|
|
|
397 |
long risky,
|
| 11076 |
kshitij.so |
398 |
long lowestOfferPrice,
|
|
|
399 |
long lowestSellingPrice,
|
|
|
400 |
long lowestTp,
|
| 11015 |
kshitij.so |
401 |
String lowestSellerName,
|
| 11076 |
kshitij.so |
402 |
long proposedSellingPrice,
|
|
|
403 |
long proposedTp,
|
|
|
404 |
long targetNlc,
|
| 11015 |
kshitij.so |
405 |
SalesPotential salesPotential,
|
|
|
406 |
String secondLowestSellerName,
|
| 11076 |
kshitij.so |
407 |
long secondLowestSellingPrice,
|
|
|
408 |
long secondLowestOfferPrice,
|
|
|
409 |
long secondLowestTp,
|
|
|
410 |
long marginIncreasedPotential,
|
|
|
411 |
long margin,
|
| 11015 |
kshitij.so |
412 |
boolean ourEnoughStock,
|
|
|
413 |
long totalSeller,
|
|
|
414 |
double averageSale,
|
| 11076 |
kshitij.so |
415 |
boolean toGroup,
|
|
|
416 |
Decision decision,
|
|
|
417 |
String reason)
|
| 11015 |
kshitij.so |
418 |
{
|
|
|
419 |
this();
|
|
|
420 |
this.item_id = item_id;
|
|
|
421 |
setItem_idIsSet(true);
|
|
|
422 |
this.source = source;
|
|
|
423 |
setSourceIsSet(true);
|
|
|
424 |
this.timestamp = timestamp;
|
|
|
425 |
setTimestampIsSet(true);
|
|
|
426 |
this.lowest_possible_tp = lowest_possible_tp;
|
|
|
427 |
setLowest_possible_tpIsSet(true);
|
|
|
428 |
this.lowest_possible_sp = lowest_possible_sp;
|
|
|
429 |
setLowest_possible_spIsSet(true);
|
|
|
430 |
this.ourInventory = ourInventory;
|
|
|
431 |
setOurInventoryIsSet(true);
|
|
|
432 |
this.otherInventory = otherInventory;
|
|
|
433 |
setOtherInventoryIsSet(true);
|
|
|
434 |
this.secondLowestInventory = secondLowestInventory;
|
|
|
435 |
setSecondLowestInventoryIsSet(true);
|
|
|
436 |
this.ourRank = ourRank;
|
|
|
437 |
setOurRankIsSet(true);
|
|
|
438 |
this.ourOfferPrice = ourOfferPrice;
|
|
|
439 |
setOurOfferPriceIsSet(true);
|
|
|
440 |
this.ourSellingPrice = ourSellingPrice;
|
|
|
441 |
setOurSellingPriceIsSet(true);
|
|
|
442 |
this.ourTp = ourTp;
|
|
|
443 |
setOurTpIsSet(true);
|
|
|
444 |
this.ourNlc = ourNlc;
|
|
|
445 |
setOurNlcIsSet(true);
|
|
|
446 |
this.competitiveCategory = competitiveCategory;
|
|
|
447 |
this.risky = risky;
|
|
|
448 |
setRiskyIsSet(true);
|
|
|
449 |
this.lowestOfferPrice = lowestOfferPrice;
|
|
|
450 |
setLowestOfferPriceIsSet(true);
|
|
|
451 |
this.lowestSellingPrice = lowestSellingPrice;
|
|
|
452 |
setLowestSellingPriceIsSet(true);
|
|
|
453 |
this.lowestTp = lowestTp;
|
|
|
454 |
setLowestTpIsSet(true);
|
|
|
455 |
this.lowestSellerName = lowestSellerName;
|
|
|
456 |
this.proposedSellingPrice = proposedSellingPrice;
|
|
|
457 |
setProposedSellingPriceIsSet(true);
|
|
|
458 |
this.proposedTp = proposedTp;
|
|
|
459 |
setProposedTpIsSet(true);
|
|
|
460 |
this.targetNlc = targetNlc;
|
|
|
461 |
setTargetNlcIsSet(true);
|
|
|
462 |
this.salesPotential = salesPotential;
|
|
|
463 |
this.secondLowestSellerName = secondLowestSellerName;
|
|
|
464 |
this.secondLowestSellingPrice = secondLowestSellingPrice;
|
|
|
465 |
setSecondLowestSellingPriceIsSet(true);
|
|
|
466 |
this.secondLowestOfferPrice = secondLowestOfferPrice;
|
|
|
467 |
setSecondLowestOfferPriceIsSet(true);
|
|
|
468 |
this.secondLowestTp = secondLowestTp;
|
|
|
469 |
setSecondLowestTpIsSet(true);
|
|
|
470 |
this.marginIncreasedPotential = marginIncreasedPotential;
|
|
|
471 |
setMarginIncreasedPotentialIsSet(true);
|
|
|
472 |
this.margin = margin;
|
|
|
473 |
setMarginIsSet(true);
|
|
|
474 |
this.ourEnoughStock = ourEnoughStock;
|
|
|
475 |
setOurEnoughStockIsSet(true);
|
|
|
476 |
this.totalSeller = totalSeller;
|
|
|
477 |
setTotalSellerIsSet(true);
|
|
|
478 |
this.averageSale = averageSale;
|
|
|
479 |
setAverageSaleIsSet(true);
|
|
|
480 |
this.toGroup = toGroup;
|
|
|
481 |
setToGroupIsSet(true);
|
| 11076 |
kshitij.so |
482 |
this.decision = decision;
|
|
|
483 |
this.reason = reason;
|
| 11015 |
kshitij.so |
484 |
}
|
|
|
485 |
|
|
|
486 |
/**
|
|
|
487 |
* Performs a deep copy on <i>other</i>.
|
|
|
488 |
*/
|
|
|
489 |
public MarketplaceHistory(MarketplaceHistory other) {
|
|
|
490 |
__isset_bit_vector.clear();
|
|
|
491 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
492 |
this.item_id = other.item_id;
|
|
|
493 |
this.source = other.source;
|
|
|
494 |
this.timestamp = other.timestamp;
|
|
|
495 |
this.lowest_possible_tp = other.lowest_possible_tp;
|
|
|
496 |
this.lowest_possible_sp = other.lowest_possible_sp;
|
|
|
497 |
this.ourInventory = other.ourInventory;
|
|
|
498 |
this.otherInventory = other.otherInventory;
|
|
|
499 |
this.secondLowestInventory = other.secondLowestInventory;
|
|
|
500 |
this.ourRank = other.ourRank;
|
|
|
501 |
this.ourOfferPrice = other.ourOfferPrice;
|
|
|
502 |
this.ourSellingPrice = other.ourSellingPrice;
|
|
|
503 |
this.ourTp = other.ourTp;
|
|
|
504 |
this.ourNlc = other.ourNlc;
|
|
|
505 |
if (other.isSetCompetitiveCategory()) {
|
|
|
506 |
this.competitiveCategory = other.competitiveCategory;
|
|
|
507 |
}
|
|
|
508 |
this.risky = other.risky;
|
|
|
509 |
this.lowestOfferPrice = other.lowestOfferPrice;
|
|
|
510 |
this.lowestSellingPrice = other.lowestSellingPrice;
|
|
|
511 |
this.lowestTp = other.lowestTp;
|
|
|
512 |
if (other.isSetLowestSellerName()) {
|
|
|
513 |
this.lowestSellerName = other.lowestSellerName;
|
|
|
514 |
}
|
|
|
515 |
this.proposedSellingPrice = other.proposedSellingPrice;
|
|
|
516 |
this.proposedTp = other.proposedTp;
|
|
|
517 |
this.targetNlc = other.targetNlc;
|
|
|
518 |
if (other.isSetSalesPotential()) {
|
|
|
519 |
this.salesPotential = other.salesPotential;
|
|
|
520 |
}
|
|
|
521 |
if (other.isSetSecondLowestSellerName()) {
|
|
|
522 |
this.secondLowestSellerName = other.secondLowestSellerName;
|
|
|
523 |
}
|
|
|
524 |
this.secondLowestSellingPrice = other.secondLowestSellingPrice;
|
|
|
525 |
this.secondLowestOfferPrice = other.secondLowestOfferPrice;
|
|
|
526 |
this.secondLowestTp = other.secondLowestTp;
|
|
|
527 |
this.marginIncreasedPotential = other.marginIncreasedPotential;
|
|
|
528 |
this.margin = other.margin;
|
|
|
529 |
this.ourEnoughStock = other.ourEnoughStock;
|
|
|
530 |
this.totalSeller = other.totalSeller;
|
|
|
531 |
this.averageSale = other.averageSale;
|
|
|
532 |
this.toGroup = other.toGroup;
|
| 11076 |
kshitij.so |
533 |
if (other.isSetDecision()) {
|
|
|
534 |
this.decision = other.decision;
|
|
|
535 |
}
|
|
|
536 |
if (other.isSetReason()) {
|
|
|
537 |
this.reason = other.reason;
|
|
|
538 |
}
|
| 11015 |
kshitij.so |
539 |
}
|
|
|
540 |
|
|
|
541 |
public MarketplaceHistory deepCopy() {
|
|
|
542 |
return new MarketplaceHistory(this);
|
|
|
543 |
}
|
|
|
544 |
|
|
|
545 |
@Override
|
|
|
546 |
public void clear() {
|
|
|
547 |
setItem_idIsSet(false);
|
|
|
548 |
this.item_id = 0;
|
|
|
549 |
setSourceIsSet(false);
|
|
|
550 |
this.source = 0;
|
|
|
551 |
setTimestampIsSet(false);
|
|
|
552 |
this.timestamp = 0;
|
|
|
553 |
setLowest_possible_tpIsSet(false);
|
| 11076 |
kshitij.so |
554 |
this.lowest_possible_tp = 0;
|
| 11015 |
kshitij.so |
555 |
setLowest_possible_spIsSet(false);
|
| 11076 |
kshitij.so |
556 |
this.lowest_possible_sp = 0;
|
| 11015 |
kshitij.so |
557 |
setOurInventoryIsSet(false);
|
|
|
558 |
this.ourInventory = 0;
|
|
|
559 |
setOtherInventoryIsSet(false);
|
|
|
560 |
this.otherInventory = 0;
|
|
|
561 |
setSecondLowestInventoryIsSet(false);
|
|
|
562 |
this.secondLowestInventory = 0;
|
|
|
563 |
setOurRankIsSet(false);
|
|
|
564 |
this.ourRank = 0;
|
|
|
565 |
setOurOfferPriceIsSet(false);
|
| 11076 |
kshitij.so |
566 |
this.ourOfferPrice = 0;
|
| 11015 |
kshitij.so |
567 |
setOurSellingPriceIsSet(false);
|
| 11076 |
kshitij.so |
568 |
this.ourSellingPrice = 0;
|
| 11015 |
kshitij.so |
569 |
setOurTpIsSet(false);
|
| 11076 |
kshitij.so |
570 |
this.ourTp = 0;
|
| 11015 |
kshitij.so |
571 |
setOurNlcIsSet(false);
|
| 11076 |
kshitij.so |
572 |
this.ourNlc = 0;
|
| 11015 |
kshitij.so |
573 |
this.competitiveCategory = null;
|
|
|
574 |
setRiskyIsSet(false);
|
|
|
575 |
this.risky = 0;
|
|
|
576 |
setLowestOfferPriceIsSet(false);
|
| 11076 |
kshitij.so |
577 |
this.lowestOfferPrice = 0;
|
| 11015 |
kshitij.so |
578 |
setLowestSellingPriceIsSet(false);
|
| 11076 |
kshitij.so |
579 |
this.lowestSellingPrice = 0;
|
| 11015 |
kshitij.so |
580 |
setLowestTpIsSet(false);
|
| 11076 |
kshitij.so |
581 |
this.lowestTp = 0;
|
| 11015 |
kshitij.so |
582 |
this.lowestSellerName = null;
|
|
|
583 |
setProposedSellingPriceIsSet(false);
|
| 11076 |
kshitij.so |
584 |
this.proposedSellingPrice = 0;
|
| 11015 |
kshitij.so |
585 |
setProposedTpIsSet(false);
|
| 11076 |
kshitij.so |
586 |
this.proposedTp = 0;
|
| 11015 |
kshitij.so |
587 |
setTargetNlcIsSet(false);
|
| 11076 |
kshitij.so |
588 |
this.targetNlc = 0;
|
| 11015 |
kshitij.so |
589 |
this.salesPotential = null;
|
|
|
590 |
this.secondLowestSellerName = null;
|
|
|
591 |
setSecondLowestSellingPriceIsSet(false);
|
| 11076 |
kshitij.so |
592 |
this.secondLowestSellingPrice = 0;
|
| 11015 |
kshitij.so |
593 |
setSecondLowestOfferPriceIsSet(false);
|
| 11076 |
kshitij.so |
594 |
this.secondLowestOfferPrice = 0;
|
| 11015 |
kshitij.so |
595 |
setSecondLowestTpIsSet(false);
|
| 11076 |
kshitij.so |
596 |
this.secondLowestTp = 0;
|
| 11015 |
kshitij.so |
597 |
setMarginIncreasedPotentialIsSet(false);
|
| 11076 |
kshitij.so |
598 |
this.marginIncreasedPotential = 0;
|
| 11015 |
kshitij.so |
599 |
setMarginIsSet(false);
|
| 11076 |
kshitij.so |
600 |
this.margin = 0;
|
| 11015 |
kshitij.so |
601 |
setOurEnoughStockIsSet(false);
|
|
|
602 |
this.ourEnoughStock = false;
|
|
|
603 |
setTotalSellerIsSet(false);
|
|
|
604 |
this.totalSeller = 0;
|
|
|
605 |
setAverageSaleIsSet(false);
|
|
|
606 |
this.averageSale = 0.0;
|
|
|
607 |
setToGroupIsSet(false);
|
|
|
608 |
this.toGroup = false;
|
| 11076 |
kshitij.so |
609 |
this.decision = null;
|
|
|
610 |
this.reason = null;
|
| 11015 |
kshitij.so |
611 |
}
|
|
|
612 |
|
|
|
613 |
public long getItem_id() {
|
|
|
614 |
return this.item_id;
|
|
|
615 |
}
|
|
|
616 |
|
|
|
617 |
public void setItem_id(long item_id) {
|
|
|
618 |
this.item_id = item_id;
|
|
|
619 |
setItem_idIsSet(true);
|
|
|
620 |
}
|
|
|
621 |
|
|
|
622 |
public void unsetItem_id() {
|
|
|
623 |
__isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
|
|
|
624 |
}
|
|
|
625 |
|
|
|
626 |
/** Returns true if field item_id is set (has been assigned a value) and false otherwise */
|
|
|
627 |
public boolean isSetItem_id() {
|
|
|
628 |
return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
|
|
|
629 |
}
|
|
|
630 |
|
|
|
631 |
public void setItem_idIsSet(boolean value) {
|
|
|
632 |
__isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
|
|
|
633 |
}
|
|
|
634 |
|
|
|
635 |
public long getSource() {
|
|
|
636 |
return this.source;
|
|
|
637 |
}
|
|
|
638 |
|
|
|
639 |
public void setSource(long source) {
|
|
|
640 |
this.source = source;
|
|
|
641 |
setSourceIsSet(true);
|
|
|
642 |
}
|
|
|
643 |
|
|
|
644 |
public void unsetSource() {
|
|
|
645 |
__isset_bit_vector.clear(__SOURCE_ISSET_ID);
|
|
|
646 |
}
|
|
|
647 |
|
|
|
648 |
/** Returns true if field source is set (has been assigned a value) and false otherwise */
|
|
|
649 |
public boolean isSetSource() {
|
|
|
650 |
return __isset_bit_vector.get(__SOURCE_ISSET_ID);
|
|
|
651 |
}
|
|
|
652 |
|
|
|
653 |
public void setSourceIsSet(boolean value) {
|
|
|
654 |
__isset_bit_vector.set(__SOURCE_ISSET_ID, value);
|
|
|
655 |
}
|
|
|
656 |
|
|
|
657 |
public long getTimestamp() {
|
|
|
658 |
return this.timestamp;
|
|
|
659 |
}
|
|
|
660 |
|
|
|
661 |
public void setTimestamp(long timestamp) {
|
|
|
662 |
this.timestamp = timestamp;
|
|
|
663 |
setTimestampIsSet(true);
|
|
|
664 |
}
|
|
|
665 |
|
|
|
666 |
public void unsetTimestamp() {
|
|
|
667 |
__isset_bit_vector.clear(__TIMESTAMP_ISSET_ID);
|
|
|
668 |
}
|
|
|
669 |
|
|
|
670 |
/** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
|
|
|
671 |
public boolean isSetTimestamp() {
|
|
|
672 |
return __isset_bit_vector.get(__TIMESTAMP_ISSET_ID);
|
|
|
673 |
}
|
|
|
674 |
|
|
|
675 |
public void setTimestampIsSet(boolean value) {
|
|
|
676 |
__isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
|
|
|
677 |
}
|
|
|
678 |
|
| 11076 |
kshitij.so |
679 |
public long getLowest_possible_tp() {
|
| 11015 |
kshitij.so |
680 |
return this.lowest_possible_tp;
|
|
|
681 |
}
|
|
|
682 |
|
| 11076 |
kshitij.so |
683 |
public void setLowest_possible_tp(long lowest_possible_tp) {
|
| 11015 |
kshitij.so |
684 |
this.lowest_possible_tp = lowest_possible_tp;
|
|
|
685 |
setLowest_possible_tpIsSet(true);
|
|
|
686 |
}
|
|
|
687 |
|
|
|
688 |
public void unsetLowest_possible_tp() {
|
|
|
689 |
__isset_bit_vector.clear(__LOWEST_POSSIBLE_TP_ISSET_ID);
|
|
|
690 |
}
|
|
|
691 |
|
|
|
692 |
/** Returns true if field lowest_possible_tp is set (has been assigned a value) and false otherwise */
|
|
|
693 |
public boolean isSetLowest_possible_tp() {
|
|
|
694 |
return __isset_bit_vector.get(__LOWEST_POSSIBLE_TP_ISSET_ID);
|
|
|
695 |
}
|
|
|
696 |
|
|
|
697 |
public void setLowest_possible_tpIsSet(boolean value) {
|
|
|
698 |
__isset_bit_vector.set(__LOWEST_POSSIBLE_TP_ISSET_ID, value);
|
|
|
699 |
}
|
|
|
700 |
|
| 11076 |
kshitij.so |
701 |
public long getLowest_possible_sp() {
|
| 11015 |
kshitij.so |
702 |
return this.lowest_possible_sp;
|
|
|
703 |
}
|
|
|
704 |
|
| 11076 |
kshitij.so |
705 |
public void setLowest_possible_sp(long lowest_possible_sp) {
|
| 11015 |
kshitij.so |
706 |
this.lowest_possible_sp = lowest_possible_sp;
|
|
|
707 |
setLowest_possible_spIsSet(true);
|
|
|
708 |
}
|
|
|
709 |
|
|
|
710 |
public void unsetLowest_possible_sp() {
|
|
|
711 |
__isset_bit_vector.clear(__LOWEST_POSSIBLE_SP_ISSET_ID);
|
|
|
712 |
}
|
|
|
713 |
|
|
|
714 |
/** Returns true if field lowest_possible_sp is set (has been assigned a value) and false otherwise */
|
|
|
715 |
public boolean isSetLowest_possible_sp() {
|
|
|
716 |
return __isset_bit_vector.get(__LOWEST_POSSIBLE_SP_ISSET_ID);
|
|
|
717 |
}
|
|
|
718 |
|
|
|
719 |
public void setLowest_possible_spIsSet(boolean value) {
|
|
|
720 |
__isset_bit_vector.set(__LOWEST_POSSIBLE_SP_ISSET_ID, value);
|
|
|
721 |
}
|
|
|
722 |
|
|
|
723 |
public long getOurInventory() {
|
|
|
724 |
return this.ourInventory;
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
public void setOurInventory(long ourInventory) {
|
|
|
728 |
this.ourInventory = ourInventory;
|
|
|
729 |
setOurInventoryIsSet(true);
|
|
|
730 |
}
|
|
|
731 |
|
|
|
732 |
public void unsetOurInventory() {
|
|
|
733 |
__isset_bit_vector.clear(__OURINVENTORY_ISSET_ID);
|
|
|
734 |
}
|
|
|
735 |
|
|
|
736 |
/** Returns true if field ourInventory is set (has been assigned a value) and false otherwise */
|
|
|
737 |
public boolean isSetOurInventory() {
|
|
|
738 |
return __isset_bit_vector.get(__OURINVENTORY_ISSET_ID);
|
|
|
739 |
}
|
|
|
740 |
|
|
|
741 |
public void setOurInventoryIsSet(boolean value) {
|
|
|
742 |
__isset_bit_vector.set(__OURINVENTORY_ISSET_ID, value);
|
|
|
743 |
}
|
|
|
744 |
|
|
|
745 |
public long getOtherInventory() {
|
|
|
746 |
return this.otherInventory;
|
|
|
747 |
}
|
|
|
748 |
|
|
|
749 |
public void setOtherInventory(long otherInventory) {
|
|
|
750 |
this.otherInventory = otherInventory;
|
|
|
751 |
setOtherInventoryIsSet(true);
|
|
|
752 |
}
|
|
|
753 |
|
|
|
754 |
public void unsetOtherInventory() {
|
|
|
755 |
__isset_bit_vector.clear(__OTHERINVENTORY_ISSET_ID);
|
|
|
756 |
}
|
|
|
757 |
|
|
|
758 |
/** Returns true if field otherInventory is set (has been assigned a value) and false otherwise */
|
|
|
759 |
public boolean isSetOtherInventory() {
|
|
|
760 |
return __isset_bit_vector.get(__OTHERINVENTORY_ISSET_ID);
|
|
|
761 |
}
|
|
|
762 |
|
|
|
763 |
public void setOtherInventoryIsSet(boolean value) {
|
|
|
764 |
__isset_bit_vector.set(__OTHERINVENTORY_ISSET_ID, value);
|
|
|
765 |
}
|
|
|
766 |
|
|
|
767 |
public long getSecondLowestInventory() {
|
|
|
768 |
return this.secondLowestInventory;
|
|
|
769 |
}
|
|
|
770 |
|
|
|
771 |
public void setSecondLowestInventory(long secondLowestInventory) {
|
|
|
772 |
this.secondLowestInventory = secondLowestInventory;
|
|
|
773 |
setSecondLowestInventoryIsSet(true);
|
|
|
774 |
}
|
|
|
775 |
|
|
|
776 |
public void unsetSecondLowestInventory() {
|
|
|
777 |
__isset_bit_vector.clear(__SECONDLOWESTINVENTORY_ISSET_ID);
|
|
|
778 |
}
|
|
|
779 |
|
|
|
780 |
/** Returns true if field secondLowestInventory is set (has been assigned a value) and false otherwise */
|
|
|
781 |
public boolean isSetSecondLowestInventory() {
|
|
|
782 |
return __isset_bit_vector.get(__SECONDLOWESTINVENTORY_ISSET_ID);
|
|
|
783 |
}
|
|
|
784 |
|
|
|
785 |
public void setSecondLowestInventoryIsSet(boolean value) {
|
|
|
786 |
__isset_bit_vector.set(__SECONDLOWESTINVENTORY_ISSET_ID, value);
|
|
|
787 |
}
|
|
|
788 |
|
|
|
789 |
public long getOurRank() {
|
|
|
790 |
return this.ourRank;
|
|
|
791 |
}
|
|
|
792 |
|
|
|
793 |
public void setOurRank(long ourRank) {
|
|
|
794 |
this.ourRank = ourRank;
|
|
|
795 |
setOurRankIsSet(true);
|
|
|
796 |
}
|
|
|
797 |
|
|
|
798 |
public void unsetOurRank() {
|
|
|
799 |
__isset_bit_vector.clear(__OURRANK_ISSET_ID);
|
|
|
800 |
}
|
|
|
801 |
|
|
|
802 |
/** Returns true if field ourRank is set (has been assigned a value) and false otherwise */
|
|
|
803 |
public boolean isSetOurRank() {
|
|
|
804 |
return __isset_bit_vector.get(__OURRANK_ISSET_ID);
|
|
|
805 |
}
|
|
|
806 |
|
|
|
807 |
public void setOurRankIsSet(boolean value) {
|
|
|
808 |
__isset_bit_vector.set(__OURRANK_ISSET_ID, value);
|
|
|
809 |
}
|
|
|
810 |
|
| 11076 |
kshitij.so |
811 |
public long getOurOfferPrice() {
|
| 11015 |
kshitij.so |
812 |
return this.ourOfferPrice;
|
|
|
813 |
}
|
|
|
814 |
|
| 11076 |
kshitij.so |
815 |
public void setOurOfferPrice(long ourOfferPrice) {
|
| 11015 |
kshitij.so |
816 |
this.ourOfferPrice = ourOfferPrice;
|
|
|
817 |
setOurOfferPriceIsSet(true);
|
|
|
818 |
}
|
|
|
819 |
|
|
|
820 |
public void unsetOurOfferPrice() {
|
|
|
821 |
__isset_bit_vector.clear(__OUROFFERPRICE_ISSET_ID);
|
|
|
822 |
}
|
|
|
823 |
|
|
|
824 |
/** Returns true if field ourOfferPrice is set (has been assigned a value) and false otherwise */
|
|
|
825 |
public boolean isSetOurOfferPrice() {
|
|
|
826 |
return __isset_bit_vector.get(__OUROFFERPRICE_ISSET_ID);
|
|
|
827 |
}
|
|
|
828 |
|
|
|
829 |
public void setOurOfferPriceIsSet(boolean value) {
|
|
|
830 |
__isset_bit_vector.set(__OUROFFERPRICE_ISSET_ID, value);
|
|
|
831 |
}
|
|
|
832 |
|
| 11076 |
kshitij.so |
833 |
public long getOurSellingPrice() {
|
| 11015 |
kshitij.so |
834 |
return this.ourSellingPrice;
|
|
|
835 |
}
|
|
|
836 |
|
| 11076 |
kshitij.so |
837 |
public void setOurSellingPrice(long ourSellingPrice) {
|
| 11015 |
kshitij.so |
838 |
this.ourSellingPrice = ourSellingPrice;
|
|
|
839 |
setOurSellingPriceIsSet(true);
|
|
|
840 |
}
|
|
|
841 |
|
|
|
842 |
public void unsetOurSellingPrice() {
|
|
|
843 |
__isset_bit_vector.clear(__OURSELLINGPRICE_ISSET_ID);
|
|
|
844 |
}
|
|
|
845 |
|
|
|
846 |
/** Returns true if field ourSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
847 |
public boolean isSetOurSellingPrice() {
|
|
|
848 |
return __isset_bit_vector.get(__OURSELLINGPRICE_ISSET_ID);
|
|
|
849 |
}
|
|
|
850 |
|
|
|
851 |
public void setOurSellingPriceIsSet(boolean value) {
|
|
|
852 |
__isset_bit_vector.set(__OURSELLINGPRICE_ISSET_ID, value);
|
|
|
853 |
}
|
|
|
854 |
|
| 11076 |
kshitij.so |
855 |
public long getOurTp() {
|
| 11015 |
kshitij.so |
856 |
return this.ourTp;
|
|
|
857 |
}
|
|
|
858 |
|
| 11076 |
kshitij.so |
859 |
public void setOurTp(long ourTp) {
|
| 11015 |
kshitij.so |
860 |
this.ourTp = ourTp;
|
|
|
861 |
setOurTpIsSet(true);
|
|
|
862 |
}
|
|
|
863 |
|
|
|
864 |
public void unsetOurTp() {
|
|
|
865 |
__isset_bit_vector.clear(__OURTP_ISSET_ID);
|
|
|
866 |
}
|
|
|
867 |
|
|
|
868 |
/** Returns true if field ourTp is set (has been assigned a value) and false otherwise */
|
|
|
869 |
public boolean isSetOurTp() {
|
|
|
870 |
return __isset_bit_vector.get(__OURTP_ISSET_ID);
|
|
|
871 |
}
|
|
|
872 |
|
|
|
873 |
public void setOurTpIsSet(boolean value) {
|
|
|
874 |
__isset_bit_vector.set(__OURTP_ISSET_ID, value);
|
|
|
875 |
}
|
|
|
876 |
|
| 11076 |
kshitij.so |
877 |
public long getOurNlc() {
|
| 11015 |
kshitij.so |
878 |
return this.ourNlc;
|
|
|
879 |
}
|
|
|
880 |
|
| 11076 |
kshitij.so |
881 |
public void setOurNlc(long ourNlc) {
|
| 11015 |
kshitij.so |
882 |
this.ourNlc = ourNlc;
|
|
|
883 |
setOurNlcIsSet(true);
|
|
|
884 |
}
|
|
|
885 |
|
|
|
886 |
public void unsetOurNlc() {
|
|
|
887 |
__isset_bit_vector.clear(__OURNLC_ISSET_ID);
|
|
|
888 |
}
|
|
|
889 |
|
|
|
890 |
/** Returns true if field ourNlc is set (has been assigned a value) and false otherwise */
|
|
|
891 |
public boolean isSetOurNlc() {
|
|
|
892 |
return __isset_bit_vector.get(__OURNLC_ISSET_ID);
|
|
|
893 |
}
|
|
|
894 |
|
|
|
895 |
public void setOurNlcIsSet(boolean value) {
|
|
|
896 |
__isset_bit_vector.set(__OURNLC_ISSET_ID, value);
|
|
|
897 |
}
|
|
|
898 |
|
|
|
899 |
/**
|
|
|
900 |
*
|
|
|
901 |
* @see CompetitionCategory
|
|
|
902 |
*/
|
|
|
903 |
public CompetitionCategory getCompetitiveCategory() {
|
|
|
904 |
return this.competitiveCategory;
|
|
|
905 |
}
|
|
|
906 |
|
|
|
907 |
/**
|
|
|
908 |
*
|
|
|
909 |
* @see CompetitionCategory
|
|
|
910 |
*/
|
|
|
911 |
public void setCompetitiveCategory(CompetitionCategory competitiveCategory) {
|
|
|
912 |
this.competitiveCategory = competitiveCategory;
|
|
|
913 |
}
|
|
|
914 |
|
|
|
915 |
public void unsetCompetitiveCategory() {
|
|
|
916 |
this.competitiveCategory = null;
|
|
|
917 |
}
|
|
|
918 |
|
|
|
919 |
/** Returns true if field competitiveCategory is set (has been assigned a value) and false otherwise */
|
|
|
920 |
public boolean isSetCompetitiveCategory() {
|
|
|
921 |
return this.competitiveCategory != null;
|
|
|
922 |
}
|
|
|
923 |
|
|
|
924 |
public void setCompetitiveCategoryIsSet(boolean value) {
|
|
|
925 |
if (!value) {
|
|
|
926 |
this.competitiveCategory = null;
|
|
|
927 |
}
|
|
|
928 |
}
|
|
|
929 |
|
|
|
930 |
public long getRisky() {
|
|
|
931 |
return this.risky;
|
|
|
932 |
}
|
|
|
933 |
|
|
|
934 |
public void setRisky(long risky) {
|
|
|
935 |
this.risky = risky;
|
|
|
936 |
setRiskyIsSet(true);
|
|
|
937 |
}
|
|
|
938 |
|
|
|
939 |
public void unsetRisky() {
|
|
|
940 |
__isset_bit_vector.clear(__RISKY_ISSET_ID);
|
|
|
941 |
}
|
|
|
942 |
|
|
|
943 |
/** Returns true if field risky is set (has been assigned a value) and false otherwise */
|
|
|
944 |
public boolean isSetRisky() {
|
|
|
945 |
return __isset_bit_vector.get(__RISKY_ISSET_ID);
|
|
|
946 |
}
|
|
|
947 |
|
|
|
948 |
public void setRiskyIsSet(boolean value) {
|
|
|
949 |
__isset_bit_vector.set(__RISKY_ISSET_ID, value);
|
|
|
950 |
}
|
|
|
951 |
|
| 11076 |
kshitij.so |
952 |
public long getLowestOfferPrice() {
|
| 11015 |
kshitij.so |
953 |
return this.lowestOfferPrice;
|
|
|
954 |
}
|
|
|
955 |
|
| 11076 |
kshitij.so |
956 |
public void setLowestOfferPrice(long lowestOfferPrice) {
|
| 11015 |
kshitij.so |
957 |
this.lowestOfferPrice = lowestOfferPrice;
|
|
|
958 |
setLowestOfferPriceIsSet(true);
|
|
|
959 |
}
|
|
|
960 |
|
|
|
961 |
public void unsetLowestOfferPrice() {
|
|
|
962 |
__isset_bit_vector.clear(__LOWESTOFFERPRICE_ISSET_ID);
|
|
|
963 |
}
|
|
|
964 |
|
|
|
965 |
/** Returns true if field lowestOfferPrice is set (has been assigned a value) and false otherwise */
|
|
|
966 |
public boolean isSetLowestOfferPrice() {
|
|
|
967 |
return __isset_bit_vector.get(__LOWESTOFFERPRICE_ISSET_ID);
|
|
|
968 |
}
|
|
|
969 |
|
|
|
970 |
public void setLowestOfferPriceIsSet(boolean value) {
|
|
|
971 |
__isset_bit_vector.set(__LOWESTOFFERPRICE_ISSET_ID, value);
|
|
|
972 |
}
|
|
|
973 |
|
| 11076 |
kshitij.so |
974 |
public long getLowestSellingPrice() {
|
| 11015 |
kshitij.so |
975 |
return this.lowestSellingPrice;
|
|
|
976 |
}
|
|
|
977 |
|
| 11076 |
kshitij.so |
978 |
public void setLowestSellingPrice(long lowestSellingPrice) {
|
| 11015 |
kshitij.so |
979 |
this.lowestSellingPrice = lowestSellingPrice;
|
|
|
980 |
setLowestSellingPriceIsSet(true);
|
|
|
981 |
}
|
|
|
982 |
|
|
|
983 |
public void unsetLowestSellingPrice() {
|
|
|
984 |
__isset_bit_vector.clear(__LOWESTSELLINGPRICE_ISSET_ID);
|
|
|
985 |
}
|
|
|
986 |
|
|
|
987 |
/** Returns true if field lowestSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
988 |
public boolean isSetLowestSellingPrice() {
|
|
|
989 |
return __isset_bit_vector.get(__LOWESTSELLINGPRICE_ISSET_ID);
|
|
|
990 |
}
|
|
|
991 |
|
|
|
992 |
public void setLowestSellingPriceIsSet(boolean value) {
|
|
|
993 |
__isset_bit_vector.set(__LOWESTSELLINGPRICE_ISSET_ID, value);
|
|
|
994 |
}
|
|
|
995 |
|
| 11076 |
kshitij.so |
996 |
public long getLowestTp() {
|
| 11015 |
kshitij.so |
997 |
return this.lowestTp;
|
|
|
998 |
}
|
|
|
999 |
|
| 11076 |
kshitij.so |
1000 |
public void setLowestTp(long lowestTp) {
|
| 11015 |
kshitij.so |
1001 |
this.lowestTp = lowestTp;
|
|
|
1002 |
setLowestTpIsSet(true);
|
|
|
1003 |
}
|
|
|
1004 |
|
|
|
1005 |
public void unsetLowestTp() {
|
|
|
1006 |
__isset_bit_vector.clear(__LOWESTTP_ISSET_ID);
|
|
|
1007 |
}
|
|
|
1008 |
|
|
|
1009 |
/** Returns true if field lowestTp is set (has been assigned a value) and false otherwise */
|
|
|
1010 |
public boolean isSetLowestTp() {
|
|
|
1011 |
return __isset_bit_vector.get(__LOWESTTP_ISSET_ID);
|
|
|
1012 |
}
|
|
|
1013 |
|
|
|
1014 |
public void setLowestTpIsSet(boolean value) {
|
|
|
1015 |
__isset_bit_vector.set(__LOWESTTP_ISSET_ID, value);
|
|
|
1016 |
}
|
|
|
1017 |
|
|
|
1018 |
public String getLowestSellerName() {
|
|
|
1019 |
return this.lowestSellerName;
|
|
|
1020 |
}
|
|
|
1021 |
|
|
|
1022 |
public void setLowestSellerName(String lowestSellerName) {
|
|
|
1023 |
this.lowestSellerName = lowestSellerName;
|
|
|
1024 |
}
|
|
|
1025 |
|
|
|
1026 |
public void unsetLowestSellerName() {
|
|
|
1027 |
this.lowestSellerName = null;
|
|
|
1028 |
}
|
|
|
1029 |
|
|
|
1030 |
/** Returns true if field lowestSellerName is set (has been assigned a value) and false otherwise */
|
|
|
1031 |
public boolean isSetLowestSellerName() {
|
|
|
1032 |
return this.lowestSellerName != null;
|
|
|
1033 |
}
|
|
|
1034 |
|
|
|
1035 |
public void setLowestSellerNameIsSet(boolean value) {
|
|
|
1036 |
if (!value) {
|
|
|
1037 |
this.lowestSellerName = null;
|
|
|
1038 |
}
|
|
|
1039 |
}
|
|
|
1040 |
|
| 11076 |
kshitij.so |
1041 |
public long getProposedSellingPrice() {
|
| 11015 |
kshitij.so |
1042 |
return this.proposedSellingPrice;
|
|
|
1043 |
}
|
|
|
1044 |
|
| 11076 |
kshitij.so |
1045 |
public void setProposedSellingPrice(long proposedSellingPrice) {
|
| 11015 |
kshitij.so |
1046 |
this.proposedSellingPrice = proposedSellingPrice;
|
|
|
1047 |
setProposedSellingPriceIsSet(true);
|
|
|
1048 |
}
|
|
|
1049 |
|
|
|
1050 |
public void unsetProposedSellingPrice() {
|
|
|
1051 |
__isset_bit_vector.clear(__PROPOSEDSELLINGPRICE_ISSET_ID);
|
|
|
1052 |
}
|
|
|
1053 |
|
|
|
1054 |
/** Returns true if field proposedSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
1055 |
public boolean isSetProposedSellingPrice() {
|
|
|
1056 |
return __isset_bit_vector.get(__PROPOSEDSELLINGPRICE_ISSET_ID);
|
|
|
1057 |
}
|
|
|
1058 |
|
|
|
1059 |
public void setProposedSellingPriceIsSet(boolean value) {
|
|
|
1060 |
__isset_bit_vector.set(__PROPOSEDSELLINGPRICE_ISSET_ID, value);
|
|
|
1061 |
}
|
|
|
1062 |
|
| 11076 |
kshitij.so |
1063 |
public long getProposedTp() {
|
| 11015 |
kshitij.so |
1064 |
return this.proposedTp;
|
|
|
1065 |
}
|
|
|
1066 |
|
| 11076 |
kshitij.so |
1067 |
public void setProposedTp(long proposedTp) {
|
| 11015 |
kshitij.so |
1068 |
this.proposedTp = proposedTp;
|
|
|
1069 |
setProposedTpIsSet(true);
|
|
|
1070 |
}
|
|
|
1071 |
|
|
|
1072 |
public void unsetProposedTp() {
|
|
|
1073 |
__isset_bit_vector.clear(__PROPOSEDTP_ISSET_ID);
|
|
|
1074 |
}
|
|
|
1075 |
|
|
|
1076 |
/** Returns true if field proposedTp is set (has been assigned a value) and false otherwise */
|
|
|
1077 |
public boolean isSetProposedTp() {
|
|
|
1078 |
return __isset_bit_vector.get(__PROPOSEDTP_ISSET_ID);
|
|
|
1079 |
}
|
|
|
1080 |
|
|
|
1081 |
public void setProposedTpIsSet(boolean value) {
|
|
|
1082 |
__isset_bit_vector.set(__PROPOSEDTP_ISSET_ID, value);
|
|
|
1083 |
}
|
|
|
1084 |
|
| 11076 |
kshitij.so |
1085 |
public long getTargetNlc() {
|
| 11015 |
kshitij.so |
1086 |
return this.targetNlc;
|
|
|
1087 |
}
|
|
|
1088 |
|
| 11076 |
kshitij.so |
1089 |
public void setTargetNlc(long targetNlc) {
|
| 11015 |
kshitij.so |
1090 |
this.targetNlc = targetNlc;
|
|
|
1091 |
setTargetNlcIsSet(true);
|
|
|
1092 |
}
|
|
|
1093 |
|
|
|
1094 |
public void unsetTargetNlc() {
|
|
|
1095 |
__isset_bit_vector.clear(__TARGETNLC_ISSET_ID);
|
|
|
1096 |
}
|
|
|
1097 |
|
|
|
1098 |
/** Returns true if field targetNlc is set (has been assigned a value) and false otherwise */
|
|
|
1099 |
public boolean isSetTargetNlc() {
|
|
|
1100 |
return __isset_bit_vector.get(__TARGETNLC_ISSET_ID);
|
|
|
1101 |
}
|
|
|
1102 |
|
|
|
1103 |
public void setTargetNlcIsSet(boolean value) {
|
|
|
1104 |
__isset_bit_vector.set(__TARGETNLC_ISSET_ID, value);
|
|
|
1105 |
}
|
|
|
1106 |
|
|
|
1107 |
/**
|
|
|
1108 |
*
|
|
|
1109 |
* @see SalesPotential
|
|
|
1110 |
*/
|
|
|
1111 |
public SalesPotential getSalesPotential() {
|
|
|
1112 |
return this.salesPotential;
|
|
|
1113 |
}
|
|
|
1114 |
|
|
|
1115 |
/**
|
|
|
1116 |
*
|
|
|
1117 |
* @see SalesPotential
|
|
|
1118 |
*/
|
|
|
1119 |
public void setSalesPotential(SalesPotential salesPotential) {
|
|
|
1120 |
this.salesPotential = salesPotential;
|
|
|
1121 |
}
|
|
|
1122 |
|
|
|
1123 |
public void unsetSalesPotential() {
|
|
|
1124 |
this.salesPotential = null;
|
|
|
1125 |
}
|
|
|
1126 |
|
|
|
1127 |
/** Returns true if field salesPotential is set (has been assigned a value) and false otherwise */
|
|
|
1128 |
public boolean isSetSalesPotential() {
|
|
|
1129 |
return this.salesPotential != null;
|
|
|
1130 |
}
|
|
|
1131 |
|
|
|
1132 |
public void setSalesPotentialIsSet(boolean value) {
|
|
|
1133 |
if (!value) {
|
|
|
1134 |
this.salesPotential = null;
|
|
|
1135 |
}
|
|
|
1136 |
}
|
|
|
1137 |
|
|
|
1138 |
public String getSecondLowestSellerName() {
|
|
|
1139 |
return this.secondLowestSellerName;
|
|
|
1140 |
}
|
|
|
1141 |
|
|
|
1142 |
public void setSecondLowestSellerName(String secondLowestSellerName) {
|
|
|
1143 |
this.secondLowestSellerName = secondLowestSellerName;
|
|
|
1144 |
}
|
|
|
1145 |
|
|
|
1146 |
public void unsetSecondLowestSellerName() {
|
|
|
1147 |
this.secondLowestSellerName = null;
|
|
|
1148 |
}
|
|
|
1149 |
|
|
|
1150 |
/** Returns true if field secondLowestSellerName is set (has been assigned a value) and false otherwise */
|
|
|
1151 |
public boolean isSetSecondLowestSellerName() {
|
|
|
1152 |
return this.secondLowestSellerName != null;
|
|
|
1153 |
}
|
|
|
1154 |
|
|
|
1155 |
public void setSecondLowestSellerNameIsSet(boolean value) {
|
|
|
1156 |
if (!value) {
|
|
|
1157 |
this.secondLowestSellerName = null;
|
|
|
1158 |
}
|
|
|
1159 |
}
|
|
|
1160 |
|
| 11076 |
kshitij.so |
1161 |
public long getSecondLowestSellingPrice() {
|
| 11015 |
kshitij.so |
1162 |
return this.secondLowestSellingPrice;
|
|
|
1163 |
}
|
|
|
1164 |
|
| 11076 |
kshitij.so |
1165 |
public void setSecondLowestSellingPrice(long secondLowestSellingPrice) {
|
| 11015 |
kshitij.so |
1166 |
this.secondLowestSellingPrice = secondLowestSellingPrice;
|
|
|
1167 |
setSecondLowestSellingPriceIsSet(true);
|
|
|
1168 |
}
|
|
|
1169 |
|
|
|
1170 |
public void unsetSecondLowestSellingPrice() {
|
|
|
1171 |
__isset_bit_vector.clear(__SECONDLOWESTSELLINGPRICE_ISSET_ID);
|
|
|
1172 |
}
|
|
|
1173 |
|
|
|
1174 |
/** Returns true if field secondLowestSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
1175 |
public boolean isSetSecondLowestSellingPrice() {
|
|
|
1176 |
return __isset_bit_vector.get(__SECONDLOWESTSELLINGPRICE_ISSET_ID);
|
|
|
1177 |
}
|
|
|
1178 |
|
|
|
1179 |
public void setSecondLowestSellingPriceIsSet(boolean value) {
|
|
|
1180 |
__isset_bit_vector.set(__SECONDLOWESTSELLINGPRICE_ISSET_ID, value);
|
|
|
1181 |
}
|
|
|
1182 |
|
| 11076 |
kshitij.so |
1183 |
public long getSecondLowestOfferPrice() {
|
| 11015 |
kshitij.so |
1184 |
return this.secondLowestOfferPrice;
|
|
|
1185 |
}
|
|
|
1186 |
|
| 11076 |
kshitij.so |
1187 |
public void setSecondLowestOfferPrice(long secondLowestOfferPrice) {
|
| 11015 |
kshitij.so |
1188 |
this.secondLowestOfferPrice = secondLowestOfferPrice;
|
|
|
1189 |
setSecondLowestOfferPriceIsSet(true);
|
|
|
1190 |
}
|
|
|
1191 |
|
|
|
1192 |
public void unsetSecondLowestOfferPrice() {
|
|
|
1193 |
__isset_bit_vector.clear(__SECONDLOWESTOFFERPRICE_ISSET_ID);
|
|
|
1194 |
}
|
|
|
1195 |
|
|
|
1196 |
/** Returns true if field secondLowestOfferPrice is set (has been assigned a value) and false otherwise */
|
|
|
1197 |
public boolean isSetSecondLowestOfferPrice() {
|
|
|
1198 |
return __isset_bit_vector.get(__SECONDLOWESTOFFERPRICE_ISSET_ID);
|
|
|
1199 |
}
|
|
|
1200 |
|
|
|
1201 |
public void setSecondLowestOfferPriceIsSet(boolean value) {
|
|
|
1202 |
__isset_bit_vector.set(__SECONDLOWESTOFFERPRICE_ISSET_ID, value);
|
|
|
1203 |
}
|
|
|
1204 |
|
| 11076 |
kshitij.so |
1205 |
public long getSecondLowestTp() {
|
| 11015 |
kshitij.so |
1206 |
return this.secondLowestTp;
|
|
|
1207 |
}
|
|
|
1208 |
|
| 11076 |
kshitij.so |
1209 |
public void setSecondLowestTp(long secondLowestTp) {
|
| 11015 |
kshitij.so |
1210 |
this.secondLowestTp = secondLowestTp;
|
|
|
1211 |
setSecondLowestTpIsSet(true);
|
|
|
1212 |
}
|
|
|
1213 |
|
|
|
1214 |
public void unsetSecondLowestTp() {
|
|
|
1215 |
__isset_bit_vector.clear(__SECONDLOWESTTP_ISSET_ID);
|
|
|
1216 |
}
|
|
|
1217 |
|
|
|
1218 |
/** Returns true if field secondLowestTp is set (has been assigned a value) and false otherwise */
|
|
|
1219 |
public boolean isSetSecondLowestTp() {
|
|
|
1220 |
return __isset_bit_vector.get(__SECONDLOWESTTP_ISSET_ID);
|
|
|
1221 |
}
|
|
|
1222 |
|
|
|
1223 |
public void setSecondLowestTpIsSet(boolean value) {
|
|
|
1224 |
__isset_bit_vector.set(__SECONDLOWESTTP_ISSET_ID, value);
|
|
|
1225 |
}
|
|
|
1226 |
|
| 11076 |
kshitij.so |
1227 |
public long getMarginIncreasedPotential() {
|
| 11015 |
kshitij.so |
1228 |
return this.marginIncreasedPotential;
|
|
|
1229 |
}
|
|
|
1230 |
|
| 11076 |
kshitij.so |
1231 |
public void setMarginIncreasedPotential(long marginIncreasedPotential) {
|
| 11015 |
kshitij.so |
1232 |
this.marginIncreasedPotential = marginIncreasedPotential;
|
|
|
1233 |
setMarginIncreasedPotentialIsSet(true);
|
|
|
1234 |
}
|
|
|
1235 |
|
|
|
1236 |
public void unsetMarginIncreasedPotential() {
|
|
|
1237 |
__isset_bit_vector.clear(__MARGININCREASEDPOTENTIAL_ISSET_ID);
|
|
|
1238 |
}
|
|
|
1239 |
|
|
|
1240 |
/** Returns true if field marginIncreasedPotential is set (has been assigned a value) and false otherwise */
|
|
|
1241 |
public boolean isSetMarginIncreasedPotential() {
|
|
|
1242 |
return __isset_bit_vector.get(__MARGININCREASEDPOTENTIAL_ISSET_ID);
|
|
|
1243 |
}
|
|
|
1244 |
|
|
|
1245 |
public void setMarginIncreasedPotentialIsSet(boolean value) {
|
|
|
1246 |
__isset_bit_vector.set(__MARGININCREASEDPOTENTIAL_ISSET_ID, value);
|
|
|
1247 |
}
|
|
|
1248 |
|
| 11076 |
kshitij.so |
1249 |
public long getMargin() {
|
| 11015 |
kshitij.so |
1250 |
return this.margin;
|
|
|
1251 |
}
|
|
|
1252 |
|
| 11076 |
kshitij.so |
1253 |
public void setMargin(long margin) {
|
| 11015 |
kshitij.so |
1254 |
this.margin = margin;
|
|
|
1255 |
setMarginIsSet(true);
|
|
|
1256 |
}
|
|
|
1257 |
|
|
|
1258 |
public void unsetMargin() {
|
|
|
1259 |
__isset_bit_vector.clear(__MARGIN_ISSET_ID);
|
|
|
1260 |
}
|
|
|
1261 |
|
|
|
1262 |
/** Returns true if field margin is set (has been assigned a value) and false otherwise */
|
|
|
1263 |
public boolean isSetMargin() {
|
|
|
1264 |
return __isset_bit_vector.get(__MARGIN_ISSET_ID);
|
|
|
1265 |
}
|
|
|
1266 |
|
|
|
1267 |
public void setMarginIsSet(boolean value) {
|
|
|
1268 |
__isset_bit_vector.set(__MARGIN_ISSET_ID, value);
|
|
|
1269 |
}
|
|
|
1270 |
|
|
|
1271 |
public boolean isOurEnoughStock() {
|
|
|
1272 |
return this.ourEnoughStock;
|
|
|
1273 |
}
|
|
|
1274 |
|
|
|
1275 |
public void setOurEnoughStock(boolean ourEnoughStock) {
|
|
|
1276 |
this.ourEnoughStock = ourEnoughStock;
|
|
|
1277 |
setOurEnoughStockIsSet(true);
|
|
|
1278 |
}
|
|
|
1279 |
|
|
|
1280 |
public void unsetOurEnoughStock() {
|
|
|
1281 |
__isset_bit_vector.clear(__OURENOUGHSTOCK_ISSET_ID);
|
|
|
1282 |
}
|
|
|
1283 |
|
|
|
1284 |
/** Returns true if field ourEnoughStock is set (has been assigned a value) and false otherwise */
|
|
|
1285 |
public boolean isSetOurEnoughStock() {
|
|
|
1286 |
return __isset_bit_vector.get(__OURENOUGHSTOCK_ISSET_ID);
|
|
|
1287 |
}
|
|
|
1288 |
|
|
|
1289 |
public void setOurEnoughStockIsSet(boolean value) {
|
|
|
1290 |
__isset_bit_vector.set(__OURENOUGHSTOCK_ISSET_ID, value);
|
|
|
1291 |
}
|
|
|
1292 |
|
|
|
1293 |
public long getTotalSeller() {
|
|
|
1294 |
return this.totalSeller;
|
|
|
1295 |
}
|
|
|
1296 |
|
|
|
1297 |
public void setTotalSeller(long totalSeller) {
|
|
|
1298 |
this.totalSeller = totalSeller;
|
|
|
1299 |
setTotalSellerIsSet(true);
|
|
|
1300 |
}
|
|
|
1301 |
|
|
|
1302 |
public void unsetTotalSeller() {
|
|
|
1303 |
__isset_bit_vector.clear(__TOTALSELLER_ISSET_ID);
|
|
|
1304 |
}
|
|
|
1305 |
|
|
|
1306 |
/** Returns true if field totalSeller is set (has been assigned a value) and false otherwise */
|
|
|
1307 |
public boolean isSetTotalSeller() {
|
|
|
1308 |
return __isset_bit_vector.get(__TOTALSELLER_ISSET_ID);
|
|
|
1309 |
}
|
|
|
1310 |
|
|
|
1311 |
public void setTotalSellerIsSet(boolean value) {
|
|
|
1312 |
__isset_bit_vector.set(__TOTALSELLER_ISSET_ID, value);
|
|
|
1313 |
}
|
|
|
1314 |
|
|
|
1315 |
public double getAverageSale() {
|
|
|
1316 |
return this.averageSale;
|
|
|
1317 |
}
|
|
|
1318 |
|
|
|
1319 |
public void setAverageSale(double averageSale) {
|
|
|
1320 |
this.averageSale = averageSale;
|
|
|
1321 |
setAverageSaleIsSet(true);
|
|
|
1322 |
}
|
|
|
1323 |
|
|
|
1324 |
public void unsetAverageSale() {
|
|
|
1325 |
__isset_bit_vector.clear(__AVERAGESALE_ISSET_ID);
|
|
|
1326 |
}
|
|
|
1327 |
|
|
|
1328 |
/** Returns true if field averageSale is set (has been assigned a value) and false otherwise */
|
|
|
1329 |
public boolean isSetAverageSale() {
|
|
|
1330 |
return __isset_bit_vector.get(__AVERAGESALE_ISSET_ID);
|
|
|
1331 |
}
|
|
|
1332 |
|
|
|
1333 |
public void setAverageSaleIsSet(boolean value) {
|
|
|
1334 |
__isset_bit_vector.set(__AVERAGESALE_ISSET_ID, value);
|
|
|
1335 |
}
|
|
|
1336 |
|
|
|
1337 |
public boolean isToGroup() {
|
|
|
1338 |
return this.toGroup;
|
|
|
1339 |
}
|
|
|
1340 |
|
|
|
1341 |
public void setToGroup(boolean toGroup) {
|
|
|
1342 |
this.toGroup = toGroup;
|
|
|
1343 |
setToGroupIsSet(true);
|
|
|
1344 |
}
|
|
|
1345 |
|
|
|
1346 |
public void unsetToGroup() {
|
|
|
1347 |
__isset_bit_vector.clear(__TOGROUP_ISSET_ID);
|
|
|
1348 |
}
|
|
|
1349 |
|
|
|
1350 |
/** Returns true if field toGroup is set (has been assigned a value) and false otherwise */
|
|
|
1351 |
public boolean isSetToGroup() {
|
|
|
1352 |
return __isset_bit_vector.get(__TOGROUP_ISSET_ID);
|
|
|
1353 |
}
|
|
|
1354 |
|
|
|
1355 |
public void setToGroupIsSet(boolean value) {
|
|
|
1356 |
__isset_bit_vector.set(__TOGROUP_ISSET_ID, value);
|
|
|
1357 |
}
|
|
|
1358 |
|
| 11076 |
kshitij.so |
1359 |
/**
|
|
|
1360 |
*
|
|
|
1361 |
* @see Decision
|
|
|
1362 |
*/
|
|
|
1363 |
public Decision getDecision() {
|
|
|
1364 |
return this.decision;
|
|
|
1365 |
}
|
|
|
1366 |
|
|
|
1367 |
/**
|
|
|
1368 |
*
|
|
|
1369 |
* @see Decision
|
|
|
1370 |
*/
|
|
|
1371 |
public void setDecision(Decision decision) {
|
|
|
1372 |
this.decision = decision;
|
|
|
1373 |
}
|
|
|
1374 |
|
|
|
1375 |
public void unsetDecision() {
|
|
|
1376 |
this.decision = null;
|
|
|
1377 |
}
|
|
|
1378 |
|
|
|
1379 |
/** Returns true if field decision is set (has been assigned a value) and false otherwise */
|
|
|
1380 |
public boolean isSetDecision() {
|
|
|
1381 |
return this.decision != null;
|
|
|
1382 |
}
|
|
|
1383 |
|
|
|
1384 |
public void setDecisionIsSet(boolean value) {
|
|
|
1385 |
if (!value) {
|
|
|
1386 |
this.decision = null;
|
|
|
1387 |
}
|
|
|
1388 |
}
|
|
|
1389 |
|
|
|
1390 |
public String getReason() {
|
|
|
1391 |
return this.reason;
|
|
|
1392 |
}
|
|
|
1393 |
|
|
|
1394 |
public void setReason(String reason) {
|
|
|
1395 |
this.reason = reason;
|
|
|
1396 |
}
|
|
|
1397 |
|
|
|
1398 |
public void unsetReason() {
|
|
|
1399 |
this.reason = null;
|
|
|
1400 |
}
|
|
|
1401 |
|
|
|
1402 |
/** Returns true if field reason is set (has been assigned a value) and false otherwise */
|
|
|
1403 |
public boolean isSetReason() {
|
|
|
1404 |
return this.reason != null;
|
|
|
1405 |
}
|
|
|
1406 |
|
|
|
1407 |
public void setReasonIsSet(boolean value) {
|
|
|
1408 |
if (!value) {
|
|
|
1409 |
this.reason = null;
|
|
|
1410 |
}
|
|
|
1411 |
}
|
|
|
1412 |
|
| 11015 |
kshitij.so |
1413 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
1414 |
switch (field) {
|
|
|
1415 |
case ITEM_ID:
|
|
|
1416 |
if (value == null) {
|
|
|
1417 |
unsetItem_id();
|
|
|
1418 |
} else {
|
|
|
1419 |
setItem_id((Long)value);
|
|
|
1420 |
}
|
|
|
1421 |
break;
|
|
|
1422 |
|
|
|
1423 |
case SOURCE:
|
|
|
1424 |
if (value == null) {
|
|
|
1425 |
unsetSource();
|
|
|
1426 |
} else {
|
|
|
1427 |
setSource((Long)value);
|
|
|
1428 |
}
|
|
|
1429 |
break;
|
|
|
1430 |
|
|
|
1431 |
case TIMESTAMP:
|
|
|
1432 |
if (value == null) {
|
|
|
1433 |
unsetTimestamp();
|
|
|
1434 |
} else {
|
|
|
1435 |
setTimestamp((Long)value);
|
|
|
1436 |
}
|
|
|
1437 |
break;
|
|
|
1438 |
|
|
|
1439 |
case LOWEST_POSSIBLE_TP:
|
|
|
1440 |
if (value == null) {
|
|
|
1441 |
unsetLowest_possible_tp();
|
|
|
1442 |
} else {
|
| 11076 |
kshitij.so |
1443 |
setLowest_possible_tp((Long)value);
|
| 11015 |
kshitij.so |
1444 |
}
|
|
|
1445 |
break;
|
|
|
1446 |
|
|
|
1447 |
case LOWEST_POSSIBLE_SP:
|
|
|
1448 |
if (value == null) {
|
|
|
1449 |
unsetLowest_possible_sp();
|
|
|
1450 |
} else {
|
| 11076 |
kshitij.so |
1451 |
setLowest_possible_sp((Long)value);
|
| 11015 |
kshitij.so |
1452 |
}
|
|
|
1453 |
break;
|
|
|
1454 |
|
|
|
1455 |
case OUR_INVENTORY:
|
|
|
1456 |
if (value == null) {
|
|
|
1457 |
unsetOurInventory();
|
|
|
1458 |
} else {
|
|
|
1459 |
setOurInventory((Long)value);
|
|
|
1460 |
}
|
|
|
1461 |
break;
|
|
|
1462 |
|
|
|
1463 |
case OTHER_INVENTORY:
|
|
|
1464 |
if (value == null) {
|
|
|
1465 |
unsetOtherInventory();
|
|
|
1466 |
} else {
|
|
|
1467 |
setOtherInventory((Long)value);
|
|
|
1468 |
}
|
|
|
1469 |
break;
|
|
|
1470 |
|
|
|
1471 |
case SECOND_LOWEST_INVENTORY:
|
|
|
1472 |
if (value == null) {
|
|
|
1473 |
unsetSecondLowestInventory();
|
|
|
1474 |
} else {
|
|
|
1475 |
setSecondLowestInventory((Long)value);
|
|
|
1476 |
}
|
|
|
1477 |
break;
|
|
|
1478 |
|
|
|
1479 |
case OUR_RANK:
|
|
|
1480 |
if (value == null) {
|
|
|
1481 |
unsetOurRank();
|
|
|
1482 |
} else {
|
|
|
1483 |
setOurRank((Long)value);
|
|
|
1484 |
}
|
|
|
1485 |
break;
|
|
|
1486 |
|
|
|
1487 |
case OUR_OFFER_PRICE:
|
|
|
1488 |
if (value == null) {
|
|
|
1489 |
unsetOurOfferPrice();
|
|
|
1490 |
} else {
|
| 11076 |
kshitij.so |
1491 |
setOurOfferPrice((Long)value);
|
| 11015 |
kshitij.so |
1492 |
}
|
|
|
1493 |
break;
|
|
|
1494 |
|
|
|
1495 |
case OUR_SELLING_PRICE:
|
|
|
1496 |
if (value == null) {
|
|
|
1497 |
unsetOurSellingPrice();
|
|
|
1498 |
} else {
|
| 11076 |
kshitij.so |
1499 |
setOurSellingPrice((Long)value);
|
| 11015 |
kshitij.so |
1500 |
}
|
|
|
1501 |
break;
|
|
|
1502 |
|
|
|
1503 |
case OUR_TP:
|
|
|
1504 |
if (value == null) {
|
|
|
1505 |
unsetOurTp();
|
|
|
1506 |
} else {
|
| 11076 |
kshitij.so |
1507 |
setOurTp((Long)value);
|
| 11015 |
kshitij.so |
1508 |
}
|
|
|
1509 |
break;
|
|
|
1510 |
|
|
|
1511 |
case OUR_NLC:
|
|
|
1512 |
if (value == null) {
|
|
|
1513 |
unsetOurNlc();
|
|
|
1514 |
} else {
|
| 11076 |
kshitij.so |
1515 |
setOurNlc((Long)value);
|
| 11015 |
kshitij.so |
1516 |
}
|
|
|
1517 |
break;
|
|
|
1518 |
|
|
|
1519 |
case COMPETITIVE_CATEGORY:
|
|
|
1520 |
if (value == null) {
|
|
|
1521 |
unsetCompetitiveCategory();
|
|
|
1522 |
} else {
|
|
|
1523 |
setCompetitiveCategory((CompetitionCategory)value);
|
|
|
1524 |
}
|
|
|
1525 |
break;
|
|
|
1526 |
|
|
|
1527 |
case RISKY:
|
|
|
1528 |
if (value == null) {
|
|
|
1529 |
unsetRisky();
|
|
|
1530 |
} else {
|
|
|
1531 |
setRisky((Long)value);
|
|
|
1532 |
}
|
|
|
1533 |
break;
|
|
|
1534 |
|
|
|
1535 |
case LOWEST_OFFER_PRICE:
|
|
|
1536 |
if (value == null) {
|
|
|
1537 |
unsetLowestOfferPrice();
|
|
|
1538 |
} else {
|
| 11076 |
kshitij.so |
1539 |
setLowestOfferPrice((Long)value);
|
| 11015 |
kshitij.so |
1540 |
}
|
|
|
1541 |
break;
|
|
|
1542 |
|
|
|
1543 |
case LOWEST_SELLING_PRICE:
|
|
|
1544 |
if (value == null) {
|
|
|
1545 |
unsetLowestSellingPrice();
|
|
|
1546 |
} else {
|
| 11076 |
kshitij.so |
1547 |
setLowestSellingPrice((Long)value);
|
| 11015 |
kshitij.so |
1548 |
}
|
|
|
1549 |
break;
|
|
|
1550 |
|
|
|
1551 |
case LOWEST_TP:
|
|
|
1552 |
if (value == null) {
|
|
|
1553 |
unsetLowestTp();
|
|
|
1554 |
} else {
|
| 11076 |
kshitij.so |
1555 |
setLowestTp((Long)value);
|
| 11015 |
kshitij.so |
1556 |
}
|
|
|
1557 |
break;
|
|
|
1558 |
|
|
|
1559 |
case LOWEST_SELLER_NAME:
|
|
|
1560 |
if (value == null) {
|
|
|
1561 |
unsetLowestSellerName();
|
|
|
1562 |
} else {
|
|
|
1563 |
setLowestSellerName((String)value);
|
|
|
1564 |
}
|
|
|
1565 |
break;
|
|
|
1566 |
|
|
|
1567 |
case PROPOSED_SELLING_PRICE:
|
|
|
1568 |
if (value == null) {
|
|
|
1569 |
unsetProposedSellingPrice();
|
|
|
1570 |
} else {
|
| 11076 |
kshitij.so |
1571 |
setProposedSellingPrice((Long)value);
|
| 11015 |
kshitij.so |
1572 |
}
|
|
|
1573 |
break;
|
|
|
1574 |
|
|
|
1575 |
case PROPOSED_TP:
|
|
|
1576 |
if (value == null) {
|
|
|
1577 |
unsetProposedTp();
|
|
|
1578 |
} else {
|
| 11076 |
kshitij.so |
1579 |
setProposedTp((Long)value);
|
| 11015 |
kshitij.so |
1580 |
}
|
|
|
1581 |
break;
|
|
|
1582 |
|
|
|
1583 |
case TARGET_NLC:
|
|
|
1584 |
if (value == null) {
|
|
|
1585 |
unsetTargetNlc();
|
|
|
1586 |
} else {
|
| 11076 |
kshitij.so |
1587 |
setTargetNlc((Long)value);
|
| 11015 |
kshitij.so |
1588 |
}
|
|
|
1589 |
break;
|
|
|
1590 |
|
|
|
1591 |
case SALES_POTENTIAL:
|
|
|
1592 |
if (value == null) {
|
|
|
1593 |
unsetSalesPotential();
|
|
|
1594 |
} else {
|
|
|
1595 |
setSalesPotential((SalesPotential)value);
|
|
|
1596 |
}
|
|
|
1597 |
break;
|
|
|
1598 |
|
|
|
1599 |
case SECOND_LOWEST_SELLER_NAME:
|
|
|
1600 |
if (value == null) {
|
|
|
1601 |
unsetSecondLowestSellerName();
|
|
|
1602 |
} else {
|
|
|
1603 |
setSecondLowestSellerName((String)value);
|
|
|
1604 |
}
|
|
|
1605 |
break;
|
|
|
1606 |
|
|
|
1607 |
case SECOND_LOWEST_SELLING_PRICE:
|
|
|
1608 |
if (value == null) {
|
|
|
1609 |
unsetSecondLowestSellingPrice();
|
|
|
1610 |
} else {
|
| 11076 |
kshitij.so |
1611 |
setSecondLowestSellingPrice((Long)value);
|
| 11015 |
kshitij.so |
1612 |
}
|
|
|
1613 |
break;
|
|
|
1614 |
|
|
|
1615 |
case SECOND_LOWEST_OFFER_PRICE:
|
|
|
1616 |
if (value == null) {
|
|
|
1617 |
unsetSecondLowestOfferPrice();
|
|
|
1618 |
} else {
|
| 11076 |
kshitij.so |
1619 |
setSecondLowestOfferPrice((Long)value);
|
| 11015 |
kshitij.so |
1620 |
}
|
|
|
1621 |
break;
|
|
|
1622 |
|
|
|
1623 |
case SECOND_LOWEST_TP:
|
|
|
1624 |
if (value == null) {
|
|
|
1625 |
unsetSecondLowestTp();
|
|
|
1626 |
} else {
|
| 11076 |
kshitij.so |
1627 |
setSecondLowestTp((Long)value);
|
| 11015 |
kshitij.so |
1628 |
}
|
|
|
1629 |
break;
|
|
|
1630 |
|
|
|
1631 |
case MARGIN_INCREASED_POTENTIAL:
|
|
|
1632 |
if (value == null) {
|
|
|
1633 |
unsetMarginIncreasedPotential();
|
|
|
1634 |
} else {
|
| 11076 |
kshitij.so |
1635 |
setMarginIncreasedPotential((Long)value);
|
| 11015 |
kshitij.so |
1636 |
}
|
|
|
1637 |
break;
|
|
|
1638 |
|
|
|
1639 |
case MARGIN:
|
|
|
1640 |
if (value == null) {
|
|
|
1641 |
unsetMargin();
|
|
|
1642 |
} else {
|
| 11076 |
kshitij.so |
1643 |
setMargin((Long)value);
|
| 11015 |
kshitij.so |
1644 |
}
|
|
|
1645 |
break;
|
|
|
1646 |
|
|
|
1647 |
case OUR_ENOUGH_STOCK:
|
|
|
1648 |
if (value == null) {
|
|
|
1649 |
unsetOurEnoughStock();
|
|
|
1650 |
} else {
|
|
|
1651 |
setOurEnoughStock((Boolean)value);
|
|
|
1652 |
}
|
|
|
1653 |
break;
|
|
|
1654 |
|
|
|
1655 |
case TOTAL_SELLER:
|
|
|
1656 |
if (value == null) {
|
|
|
1657 |
unsetTotalSeller();
|
|
|
1658 |
} else {
|
|
|
1659 |
setTotalSeller((Long)value);
|
|
|
1660 |
}
|
|
|
1661 |
break;
|
|
|
1662 |
|
|
|
1663 |
case AVERAGE_SALE:
|
|
|
1664 |
if (value == null) {
|
|
|
1665 |
unsetAverageSale();
|
|
|
1666 |
} else {
|
|
|
1667 |
setAverageSale((Double)value);
|
|
|
1668 |
}
|
|
|
1669 |
break;
|
|
|
1670 |
|
|
|
1671 |
case TO_GROUP:
|
|
|
1672 |
if (value == null) {
|
|
|
1673 |
unsetToGroup();
|
|
|
1674 |
} else {
|
|
|
1675 |
setToGroup((Boolean)value);
|
|
|
1676 |
}
|
|
|
1677 |
break;
|
|
|
1678 |
|
| 11076 |
kshitij.so |
1679 |
case DECISION:
|
|
|
1680 |
if (value == null) {
|
|
|
1681 |
unsetDecision();
|
|
|
1682 |
} else {
|
|
|
1683 |
setDecision((Decision)value);
|
|
|
1684 |
}
|
|
|
1685 |
break;
|
|
|
1686 |
|
|
|
1687 |
case REASON:
|
|
|
1688 |
if (value == null) {
|
|
|
1689 |
unsetReason();
|
|
|
1690 |
} else {
|
|
|
1691 |
setReason((String)value);
|
|
|
1692 |
}
|
|
|
1693 |
break;
|
|
|
1694 |
|
| 11015 |
kshitij.so |
1695 |
}
|
|
|
1696 |
}
|
|
|
1697 |
|
|
|
1698 |
public Object getFieldValue(_Fields field) {
|
|
|
1699 |
switch (field) {
|
|
|
1700 |
case ITEM_ID:
|
|
|
1701 |
return Long.valueOf(getItem_id());
|
|
|
1702 |
|
|
|
1703 |
case SOURCE:
|
|
|
1704 |
return Long.valueOf(getSource());
|
|
|
1705 |
|
|
|
1706 |
case TIMESTAMP:
|
|
|
1707 |
return Long.valueOf(getTimestamp());
|
|
|
1708 |
|
|
|
1709 |
case LOWEST_POSSIBLE_TP:
|
| 11076 |
kshitij.so |
1710 |
return Long.valueOf(getLowest_possible_tp());
|
| 11015 |
kshitij.so |
1711 |
|
|
|
1712 |
case LOWEST_POSSIBLE_SP:
|
| 11076 |
kshitij.so |
1713 |
return Long.valueOf(getLowest_possible_sp());
|
| 11015 |
kshitij.so |
1714 |
|
|
|
1715 |
case OUR_INVENTORY:
|
|
|
1716 |
return Long.valueOf(getOurInventory());
|
|
|
1717 |
|
|
|
1718 |
case OTHER_INVENTORY:
|
|
|
1719 |
return Long.valueOf(getOtherInventory());
|
|
|
1720 |
|
|
|
1721 |
case SECOND_LOWEST_INVENTORY:
|
|
|
1722 |
return Long.valueOf(getSecondLowestInventory());
|
|
|
1723 |
|
|
|
1724 |
case OUR_RANK:
|
|
|
1725 |
return Long.valueOf(getOurRank());
|
|
|
1726 |
|
|
|
1727 |
case OUR_OFFER_PRICE:
|
| 11076 |
kshitij.so |
1728 |
return Long.valueOf(getOurOfferPrice());
|
| 11015 |
kshitij.so |
1729 |
|
|
|
1730 |
case OUR_SELLING_PRICE:
|
| 11076 |
kshitij.so |
1731 |
return Long.valueOf(getOurSellingPrice());
|
| 11015 |
kshitij.so |
1732 |
|
|
|
1733 |
case OUR_TP:
|
| 11076 |
kshitij.so |
1734 |
return Long.valueOf(getOurTp());
|
| 11015 |
kshitij.so |
1735 |
|
|
|
1736 |
case OUR_NLC:
|
| 11076 |
kshitij.so |
1737 |
return Long.valueOf(getOurNlc());
|
| 11015 |
kshitij.so |
1738 |
|
|
|
1739 |
case COMPETITIVE_CATEGORY:
|
|
|
1740 |
return getCompetitiveCategory();
|
|
|
1741 |
|
|
|
1742 |
case RISKY:
|
|
|
1743 |
return Long.valueOf(getRisky());
|
|
|
1744 |
|
|
|
1745 |
case LOWEST_OFFER_PRICE:
|
| 11076 |
kshitij.so |
1746 |
return Long.valueOf(getLowestOfferPrice());
|
| 11015 |
kshitij.so |
1747 |
|
|
|
1748 |
case LOWEST_SELLING_PRICE:
|
| 11076 |
kshitij.so |
1749 |
return Long.valueOf(getLowestSellingPrice());
|
| 11015 |
kshitij.so |
1750 |
|
|
|
1751 |
case LOWEST_TP:
|
| 11076 |
kshitij.so |
1752 |
return Long.valueOf(getLowestTp());
|
| 11015 |
kshitij.so |
1753 |
|
|
|
1754 |
case LOWEST_SELLER_NAME:
|
|
|
1755 |
return getLowestSellerName();
|
|
|
1756 |
|
|
|
1757 |
case PROPOSED_SELLING_PRICE:
|
| 11076 |
kshitij.so |
1758 |
return Long.valueOf(getProposedSellingPrice());
|
| 11015 |
kshitij.so |
1759 |
|
|
|
1760 |
case PROPOSED_TP:
|
| 11076 |
kshitij.so |
1761 |
return Long.valueOf(getProposedTp());
|
| 11015 |
kshitij.so |
1762 |
|
|
|
1763 |
case TARGET_NLC:
|
| 11076 |
kshitij.so |
1764 |
return Long.valueOf(getTargetNlc());
|
| 11015 |
kshitij.so |
1765 |
|
|
|
1766 |
case SALES_POTENTIAL:
|
|
|
1767 |
return getSalesPotential();
|
|
|
1768 |
|
|
|
1769 |
case SECOND_LOWEST_SELLER_NAME:
|
|
|
1770 |
return getSecondLowestSellerName();
|
|
|
1771 |
|
|
|
1772 |
case SECOND_LOWEST_SELLING_PRICE:
|
| 11076 |
kshitij.so |
1773 |
return Long.valueOf(getSecondLowestSellingPrice());
|
| 11015 |
kshitij.so |
1774 |
|
|
|
1775 |
case SECOND_LOWEST_OFFER_PRICE:
|
| 11076 |
kshitij.so |
1776 |
return Long.valueOf(getSecondLowestOfferPrice());
|
| 11015 |
kshitij.so |
1777 |
|
|
|
1778 |
case SECOND_LOWEST_TP:
|
| 11076 |
kshitij.so |
1779 |
return Long.valueOf(getSecondLowestTp());
|
| 11015 |
kshitij.so |
1780 |
|
|
|
1781 |
case MARGIN_INCREASED_POTENTIAL:
|
| 11076 |
kshitij.so |
1782 |
return Long.valueOf(getMarginIncreasedPotential());
|
| 11015 |
kshitij.so |
1783 |
|
|
|
1784 |
case MARGIN:
|
| 11076 |
kshitij.so |
1785 |
return Long.valueOf(getMargin());
|
| 11015 |
kshitij.so |
1786 |
|
|
|
1787 |
case OUR_ENOUGH_STOCK:
|
|
|
1788 |
return Boolean.valueOf(isOurEnoughStock());
|
|
|
1789 |
|
|
|
1790 |
case TOTAL_SELLER:
|
|
|
1791 |
return Long.valueOf(getTotalSeller());
|
|
|
1792 |
|
|
|
1793 |
case AVERAGE_SALE:
|
|
|
1794 |
return Double.valueOf(getAverageSale());
|
|
|
1795 |
|
|
|
1796 |
case TO_GROUP:
|
|
|
1797 |
return Boolean.valueOf(isToGroup());
|
|
|
1798 |
|
| 11076 |
kshitij.so |
1799 |
case DECISION:
|
|
|
1800 |
return getDecision();
|
|
|
1801 |
|
|
|
1802 |
case REASON:
|
|
|
1803 |
return getReason();
|
|
|
1804 |
|
| 11015 |
kshitij.so |
1805 |
}
|
|
|
1806 |
throw new IllegalStateException();
|
|
|
1807 |
}
|
|
|
1808 |
|
|
|
1809 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1810 |
public boolean isSet(_Fields field) {
|
|
|
1811 |
if (field == null) {
|
|
|
1812 |
throw new IllegalArgumentException();
|
|
|
1813 |
}
|
|
|
1814 |
|
|
|
1815 |
switch (field) {
|
|
|
1816 |
case ITEM_ID:
|
|
|
1817 |
return isSetItem_id();
|
|
|
1818 |
case SOURCE:
|
|
|
1819 |
return isSetSource();
|
|
|
1820 |
case TIMESTAMP:
|
|
|
1821 |
return isSetTimestamp();
|
|
|
1822 |
case LOWEST_POSSIBLE_TP:
|
|
|
1823 |
return isSetLowest_possible_tp();
|
|
|
1824 |
case LOWEST_POSSIBLE_SP:
|
|
|
1825 |
return isSetLowest_possible_sp();
|
|
|
1826 |
case OUR_INVENTORY:
|
|
|
1827 |
return isSetOurInventory();
|
|
|
1828 |
case OTHER_INVENTORY:
|
|
|
1829 |
return isSetOtherInventory();
|
|
|
1830 |
case SECOND_LOWEST_INVENTORY:
|
|
|
1831 |
return isSetSecondLowestInventory();
|
|
|
1832 |
case OUR_RANK:
|
|
|
1833 |
return isSetOurRank();
|
|
|
1834 |
case OUR_OFFER_PRICE:
|
|
|
1835 |
return isSetOurOfferPrice();
|
|
|
1836 |
case OUR_SELLING_PRICE:
|
|
|
1837 |
return isSetOurSellingPrice();
|
|
|
1838 |
case OUR_TP:
|
|
|
1839 |
return isSetOurTp();
|
|
|
1840 |
case OUR_NLC:
|
|
|
1841 |
return isSetOurNlc();
|
|
|
1842 |
case COMPETITIVE_CATEGORY:
|
|
|
1843 |
return isSetCompetitiveCategory();
|
|
|
1844 |
case RISKY:
|
|
|
1845 |
return isSetRisky();
|
|
|
1846 |
case LOWEST_OFFER_PRICE:
|
|
|
1847 |
return isSetLowestOfferPrice();
|
|
|
1848 |
case LOWEST_SELLING_PRICE:
|
|
|
1849 |
return isSetLowestSellingPrice();
|
|
|
1850 |
case LOWEST_TP:
|
|
|
1851 |
return isSetLowestTp();
|
|
|
1852 |
case LOWEST_SELLER_NAME:
|
|
|
1853 |
return isSetLowestSellerName();
|
|
|
1854 |
case PROPOSED_SELLING_PRICE:
|
|
|
1855 |
return isSetProposedSellingPrice();
|
|
|
1856 |
case PROPOSED_TP:
|
|
|
1857 |
return isSetProposedTp();
|
|
|
1858 |
case TARGET_NLC:
|
|
|
1859 |
return isSetTargetNlc();
|
|
|
1860 |
case SALES_POTENTIAL:
|
|
|
1861 |
return isSetSalesPotential();
|
|
|
1862 |
case SECOND_LOWEST_SELLER_NAME:
|
|
|
1863 |
return isSetSecondLowestSellerName();
|
|
|
1864 |
case SECOND_LOWEST_SELLING_PRICE:
|
|
|
1865 |
return isSetSecondLowestSellingPrice();
|
|
|
1866 |
case SECOND_LOWEST_OFFER_PRICE:
|
|
|
1867 |
return isSetSecondLowestOfferPrice();
|
|
|
1868 |
case SECOND_LOWEST_TP:
|
|
|
1869 |
return isSetSecondLowestTp();
|
|
|
1870 |
case MARGIN_INCREASED_POTENTIAL:
|
|
|
1871 |
return isSetMarginIncreasedPotential();
|
|
|
1872 |
case MARGIN:
|
|
|
1873 |
return isSetMargin();
|
|
|
1874 |
case OUR_ENOUGH_STOCK:
|
|
|
1875 |
return isSetOurEnoughStock();
|
|
|
1876 |
case TOTAL_SELLER:
|
|
|
1877 |
return isSetTotalSeller();
|
|
|
1878 |
case AVERAGE_SALE:
|
|
|
1879 |
return isSetAverageSale();
|
|
|
1880 |
case TO_GROUP:
|
|
|
1881 |
return isSetToGroup();
|
| 11076 |
kshitij.so |
1882 |
case DECISION:
|
|
|
1883 |
return isSetDecision();
|
|
|
1884 |
case REASON:
|
|
|
1885 |
return isSetReason();
|
| 11015 |
kshitij.so |
1886 |
}
|
|
|
1887 |
throw new IllegalStateException();
|
|
|
1888 |
}
|
|
|
1889 |
|
|
|
1890 |
@Override
|
|
|
1891 |
public boolean equals(Object that) {
|
|
|
1892 |
if (that == null)
|
|
|
1893 |
return false;
|
|
|
1894 |
if (that instanceof MarketplaceHistory)
|
|
|
1895 |
return this.equals((MarketplaceHistory)that);
|
|
|
1896 |
return false;
|
|
|
1897 |
}
|
|
|
1898 |
|
|
|
1899 |
public boolean equals(MarketplaceHistory that) {
|
|
|
1900 |
if (that == null)
|
|
|
1901 |
return false;
|
|
|
1902 |
|
|
|
1903 |
boolean this_present_item_id = true;
|
|
|
1904 |
boolean that_present_item_id = true;
|
|
|
1905 |
if (this_present_item_id || that_present_item_id) {
|
|
|
1906 |
if (!(this_present_item_id && that_present_item_id))
|
|
|
1907 |
return false;
|
|
|
1908 |
if (this.item_id != that.item_id)
|
|
|
1909 |
return false;
|
|
|
1910 |
}
|
|
|
1911 |
|
|
|
1912 |
boolean this_present_source = true;
|
|
|
1913 |
boolean that_present_source = true;
|
|
|
1914 |
if (this_present_source || that_present_source) {
|
|
|
1915 |
if (!(this_present_source && that_present_source))
|
|
|
1916 |
return false;
|
|
|
1917 |
if (this.source != that.source)
|
|
|
1918 |
return false;
|
|
|
1919 |
}
|
|
|
1920 |
|
|
|
1921 |
boolean this_present_timestamp = true;
|
|
|
1922 |
boolean that_present_timestamp = true;
|
|
|
1923 |
if (this_present_timestamp || that_present_timestamp) {
|
|
|
1924 |
if (!(this_present_timestamp && that_present_timestamp))
|
|
|
1925 |
return false;
|
|
|
1926 |
if (this.timestamp != that.timestamp)
|
|
|
1927 |
return false;
|
|
|
1928 |
}
|
|
|
1929 |
|
|
|
1930 |
boolean this_present_lowest_possible_tp = true;
|
|
|
1931 |
boolean that_present_lowest_possible_tp = true;
|
|
|
1932 |
if (this_present_lowest_possible_tp || that_present_lowest_possible_tp) {
|
|
|
1933 |
if (!(this_present_lowest_possible_tp && that_present_lowest_possible_tp))
|
|
|
1934 |
return false;
|
|
|
1935 |
if (this.lowest_possible_tp != that.lowest_possible_tp)
|
|
|
1936 |
return false;
|
|
|
1937 |
}
|
|
|
1938 |
|
|
|
1939 |
boolean this_present_lowest_possible_sp = true;
|
|
|
1940 |
boolean that_present_lowest_possible_sp = true;
|
|
|
1941 |
if (this_present_lowest_possible_sp || that_present_lowest_possible_sp) {
|
|
|
1942 |
if (!(this_present_lowest_possible_sp && that_present_lowest_possible_sp))
|
|
|
1943 |
return false;
|
|
|
1944 |
if (this.lowest_possible_sp != that.lowest_possible_sp)
|
|
|
1945 |
return false;
|
|
|
1946 |
}
|
|
|
1947 |
|
|
|
1948 |
boolean this_present_ourInventory = true;
|
|
|
1949 |
boolean that_present_ourInventory = true;
|
|
|
1950 |
if (this_present_ourInventory || that_present_ourInventory) {
|
|
|
1951 |
if (!(this_present_ourInventory && that_present_ourInventory))
|
|
|
1952 |
return false;
|
|
|
1953 |
if (this.ourInventory != that.ourInventory)
|
|
|
1954 |
return false;
|
|
|
1955 |
}
|
|
|
1956 |
|
|
|
1957 |
boolean this_present_otherInventory = true;
|
|
|
1958 |
boolean that_present_otherInventory = true;
|
|
|
1959 |
if (this_present_otherInventory || that_present_otherInventory) {
|
|
|
1960 |
if (!(this_present_otherInventory && that_present_otherInventory))
|
|
|
1961 |
return false;
|
|
|
1962 |
if (this.otherInventory != that.otherInventory)
|
|
|
1963 |
return false;
|
|
|
1964 |
}
|
|
|
1965 |
|
|
|
1966 |
boolean this_present_secondLowestInventory = true;
|
|
|
1967 |
boolean that_present_secondLowestInventory = true;
|
|
|
1968 |
if (this_present_secondLowestInventory || that_present_secondLowestInventory) {
|
|
|
1969 |
if (!(this_present_secondLowestInventory && that_present_secondLowestInventory))
|
|
|
1970 |
return false;
|
|
|
1971 |
if (this.secondLowestInventory != that.secondLowestInventory)
|
|
|
1972 |
return false;
|
|
|
1973 |
}
|
|
|
1974 |
|
|
|
1975 |
boolean this_present_ourRank = true;
|
|
|
1976 |
boolean that_present_ourRank = true;
|
|
|
1977 |
if (this_present_ourRank || that_present_ourRank) {
|
|
|
1978 |
if (!(this_present_ourRank && that_present_ourRank))
|
|
|
1979 |
return false;
|
|
|
1980 |
if (this.ourRank != that.ourRank)
|
|
|
1981 |
return false;
|
|
|
1982 |
}
|
|
|
1983 |
|
|
|
1984 |
boolean this_present_ourOfferPrice = true;
|
|
|
1985 |
boolean that_present_ourOfferPrice = true;
|
|
|
1986 |
if (this_present_ourOfferPrice || that_present_ourOfferPrice) {
|
|
|
1987 |
if (!(this_present_ourOfferPrice && that_present_ourOfferPrice))
|
|
|
1988 |
return false;
|
|
|
1989 |
if (this.ourOfferPrice != that.ourOfferPrice)
|
|
|
1990 |
return false;
|
|
|
1991 |
}
|
|
|
1992 |
|
|
|
1993 |
boolean this_present_ourSellingPrice = true;
|
|
|
1994 |
boolean that_present_ourSellingPrice = true;
|
|
|
1995 |
if (this_present_ourSellingPrice || that_present_ourSellingPrice) {
|
|
|
1996 |
if (!(this_present_ourSellingPrice && that_present_ourSellingPrice))
|
|
|
1997 |
return false;
|
|
|
1998 |
if (this.ourSellingPrice != that.ourSellingPrice)
|
|
|
1999 |
return false;
|
|
|
2000 |
}
|
|
|
2001 |
|
|
|
2002 |
boolean this_present_ourTp = true;
|
|
|
2003 |
boolean that_present_ourTp = true;
|
|
|
2004 |
if (this_present_ourTp || that_present_ourTp) {
|
|
|
2005 |
if (!(this_present_ourTp && that_present_ourTp))
|
|
|
2006 |
return false;
|
|
|
2007 |
if (this.ourTp != that.ourTp)
|
|
|
2008 |
return false;
|
|
|
2009 |
}
|
|
|
2010 |
|
|
|
2011 |
boolean this_present_ourNlc = true;
|
|
|
2012 |
boolean that_present_ourNlc = true;
|
|
|
2013 |
if (this_present_ourNlc || that_present_ourNlc) {
|
|
|
2014 |
if (!(this_present_ourNlc && that_present_ourNlc))
|
|
|
2015 |
return false;
|
|
|
2016 |
if (this.ourNlc != that.ourNlc)
|
|
|
2017 |
return false;
|
|
|
2018 |
}
|
|
|
2019 |
|
|
|
2020 |
boolean this_present_competitiveCategory = true && this.isSetCompetitiveCategory();
|
|
|
2021 |
boolean that_present_competitiveCategory = true && that.isSetCompetitiveCategory();
|
|
|
2022 |
if (this_present_competitiveCategory || that_present_competitiveCategory) {
|
|
|
2023 |
if (!(this_present_competitiveCategory && that_present_competitiveCategory))
|
|
|
2024 |
return false;
|
|
|
2025 |
if (!this.competitiveCategory.equals(that.competitiveCategory))
|
|
|
2026 |
return false;
|
|
|
2027 |
}
|
|
|
2028 |
|
|
|
2029 |
boolean this_present_risky = true;
|
|
|
2030 |
boolean that_present_risky = true;
|
|
|
2031 |
if (this_present_risky || that_present_risky) {
|
|
|
2032 |
if (!(this_present_risky && that_present_risky))
|
|
|
2033 |
return false;
|
|
|
2034 |
if (this.risky != that.risky)
|
|
|
2035 |
return false;
|
|
|
2036 |
}
|
|
|
2037 |
|
|
|
2038 |
boolean this_present_lowestOfferPrice = true;
|
|
|
2039 |
boolean that_present_lowestOfferPrice = true;
|
|
|
2040 |
if (this_present_lowestOfferPrice || that_present_lowestOfferPrice) {
|
|
|
2041 |
if (!(this_present_lowestOfferPrice && that_present_lowestOfferPrice))
|
|
|
2042 |
return false;
|
|
|
2043 |
if (this.lowestOfferPrice != that.lowestOfferPrice)
|
|
|
2044 |
return false;
|
|
|
2045 |
}
|
|
|
2046 |
|
|
|
2047 |
boolean this_present_lowestSellingPrice = true;
|
|
|
2048 |
boolean that_present_lowestSellingPrice = true;
|
|
|
2049 |
if (this_present_lowestSellingPrice || that_present_lowestSellingPrice) {
|
|
|
2050 |
if (!(this_present_lowestSellingPrice && that_present_lowestSellingPrice))
|
|
|
2051 |
return false;
|
|
|
2052 |
if (this.lowestSellingPrice != that.lowestSellingPrice)
|
|
|
2053 |
return false;
|
|
|
2054 |
}
|
|
|
2055 |
|
|
|
2056 |
boolean this_present_lowestTp = true;
|
|
|
2057 |
boolean that_present_lowestTp = true;
|
|
|
2058 |
if (this_present_lowestTp || that_present_lowestTp) {
|
|
|
2059 |
if (!(this_present_lowestTp && that_present_lowestTp))
|
|
|
2060 |
return false;
|
|
|
2061 |
if (this.lowestTp != that.lowestTp)
|
|
|
2062 |
return false;
|
|
|
2063 |
}
|
|
|
2064 |
|
|
|
2065 |
boolean this_present_lowestSellerName = true && this.isSetLowestSellerName();
|
|
|
2066 |
boolean that_present_lowestSellerName = true && that.isSetLowestSellerName();
|
|
|
2067 |
if (this_present_lowestSellerName || that_present_lowestSellerName) {
|
|
|
2068 |
if (!(this_present_lowestSellerName && that_present_lowestSellerName))
|
|
|
2069 |
return false;
|
|
|
2070 |
if (!this.lowestSellerName.equals(that.lowestSellerName))
|
|
|
2071 |
return false;
|
|
|
2072 |
}
|
|
|
2073 |
|
|
|
2074 |
boolean this_present_proposedSellingPrice = true;
|
|
|
2075 |
boolean that_present_proposedSellingPrice = true;
|
|
|
2076 |
if (this_present_proposedSellingPrice || that_present_proposedSellingPrice) {
|
|
|
2077 |
if (!(this_present_proposedSellingPrice && that_present_proposedSellingPrice))
|
|
|
2078 |
return false;
|
|
|
2079 |
if (this.proposedSellingPrice != that.proposedSellingPrice)
|
|
|
2080 |
return false;
|
|
|
2081 |
}
|
|
|
2082 |
|
|
|
2083 |
boolean this_present_proposedTp = true;
|
|
|
2084 |
boolean that_present_proposedTp = true;
|
|
|
2085 |
if (this_present_proposedTp || that_present_proposedTp) {
|
|
|
2086 |
if (!(this_present_proposedTp && that_present_proposedTp))
|
|
|
2087 |
return false;
|
|
|
2088 |
if (this.proposedTp != that.proposedTp)
|
|
|
2089 |
return false;
|
|
|
2090 |
}
|
|
|
2091 |
|
|
|
2092 |
boolean this_present_targetNlc = true;
|
|
|
2093 |
boolean that_present_targetNlc = true;
|
|
|
2094 |
if (this_present_targetNlc || that_present_targetNlc) {
|
|
|
2095 |
if (!(this_present_targetNlc && that_present_targetNlc))
|
|
|
2096 |
return false;
|
|
|
2097 |
if (this.targetNlc != that.targetNlc)
|
|
|
2098 |
return false;
|
|
|
2099 |
}
|
|
|
2100 |
|
|
|
2101 |
boolean this_present_salesPotential = true && this.isSetSalesPotential();
|
|
|
2102 |
boolean that_present_salesPotential = true && that.isSetSalesPotential();
|
|
|
2103 |
if (this_present_salesPotential || that_present_salesPotential) {
|
|
|
2104 |
if (!(this_present_salesPotential && that_present_salesPotential))
|
|
|
2105 |
return false;
|
|
|
2106 |
if (!this.salesPotential.equals(that.salesPotential))
|
|
|
2107 |
return false;
|
|
|
2108 |
}
|
|
|
2109 |
|
|
|
2110 |
boolean this_present_secondLowestSellerName = true && this.isSetSecondLowestSellerName();
|
|
|
2111 |
boolean that_present_secondLowestSellerName = true && that.isSetSecondLowestSellerName();
|
|
|
2112 |
if (this_present_secondLowestSellerName || that_present_secondLowestSellerName) {
|
|
|
2113 |
if (!(this_present_secondLowestSellerName && that_present_secondLowestSellerName))
|
|
|
2114 |
return false;
|
|
|
2115 |
if (!this.secondLowestSellerName.equals(that.secondLowestSellerName))
|
|
|
2116 |
return false;
|
|
|
2117 |
}
|
|
|
2118 |
|
|
|
2119 |
boolean this_present_secondLowestSellingPrice = true;
|
|
|
2120 |
boolean that_present_secondLowestSellingPrice = true;
|
|
|
2121 |
if (this_present_secondLowestSellingPrice || that_present_secondLowestSellingPrice) {
|
|
|
2122 |
if (!(this_present_secondLowestSellingPrice && that_present_secondLowestSellingPrice))
|
|
|
2123 |
return false;
|
|
|
2124 |
if (this.secondLowestSellingPrice != that.secondLowestSellingPrice)
|
|
|
2125 |
return false;
|
|
|
2126 |
}
|
|
|
2127 |
|
|
|
2128 |
boolean this_present_secondLowestOfferPrice = true;
|
|
|
2129 |
boolean that_present_secondLowestOfferPrice = true;
|
|
|
2130 |
if (this_present_secondLowestOfferPrice || that_present_secondLowestOfferPrice) {
|
|
|
2131 |
if (!(this_present_secondLowestOfferPrice && that_present_secondLowestOfferPrice))
|
|
|
2132 |
return false;
|
|
|
2133 |
if (this.secondLowestOfferPrice != that.secondLowestOfferPrice)
|
|
|
2134 |
return false;
|
|
|
2135 |
}
|
|
|
2136 |
|
|
|
2137 |
boolean this_present_secondLowestTp = true;
|
|
|
2138 |
boolean that_present_secondLowestTp = true;
|
|
|
2139 |
if (this_present_secondLowestTp || that_present_secondLowestTp) {
|
|
|
2140 |
if (!(this_present_secondLowestTp && that_present_secondLowestTp))
|
|
|
2141 |
return false;
|
|
|
2142 |
if (this.secondLowestTp != that.secondLowestTp)
|
|
|
2143 |
return false;
|
|
|
2144 |
}
|
|
|
2145 |
|
|
|
2146 |
boolean this_present_marginIncreasedPotential = true;
|
|
|
2147 |
boolean that_present_marginIncreasedPotential = true;
|
|
|
2148 |
if (this_present_marginIncreasedPotential || that_present_marginIncreasedPotential) {
|
|
|
2149 |
if (!(this_present_marginIncreasedPotential && that_present_marginIncreasedPotential))
|
|
|
2150 |
return false;
|
|
|
2151 |
if (this.marginIncreasedPotential != that.marginIncreasedPotential)
|
|
|
2152 |
return false;
|
|
|
2153 |
}
|
|
|
2154 |
|
|
|
2155 |
boolean this_present_margin = true;
|
|
|
2156 |
boolean that_present_margin = true;
|
|
|
2157 |
if (this_present_margin || that_present_margin) {
|
|
|
2158 |
if (!(this_present_margin && that_present_margin))
|
|
|
2159 |
return false;
|
|
|
2160 |
if (this.margin != that.margin)
|
|
|
2161 |
return false;
|
|
|
2162 |
}
|
|
|
2163 |
|
|
|
2164 |
boolean this_present_ourEnoughStock = true;
|
|
|
2165 |
boolean that_present_ourEnoughStock = true;
|
|
|
2166 |
if (this_present_ourEnoughStock || that_present_ourEnoughStock) {
|
|
|
2167 |
if (!(this_present_ourEnoughStock && that_present_ourEnoughStock))
|
|
|
2168 |
return false;
|
|
|
2169 |
if (this.ourEnoughStock != that.ourEnoughStock)
|
|
|
2170 |
return false;
|
|
|
2171 |
}
|
|
|
2172 |
|
|
|
2173 |
boolean this_present_totalSeller = true;
|
|
|
2174 |
boolean that_present_totalSeller = true;
|
|
|
2175 |
if (this_present_totalSeller || that_present_totalSeller) {
|
|
|
2176 |
if (!(this_present_totalSeller && that_present_totalSeller))
|
|
|
2177 |
return false;
|
|
|
2178 |
if (this.totalSeller != that.totalSeller)
|
|
|
2179 |
return false;
|
|
|
2180 |
}
|
|
|
2181 |
|
|
|
2182 |
boolean this_present_averageSale = true;
|
|
|
2183 |
boolean that_present_averageSale = true;
|
|
|
2184 |
if (this_present_averageSale || that_present_averageSale) {
|
|
|
2185 |
if (!(this_present_averageSale && that_present_averageSale))
|
|
|
2186 |
return false;
|
|
|
2187 |
if (this.averageSale != that.averageSale)
|
|
|
2188 |
return false;
|
|
|
2189 |
}
|
|
|
2190 |
|
|
|
2191 |
boolean this_present_toGroup = true;
|
|
|
2192 |
boolean that_present_toGroup = true;
|
|
|
2193 |
if (this_present_toGroup || that_present_toGroup) {
|
|
|
2194 |
if (!(this_present_toGroup && that_present_toGroup))
|
|
|
2195 |
return false;
|
|
|
2196 |
if (this.toGroup != that.toGroup)
|
|
|
2197 |
return false;
|
|
|
2198 |
}
|
|
|
2199 |
|
| 11076 |
kshitij.so |
2200 |
boolean this_present_decision = true && this.isSetDecision();
|
|
|
2201 |
boolean that_present_decision = true && that.isSetDecision();
|
|
|
2202 |
if (this_present_decision || that_present_decision) {
|
|
|
2203 |
if (!(this_present_decision && that_present_decision))
|
|
|
2204 |
return false;
|
|
|
2205 |
if (!this.decision.equals(that.decision))
|
|
|
2206 |
return false;
|
|
|
2207 |
}
|
|
|
2208 |
|
|
|
2209 |
boolean this_present_reason = true && this.isSetReason();
|
|
|
2210 |
boolean that_present_reason = true && that.isSetReason();
|
|
|
2211 |
if (this_present_reason || that_present_reason) {
|
|
|
2212 |
if (!(this_present_reason && that_present_reason))
|
|
|
2213 |
return false;
|
|
|
2214 |
if (!this.reason.equals(that.reason))
|
|
|
2215 |
return false;
|
|
|
2216 |
}
|
|
|
2217 |
|
| 11015 |
kshitij.so |
2218 |
return true;
|
|
|
2219 |
}
|
|
|
2220 |
|
|
|
2221 |
@Override
|
|
|
2222 |
public int hashCode() {
|
|
|
2223 |
return 0;
|
|
|
2224 |
}
|
|
|
2225 |
|
|
|
2226 |
public int compareTo(MarketplaceHistory other) {
|
|
|
2227 |
if (!getClass().equals(other.getClass())) {
|
|
|
2228 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
2229 |
}
|
|
|
2230 |
|
|
|
2231 |
int lastComparison = 0;
|
|
|
2232 |
MarketplaceHistory typedOther = (MarketplaceHistory)other;
|
|
|
2233 |
|
|
|
2234 |
lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
|
|
|
2235 |
if (lastComparison != 0) {
|
|
|
2236 |
return lastComparison;
|
|
|
2237 |
}
|
|
|
2238 |
if (isSetItem_id()) {
|
|
|
2239 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
|
|
|
2240 |
if (lastComparison != 0) {
|
|
|
2241 |
return lastComparison;
|
|
|
2242 |
}
|
|
|
2243 |
}
|
|
|
2244 |
lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
|
|
|
2245 |
if (lastComparison != 0) {
|
|
|
2246 |
return lastComparison;
|
|
|
2247 |
}
|
|
|
2248 |
if (isSetSource()) {
|
|
|
2249 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
|
|
|
2250 |
if (lastComparison != 0) {
|
|
|
2251 |
return lastComparison;
|
|
|
2252 |
}
|
|
|
2253 |
}
|
|
|
2254 |
lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp());
|
|
|
2255 |
if (lastComparison != 0) {
|
|
|
2256 |
return lastComparison;
|
|
|
2257 |
}
|
|
|
2258 |
if (isSetTimestamp()) {
|
|
|
2259 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
|
|
|
2260 |
if (lastComparison != 0) {
|
|
|
2261 |
return lastComparison;
|
|
|
2262 |
}
|
|
|
2263 |
}
|
|
|
2264 |
lastComparison = Boolean.valueOf(isSetLowest_possible_tp()).compareTo(typedOther.isSetLowest_possible_tp());
|
|
|
2265 |
if (lastComparison != 0) {
|
|
|
2266 |
return lastComparison;
|
|
|
2267 |
}
|
|
|
2268 |
if (isSetLowest_possible_tp()) {
|
|
|
2269 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowest_possible_tp, typedOther.lowest_possible_tp);
|
|
|
2270 |
if (lastComparison != 0) {
|
|
|
2271 |
return lastComparison;
|
|
|
2272 |
}
|
|
|
2273 |
}
|
|
|
2274 |
lastComparison = Boolean.valueOf(isSetLowest_possible_sp()).compareTo(typedOther.isSetLowest_possible_sp());
|
|
|
2275 |
if (lastComparison != 0) {
|
|
|
2276 |
return lastComparison;
|
|
|
2277 |
}
|
|
|
2278 |
if (isSetLowest_possible_sp()) {
|
|
|
2279 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowest_possible_sp, typedOther.lowest_possible_sp);
|
|
|
2280 |
if (lastComparison != 0) {
|
|
|
2281 |
return lastComparison;
|
|
|
2282 |
}
|
|
|
2283 |
}
|
|
|
2284 |
lastComparison = Boolean.valueOf(isSetOurInventory()).compareTo(typedOther.isSetOurInventory());
|
|
|
2285 |
if (lastComparison != 0) {
|
|
|
2286 |
return lastComparison;
|
|
|
2287 |
}
|
|
|
2288 |
if (isSetOurInventory()) {
|
|
|
2289 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourInventory, typedOther.ourInventory);
|
|
|
2290 |
if (lastComparison != 0) {
|
|
|
2291 |
return lastComparison;
|
|
|
2292 |
}
|
|
|
2293 |
}
|
|
|
2294 |
lastComparison = Boolean.valueOf(isSetOtherInventory()).compareTo(typedOther.isSetOtherInventory());
|
|
|
2295 |
if (lastComparison != 0) {
|
|
|
2296 |
return lastComparison;
|
|
|
2297 |
}
|
|
|
2298 |
if (isSetOtherInventory()) {
|
|
|
2299 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInventory, typedOther.otherInventory);
|
|
|
2300 |
if (lastComparison != 0) {
|
|
|
2301 |
return lastComparison;
|
|
|
2302 |
}
|
|
|
2303 |
}
|
|
|
2304 |
lastComparison = Boolean.valueOf(isSetSecondLowestInventory()).compareTo(typedOther.isSetSecondLowestInventory());
|
|
|
2305 |
if (lastComparison != 0) {
|
|
|
2306 |
return lastComparison;
|
|
|
2307 |
}
|
|
|
2308 |
if (isSetSecondLowestInventory()) {
|
|
|
2309 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secondLowestInventory, typedOther.secondLowestInventory);
|
|
|
2310 |
if (lastComparison != 0) {
|
|
|
2311 |
return lastComparison;
|
|
|
2312 |
}
|
|
|
2313 |
}
|
|
|
2314 |
lastComparison = Boolean.valueOf(isSetOurRank()).compareTo(typedOther.isSetOurRank());
|
|
|
2315 |
if (lastComparison != 0) {
|
|
|
2316 |
return lastComparison;
|
|
|
2317 |
}
|
|
|
2318 |
if (isSetOurRank()) {
|
|
|
2319 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourRank, typedOther.ourRank);
|
|
|
2320 |
if (lastComparison != 0) {
|
|
|
2321 |
return lastComparison;
|
|
|
2322 |
}
|
|
|
2323 |
}
|
|
|
2324 |
lastComparison = Boolean.valueOf(isSetOurOfferPrice()).compareTo(typedOther.isSetOurOfferPrice());
|
|
|
2325 |
if (lastComparison != 0) {
|
|
|
2326 |
return lastComparison;
|
|
|
2327 |
}
|
|
|
2328 |
if (isSetOurOfferPrice()) {
|
|
|
2329 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourOfferPrice, typedOther.ourOfferPrice);
|
|
|
2330 |
if (lastComparison != 0) {
|
|
|
2331 |
return lastComparison;
|
|
|
2332 |
}
|
|
|
2333 |
}
|
|
|
2334 |
lastComparison = Boolean.valueOf(isSetOurSellingPrice()).compareTo(typedOther.isSetOurSellingPrice());
|
|
|
2335 |
if (lastComparison != 0) {
|
|
|
2336 |
return lastComparison;
|
|
|
2337 |
}
|
|
|
2338 |
if (isSetOurSellingPrice()) {
|
|
|
2339 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourSellingPrice, typedOther.ourSellingPrice);
|
|
|
2340 |
if (lastComparison != 0) {
|
|
|
2341 |
return lastComparison;
|
|
|
2342 |
}
|
|
|
2343 |
}
|
|
|
2344 |
lastComparison = Boolean.valueOf(isSetOurTp()).compareTo(typedOther.isSetOurTp());
|
|
|
2345 |
if (lastComparison != 0) {
|
|
|
2346 |
return lastComparison;
|
|
|
2347 |
}
|
|
|
2348 |
if (isSetOurTp()) {
|
|
|
2349 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourTp, typedOther.ourTp);
|
|
|
2350 |
if (lastComparison != 0) {
|
|
|
2351 |
return lastComparison;
|
|
|
2352 |
}
|
|
|
2353 |
}
|
|
|
2354 |
lastComparison = Boolean.valueOf(isSetOurNlc()).compareTo(typedOther.isSetOurNlc());
|
|
|
2355 |
if (lastComparison != 0) {
|
|
|
2356 |
return lastComparison;
|
|
|
2357 |
}
|
|
|
2358 |
if (isSetOurNlc()) {
|
|
|
2359 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourNlc, typedOther.ourNlc);
|
|
|
2360 |
if (lastComparison != 0) {
|
|
|
2361 |
return lastComparison;
|
|
|
2362 |
}
|
|
|
2363 |
}
|
|
|
2364 |
lastComparison = Boolean.valueOf(isSetCompetitiveCategory()).compareTo(typedOther.isSetCompetitiveCategory());
|
|
|
2365 |
if (lastComparison != 0) {
|
|
|
2366 |
return lastComparison;
|
|
|
2367 |
}
|
|
|
2368 |
if (isSetCompetitiveCategory()) {
|
|
|
2369 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.competitiveCategory, typedOther.competitiveCategory);
|
|
|
2370 |
if (lastComparison != 0) {
|
|
|
2371 |
return lastComparison;
|
|
|
2372 |
}
|
|
|
2373 |
}
|
|
|
2374 |
lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
|
|
|
2375 |
if (lastComparison != 0) {
|
|
|
2376 |
return lastComparison;
|
|
|
2377 |
}
|
|
|
2378 |
if (isSetRisky()) {
|
|
|
2379 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
|
|
|
2380 |
if (lastComparison != 0) {
|
|
|
2381 |
return lastComparison;
|
|
|
2382 |
}
|
|
|
2383 |
}
|
|
|
2384 |
lastComparison = Boolean.valueOf(isSetLowestOfferPrice()).compareTo(typedOther.isSetLowestOfferPrice());
|
|
|
2385 |
if (lastComparison != 0) {
|
|
|
2386 |
return lastComparison;
|
|
|
2387 |
}
|
|
|
2388 |
if (isSetLowestOfferPrice()) {
|
|
|
2389 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestOfferPrice, typedOther.lowestOfferPrice);
|
|
|
2390 |
if (lastComparison != 0) {
|
|
|
2391 |
return lastComparison;
|
|
|
2392 |
}
|
|
|
2393 |
}
|
|
|
2394 |
lastComparison = Boolean.valueOf(isSetLowestSellingPrice()).compareTo(typedOther.isSetLowestSellingPrice());
|
|
|
2395 |
if (lastComparison != 0) {
|
|
|
2396 |
return lastComparison;
|
|
|
2397 |
}
|
|
|
2398 |
if (isSetLowestSellingPrice()) {
|
|
|
2399 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSellingPrice, typedOther.lowestSellingPrice);
|
|
|
2400 |
if (lastComparison != 0) {
|
|
|
2401 |
return lastComparison;
|
|
|
2402 |
}
|
|
|
2403 |
}
|
|
|
2404 |
lastComparison = Boolean.valueOf(isSetLowestTp()).compareTo(typedOther.isSetLowestTp());
|
|
|
2405 |
if (lastComparison != 0) {
|
|
|
2406 |
return lastComparison;
|
|
|
2407 |
}
|
|
|
2408 |
if (isSetLowestTp()) {
|
|
|
2409 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestTp, typedOther.lowestTp);
|
|
|
2410 |
if (lastComparison != 0) {
|
|
|
2411 |
return lastComparison;
|
|
|
2412 |
}
|
|
|
2413 |
}
|
|
|
2414 |
lastComparison = Boolean.valueOf(isSetLowestSellerName()).compareTo(typedOther.isSetLowestSellerName());
|
|
|
2415 |
if (lastComparison != 0) {
|
|
|
2416 |
return lastComparison;
|
|
|
2417 |
}
|
|
|
2418 |
if (isSetLowestSellerName()) {
|
|
|
2419 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowestSellerName, typedOther.lowestSellerName);
|
|
|
2420 |
if (lastComparison != 0) {
|
|
|
2421 |
return lastComparison;
|
|
|
2422 |
}
|
|
|
2423 |
}
|
|
|
2424 |
lastComparison = Boolean.valueOf(isSetProposedSellingPrice()).compareTo(typedOther.isSetProposedSellingPrice());
|
|
|
2425 |
if (lastComparison != 0) {
|
|
|
2426 |
return lastComparison;
|
|
|
2427 |
}
|
|
|
2428 |
if (isSetProposedSellingPrice()) {
|
|
|
2429 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.proposedSellingPrice, typedOther.proposedSellingPrice);
|
|
|
2430 |
if (lastComparison != 0) {
|
|
|
2431 |
return lastComparison;
|
|
|
2432 |
}
|
|
|
2433 |
}
|
|
|
2434 |
lastComparison = Boolean.valueOf(isSetProposedTp()).compareTo(typedOther.isSetProposedTp());
|
|
|
2435 |
if (lastComparison != 0) {
|
|
|
2436 |
return lastComparison;
|
|
|
2437 |
}
|
|
|
2438 |
if (isSetProposedTp()) {
|
|
|
2439 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.proposedTp, typedOther.proposedTp);
|
|
|
2440 |
if (lastComparison != 0) {
|
|
|
2441 |
return lastComparison;
|
|
|
2442 |
}
|
|
|
2443 |
}
|
|
|
2444 |
lastComparison = Boolean.valueOf(isSetTargetNlc()).compareTo(typedOther.isSetTargetNlc());
|
|
|
2445 |
if (lastComparison != 0) {
|
|
|
2446 |
return lastComparison;
|
|
|
2447 |
}
|
|
|
2448 |
if (isSetTargetNlc()) {
|
|
|
2449 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.targetNlc, typedOther.targetNlc);
|
|
|
2450 |
if (lastComparison != 0) {
|
|
|
2451 |
return lastComparison;
|
|
|
2452 |
}
|
|
|
2453 |
}
|
|
|
2454 |
lastComparison = Boolean.valueOf(isSetSalesPotential()).compareTo(typedOther.isSetSalesPotential());
|
|
|
2455 |
if (lastComparison != 0) {
|
|
|
2456 |
return lastComparison;
|
|
|
2457 |
}
|
|
|
2458 |
if (isSetSalesPotential()) {
|
|
|
2459 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.salesPotential, typedOther.salesPotential);
|
|
|
2460 |
if (lastComparison != 0) {
|
|
|
2461 |
return lastComparison;
|
|
|
2462 |
}
|
|
|
2463 |
}
|
|
|
2464 |
lastComparison = Boolean.valueOf(isSetSecondLowestSellerName()).compareTo(typedOther.isSetSecondLowestSellerName());
|
|
|
2465 |
if (lastComparison != 0) {
|
|
|
2466 |
return lastComparison;
|
|
|
2467 |
}
|
|
|
2468 |
if (isSetSecondLowestSellerName()) {
|
|
|
2469 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secondLowestSellerName, typedOther.secondLowestSellerName);
|
|
|
2470 |
if (lastComparison != 0) {
|
|
|
2471 |
return lastComparison;
|
|
|
2472 |
}
|
|
|
2473 |
}
|
|
|
2474 |
lastComparison = Boolean.valueOf(isSetSecondLowestSellingPrice()).compareTo(typedOther.isSetSecondLowestSellingPrice());
|
|
|
2475 |
if (lastComparison != 0) {
|
|
|
2476 |
return lastComparison;
|
|
|
2477 |
}
|
|
|
2478 |
if (isSetSecondLowestSellingPrice()) {
|
|
|
2479 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secondLowestSellingPrice, typedOther.secondLowestSellingPrice);
|
|
|
2480 |
if (lastComparison != 0) {
|
|
|
2481 |
return lastComparison;
|
|
|
2482 |
}
|
|
|
2483 |
}
|
|
|
2484 |
lastComparison = Boolean.valueOf(isSetSecondLowestOfferPrice()).compareTo(typedOther.isSetSecondLowestOfferPrice());
|
|
|
2485 |
if (lastComparison != 0) {
|
|
|
2486 |
return lastComparison;
|
|
|
2487 |
}
|
|
|
2488 |
if (isSetSecondLowestOfferPrice()) {
|
|
|
2489 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secondLowestOfferPrice, typedOther.secondLowestOfferPrice);
|
|
|
2490 |
if (lastComparison != 0) {
|
|
|
2491 |
return lastComparison;
|
|
|
2492 |
}
|
|
|
2493 |
}
|
|
|
2494 |
lastComparison = Boolean.valueOf(isSetSecondLowestTp()).compareTo(typedOther.isSetSecondLowestTp());
|
|
|
2495 |
if (lastComparison != 0) {
|
|
|
2496 |
return lastComparison;
|
|
|
2497 |
}
|
|
|
2498 |
if (isSetSecondLowestTp()) {
|
|
|
2499 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secondLowestTp, typedOther.secondLowestTp);
|
|
|
2500 |
if (lastComparison != 0) {
|
|
|
2501 |
return lastComparison;
|
|
|
2502 |
}
|
|
|
2503 |
}
|
|
|
2504 |
lastComparison = Boolean.valueOf(isSetMarginIncreasedPotential()).compareTo(typedOther.isSetMarginIncreasedPotential());
|
|
|
2505 |
if (lastComparison != 0) {
|
|
|
2506 |
return lastComparison;
|
|
|
2507 |
}
|
|
|
2508 |
if (isSetMarginIncreasedPotential()) {
|
|
|
2509 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.marginIncreasedPotential, typedOther.marginIncreasedPotential);
|
|
|
2510 |
if (lastComparison != 0) {
|
|
|
2511 |
return lastComparison;
|
|
|
2512 |
}
|
|
|
2513 |
}
|
|
|
2514 |
lastComparison = Boolean.valueOf(isSetMargin()).compareTo(typedOther.isSetMargin());
|
|
|
2515 |
if (lastComparison != 0) {
|
|
|
2516 |
return lastComparison;
|
|
|
2517 |
}
|
|
|
2518 |
if (isSetMargin()) {
|
|
|
2519 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.margin, typedOther.margin);
|
|
|
2520 |
if (lastComparison != 0) {
|
|
|
2521 |
return lastComparison;
|
|
|
2522 |
}
|
|
|
2523 |
}
|
|
|
2524 |
lastComparison = Boolean.valueOf(isSetOurEnoughStock()).compareTo(typedOther.isSetOurEnoughStock());
|
|
|
2525 |
if (lastComparison != 0) {
|
|
|
2526 |
return lastComparison;
|
|
|
2527 |
}
|
|
|
2528 |
if (isSetOurEnoughStock()) {
|
|
|
2529 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ourEnoughStock, typedOther.ourEnoughStock);
|
|
|
2530 |
if (lastComparison != 0) {
|
|
|
2531 |
return lastComparison;
|
|
|
2532 |
}
|
|
|
2533 |
}
|
|
|
2534 |
lastComparison = Boolean.valueOf(isSetTotalSeller()).compareTo(typedOther.isSetTotalSeller());
|
|
|
2535 |
if (lastComparison != 0) {
|
|
|
2536 |
return lastComparison;
|
|
|
2537 |
}
|
|
|
2538 |
if (isSetTotalSeller()) {
|
|
|
2539 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.totalSeller, typedOther.totalSeller);
|
|
|
2540 |
if (lastComparison != 0) {
|
|
|
2541 |
return lastComparison;
|
|
|
2542 |
}
|
|
|
2543 |
}
|
|
|
2544 |
lastComparison = Boolean.valueOf(isSetAverageSale()).compareTo(typedOther.isSetAverageSale());
|
|
|
2545 |
if (lastComparison != 0) {
|
|
|
2546 |
return lastComparison;
|
|
|
2547 |
}
|
|
|
2548 |
if (isSetAverageSale()) {
|
|
|
2549 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.averageSale, typedOther.averageSale);
|
|
|
2550 |
if (lastComparison != 0) {
|
|
|
2551 |
return lastComparison;
|
|
|
2552 |
}
|
|
|
2553 |
}
|
|
|
2554 |
lastComparison = Boolean.valueOf(isSetToGroup()).compareTo(typedOther.isSetToGroup());
|
|
|
2555 |
if (lastComparison != 0) {
|
|
|
2556 |
return lastComparison;
|
|
|
2557 |
}
|
|
|
2558 |
if (isSetToGroup()) {
|
|
|
2559 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.toGroup, typedOther.toGroup);
|
|
|
2560 |
if (lastComparison != 0) {
|
|
|
2561 |
return lastComparison;
|
|
|
2562 |
}
|
|
|
2563 |
}
|
| 11076 |
kshitij.so |
2564 |
lastComparison = Boolean.valueOf(isSetDecision()).compareTo(typedOther.isSetDecision());
|
|
|
2565 |
if (lastComparison != 0) {
|
|
|
2566 |
return lastComparison;
|
|
|
2567 |
}
|
|
|
2568 |
if (isSetDecision()) {
|
|
|
2569 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.decision, typedOther.decision);
|
|
|
2570 |
if (lastComparison != 0) {
|
|
|
2571 |
return lastComparison;
|
|
|
2572 |
}
|
|
|
2573 |
}
|
|
|
2574 |
lastComparison = Boolean.valueOf(isSetReason()).compareTo(typedOther.isSetReason());
|
|
|
2575 |
if (lastComparison != 0) {
|
|
|
2576 |
return lastComparison;
|
|
|
2577 |
}
|
|
|
2578 |
if (isSetReason()) {
|
|
|
2579 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, typedOther.reason);
|
|
|
2580 |
if (lastComparison != 0) {
|
|
|
2581 |
return lastComparison;
|
|
|
2582 |
}
|
|
|
2583 |
}
|
| 11015 |
kshitij.so |
2584 |
return 0;
|
|
|
2585 |
}
|
|
|
2586 |
|
|
|
2587 |
public _Fields fieldForId(int fieldId) {
|
|
|
2588 |
return _Fields.findByThriftId(fieldId);
|
|
|
2589 |
}
|
|
|
2590 |
|
|
|
2591 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
2592 |
org.apache.thrift.protocol.TField field;
|
|
|
2593 |
iprot.readStructBegin();
|
|
|
2594 |
while (true)
|
|
|
2595 |
{
|
|
|
2596 |
field = iprot.readFieldBegin();
|
|
|
2597 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
2598 |
break;
|
|
|
2599 |
}
|
|
|
2600 |
switch (field.id) {
|
|
|
2601 |
case 1: // ITEM_ID
|
|
|
2602 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2603 |
this.item_id = iprot.readI64();
|
|
|
2604 |
setItem_idIsSet(true);
|
|
|
2605 |
} else {
|
|
|
2606 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2607 |
}
|
|
|
2608 |
break;
|
|
|
2609 |
case 2: // SOURCE
|
|
|
2610 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2611 |
this.source = iprot.readI64();
|
|
|
2612 |
setSourceIsSet(true);
|
|
|
2613 |
} else {
|
|
|
2614 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2615 |
}
|
|
|
2616 |
break;
|
|
|
2617 |
case 3: // TIMESTAMP
|
|
|
2618 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2619 |
this.timestamp = iprot.readI64();
|
|
|
2620 |
setTimestampIsSet(true);
|
|
|
2621 |
} else {
|
|
|
2622 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2623 |
}
|
|
|
2624 |
break;
|
|
|
2625 |
case 4: // LOWEST_POSSIBLE_TP
|
| 11076 |
kshitij.so |
2626 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2627 |
this.lowest_possible_tp = iprot.readI64();
|
| 11015 |
kshitij.so |
2628 |
setLowest_possible_tpIsSet(true);
|
|
|
2629 |
} else {
|
|
|
2630 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2631 |
}
|
|
|
2632 |
break;
|
|
|
2633 |
case 5: // LOWEST_POSSIBLE_SP
|
| 11076 |
kshitij.so |
2634 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2635 |
this.lowest_possible_sp = iprot.readI64();
|
| 11015 |
kshitij.so |
2636 |
setLowest_possible_spIsSet(true);
|
|
|
2637 |
} else {
|
|
|
2638 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2639 |
}
|
|
|
2640 |
break;
|
|
|
2641 |
case 6: // OUR_INVENTORY
|
|
|
2642 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2643 |
this.ourInventory = iprot.readI64();
|
|
|
2644 |
setOurInventoryIsSet(true);
|
|
|
2645 |
} else {
|
|
|
2646 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2647 |
}
|
|
|
2648 |
break;
|
|
|
2649 |
case 7: // OTHER_INVENTORY
|
|
|
2650 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2651 |
this.otherInventory = iprot.readI64();
|
|
|
2652 |
setOtherInventoryIsSet(true);
|
|
|
2653 |
} else {
|
|
|
2654 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2655 |
}
|
|
|
2656 |
break;
|
|
|
2657 |
case 8: // SECOND_LOWEST_INVENTORY
|
|
|
2658 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2659 |
this.secondLowestInventory = iprot.readI64();
|
|
|
2660 |
setSecondLowestInventoryIsSet(true);
|
|
|
2661 |
} else {
|
|
|
2662 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2663 |
}
|
|
|
2664 |
break;
|
|
|
2665 |
case 9: // OUR_RANK
|
|
|
2666 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2667 |
this.ourRank = iprot.readI64();
|
|
|
2668 |
setOurRankIsSet(true);
|
|
|
2669 |
} else {
|
|
|
2670 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2671 |
}
|
|
|
2672 |
break;
|
|
|
2673 |
case 10: // OUR_OFFER_PRICE
|
| 11076 |
kshitij.so |
2674 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2675 |
this.ourOfferPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2676 |
setOurOfferPriceIsSet(true);
|
|
|
2677 |
} else {
|
|
|
2678 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2679 |
}
|
|
|
2680 |
break;
|
|
|
2681 |
case 11: // OUR_SELLING_PRICE
|
| 11076 |
kshitij.so |
2682 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2683 |
this.ourSellingPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2684 |
setOurSellingPriceIsSet(true);
|
|
|
2685 |
} else {
|
|
|
2686 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2687 |
}
|
|
|
2688 |
break;
|
|
|
2689 |
case 12: // OUR_TP
|
| 11076 |
kshitij.so |
2690 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2691 |
this.ourTp = iprot.readI64();
|
| 11015 |
kshitij.so |
2692 |
setOurTpIsSet(true);
|
|
|
2693 |
} else {
|
|
|
2694 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2695 |
}
|
|
|
2696 |
break;
|
|
|
2697 |
case 13: // OUR_NLC
|
| 11076 |
kshitij.so |
2698 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2699 |
this.ourNlc = iprot.readI64();
|
| 11015 |
kshitij.so |
2700 |
setOurNlcIsSet(true);
|
|
|
2701 |
} else {
|
|
|
2702 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2703 |
}
|
|
|
2704 |
break;
|
|
|
2705 |
case 14: // COMPETITIVE_CATEGORY
|
|
|
2706 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
2707 |
this.competitiveCategory = CompetitionCategory.findByValue(iprot.readI32());
|
|
|
2708 |
} else {
|
|
|
2709 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2710 |
}
|
|
|
2711 |
break;
|
|
|
2712 |
case 15: // RISKY
|
|
|
2713 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2714 |
this.risky = iprot.readI64();
|
|
|
2715 |
setRiskyIsSet(true);
|
|
|
2716 |
} else {
|
|
|
2717 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2718 |
}
|
|
|
2719 |
break;
|
|
|
2720 |
case 16: // LOWEST_OFFER_PRICE
|
| 11076 |
kshitij.so |
2721 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2722 |
this.lowestOfferPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2723 |
setLowestOfferPriceIsSet(true);
|
|
|
2724 |
} else {
|
|
|
2725 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2726 |
}
|
|
|
2727 |
break;
|
|
|
2728 |
case 17: // LOWEST_SELLING_PRICE
|
| 11076 |
kshitij.so |
2729 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2730 |
this.lowestSellingPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2731 |
setLowestSellingPriceIsSet(true);
|
|
|
2732 |
} else {
|
|
|
2733 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2734 |
}
|
|
|
2735 |
break;
|
|
|
2736 |
case 18: // LOWEST_TP
|
| 11076 |
kshitij.so |
2737 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2738 |
this.lowestTp = iprot.readI64();
|
| 11015 |
kshitij.so |
2739 |
setLowestTpIsSet(true);
|
|
|
2740 |
} else {
|
|
|
2741 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2742 |
}
|
|
|
2743 |
break;
|
|
|
2744 |
case 19: // LOWEST_SELLER_NAME
|
|
|
2745 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2746 |
this.lowestSellerName = iprot.readString();
|
|
|
2747 |
} else {
|
|
|
2748 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2749 |
}
|
|
|
2750 |
break;
|
|
|
2751 |
case 20: // PROPOSED_SELLING_PRICE
|
| 11076 |
kshitij.so |
2752 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2753 |
this.proposedSellingPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2754 |
setProposedSellingPriceIsSet(true);
|
|
|
2755 |
} else {
|
|
|
2756 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2757 |
}
|
|
|
2758 |
break;
|
|
|
2759 |
case 21: // PROPOSED_TP
|
| 11076 |
kshitij.so |
2760 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2761 |
this.proposedTp = iprot.readI64();
|
| 11015 |
kshitij.so |
2762 |
setProposedTpIsSet(true);
|
|
|
2763 |
} else {
|
|
|
2764 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2765 |
}
|
|
|
2766 |
break;
|
|
|
2767 |
case 22: // TARGET_NLC
|
| 11076 |
kshitij.so |
2768 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2769 |
this.targetNlc = iprot.readI64();
|
| 11015 |
kshitij.so |
2770 |
setTargetNlcIsSet(true);
|
|
|
2771 |
} else {
|
|
|
2772 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2773 |
}
|
|
|
2774 |
break;
|
|
|
2775 |
case 23: // SALES_POTENTIAL
|
|
|
2776 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
2777 |
this.salesPotential = SalesPotential.findByValue(iprot.readI32());
|
|
|
2778 |
} else {
|
|
|
2779 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2780 |
}
|
|
|
2781 |
break;
|
|
|
2782 |
case 24: // SECOND_LOWEST_SELLER_NAME
|
|
|
2783 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2784 |
this.secondLowestSellerName = iprot.readString();
|
|
|
2785 |
} else {
|
|
|
2786 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2787 |
}
|
|
|
2788 |
break;
|
|
|
2789 |
case 25: // SECOND_LOWEST_SELLING_PRICE
|
| 11076 |
kshitij.so |
2790 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2791 |
this.secondLowestSellingPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2792 |
setSecondLowestSellingPriceIsSet(true);
|
|
|
2793 |
} else {
|
|
|
2794 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2795 |
}
|
|
|
2796 |
break;
|
|
|
2797 |
case 26: // SECOND_LOWEST_OFFER_PRICE
|
| 11076 |
kshitij.so |
2798 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2799 |
this.secondLowestOfferPrice = iprot.readI64();
|
| 11015 |
kshitij.so |
2800 |
setSecondLowestOfferPriceIsSet(true);
|
|
|
2801 |
} else {
|
|
|
2802 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2803 |
}
|
|
|
2804 |
break;
|
|
|
2805 |
case 27: // SECOND_LOWEST_TP
|
| 11076 |
kshitij.so |
2806 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2807 |
this.secondLowestTp = iprot.readI64();
|
| 11015 |
kshitij.so |
2808 |
setSecondLowestTpIsSet(true);
|
|
|
2809 |
} else {
|
|
|
2810 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2811 |
}
|
|
|
2812 |
break;
|
|
|
2813 |
case 28: // MARGIN_INCREASED_POTENTIAL
|
| 11076 |
kshitij.so |
2814 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2815 |
this.marginIncreasedPotential = iprot.readI64();
|
| 11015 |
kshitij.so |
2816 |
setMarginIncreasedPotentialIsSet(true);
|
|
|
2817 |
} else {
|
|
|
2818 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2819 |
}
|
|
|
2820 |
break;
|
|
|
2821 |
case 29: // MARGIN
|
| 11076 |
kshitij.so |
2822 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2823 |
this.margin = iprot.readI64();
|
| 11015 |
kshitij.so |
2824 |
setMarginIsSet(true);
|
|
|
2825 |
} else {
|
|
|
2826 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2827 |
}
|
|
|
2828 |
break;
|
|
|
2829 |
case 30: // OUR_ENOUGH_STOCK
|
|
|
2830 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2831 |
this.ourEnoughStock = iprot.readBool();
|
|
|
2832 |
setOurEnoughStockIsSet(true);
|
|
|
2833 |
} else {
|
|
|
2834 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2835 |
}
|
|
|
2836 |
break;
|
|
|
2837 |
case 31: // TOTAL_SELLER
|
|
|
2838 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
2839 |
this.totalSeller = iprot.readI64();
|
|
|
2840 |
setTotalSellerIsSet(true);
|
|
|
2841 |
} else {
|
|
|
2842 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2843 |
}
|
|
|
2844 |
break;
|
|
|
2845 |
case 32: // AVERAGE_SALE
|
|
|
2846 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
2847 |
this.averageSale = iprot.readDouble();
|
|
|
2848 |
setAverageSaleIsSet(true);
|
|
|
2849 |
} else {
|
|
|
2850 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2851 |
}
|
|
|
2852 |
break;
|
|
|
2853 |
case 33: // TO_GROUP
|
|
|
2854 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
2855 |
this.toGroup = iprot.readBool();
|
|
|
2856 |
setToGroupIsSet(true);
|
|
|
2857 |
} else {
|
|
|
2858 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2859 |
}
|
|
|
2860 |
break;
|
| 11076 |
kshitij.so |
2861 |
case 34: // DECISION
|
|
|
2862 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
2863 |
this.decision = Decision.findByValue(iprot.readI32());
|
|
|
2864 |
} else {
|
|
|
2865 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2866 |
}
|
|
|
2867 |
break;
|
|
|
2868 |
case 35: // REASON
|
|
|
2869 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
2870 |
this.reason = iprot.readString();
|
|
|
2871 |
} else {
|
|
|
2872 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2873 |
}
|
|
|
2874 |
break;
|
| 11015 |
kshitij.so |
2875 |
default:
|
|
|
2876 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
2877 |
}
|
|
|
2878 |
iprot.readFieldEnd();
|
|
|
2879 |
}
|
|
|
2880 |
iprot.readStructEnd();
|
|
|
2881 |
validate();
|
|
|
2882 |
}
|
|
|
2883 |
|
|
|
2884 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
2885 |
validate();
|
|
|
2886 |
|
|
|
2887 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
2888 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
|
|
2889 |
oprot.writeI64(this.item_id);
|
|
|
2890 |
oprot.writeFieldEnd();
|
|
|
2891 |
oprot.writeFieldBegin(SOURCE_FIELD_DESC);
|
|
|
2892 |
oprot.writeI64(this.source);
|
|
|
2893 |
oprot.writeFieldEnd();
|
|
|
2894 |
oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
|
|
|
2895 |
oprot.writeI64(this.timestamp);
|
|
|
2896 |
oprot.writeFieldEnd();
|
|
|
2897 |
oprot.writeFieldBegin(LOWEST_POSSIBLE_TP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2898 |
oprot.writeI64(this.lowest_possible_tp);
|
| 11015 |
kshitij.so |
2899 |
oprot.writeFieldEnd();
|
|
|
2900 |
oprot.writeFieldBegin(LOWEST_POSSIBLE_SP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2901 |
oprot.writeI64(this.lowest_possible_sp);
|
| 11015 |
kshitij.so |
2902 |
oprot.writeFieldEnd();
|
|
|
2903 |
oprot.writeFieldBegin(OUR_INVENTORY_FIELD_DESC);
|
|
|
2904 |
oprot.writeI64(this.ourInventory);
|
|
|
2905 |
oprot.writeFieldEnd();
|
|
|
2906 |
oprot.writeFieldBegin(OTHER_INVENTORY_FIELD_DESC);
|
|
|
2907 |
oprot.writeI64(this.otherInventory);
|
|
|
2908 |
oprot.writeFieldEnd();
|
|
|
2909 |
oprot.writeFieldBegin(SECOND_LOWEST_INVENTORY_FIELD_DESC);
|
|
|
2910 |
oprot.writeI64(this.secondLowestInventory);
|
|
|
2911 |
oprot.writeFieldEnd();
|
|
|
2912 |
oprot.writeFieldBegin(OUR_RANK_FIELD_DESC);
|
|
|
2913 |
oprot.writeI64(this.ourRank);
|
|
|
2914 |
oprot.writeFieldEnd();
|
|
|
2915 |
oprot.writeFieldBegin(OUR_OFFER_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2916 |
oprot.writeI64(this.ourOfferPrice);
|
| 11015 |
kshitij.so |
2917 |
oprot.writeFieldEnd();
|
|
|
2918 |
oprot.writeFieldBegin(OUR_SELLING_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2919 |
oprot.writeI64(this.ourSellingPrice);
|
| 11015 |
kshitij.so |
2920 |
oprot.writeFieldEnd();
|
|
|
2921 |
oprot.writeFieldBegin(OUR_TP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2922 |
oprot.writeI64(this.ourTp);
|
| 11015 |
kshitij.so |
2923 |
oprot.writeFieldEnd();
|
|
|
2924 |
oprot.writeFieldBegin(OUR_NLC_FIELD_DESC);
|
| 11076 |
kshitij.so |
2925 |
oprot.writeI64(this.ourNlc);
|
| 11015 |
kshitij.so |
2926 |
oprot.writeFieldEnd();
|
|
|
2927 |
if (this.competitiveCategory != null) {
|
|
|
2928 |
oprot.writeFieldBegin(COMPETITIVE_CATEGORY_FIELD_DESC);
|
|
|
2929 |
oprot.writeI32(this.competitiveCategory.getValue());
|
|
|
2930 |
oprot.writeFieldEnd();
|
|
|
2931 |
}
|
|
|
2932 |
oprot.writeFieldBegin(RISKY_FIELD_DESC);
|
|
|
2933 |
oprot.writeI64(this.risky);
|
|
|
2934 |
oprot.writeFieldEnd();
|
|
|
2935 |
oprot.writeFieldBegin(LOWEST_OFFER_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2936 |
oprot.writeI64(this.lowestOfferPrice);
|
| 11015 |
kshitij.so |
2937 |
oprot.writeFieldEnd();
|
|
|
2938 |
oprot.writeFieldBegin(LOWEST_SELLING_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2939 |
oprot.writeI64(this.lowestSellingPrice);
|
| 11015 |
kshitij.so |
2940 |
oprot.writeFieldEnd();
|
|
|
2941 |
oprot.writeFieldBegin(LOWEST_TP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2942 |
oprot.writeI64(this.lowestTp);
|
| 11015 |
kshitij.so |
2943 |
oprot.writeFieldEnd();
|
|
|
2944 |
if (this.lowestSellerName != null) {
|
|
|
2945 |
oprot.writeFieldBegin(LOWEST_SELLER_NAME_FIELD_DESC);
|
|
|
2946 |
oprot.writeString(this.lowestSellerName);
|
|
|
2947 |
oprot.writeFieldEnd();
|
|
|
2948 |
}
|
|
|
2949 |
oprot.writeFieldBegin(PROPOSED_SELLING_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2950 |
oprot.writeI64(this.proposedSellingPrice);
|
| 11015 |
kshitij.so |
2951 |
oprot.writeFieldEnd();
|
|
|
2952 |
oprot.writeFieldBegin(PROPOSED_TP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2953 |
oprot.writeI64(this.proposedTp);
|
| 11015 |
kshitij.so |
2954 |
oprot.writeFieldEnd();
|
|
|
2955 |
oprot.writeFieldBegin(TARGET_NLC_FIELD_DESC);
|
| 11076 |
kshitij.so |
2956 |
oprot.writeI64(this.targetNlc);
|
| 11015 |
kshitij.so |
2957 |
oprot.writeFieldEnd();
|
|
|
2958 |
if (this.salesPotential != null) {
|
|
|
2959 |
oprot.writeFieldBegin(SALES_POTENTIAL_FIELD_DESC);
|
|
|
2960 |
oprot.writeI32(this.salesPotential.getValue());
|
|
|
2961 |
oprot.writeFieldEnd();
|
|
|
2962 |
}
|
|
|
2963 |
if (this.secondLowestSellerName != null) {
|
|
|
2964 |
oprot.writeFieldBegin(SECOND_LOWEST_SELLER_NAME_FIELD_DESC);
|
|
|
2965 |
oprot.writeString(this.secondLowestSellerName);
|
|
|
2966 |
oprot.writeFieldEnd();
|
|
|
2967 |
}
|
|
|
2968 |
oprot.writeFieldBegin(SECOND_LOWEST_SELLING_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2969 |
oprot.writeI64(this.secondLowestSellingPrice);
|
| 11015 |
kshitij.so |
2970 |
oprot.writeFieldEnd();
|
|
|
2971 |
oprot.writeFieldBegin(SECOND_LOWEST_OFFER_PRICE_FIELD_DESC);
|
| 11076 |
kshitij.so |
2972 |
oprot.writeI64(this.secondLowestOfferPrice);
|
| 11015 |
kshitij.so |
2973 |
oprot.writeFieldEnd();
|
|
|
2974 |
oprot.writeFieldBegin(SECOND_LOWEST_TP_FIELD_DESC);
|
| 11076 |
kshitij.so |
2975 |
oprot.writeI64(this.secondLowestTp);
|
| 11015 |
kshitij.so |
2976 |
oprot.writeFieldEnd();
|
|
|
2977 |
oprot.writeFieldBegin(MARGIN_INCREASED_POTENTIAL_FIELD_DESC);
|
| 11076 |
kshitij.so |
2978 |
oprot.writeI64(this.marginIncreasedPotential);
|
| 11015 |
kshitij.so |
2979 |
oprot.writeFieldEnd();
|
|
|
2980 |
oprot.writeFieldBegin(MARGIN_FIELD_DESC);
|
| 11076 |
kshitij.so |
2981 |
oprot.writeI64(this.margin);
|
| 11015 |
kshitij.so |
2982 |
oprot.writeFieldEnd();
|
|
|
2983 |
oprot.writeFieldBegin(OUR_ENOUGH_STOCK_FIELD_DESC);
|
|
|
2984 |
oprot.writeBool(this.ourEnoughStock);
|
|
|
2985 |
oprot.writeFieldEnd();
|
|
|
2986 |
oprot.writeFieldBegin(TOTAL_SELLER_FIELD_DESC);
|
|
|
2987 |
oprot.writeI64(this.totalSeller);
|
|
|
2988 |
oprot.writeFieldEnd();
|
|
|
2989 |
oprot.writeFieldBegin(AVERAGE_SALE_FIELD_DESC);
|
|
|
2990 |
oprot.writeDouble(this.averageSale);
|
|
|
2991 |
oprot.writeFieldEnd();
|
|
|
2992 |
oprot.writeFieldBegin(TO_GROUP_FIELD_DESC);
|
|
|
2993 |
oprot.writeBool(this.toGroup);
|
|
|
2994 |
oprot.writeFieldEnd();
|
| 11076 |
kshitij.so |
2995 |
if (this.decision != null) {
|
|
|
2996 |
oprot.writeFieldBegin(DECISION_FIELD_DESC);
|
|
|
2997 |
oprot.writeI32(this.decision.getValue());
|
|
|
2998 |
oprot.writeFieldEnd();
|
|
|
2999 |
}
|
|
|
3000 |
if (this.reason != null) {
|
|
|
3001 |
oprot.writeFieldBegin(REASON_FIELD_DESC);
|
|
|
3002 |
oprot.writeString(this.reason);
|
|
|
3003 |
oprot.writeFieldEnd();
|
|
|
3004 |
}
|
| 11015 |
kshitij.so |
3005 |
oprot.writeFieldStop();
|
|
|
3006 |
oprot.writeStructEnd();
|
|
|
3007 |
}
|
|
|
3008 |
|
|
|
3009 |
@Override
|
|
|
3010 |
public String toString() {
|
|
|
3011 |
StringBuilder sb = new StringBuilder("MarketplaceHistory(");
|
|
|
3012 |
boolean first = true;
|
|
|
3013 |
|
|
|
3014 |
sb.append("item_id:");
|
|
|
3015 |
sb.append(this.item_id);
|
|
|
3016 |
first = false;
|
|
|
3017 |
if (!first) sb.append(", ");
|
|
|
3018 |
sb.append("source:");
|
|
|
3019 |
sb.append(this.source);
|
|
|
3020 |
first = false;
|
|
|
3021 |
if (!first) sb.append(", ");
|
|
|
3022 |
sb.append("timestamp:");
|
|
|
3023 |
sb.append(this.timestamp);
|
|
|
3024 |
first = false;
|
|
|
3025 |
if (!first) sb.append(", ");
|
|
|
3026 |
sb.append("lowest_possible_tp:");
|
|
|
3027 |
sb.append(this.lowest_possible_tp);
|
|
|
3028 |
first = false;
|
|
|
3029 |
if (!first) sb.append(", ");
|
|
|
3030 |
sb.append("lowest_possible_sp:");
|
|
|
3031 |
sb.append(this.lowest_possible_sp);
|
|
|
3032 |
first = false;
|
|
|
3033 |
if (!first) sb.append(", ");
|
|
|
3034 |
sb.append("ourInventory:");
|
|
|
3035 |
sb.append(this.ourInventory);
|
|
|
3036 |
first = false;
|
|
|
3037 |
if (!first) sb.append(", ");
|
|
|
3038 |
sb.append("otherInventory:");
|
|
|
3039 |
sb.append(this.otherInventory);
|
|
|
3040 |
first = false;
|
|
|
3041 |
if (!first) sb.append(", ");
|
|
|
3042 |
sb.append("secondLowestInventory:");
|
|
|
3043 |
sb.append(this.secondLowestInventory);
|
|
|
3044 |
first = false;
|
|
|
3045 |
if (!first) sb.append(", ");
|
|
|
3046 |
sb.append("ourRank:");
|
|
|
3047 |
sb.append(this.ourRank);
|
|
|
3048 |
first = false;
|
|
|
3049 |
if (!first) sb.append(", ");
|
|
|
3050 |
sb.append("ourOfferPrice:");
|
|
|
3051 |
sb.append(this.ourOfferPrice);
|
|
|
3052 |
first = false;
|
|
|
3053 |
if (!first) sb.append(", ");
|
|
|
3054 |
sb.append("ourSellingPrice:");
|
|
|
3055 |
sb.append(this.ourSellingPrice);
|
|
|
3056 |
first = false;
|
|
|
3057 |
if (!first) sb.append(", ");
|
|
|
3058 |
sb.append("ourTp:");
|
|
|
3059 |
sb.append(this.ourTp);
|
|
|
3060 |
first = false;
|
|
|
3061 |
if (!first) sb.append(", ");
|
|
|
3062 |
sb.append("ourNlc:");
|
|
|
3063 |
sb.append(this.ourNlc);
|
|
|
3064 |
first = false;
|
|
|
3065 |
if (!first) sb.append(", ");
|
|
|
3066 |
sb.append("competitiveCategory:");
|
|
|
3067 |
if (this.competitiveCategory == null) {
|
|
|
3068 |
sb.append("null");
|
|
|
3069 |
} else {
|
|
|
3070 |
sb.append(this.competitiveCategory);
|
|
|
3071 |
}
|
|
|
3072 |
first = false;
|
|
|
3073 |
if (!first) sb.append(", ");
|
|
|
3074 |
sb.append("risky:");
|
|
|
3075 |
sb.append(this.risky);
|
|
|
3076 |
first = false;
|
|
|
3077 |
if (!first) sb.append(", ");
|
|
|
3078 |
sb.append("lowestOfferPrice:");
|
|
|
3079 |
sb.append(this.lowestOfferPrice);
|
|
|
3080 |
first = false;
|
|
|
3081 |
if (!first) sb.append(", ");
|
|
|
3082 |
sb.append("lowestSellingPrice:");
|
|
|
3083 |
sb.append(this.lowestSellingPrice);
|
|
|
3084 |
first = false;
|
|
|
3085 |
if (!first) sb.append(", ");
|
|
|
3086 |
sb.append("lowestTp:");
|
|
|
3087 |
sb.append(this.lowestTp);
|
|
|
3088 |
first = false;
|
|
|
3089 |
if (!first) sb.append(", ");
|
|
|
3090 |
sb.append("lowestSellerName:");
|
|
|
3091 |
if (this.lowestSellerName == null) {
|
|
|
3092 |
sb.append("null");
|
|
|
3093 |
} else {
|
|
|
3094 |
sb.append(this.lowestSellerName);
|
|
|
3095 |
}
|
|
|
3096 |
first = false;
|
|
|
3097 |
if (!first) sb.append(", ");
|
|
|
3098 |
sb.append("proposedSellingPrice:");
|
|
|
3099 |
sb.append(this.proposedSellingPrice);
|
|
|
3100 |
first = false;
|
|
|
3101 |
if (!first) sb.append(", ");
|
|
|
3102 |
sb.append("proposedTp:");
|
|
|
3103 |
sb.append(this.proposedTp);
|
|
|
3104 |
first = false;
|
|
|
3105 |
if (!first) sb.append(", ");
|
|
|
3106 |
sb.append("targetNlc:");
|
|
|
3107 |
sb.append(this.targetNlc);
|
|
|
3108 |
first = false;
|
|
|
3109 |
if (!first) sb.append(", ");
|
|
|
3110 |
sb.append("salesPotential:");
|
|
|
3111 |
if (this.salesPotential == null) {
|
|
|
3112 |
sb.append("null");
|
|
|
3113 |
} else {
|
|
|
3114 |
sb.append(this.salesPotential);
|
|
|
3115 |
}
|
|
|
3116 |
first = false;
|
|
|
3117 |
if (!first) sb.append(", ");
|
|
|
3118 |
sb.append("secondLowestSellerName:");
|
|
|
3119 |
if (this.secondLowestSellerName == null) {
|
|
|
3120 |
sb.append("null");
|
|
|
3121 |
} else {
|
|
|
3122 |
sb.append(this.secondLowestSellerName);
|
|
|
3123 |
}
|
|
|
3124 |
first = false;
|
|
|
3125 |
if (!first) sb.append(", ");
|
|
|
3126 |
sb.append("secondLowestSellingPrice:");
|
|
|
3127 |
sb.append(this.secondLowestSellingPrice);
|
|
|
3128 |
first = false;
|
|
|
3129 |
if (!first) sb.append(", ");
|
|
|
3130 |
sb.append("secondLowestOfferPrice:");
|
|
|
3131 |
sb.append(this.secondLowestOfferPrice);
|
|
|
3132 |
first = false;
|
|
|
3133 |
if (!first) sb.append(", ");
|
|
|
3134 |
sb.append("secondLowestTp:");
|
|
|
3135 |
sb.append(this.secondLowestTp);
|
|
|
3136 |
first = false;
|
|
|
3137 |
if (!first) sb.append(", ");
|
|
|
3138 |
sb.append("marginIncreasedPotential:");
|
|
|
3139 |
sb.append(this.marginIncreasedPotential);
|
|
|
3140 |
first = false;
|
|
|
3141 |
if (!first) sb.append(", ");
|
|
|
3142 |
sb.append("margin:");
|
|
|
3143 |
sb.append(this.margin);
|
|
|
3144 |
first = false;
|
|
|
3145 |
if (!first) sb.append(", ");
|
|
|
3146 |
sb.append("ourEnoughStock:");
|
|
|
3147 |
sb.append(this.ourEnoughStock);
|
|
|
3148 |
first = false;
|
|
|
3149 |
if (!first) sb.append(", ");
|
|
|
3150 |
sb.append("totalSeller:");
|
|
|
3151 |
sb.append(this.totalSeller);
|
|
|
3152 |
first = false;
|
|
|
3153 |
if (!first) sb.append(", ");
|
|
|
3154 |
sb.append("averageSale:");
|
|
|
3155 |
sb.append(this.averageSale);
|
|
|
3156 |
first = false;
|
|
|
3157 |
if (!first) sb.append(", ");
|
|
|
3158 |
sb.append("toGroup:");
|
|
|
3159 |
sb.append(this.toGroup);
|
|
|
3160 |
first = false;
|
| 11076 |
kshitij.so |
3161 |
if (!first) sb.append(", ");
|
|
|
3162 |
sb.append("decision:");
|
|
|
3163 |
if (this.decision == null) {
|
|
|
3164 |
sb.append("null");
|
|
|
3165 |
} else {
|
|
|
3166 |
sb.append(this.decision);
|
|
|
3167 |
}
|
|
|
3168 |
first = false;
|
|
|
3169 |
if (!first) sb.append(", ");
|
|
|
3170 |
sb.append("reason:");
|
|
|
3171 |
if (this.reason == null) {
|
|
|
3172 |
sb.append("null");
|
|
|
3173 |
} else {
|
|
|
3174 |
sb.append(this.reason);
|
|
|
3175 |
}
|
|
|
3176 |
first = false;
|
| 11015 |
kshitij.so |
3177 |
sb.append(")");
|
|
|
3178 |
return sb.toString();
|
|
|
3179 |
}
|
|
|
3180 |
|
|
|
3181 |
public void validate() throws org.apache.thrift.TException {
|
|
|
3182 |
// check for required fields
|
|
|
3183 |
}
|
|
|
3184 |
|
|
|
3185 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
3186 |
try {
|
|
|
3187 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
3188 |
} catch (org.apache.thrift.TException te) {
|
|
|
3189 |
throw new java.io.IOException(te);
|
|
|
3190 |
}
|
|
|
3191 |
}
|
|
|
3192 |
|
|
|
3193 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
3194 |
try {
|
|
|
3195 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
3196 |
__isset_bit_vector = new BitSet(1);
|
|
|
3197 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
3198 |
} catch (org.apache.thrift.TException te) {
|
|
|
3199 |
throw new java.io.IOException(te);
|
|
|
3200 |
}
|
|
|
3201 |
}
|
|
|
3202 |
|
|
|
3203 |
}
|
|
|
3204 |
|