| Line 350... |
Line 350... |
| 350 |
|
350 |
|
| 351 |
public long getCurrentBadQuantityForItem(long itemId, long currentWarehouseId, long physicalWarehouseId) throws WarehouseServiceException, org.apache.thrift.TException;
|
351 |
public long getCurrentBadQuantityForItem(long itemId, long currentWarehouseId, long physicalWarehouseId) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 352 |
|
352 |
|
| 353 |
public long scanForBadPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, long billingWarehouseId) throws WarehouseServiceException, org.apache.thrift.TException;
|
353 |
public long scanForBadPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, long billingWarehouseId) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 354 |
|
354 |
|
| 355 |
public Map<Long,Long> getItemsInPurchaseReturn(long purchaseReturnId, ScanType type) throws WarehouseServiceException, org.apache.thrift.TException;
|
355 |
public Map<Long,Long> getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, String returnTime) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 356 |
|
356 |
|
| 357 |
public List<Scan> getScansForInventoryItem(long inventoryItemId, ScanType type) throws WarehouseServiceException, org.apache.thrift.TException;
|
357 |
public List<Scan> getScansForInventoryItem(long inventoryItemId, ScanType type) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 358 |
|
358 |
|
| 359 |
public List<String> checkGrnImeiStatus(List<String> imeiNos) throws WarehouseServiceException, org.apache.thrift.TException;
|
359 |
public List<String> checkGrnImeiStatus(List<String> imeiNos) throws WarehouseServiceException, org.apache.thrift.TException;
|
| 360 |
|
360 |
|
| Line 482... |
Line 482... |
| 482 |
|
482 |
|
| 483 |
public void getCurrentBadQuantityForItem(long itemId, long currentWarehouseId, long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentBadQuantityForItem_call> resultHandler) throws org.apache.thrift.TException;
|
483 |
public void getCurrentBadQuantityForItem(long itemId, long currentWarehouseId, long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentBadQuantityForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 484 |
|
484 |
|
| 485 |
public void scanForBadPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForBadPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
|
485 |
public void scanForBadPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForBadPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
|
| 486 |
|
486 |
|
| 487 |
public void getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemsInPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
|
487 |
public void getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, String returnTime, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemsInPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
|
| 488 |
|
488 |
|
| 489 |
public void getScansForInventoryItem(long inventoryItemId, ScanType type, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getScansForInventoryItem_call> resultHandler) throws org.apache.thrift.TException;
|
489 |
public void getScansForInventoryItem(long inventoryItemId, ScanType type, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getScansForInventoryItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 490 |
|
490 |
|
| 491 |
public void checkGrnImeiStatus(List<String> imeiNos, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkGrnImeiStatus_call> resultHandler) throws org.apache.thrift.TException;
|
491 |
public void checkGrnImeiStatus(List<String> imeiNos, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkGrnImeiStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 492 |
|
492 |
|
| Line 2033... |
Line 2033... |
| 2033 |
throw result.ex;
|
2033 |
throw result.ex;
|
| 2034 |
}
|
2034 |
}
|
| 2035 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scanForBadPurchaseReturn failed: unknown result");
|
2035 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "scanForBadPurchaseReturn failed: unknown result");
|
| 2036 |
}
|
2036 |
}
|
| 2037 |
|
2037 |
|
| 2038 |
public Map<Long,Long> getItemsInPurchaseReturn(long purchaseReturnId, ScanType type) throws WarehouseServiceException, org.apache.thrift.TException
|
2038 |
public Map<Long,Long> getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, String returnTime) throws WarehouseServiceException, org.apache.thrift.TException
|
| 2039 |
{
|
2039 |
{
|
| 2040 |
send_getItemsInPurchaseReturn(purchaseReturnId, type);
|
2040 |
send_getItemsInPurchaseReturn(purchaseReturnId, type, returnTime);
|
| 2041 |
return recv_getItemsInPurchaseReturn();
|
2041 |
return recv_getItemsInPurchaseReturn();
|
| 2042 |
}
|
2042 |
}
|
| 2043 |
|
2043 |
|
| 2044 |
public void send_getItemsInPurchaseReturn(long purchaseReturnId, ScanType type) throws org.apache.thrift.TException
|
2044 |
public void send_getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, String returnTime) throws org.apache.thrift.TException
|
| 2045 |
{
|
2045 |
{
|
| 2046 |
getItemsInPurchaseReturn_args args = new getItemsInPurchaseReturn_args();
|
2046 |
getItemsInPurchaseReturn_args args = new getItemsInPurchaseReturn_args();
|
| 2047 |
args.setPurchaseReturnId(purchaseReturnId);
|
2047 |
args.setPurchaseReturnId(purchaseReturnId);
|
| 2048 |
args.setType(type);
|
2048 |
args.setType(type);
|
| - |
|
2049 |
args.setReturnTime(returnTime);
|
| 2049 |
sendBase("getItemsInPurchaseReturn", args);
|
2050 |
sendBase("getItemsInPurchaseReturn", args);
|
| 2050 |
}
|
2051 |
}
|
| 2051 |
|
2052 |
|
| 2052 |
public Map<Long,Long> recv_getItemsInPurchaseReturn() throws WarehouseServiceException, org.apache.thrift.TException
|
2053 |
public Map<Long,Long> recv_getItemsInPurchaseReturn() throws WarehouseServiceException, org.apache.thrift.TException
|
| 2053 |
{
|
2054 |
{
|
| Line 4293... |
Line 4294... |
| 4293 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4294 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4294 |
return (new Client(prot)).recv_scanForBadPurchaseReturn();
|
4295 |
return (new Client(prot)).recv_scanForBadPurchaseReturn();
|
| 4295 |
}
|
4296 |
}
|
| 4296 |
}
|
4297 |
}
|
| 4297 |
|
4298 |
|
| 4298 |
public void getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, org.apache.thrift.async.AsyncMethodCallback<getItemsInPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException {
|
4299 |
public void getItemsInPurchaseReturn(long purchaseReturnId, ScanType type, String returnTime, org.apache.thrift.async.AsyncMethodCallback<getItemsInPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException {
|
| 4299 |
checkReady();
|
4300 |
checkReady();
|
| 4300 |
getItemsInPurchaseReturn_call method_call = new getItemsInPurchaseReturn_call(purchaseReturnId, type, resultHandler, this, ___protocolFactory, ___transport);
|
4301 |
getItemsInPurchaseReturn_call method_call = new getItemsInPurchaseReturn_call(purchaseReturnId, type, returnTime, resultHandler, this, ___protocolFactory, ___transport);
|
| 4301 |
this.___currentMethod = method_call;
|
4302 |
this.___currentMethod = method_call;
|
| 4302 |
___manager.call(method_call);
|
4303 |
___manager.call(method_call);
|
| 4303 |
}
|
4304 |
}
|
| 4304 |
|
4305 |
|
| 4305 |
public static class getItemsInPurchaseReturn_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4306 |
public static class getItemsInPurchaseReturn_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4306 |
private long purchaseReturnId;
|
4307 |
private long purchaseReturnId;
|
| 4307 |
private ScanType type;
|
4308 |
private ScanType type;
|
| - |
|
4309 |
private String returnTime;
|
| 4308 |
public getItemsInPurchaseReturn_call(long purchaseReturnId, ScanType type, org.apache.thrift.async.AsyncMethodCallback<getItemsInPurchaseReturn_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
4310 |
public getItemsInPurchaseReturn_call(long purchaseReturnId, ScanType type, String returnTime, org.apache.thrift.async.AsyncMethodCallback<getItemsInPurchaseReturn_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 4309 |
super(client, protocolFactory, transport, resultHandler, false);
|
4311 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4310 |
this.purchaseReturnId = purchaseReturnId;
|
4312 |
this.purchaseReturnId = purchaseReturnId;
|
| 4311 |
this.type = type;
|
4313 |
this.type = type;
|
| - |
|
4314 |
this.returnTime = returnTime;
|
| 4312 |
}
|
4315 |
}
|
| 4313 |
|
4316 |
|
| 4314 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4317 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4315 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getItemsInPurchaseReturn", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4318 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getItemsInPurchaseReturn", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4316 |
getItemsInPurchaseReturn_args args = new getItemsInPurchaseReturn_args();
|
4319 |
getItemsInPurchaseReturn_args args = new getItemsInPurchaseReturn_args();
|
| 4317 |
args.setPurchaseReturnId(purchaseReturnId);
|
4320 |
args.setPurchaseReturnId(purchaseReturnId);
|
| 4318 |
args.setType(type);
|
4321 |
args.setType(type);
|
| - |
|
4322 |
args.setReturnTime(returnTime);
|
| 4319 |
args.write(prot);
|
4323 |
args.write(prot);
|
| 4320 |
prot.writeMessageEnd();
|
4324 |
prot.writeMessageEnd();
|
| 4321 |
}
|
4325 |
}
|
| 4322 |
|
4326 |
|
| 4323 |
public Map<Long,Long> getResult() throws WarehouseServiceException, org.apache.thrift.TException {
|
4327 |
public Map<Long,Long> getResult() throws WarehouseServiceException, org.apache.thrift.TException {
|
| Line 5630... |
Line 5634... |
| 5630 |
}
|
5634 |
}
|
| 5631 |
|
5635 |
|
| 5632 |
protected getItemsInPurchaseReturn_result getResult(I iface, getItemsInPurchaseReturn_args args) throws org.apache.thrift.TException {
|
5636 |
protected getItemsInPurchaseReturn_result getResult(I iface, getItemsInPurchaseReturn_args args) throws org.apache.thrift.TException {
|
| 5633 |
getItemsInPurchaseReturn_result result = new getItemsInPurchaseReturn_result();
|
5637 |
getItemsInPurchaseReturn_result result = new getItemsInPurchaseReturn_result();
|
| 5634 |
try {
|
5638 |
try {
|
| 5635 |
result.success = iface.getItemsInPurchaseReturn(args.purchaseReturnId, args.type);
|
5639 |
result.success = iface.getItemsInPurchaseReturn(args.purchaseReturnId, args.type, args.returnTime);
|
| 5636 |
} catch (WarehouseServiceException ex) {
|
5640 |
} catch (WarehouseServiceException ex) {
|
| 5637 |
result.ex = ex;
|
5641 |
result.ex = ex;
|
| 5638 |
}
|
5642 |
}
|
| 5639 |
return result;
|
5643 |
return result;
|
| 5640 |
}
|
5644 |
}
|
| Line 50644... |
Line 50648... |
| 50644 |
public static class getItemsInPurchaseReturn_args implements org.apache.thrift.TBase<getItemsInPurchaseReturn_args, getItemsInPurchaseReturn_args._Fields>, java.io.Serializable, Cloneable {
|
50648 |
public static class getItemsInPurchaseReturn_args implements org.apache.thrift.TBase<getItemsInPurchaseReturn_args, getItemsInPurchaseReturn_args._Fields>, java.io.Serializable, Cloneable {
|
| 50645 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemsInPurchaseReturn_args");
|
50649 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getItemsInPurchaseReturn_args");
|
| 50646 |
|
50650 |
|
| 50647 |
private static final org.apache.thrift.protocol.TField PURCHASE_RETURN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseReturnId", org.apache.thrift.protocol.TType.I64, (short)1);
|
50651 |
private static final org.apache.thrift.protocol.TField PURCHASE_RETURN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("purchaseReturnId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 50648 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)2);
|
50652 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)2);
|
| - |
|
50653 |
private static final org.apache.thrift.protocol.TField RETURN_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("returnTime", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| 50649 |
|
50654 |
|
| 50650 |
private long purchaseReturnId; // required
|
50655 |
private long purchaseReturnId; // required
|
| 50651 |
private ScanType type; // required
|
50656 |
private ScanType type; // required
|
| - |
|
50657 |
private String returnTime; // required
|
| 50652 |
|
50658 |
|
| 50653 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
50659 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 50654 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
50660 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 50655 |
PURCHASE_RETURN_ID((short)1, "purchaseReturnId"),
|
50661 |
PURCHASE_RETURN_ID((short)1, "purchaseReturnId"),
|
| 50656 |
/**
|
50662 |
/**
|
| 50657 |
*
|
50663 |
*
|
| 50658 |
* @see ScanType
|
50664 |
* @see ScanType
|
| 50659 |
*/
|
50665 |
*/
|
| 50660 |
TYPE((short)2, "type");
|
50666 |
TYPE((short)2, "type"),
|
| - |
|
50667 |
RETURN_TIME((short)3, "returnTime");
|
| 50661 |
|
50668 |
|
| 50662 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
50669 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 50663 |
|
50670 |
|
| 50664 |
static {
|
50671 |
static {
|
| 50665 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
50672 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 50674... |
Line 50681... |
| 50674 |
switch(fieldId) {
|
50681 |
switch(fieldId) {
|
| 50675 |
case 1: // PURCHASE_RETURN_ID
|
50682 |
case 1: // PURCHASE_RETURN_ID
|
| 50676 |
return PURCHASE_RETURN_ID;
|
50683 |
return PURCHASE_RETURN_ID;
|
| 50677 |
case 2: // TYPE
|
50684 |
case 2: // TYPE
|
| 50678 |
return TYPE;
|
50685 |
return TYPE;
|
| - |
|
50686 |
case 3: // RETURN_TIME
|
| - |
|
50687 |
return RETURN_TIME;
|
| 50679 |
default:
|
50688 |
default:
|
| 50680 |
return null;
|
50689 |
return null;
|
| 50681 |
}
|
50690 |
}
|
| 50682 |
}
|
50691 |
}
|
| 50683 |
|
50692 |
|
| Line 50724... |
Line 50733... |
| 50724 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
50733 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 50725 |
tmpMap.put(_Fields.PURCHASE_RETURN_ID, new org.apache.thrift.meta_data.FieldMetaData("purchaseReturnId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
50734 |
tmpMap.put(_Fields.PURCHASE_RETURN_ID, new org.apache.thrift.meta_data.FieldMetaData("purchaseReturnId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 50726 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
50735 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 50727 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
50736 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 50728 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ScanType.class)));
|
50737 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ScanType.class)));
|
| - |
|
50738 |
tmpMap.put(_Fields.RETURN_TIME, new org.apache.thrift.meta_data.FieldMetaData("returnTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
50739 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 50729 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
50740 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 50730 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getItemsInPurchaseReturn_args.class, metaDataMap);
|
50741 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getItemsInPurchaseReturn_args.class, metaDataMap);
|
| 50731 |
}
|
50742 |
}
|
| 50732 |
|
50743 |
|
| 50733 |
public getItemsInPurchaseReturn_args() {
|
50744 |
public getItemsInPurchaseReturn_args() {
|
| 50734 |
}
|
50745 |
}
|
| 50735 |
|
50746 |
|
| 50736 |
public getItemsInPurchaseReturn_args(
|
50747 |
public getItemsInPurchaseReturn_args(
|
| 50737 |
long purchaseReturnId,
|
50748 |
long purchaseReturnId,
|
| 50738 |
ScanType type)
|
50749 |
ScanType type,
|
| - |
|
50750 |
String returnTime)
|
| 50739 |
{
|
50751 |
{
|
| 50740 |
this();
|
50752 |
this();
|
| 50741 |
this.purchaseReturnId = purchaseReturnId;
|
50753 |
this.purchaseReturnId = purchaseReturnId;
|
| 50742 |
setPurchaseReturnIdIsSet(true);
|
50754 |
setPurchaseReturnIdIsSet(true);
|
| 50743 |
this.type = type;
|
50755 |
this.type = type;
|
| - |
|
50756 |
this.returnTime = returnTime;
|
| 50744 |
}
|
50757 |
}
|
| 50745 |
|
50758 |
|
| 50746 |
/**
|
50759 |
/**
|
| 50747 |
* Performs a deep copy on <i>other</i>.
|
50760 |
* Performs a deep copy on <i>other</i>.
|
| 50748 |
*/
|
50761 |
*/
|
| Line 50751... |
Line 50764... |
| 50751 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
50764 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 50752 |
this.purchaseReturnId = other.purchaseReturnId;
|
50765 |
this.purchaseReturnId = other.purchaseReturnId;
|
| 50753 |
if (other.isSetType()) {
|
50766 |
if (other.isSetType()) {
|
| 50754 |
this.type = other.type;
|
50767 |
this.type = other.type;
|
| 50755 |
}
|
50768 |
}
|
| - |
|
50769 |
if (other.isSetReturnTime()) {
|
| - |
|
50770 |
this.returnTime = other.returnTime;
|
| - |
|
50771 |
}
|
| 50756 |
}
|
50772 |
}
|
| 50757 |
|
50773 |
|
| 50758 |
public getItemsInPurchaseReturn_args deepCopy() {
|
50774 |
public getItemsInPurchaseReturn_args deepCopy() {
|
| 50759 |
return new getItemsInPurchaseReturn_args(this);
|
50775 |
return new getItemsInPurchaseReturn_args(this);
|
| 50760 |
}
|
50776 |
}
|
| Line 50762... |
Line 50778... |
| 50762 |
@Override
|
50778 |
@Override
|
| 50763 |
public void clear() {
|
50779 |
public void clear() {
|
| 50764 |
setPurchaseReturnIdIsSet(false);
|
50780 |
setPurchaseReturnIdIsSet(false);
|
| 50765 |
this.purchaseReturnId = 0;
|
50781 |
this.purchaseReturnId = 0;
|
| 50766 |
this.type = null;
|
50782 |
this.type = null;
|
| - |
|
50783 |
this.returnTime = null;
|
| 50767 |
}
|
50784 |
}
|
| 50768 |
|
50785 |
|
| 50769 |
public long getPurchaseReturnId() {
|
50786 |
public long getPurchaseReturnId() {
|
| 50770 |
return this.purchaseReturnId;
|
50787 |
return this.purchaseReturnId;
|
| 50771 |
}
|
50788 |
}
|
| Line 50817... |
Line 50834... |
| 50817 |
if (!value) {
|
50834 |
if (!value) {
|
| 50818 |
this.type = null;
|
50835 |
this.type = null;
|
| 50819 |
}
|
50836 |
}
|
| 50820 |
}
|
50837 |
}
|
| 50821 |
|
50838 |
|
| - |
|
50839 |
public String getReturnTime() {
|
| - |
|
50840 |
return this.returnTime;
|
| - |
|
50841 |
}
|
| - |
|
50842 |
|
| - |
|
50843 |
public void setReturnTime(String returnTime) {
|
| - |
|
50844 |
this.returnTime = returnTime;
|
| - |
|
50845 |
}
|
| - |
|
50846 |
|
| - |
|
50847 |
public void unsetReturnTime() {
|
| - |
|
50848 |
this.returnTime = null;
|
| - |
|
50849 |
}
|
| - |
|
50850 |
|
| - |
|
50851 |
/** Returns true if field returnTime is set (has been assigned a value) and false otherwise */
|
| - |
|
50852 |
public boolean isSetReturnTime() {
|
| - |
|
50853 |
return this.returnTime != null;
|
| - |
|
50854 |
}
|
| - |
|
50855 |
|
| - |
|
50856 |
public void setReturnTimeIsSet(boolean value) {
|
| - |
|
50857 |
if (!value) {
|
| - |
|
50858 |
this.returnTime = null;
|
| - |
|
50859 |
}
|
| - |
|
50860 |
}
|
| - |
|
50861 |
|
| 50822 |
public void setFieldValue(_Fields field, Object value) {
|
50862 |
public void setFieldValue(_Fields field, Object value) {
|
| 50823 |
switch (field) {
|
50863 |
switch (field) {
|
| 50824 |
case PURCHASE_RETURN_ID:
|
50864 |
case PURCHASE_RETURN_ID:
|
| 50825 |
if (value == null) {
|
50865 |
if (value == null) {
|
| 50826 |
unsetPurchaseReturnId();
|
50866 |
unsetPurchaseReturnId();
|
| Line 50835... |
Line 50875... |
| 50835 |
} else {
|
50875 |
} else {
|
| 50836 |
setType((ScanType)value);
|
50876 |
setType((ScanType)value);
|
| 50837 |
}
|
50877 |
}
|
| 50838 |
break;
|
50878 |
break;
|
| 50839 |
|
50879 |
|
| - |
|
50880 |
case RETURN_TIME:
|
| - |
|
50881 |
if (value == null) {
|
| - |
|
50882 |
unsetReturnTime();
|
| - |
|
50883 |
} else {
|
| - |
|
50884 |
setReturnTime((String)value);
|
| - |
|
50885 |
}
|
| - |
|
50886 |
break;
|
| - |
|
50887 |
|
| 50840 |
}
|
50888 |
}
|
| 50841 |
}
|
50889 |
}
|
| 50842 |
|
50890 |
|
| 50843 |
public Object getFieldValue(_Fields field) {
|
50891 |
public Object getFieldValue(_Fields field) {
|
| 50844 |
switch (field) {
|
50892 |
switch (field) {
|
| Line 50846... |
Line 50894... |
| 50846 |
return Long.valueOf(getPurchaseReturnId());
|
50894 |
return Long.valueOf(getPurchaseReturnId());
|
| 50847 |
|
50895 |
|
| 50848 |
case TYPE:
|
50896 |
case TYPE:
|
| 50849 |
return getType();
|
50897 |
return getType();
|
| 50850 |
|
50898 |
|
| - |
|
50899 |
case RETURN_TIME:
|
| - |
|
50900 |
return getReturnTime();
|
| - |
|
50901 |
|
| 50851 |
}
|
50902 |
}
|
| 50852 |
throw new IllegalStateException();
|
50903 |
throw new IllegalStateException();
|
| 50853 |
}
|
50904 |
}
|
| 50854 |
|
50905 |
|
| 50855 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
50906 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 50861... |
Line 50912... |
| 50861 |
switch (field) {
|
50912 |
switch (field) {
|
| 50862 |
case PURCHASE_RETURN_ID:
|
50913 |
case PURCHASE_RETURN_ID:
|
| 50863 |
return isSetPurchaseReturnId();
|
50914 |
return isSetPurchaseReturnId();
|
| 50864 |
case TYPE:
|
50915 |
case TYPE:
|
| 50865 |
return isSetType();
|
50916 |
return isSetType();
|
| - |
|
50917 |
case RETURN_TIME:
|
| - |
|
50918 |
return isSetReturnTime();
|
| 50866 |
}
|
50919 |
}
|
| 50867 |
throw new IllegalStateException();
|
50920 |
throw new IllegalStateException();
|
| 50868 |
}
|
50921 |
}
|
| 50869 |
|
50922 |
|
| 50870 |
@Override
|
50923 |
@Override
|
| Line 50896... |
Line 50949... |
| 50896 |
return false;
|
50949 |
return false;
|
| 50897 |
if (!this.type.equals(that.type))
|
50950 |
if (!this.type.equals(that.type))
|
| 50898 |
return false;
|
50951 |
return false;
|
| 50899 |
}
|
50952 |
}
|
| 50900 |
|
50953 |
|
| - |
|
50954 |
boolean this_present_returnTime = true && this.isSetReturnTime();
|
| - |
|
50955 |
boolean that_present_returnTime = true && that.isSetReturnTime();
|
| - |
|
50956 |
if (this_present_returnTime || that_present_returnTime) {
|
| - |
|
50957 |
if (!(this_present_returnTime && that_present_returnTime))
|
| - |
|
50958 |
return false;
|
| - |
|
50959 |
if (!this.returnTime.equals(that.returnTime))
|
| - |
|
50960 |
return false;
|
| - |
|
50961 |
}
|
| - |
|
50962 |
|
| 50901 |
return true;
|
50963 |
return true;
|
| 50902 |
}
|
50964 |
}
|
| 50903 |
|
50965 |
|
| 50904 |
@Override
|
50966 |
@Override
|
| 50905 |
public int hashCode() {
|
50967 |
public int hashCode() {
|
| Line 50932... |
Line 50994... |
| 50932 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
50994 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
| 50933 |
if (lastComparison != 0) {
|
50995 |
if (lastComparison != 0) {
|
| 50934 |
return lastComparison;
|
50996 |
return lastComparison;
|
| 50935 |
}
|
50997 |
}
|
| 50936 |
}
|
50998 |
}
|
| - |
|
50999 |
lastComparison = Boolean.valueOf(isSetReturnTime()).compareTo(typedOther.isSetReturnTime());
|
| - |
|
51000 |
if (lastComparison != 0) {
|
| - |
|
51001 |
return lastComparison;
|
| - |
|
51002 |
}
|
| - |
|
51003 |
if (isSetReturnTime()) {
|
| - |
|
51004 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnTime, typedOther.returnTime);
|
| - |
|
51005 |
if (lastComparison != 0) {
|
| - |
|
51006 |
return lastComparison;
|
| - |
|
51007 |
}
|
| - |
|
51008 |
}
|
| 50937 |
return 0;
|
51009 |
return 0;
|
| 50938 |
}
|
51010 |
}
|
| 50939 |
|
51011 |
|
| 50940 |
public _Fields fieldForId(int fieldId) {
|
51012 |
public _Fields fieldForId(int fieldId) {
|
| 50941 |
return _Fields.findByThriftId(fieldId);
|
51013 |
return _Fields.findByThriftId(fieldId);
|
| Line 50964... |
Line 51036... |
| 50964 |
this.type = ScanType.findByValue(iprot.readI32());
|
51036 |
this.type = ScanType.findByValue(iprot.readI32());
|
| 50965 |
} else {
|
51037 |
} else {
|
| 50966 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
51038 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 50967 |
}
|
51039 |
}
|
| 50968 |
break;
|
51040 |
break;
|
| - |
|
51041 |
case 3: // RETURN_TIME
|
| - |
|
51042 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
51043 |
this.returnTime = iprot.readString();
|
| - |
|
51044 |
} else {
|
| - |
|
51045 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
51046 |
}
|
| - |
|
51047 |
break;
|
| 50969 |
default:
|
51048 |
default:
|
| 50970 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
51049 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 50971 |
}
|
51050 |
}
|
| 50972 |
iprot.readFieldEnd();
|
51051 |
iprot.readFieldEnd();
|
| 50973 |
}
|
51052 |
}
|
| Line 50985... |
Line 51064... |
| 50985 |
if (this.type != null) {
|
51064 |
if (this.type != null) {
|
| 50986 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
51065 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
| 50987 |
oprot.writeI32(this.type.getValue());
|
51066 |
oprot.writeI32(this.type.getValue());
|
| 50988 |
oprot.writeFieldEnd();
|
51067 |
oprot.writeFieldEnd();
|
| 50989 |
}
|
51068 |
}
|
| - |
|
51069 |
if (this.returnTime != null) {
|
| - |
|
51070 |
oprot.writeFieldBegin(RETURN_TIME_FIELD_DESC);
|
| - |
|
51071 |
oprot.writeString(this.returnTime);
|
| - |
|
51072 |
oprot.writeFieldEnd();
|
| - |
|
51073 |
}
|
| 50990 |
oprot.writeFieldStop();
|
51074 |
oprot.writeFieldStop();
|
| 50991 |
oprot.writeStructEnd();
|
51075 |
oprot.writeStructEnd();
|
| 50992 |
}
|
51076 |
}
|
| 50993 |
|
51077 |
|
| 50994 |
@Override
|
51078 |
@Override
|
| Line 51005... |
Line 51089... |
| 51005 |
sb.append("null");
|
51089 |
sb.append("null");
|
| 51006 |
} else {
|
51090 |
} else {
|
| 51007 |
sb.append(this.type);
|
51091 |
sb.append(this.type);
|
| 51008 |
}
|
51092 |
}
|
| 51009 |
first = false;
|
51093 |
first = false;
|
| - |
|
51094 |
if (!first) sb.append(", ");
|
| - |
|
51095 |
sb.append("returnTime:");
|
| - |
|
51096 |
if (this.returnTime == null) {
|
| - |
|
51097 |
sb.append("null");
|
| - |
|
51098 |
} else {
|
| - |
|
51099 |
sb.append(this.returnTime);
|
| - |
|
51100 |
}
|
| - |
|
51101 |
first = false;
|
| 51010 |
sb.append(")");
|
51102 |
sb.append(")");
|
| 51011 |
return sb.toString();
|
51103 |
return sb.toString();
|
| 51012 |
}
|
51104 |
}
|
| 51013 |
|
51105 |
|
| 51014 |
public void validate() throws org.apache.thrift.TException {
|
51106 |
public void validate() throws org.apache.thrift.TException {
|