| Line 565... |
Line 565... |
| 565 |
* @param itemId
|
565 |
* @param itemId
|
| 566 |
* @param inventory
|
566 |
* @param inventory
|
| 567 |
*/
|
567 |
*/
|
| 568 |
public boolean acceptOrdersForItemId(long itemId, long inventory) throws TransactionServiceException, org.apache.thrift.TException;
|
568 |
public boolean acceptOrdersForItemId(long itemId, long inventory) throws TransactionServiceException, org.apache.thrift.TException;
|
| 569 |
|
569 |
|
| 570 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException;
|
570 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException;
|
| 571 |
|
571 |
|
| 572 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException;
|
572 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException;
|
| 573 |
|
573 |
|
| 574 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException;
|
574 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException;
|
| - |
|
575 |
|
| - |
|
576 |
public Map<Integer,TimeoutSummary> markOrdersAsTimeout(long vendorId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 575 |
|
577 |
|
| 576 |
}
|
578 |
}
|
| 577 |
|
579 |
|
| 578 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
580 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 579 |
|
581 |
|
| Line 707... |
Line 709... |
| 707 |
|
709 |
|
| 708 |
public void updateShipmentAddress(long orderId, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateShipmentAddress_call> resultHandler) throws org.apache.thrift.TException;
|
710 |
public void updateShipmentAddress(long orderId, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateShipmentAddress_call> resultHandler) throws org.apache.thrift.TException;
|
| 709 |
|
711 |
|
| 710 |
public void acceptOrdersForItemId(long itemId, long inventory, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrdersForItemId_call> resultHandler) throws org.apache.thrift.TException;
|
712 |
public void acceptOrdersForItemId(long itemId, long inventory, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrdersForItemId_call> resultHandler) throws org.apache.thrift.TException;
|
| 711 |
|
713 |
|
| - |
|
714 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
715 |
|
| 712 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException;
|
716 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsReversalInitiated_call> resultHandler) throws org.apache.thrift.TException;
|
| 713 |
|
717 |
|
| 714 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsReversalInitiated_call> resultHandler) throws org.apache.thrift.TException;
|
718 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsNotAvailabke_call> resultHandler) throws org.apache.thrift.TException;
|
| 715 |
|
719 |
|
| 716 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsNotAvailabke_call> resultHandler) throws org.apache.thrift.TException;
|
720 |
public void markOrdersAsTimeout(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrdersAsTimeout_call> resultHandler) throws org.apache.thrift.TException;
|
| 717 |
|
721 |
|
| 718 |
}
|
722 |
}
|
| 719 |
|
723 |
|
| 720 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
724 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 721 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
725 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| Line 2438... |
Line 2442... |
| 2438 |
throw result.ex;
|
2442 |
throw result.ex;
|
| 2439 |
}
|
2443 |
}
|
| 2440 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "acceptOrdersForItemId failed: unknown result");
|
2444 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "acceptOrdersForItemId failed: unknown result");
|
| 2441 |
}
|
2445 |
}
|
| 2442 |
|
2446 |
|
| 2443 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException
|
2447 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException
|
| 2444 |
{
|
2448 |
{
|
| 2445 |
send_markOrdersAsPORaised(vendorId, itemId, quantity, estimate);
|
2449 |
send_markOrdersAsPORaised(vendorId, itemId, quantity, estimate, isReminder);
|
| 2446 |
recv_markOrdersAsPORaised();
|
2450 |
recv_markOrdersAsPORaised();
|
| 2447 |
}
|
2451 |
}
|
| 2448 |
|
2452 |
|
| 2449 |
public void send_markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate) throws org.apache.thrift.TException
|
2453 |
public void send_markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws org.apache.thrift.TException
|
| 2450 |
{
|
2454 |
{
|
| 2451 |
markOrdersAsPORaised_args args = new markOrdersAsPORaised_args();
|
2455 |
markOrdersAsPORaised_args args = new markOrdersAsPORaised_args();
|
| 2452 |
args.setVendorId(vendorId);
|
2456 |
args.setVendorId(vendorId);
|
| 2453 |
args.setItemId(itemId);
|
2457 |
args.setItemId(itemId);
|
| 2454 |
args.setQuantity(quantity);
|
2458 |
args.setQuantity(quantity);
|
| 2455 |
args.setEstimate(estimate);
|
2459 |
args.setEstimate(estimate);
|
| - |
|
2460 |
args.setIsReminder(isReminder);
|
| 2456 |
sendBase("markOrdersAsPORaised", args);
|
2461 |
sendBase("markOrdersAsPORaised", args);
|
| 2457 |
}
|
2462 |
}
|
| 2458 |
|
2463 |
|
| 2459 |
public void recv_markOrdersAsPORaised() throws TransactionServiceException, org.apache.thrift.TException
|
2464 |
public void recv_markOrdersAsPORaised() throws TransactionServiceException, org.apache.thrift.TException
|
| 2460 |
{
|
2465 |
{
|
| Line 2464... |
Line 2469... |
| 2464 |
throw result.ex;
|
2469 |
throw result.ex;
|
| 2465 |
}
|
2470 |
}
|
| 2466 |
return;
|
2471 |
return;
|
| 2467 |
}
|
2472 |
}
|
| 2468 |
|
2473 |
|
| 2469 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException
|
2474 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException
|
| 2470 |
{
|
2475 |
{
|
| 2471 |
send_markOrdersAsReversalInitiated(vendorId, itemId, quantity, estimate);
|
2476 |
send_markOrdersAsReversalInitiated(vendorId, itemId, quantity, estimate, isReminder);
|
| 2472 |
recv_markOrdersAsReversalInitiated();
|
2477 |
recv_markOrdersAsReversalInitiated();
|
| 2473 |
}
|
2478 |
}
|
| 2474 |
|
2479 |
|
| 2475 |
public void send_markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate) throws org.apache.thrift.TException
|
2480 |
public void send_markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws org.apache.thrift.TException
|
| 2476 |
{
|
2481 |
{
|
| 2477 |
markOrdersAsReversalInitiated_args args = new markOrdersAsReversalInitiated_args();
|
2482 |
markOrdersAsReversalInitiated_args args = new markOrdersAsReversalInitiated_args();
|
| 2478 |
args.setVendorId(vendorId);
|
2483 |
args.setVendorId(vendorId);
|
| 2479 |
args.setItemId(itemId);
|
2484 |
args.setItemId(itemId);
|
| 2480 |
args.setQuantity(quantity);
|
2485 |
args.setQuantity(quantity);
|
| 2481 |
args.setEstimate(estimate);
|
2486 |
args.setEstimate(estimate);
|
| - |
|
2487 |
args.setIsReminder(isReminder);
|
| 2482 |
sendBase("markOrdersAsReversalInitiated", args);
|
2488 |
sendBase("markOrdersAsReversalInitiated", args);
|
| 2483 |
}
|
2489 |
}
|
| 2484 |
|
2490 |
|
| 2485 |
public void recv_markOrdersAsReversalInitiated() throws TransactionServiceException, org.apache.thrift.TException
|
2491 |
public void recv_markOrdersAsReversalInitiated() throws TransactionServiceException, org.apache.thrift.TException
|
| 2486 |
{
|
2492 |
{
|
| Line 2490... |
Line 2496... |
| 2490 |
throw result.ex;
|
2496 |
throw result.ex;
|
| 2491 |
}
|
2497 |
}
|
| 2492 |
return;
|
2498 |
return;
|
| 2493 |
}
|
2499 |
}
|
| 2494 |
|
2500 |
|
| 2495 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate) throws TransactionServiceException, org.apache.thrift.TException
|
2501 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws TransactionServiceException, org.apache.thrift.TException
|
| 2496 |
{
|
2502 |
{
|
| 2497 |
send_markOrdersAsNotAvailabke(vendorId, itemId, quantity, estimate);
|
2503 |
send_markOrdersAsNotAvailabke(vendorId, itemId, quantity, estimate, isReminder);
|
| 2498 |
recv_markOrdersAsNotAvailabke();
|
2504 |
recv_markOrdersAsNotAvailabke();
|
| 2499 |
}
|
2505 |
}
|
| 2500 |
|
2506 |
|
| 2501 |
public void send_markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate) throws org.apache.thrift.TException
|
2507 |
public void send_markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, boolean isReminder) throws org.apache.thrift.TException
|
| 2502 |
{
|
2508 |
{
|
| 2503 |
markOrdersAsNotAvailabke_args args = new markOrdersAsNotAvailabke_args();
|
2509 |
markOrdersAsNotAvailabke_args args = new markOrdersAsNotAvailabke_args();
|
| 2504 |
args.setVendorId(vendorId);
|
2510 |
args.setVendorId(vendorId);
|
| 2505 |
args.setItemId(itemId);
|
2511 |
args.setItemId(itemId);
|
| 2506 |
args.setQuantity(quantity);
|
2512 |
args.setQuantity(quantity);
|
| 2507 |
args.setEstimate(estimate);
|
2513 |
args.setEstimate(estimate);
|
| - |
|
2514 |
args.setIsReminder(isReminder);
|
| 2508 |
sendBase("markOrdersAsNotAvailabke", args);
|
2515 |
sendBase("markOrdersAsNotAvailabke", args);
|
| 2509 |
}
|
2516 |
}
|
| 2510 |
|
2517 |
|
| 2511 |
public void recv_markOrdersAsNotAvailabke() throws TransactionServiceException, org.apache.thrift.TException
|
2518 |
public void recv_markOrdersAsNotAvailabke() throws TransactionServiceException, org.apache.thrift.TException
|
| 2512 |
{
|
2519 |
{
|
| Line 2516... |
Line 2523... |
| 2516 |
throw result.ex;
|
2523 |
throw result.ex;
|
| 2517 |
}
|
2524 |
}
|
| 2518 |
return;
|
2525 |
return;
|
| 2519 |
}
|
2526 |
}
|
| 2520 |
|
2527 |
|
| - |
|
2528 |
public Map<Integer,TimeoutSummary> markOrdersAsTimeout(long vendorId) throws TransactionServiceException, org.apache.thrift.TException
|
| - |
|
2529 |
{
|
| - |
|
2530 |
send_markOrdersAsTimeout(vendorId);
|
| - |
|
2531 |
return recv_markOrdersAsTimeout();
|
| - |
|
2532 |
}
|
| - |
|
2533 |
|
| - |
|
2534 |
public void send_markOrdersAsTimeout(long vendorId) throws org.apache.thrift.TException
|
| - |
|
2535 |
{
|
| - |
|
2536 |
markOrdersAsTimeout_args args = new markOrdersAsTimeout_args();
|
| - |
|
2537 |
args.setVendorId(vendorId);
|
| - |
|
2538 |
sendBase("markOrdersAsTimeout", args);
|
| - |
|
2539 |
}
|
| - |
|
2540 |
|
| - |
|
2541 |
public Map<Integer,TimeoutSummary> recv_markOrdersAsTimeout() throws TransactionServiceException, org.apache.thrift.TException
|
| - |
|
2542 |
{
|
| - |
|
2543 |
markOrdersAsTimeout_result result = new markOrdersAsTimeout_result();
|
| - |
|
2544 |
receiveBase(result, "markOrdersAsTimeout");
|
| - |
|
2545 |
if (result.isSetSuccess()) {
|
| - |
|
2546 |
return result.success;
|
| - |
|
2547 |
}
|
| - |
|
2548 |
if (result.ex != null) {
|
| - |
|
2549 |
throw result.ex;
|
| - |
|
2550 |
}
|
| - |
|
2551 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrdersAsTimeout failed: unknown result");
|
| - |
|
2552 |
}
|
| - |
|
2553 |
|
| 2521 |
}
|
2554 |
}
|
| 2522 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
2555 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 2523 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
2556 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| 2524 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
2557 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
| 2525 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
2558 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
| Line 4832... |
Line 4865... |
| 4832 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4865 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4833 |
return (new Client(prot)).recv_acceptOrdersForItemId();
|
4866 |
return (new Client(prot)).recv_acceptOrdersForItemId();
|
| 4834 |
}
|
4867 |
}
|
| 4835 |
}
|
4868 |
}
|
| 4836 |
|
4869 |
|
| 4837 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException {
|
4870 |
public void markOrdersAsPORaised(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPORaised_call> resultHandler) throws org.apache.thrift.TException {
|
| 4838 |
checkReady();
|
4871 |
checkReady();
|
| 4839 |
markOrdersAsPORaised_call method_call = new markOrdersAsPORaised_call(vendorId, itemId, quantity, estimate, resultHandler, this, ___protocolFactory, ___transport);
|
4872 |
markOrdersAsPORaised_call method_call = new markOrdersAsPORaised_call(vendorId, itemId, quantity, estimate, isReminder, resultHandler, this, ___protocolFactory, ___transport);
|
| 4840 |
this.___currentMethod = method_call;
|
4873 |
this.___currentMethod = method_call;
|
| 4841 |
___manager.call(method_call);
|
4874 |
___manager.call(method_call);
|
| 4842 |
}
|
4875 |
}
|
| 4843 |
|
4876 |
|
| 4844 |
public static class markOrdersAsPORaised_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4877 |
public static class markOrdersAsPORaised_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4845 |
private long vendorId;
|
4878 |
private long vendorId;
|
| 4846 |
private long itemId;
|
4879 |
private long itemId;
|
| 4847 |
private long quantity;
|
4880 |
private long quantity;
|
| 4848 |
private long estimate;
|
4881 |
private long estimate;
|
| - |
|
4882 |
private boolean isReminder;
|
| 4849 |
public markOrdersAsPORaised_call(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPORaised_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 {
|
4883 |
public markOrdersAsPORaised_call(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsPORaised_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 {
|
| 4850 |
super(client, protocolFactory, transport, resultHandler, false);
|
4884 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4851 |
this.vendorId = vendorId;
|
4885 |
this.vendorId = vendorId;
|
| 4852 |
this.itemId = itemId;
|
4886 |
this.itemId = itemId;
|
| 4853 |
this.quantity = quantity;
|
4887 |
this.quantity = quantity;
|
| 4854 |
this.estimate = estimate;
|
4888 |
this.estimate = estimate;
|
| - |
|
4889 |
this.isReminder = isReminder;
|
| 4855 |
}
|
4890 |
}
|
| 4856 |
|
4891 |
|
| 4857 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4892 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4858 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsPORaised", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4893 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsPORaised", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4859 |
markOrdersAsPORaised_args args = new markOrdersAsPORaised_args();
|
4894 |
markOrdersAsPORaised_args args = new markOrdersAsPORaised_args();
|
| 4860 |
args.setVendorId(vendorId);
|
4895 |
args.setVendorId(vendorId);
|
| 4861 |
args.setItemId(itemId);
|
4896 |
args.setItemId(itemId);
|
| 4862 |
args.setQuantity(quantity);
|
4897 |
args.setQuantity(quantity);
|
| 4863 |
args.setEstimate(estimate);
|
4898 |
args.setEstimate(estimate);
|
| - |
|
4899 |
args.setIsReminder(isReminder);
|
| 4864 |
args.write(prot);
|
4900 |
args.write(prot);
|
| 4865 |
prot.writeMessageEnd();
|
4901 |
prot.writeMessageEnd();
|
| 4866 |
}
|
4902 |
}
|
| 4867 |
|
4903 |
|
| 4868 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
4904 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 4873... |
Line 4909... |
| 4873 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4909 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4874 |
(new Client(prot)).recv_markOrdersAsPORaised();
|
4910 |
(new Client(prot)).recv_markOrdersAsPORaised();
|
| 4875 |
}
|
4911 |
}
|
| 4876 |
}
|
4912 |
}
|
| 4877 |
|
4913 |
|
| 4878 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReversalInitiated_call> resultHandler) throws org.apache.thrift.TException {
|
4914 |
public void markOrdersAsReversalInitiated(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReversalInitiated_call> resultHandler) throws org.apache.thrift.TException {
|
| 4879 |
checkReady();
|
4915 |
checkReady();
|
| 4880 |
markOrdersAsReversalInitiated_call method_call = new markOrdersAsReversalInitiated_call(vendorId, itemId, quantity, estimate, resultHandler, this, ___protocolFactory, ___transport);
|
4916 |
markOrdersAsReversalInitiated_call method_call = new markOrdersAsReversalInitiated_call(vendorId, itemId, quantity, estimate, isReminder, resultHandler, this, ___protocolFactory, ___transport);
|
| 4881 |
this.___currentMethod = method_call;
|
4917 |
this.___currentMethod = method_call;
|
| 4882 |
___manager.call(method_call);
|
4918 |
___manager.call(method_call);
|
| 4883 |
}
|
4919 |
}
|
| 4884 |
|
4920 |
|
| 4885 |
public static class markOrdersAsReversalInitiated_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4921 |
public static class markOrdersAsReversalInitiated_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4886 |
private long vendorId;
|
4922 |
private long vendorId;
|
| 4887 |
private long itemId;
|
4923 |
private long itemId;
|
| 4888 |
private long quantity;
|
4924 |
private long quantity;
|
| 4889 |
private long estimate;
|
4925 |
private long estimate;
|
| - |
|
4926 |
private boolean isReminder;
|
| 4890 |
public markOrdersAsReversalInitiated_call(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReversalInitiated_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 {
|
4927 |
public markOrdersAsReversalInitiated_call(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsReversalInitiated_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 {
|
| 4891 |
super(client, protocolFactory, transport, resultHandler, false);
|
4928 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4892 |
this.vendorId = vendorId;
|
4929 |
this.vendorId = vendorId;
|
| 4893 |
this.itemId = itemId;
|
4930 |
this.itemId = itemId;
|
| 4894 |
this.quantity = quantity;
|
4931 |
this.quantity = quantity;
|
| 4895 |
this.estimate = estimate;
|
4932 |
this.estimate = estimate;
|
| - |
|
4933 |
this.isReminder = isReminder;
|
| 4896 |
}
|
4934 |
}
|
| 4897 |
|
4935 |
|
| 4898 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4936 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4899 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsReversalInitiated", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4937 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsReversalInitiated", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4900 |
markOrdersAsReversalInitiated_args args = new markOrdersAsReversalInitiated_args();
|
4938 |
markOrdersAsReversalInitiated_args args = new markOrdersAsReversalInitiated_args();
|
| 4901 |
args.setVendorId(vendorId);
|
4939 |
args.setVendorId(vendorId);
|
| 4902 |
args.setItemId(itemId);
|
4940 |
args.setItemId(itemId);
|
| 4903 |
args.setQuantity(quantity);
|
4941 |
args.setQuantity(quantity);
|
| 4904 |
args.setEstimate(estimate);
|
4942 |
args.setEstimate(estimate);
|
| - |
|
4943 |
args.setIsReminder(isReminder);
|
| 4905 |
args.write(prot);
|
4944 |
args.write(prot);
|
| 4906 |
prot.writeMessageEnd();
|
4945 |
prot.writeMessageEnd();
|
| 4907 |
}
|
4946 |
}
|
| 4908 |
|
4947 |
|
| 4909 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
4948 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 4914... |
Line 4953... |
| 4914 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4953 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4915 |
(new Client(prot)).recv_markOrdersAsReversalInitiated();
|
4954 |
(new Client(prot)).recv_markOrdersAsReversalInitiated();
|
| 4916 |
}
|
4955 |
}
|
| 4917 |
}
|
4956 |
}
|
| 4918 |
|
4957 |
|
| 4919 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsNotAvailabke_call> resultHandler) throws org.apache.thrift.TException {
|
4958 |
public void markOrdersAsNotAvailabke(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsNotAvailabke_call> resultHandler) throws org.apache.thrift.TException {
|
| 4920 |
checkReady();
|
4959 |
checkReady();
|
| 4921 |
markOrdersAsNotAvailabke_call method_call = new markOrdersAsNotAvailabke_call(vendorId, itemId, quantity, estimate, resultHandler, this, ___protocolFactory, ___transport);
|
4960 |
markOrdersAsNotAvailabke_call method_call = new markOrdersAsNotAvailabke_call(vendorId, itemId, quantity, estimate, isReminder, resultHandler, this, ___protocolFactory, ___transport);
|
| 4922 |
this.___currentMethod = method_call;
|
4961 |
this.___currentMethod = method_call;
|
| 4923 |
___manager.call(method_call);
|
4962 |
___manager.call(method_call);
|
| 4924 |
}
|
4963 |
}
|
| 4925 |
|
4964 |
|
| 4926 |
public static class markOrdersAsNotAvailabke_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4965 |
public static class markOrdersAsNotAvailabke_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4927 |
private long vendorId;
|
4966 |
private long vendorId;
|
| 4928 |
private long itemId;
|
4967 |
private long itemId;
|
| 4929 |
private long quantity;
|
4968 |
private long quantity;
|
| 4930 |
private long estimate;
|
4969 |
private long estimate;
|
| - |
|
4970 |
private boolean isReminder;
|
| 4931 |
public markOrdersAsNotAvailabke_call(long vendorId, long itemId, long quantity, long estimate, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsNotAvailabke_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 {
|
4971 |
public markOrdersAsNotAvailabke_call(long vendorId, long itemId, long quantity, long estimate, boolean isReminder, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsNotAvailabke_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 {
|
| 4932 |
super(client, protocolFactory, transport, resultHandler, false);
|
4972 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4933 |
this.vendorId = vendorId;
|
4973 |
this.vendorId = vendorId;
|
| 4934 |
this.itemId = itemId;
|
4974 |
this.itemId = itemId;
|
| 4935 |
this.quantity = quantity;
|
4975 |
this.quantity = quantity;
|
| 4936 |
this.estimate = estimate;
|
4976 |
this.estimate = estimate;
|
| - |
|
4977 |
this.isReminder = isReminder;
|
| 4937 |
}
|
4978 |
}
|
| 4938 |
|
4979 |
|
| 4939 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4980 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4940 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsNotAvailabke", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4981 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsNotAvailabke", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4941 |
markOrdersAsNotAvailabke_args args = new markOrdersAsNotAvailabke_args();
|
4982 |
markOrdersAsNotAvailabke_args args = new markOrdersAsNotAvailabke_args();
|
| 4942 |
args.setVendorId(vendorId);
|
4983 |
args.setVendorId(vendorId);
|
| 4943 |
args.setItemId(itemId);
|
4984 |
args.setItemId(itemId);
|
| 4944 |
args.setQuantity(quantity);
|
4985 |
args.setQuantity(quantity);
|
| 4945 |
args.setEstimate(estimate);
|
4986 |
args.setEstimate(estimate);
|
| - |
|
4987 |
args.setIsReminder(isReminder);
|
| 4946 |
args.write(prot);
|
4988 |
args.write(prot);
|
| 4947 |
prot.writeMessageEnd();
|
4989 |
prot.writeMessageEnd();
|
| 4948 |
}
|
4990 |
}
|
| 4949 |
|
4991 |
|
| 4950 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
4992 |
public void getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 4955... |
Line 4997... |
| 4955 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4997 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4956 |
(new Client(prot)).recv_markOrdersAsNotAvailabke();
|
4998 |
(new Client(prot)).recv_markOrdersAsNotAvailabke();
|
| 4957 |
}
|
4999 |
}
|
| 4958 |
}
|
5000 |
}
|
| 4959 |
|
5001 |
|
| - |
|
5002 |
public void markOrdersAsTimeout(long vendorId, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsTimeout_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
5003 |
checkReady();
|
| - |
|
5004 |
markOrdersAsTimeout_call method_call = new markOrdersAsTimeout_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
5005 |
this.___currentMethod = method_call;
|
| - |
|
5006 |
___manager.call(method_call);
|
| - |
|
5007 |
}
|
| - |
|
5008 |
|
| - |
|
5009 |
public static class markOrdersAsTimeout_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
5010 |
private long vendorId;
|
| - |
|
5011 |
public markOrdersAsTimeout_call(long vendorId, org.apache.thrift.async.AsyncMethodCallback<markOrdersAsTimeout_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 {
|
| - |
|
5012 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
5013 |
this.vendorId = vendorId;
|
| - |
|
5014 |
}
|
| - |
|
5015 |
|
| - |
|
5016 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
5017 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrdersAsTimeout", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
5018 |
markOrdersAsTimeout_args args = new markOrdersAsTimeout_args();
|
| - |
|
5019 |
args.setVendorId(vendorId);
|
| - |
|
5020 |
args.write(prot);
|
| - |
|
5021 |
prot.writeMessageEnd();
|
| - |
|
5022 |
}
|
| - |
|
5023 |
|
| - |
|
5024 |
public Map<Integer,TimeoutSummary> getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| - |
|
5025 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
5026 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
5027 |
}
|
| - |
|
5028 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
5029 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
5030 |
return (new Client(prot)).recv_markOrdersAsTimeout();
|
| - |
|
5031 |
}
|
| - |
|
5032 |
}
|
| - |
|
5033 |
|
| 4960 |
}
|
5034 |
}
|
| 4961 |
|
5035 |
|
| 4962 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
5036 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
| 4963 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
5037 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
| 4964 |
public Processor(I iface) {
|
5038 |
public Processor(I iface) {
|
| Line 5037... |
Line 5111... |
| 5037 |
processMap.put("updateShipmentAddress", new updateShipmentAddress());
|
5111 |
processMap.put("updateShipmentAddress", new updateShipmentAddress());
|
| 5038 |
processMap.put("acceptOrdersForItemId", new acceptOrdersForItemId());
|
5112 |
processMap.put("acceptOrdersForItemId", new acceptOrdersForItemId());
|
| 5039 |
processMap.put("markOrdersAsPORaised", new markOrdersAsPORaised());
|
5113 |
processMap.put("markOrdersAsPORaised", new markOrdersAsPORaised());
|
| 5040 |
processMap.put("markOrdersAsReversalInitiated", new markOrdersAsReversalInitiated());
|
5114 |
processMap.put("markOrdersAsReversalInitiated", new markOrdersAsReversalInitiated());
|
| 5041 |
processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
|
5115 |
processMap.put("markOrdersAsNotAvailabke", new markOrdersAsNotAvailabke());
|
| - |
|
5116 |
processMap.put("markOrdersAsTimeout", new markOrdersAsTimeout());
|
| 5042 |
return processMap;
|
5117 |
return processMap;
|
| 5043 |
}
|
5118 |
}
|
| 5044 |
|
5119 |
|
| 5045 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
5120 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
| 5046 |
public createTransaction() {
|
5121 |
public createTransaction() {
|
| Line 6343... |
Line 6418... |
| 6343 |
}
|
6418 |
}
|
| 6344 |
|
6419 |
|
| 6345 |
protected markOrdersAsPORaised_result getResult(I iface, markOrdersAsPORaised_args args) throws org.apache.thrift.TException {
|
6420 |
protected markOrdersAsPORaised_result getResult(I iface, markOrdersAsPORaised_args args) throws org.apache.thrift.TException {
|
| 6346 |
markOrdersAsPORaised_result result = new markOrdersAsPORaised_result();
|
6421 |
markOrdersAsPORaised_result result = new markOrdersAsPORaised_result();
|
| 6347 |
try {
|
6422 |
try {
|
| 6348 |
iface.markOrdersAsPORaised(args.vendorId, args.itemId, args.quantity, args.estimate);
|
6423 |
iface.markOrdersAsPORaised(args.vendorId, args.itemId, args.quantity, args.estimate, args.isReminder);
|
| 6349 |
} catch (TransactionServiceException ex) {
|
6424 |
} catch (TransactionServiceException ex) {
|
| 6350 |
result.ex = ex;
|
6425 |
result.ex = ex;
|
| 6351 |
}
|
6426 |
}
|
| 6352 |
return result;
|
6427 |
return result;
|
| 6353 |
}
|
6428 |
}
|
| Line 6363... |
Line 6438... |
| 6363 |
}
|
6438 |
}
|
| 6364 |
|
6439 |
|
| 6365 |
protected markOrdersAsReversalInitiated_result getResult(I iface, markOrdersAsReversalInitiated_args args) throws org.apache.thrift.TException {
|
6440 |
protected markOrdersAsReversalInitiated_result getResult(I iface, markOrdersAsReversalInitiated_args args) throws org.apache.thrift.TException {
|
| 6366 |
markOrdersAsReversalInitiated_result result = new markOrdersAsReversalInitiated_result();
|
6441 |
markOrdersAsReversalInitiated_result result = new markOrdersAsReversalInitiated_result();
|
| 6367 |
try {
|
6442 |
try {
|
| 6368 |
iface.markOrdersAsReversalInitiated(args.vendorId, args.itemId, args.quantity, args.estimate);
|
6443 |
iface.markOrdersAsReversalInitiated(args.vendorId, args.itemId, args.quantity, args.estimate, args.isReminder);
|
| 6369 |
} catch (TransactionServiceException ex) {
|
6444 |
} catch (TransactionServiceException ex) {
|
| 6370 |
result.ex = ex;
|
6445 |
result.ex = ex;
|
| 6371 |
}
|
6446 |
}
|
| 6372 |
return result;
|
6447 |
return result;
|
| 6373 |
}
|
6448 |
}
|
| Line 6383... |
Line 6458... |
| 6383 |
}
|
6458 |
}
|
| 6384 |
|
6459 |
|
| 6385 |
protected markOrdersAsNotAvailabke_result getResult(I iface, markOrdersAsNotAvailabke_args args) throws org.apache.thrift.TException {
|
6460 |
protected markOrdersAsNotAvailabke_result getResult(I iface, markOrdersAsNotAvailabke_args args) throws org.apache.thrift.TException {
|
| 6386 |
markOrdersAsNotAvailabke_result result = new markOrdersAsNotAvailabke_result();
|
6461 |
markOrdersAsNotAvailabke_result result = new markOrdersAsNotAvailabke_result();
|
| 6387 |
try {
|
6462 |
try {
|
| 6388 |
iface.markOrdersAsNotAvailabke(args.vendorId, args.itemId, args.quantity, args.estimate);
|
6463 |
iface.markOrdersAsNotAvailabke(args.vendorId, args.itemId, args.quantity, args.estimate, args.isReminder);
|
| - |
|
6464 |
} catch (TransactionServiceException ex) {
|
| - |
|
6465 |
result.ex = ex;
|
| - |
|
6466 |
}
|
| - |
|
6467 |
return result;
|
| - |
|
6468 |
}
|
| - |
|
6469 |
}
|
| - |
|
6470 |
|
| - |
|
6471 |
private static class markOrdersAsTimeout<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrdersAsTimeout_args> {
|
| - |
|
6472 |
public markOrdersAsTimeout() {
|
| - |
|
6473 |
super("markOrdersAsTimeout");
|
| - |
|
6474 |
}
|
| - |
|
6475 |
|
| - |
|
6476 |
protected markOrdersAsTimeout_args getEmptyArgsInstance() {
|
| - |
|
6477 |
return new markOrdersAsTimeout_args();
|
| - |
|
6478 |
}
|
| - |
|
6479 |
|
| - |
|
6480 |
protected markOrdersAsTimeout_result getResult(I iface, markOrdersAsTimeout_args args) throws org.apache.thrift.TException {
|
| - |
|
6481 |
markOrdersAsTimeout_result result = new markOrdersAsTimeout_result();
|
| - |
|
6482 |
try {
|
| - |
|
6483 |
result.success = iface.markOrdersAsTimeout(args.vendorId);
|
| 6389 |
} catch (TransactionServiceException ex) {
|
6484 |
} catch (TransactionServiceException ex) {
|
| 6390 |
result.ex = ex;
|
6485 |
result.ex = ex;
|
| 6391 |
}
|
6486 |
}
|
| 6392 |
return result;
|
6487 |
return result;
|
| 6393 |
}
|
6488 |
}
|
| Line 55330... |
Line 55425... |
| 55330 |
|
55425 |
|
| 55331 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
55426 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 55332 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
55427 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 55333 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
55428 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 55334 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
55429 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
| - |
|
55430 |
private static final org.apache.thrift.protocol.TField IS_REMINDER_FIELD_DESC = new org.apache.thrift.protocol.TField("isReminder", org.apache.thrift.protocol.TType.BOOL, (short)5);
|
| 55335 |
|
55431 |
|
| 55336 |
private long vendorId; // required
|
55432 |
private long vendorId; // required
|
| 55337 |
private long itemId; // required
|
55433 |
private long itemId; // required
|
| 55338 |
private long quantity; // required
|
55434 |
private long quantity; // required
|
| 55339 |
private long estimate; // required
|
55435 |
private long estimate; // required
|
| - |
|
55436 |
private boolean isReminder; // required
|
| 55340 |
|
55437 |
|
| 55341 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
55438 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 55342 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
55439 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 55343 |
VENDOR_ID((short)1, "vendorId"),
|
55440 |
VENDOR_ID((short)1, "vendorId"),
|
| 55344 |
ITEM_ID((short)2, "itemId"),
|
55441 |
ITEM_ID((short)2, "itemId"),
|
| 55345 |
QUANTITY((short)3, "quantity"),
|
55442 |
QUANTITY((short)3, "quantity"),
|
| 55346 |
ESTIMATE((short)4, "estimate");
|
55443 |
ESTIMATE((short)4, "estimate"),
|
| - |
|
55444 |
IS_REMINDER((short)5, "isReminder");
|
| 55347 |
|
55445 |
|
| 55348 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
55446 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 55349 |
|
55447 |
|
| 55350 |
static {
|
55448 |
static {
|
| 55351 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
55449 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 55364... |
Line 55462... |
| 55364 |
return ITEM_ID;
|
55462 |
return ITEM_ID;
|
| 55365 |
case 3: // QUANTITY
|
55463 |
case 3: // QUANTITY
|
| 55366 |
return QUANTITY;
|
55464 |
return QUANTITY;
|
| 55367 |
case 4: // ESTIMATE
|
55465 |
case 4: // ESTIMATE
|
| 55368 |
return ESTIMATE;
|
55466 |
return ESTIMATE;
|
| - |
|
55467 |
case 5: // IS_REMINDER
|
| - |
|
55468 |
return IS_REMINDER;
|
| 55369 |
default:
|
55469 |
default:
|
| 55370 |
return null;
|
55470 |
return null;
|
| 55371 |
}
|
55471 |
}
|
| 55372 |
}
|
55472 |
}
|
| 55373 |
|
55473 |
|
| Line 55408... |
Line 55508... |
| 55408 |
// isset id assignments
|
55508 |
// isset id assignments
|
| 55409 |
private static final int __VENDORID_ISSET_ID = 0;
|
55509 |
private static final int __VENDORID_ISSET_ID = 0;
|
| 55410 |
private static final int __ITEMID_ISSET_ID = 1;
|
55510 |
private static final int __ITEMID_ISSET_ID = 1;
|
| 55411 |
private static final int __QUANTITY_ISSET_ID = 2;
|
55511 |
private static final int __QUANTITY_ISSET_ID = 2;
|
| 55412 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
55512 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
| - |
|
55513 |
private static final int __ISREMINDER_ISSET_ID = 4;
|
| 55413 |
private BitSet __isset_bit_vector = new BitSet(4);
|
55514 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| 55414 |
|
55515 |
|
| 55415 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
55516 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 55416 |
static {
|
55517 |
static {
|
| 55417 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
55518 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 55418 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
55519 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 55421... |
Line 55522... |
| 55421 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
55522 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 55422 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
55523 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 55423 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
55524 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 55424 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
55525 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 55425 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
55526 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
55527 |
tmpMap.put(_Fields.IS_REMINDER, new org.apache.thrift.meta_data.FieldMetaData("isReminder", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
55528 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 55426 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
55529 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 55427 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsPORaised_args.class, metaDataMap);
|
55530 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsPORaised_args.class, metaDataMap);
|
| 55428 |
}
|
55531 |
}
|
| 55429 |
|
55532 |
|
| 55430 |
public markOrdersAsPORaised_args() {
|
55533 |
public markOrdersAsPORaised_args() {
|
| Line 55432... |
Line 55535... |
| 55432 |
|
55535 |
|
| 55433 |
public markOrdersAsPORaised_args(
|
55536 |
public markOrdersAsPORaised_args(
|
| 55434 |
long vendorId,
|
55537 |
long vendorId,
|
| 55435 |
long itemId,
|
55538 |
long itemId,
|
| 55436 |
long quantity,
|
55539 |
long quantity,
|
| 55437 |
long estimate)
|
55540 |
long estimate,
|
| - |
|
55541 |
boolean isReminder)
|
| 55438 |
{
|
55542 |
{
|
| 55439 |
this();
|
55543 |
this();
|
| 55440 |
this.vendorId = vendorId;
|
55544 |
this.vendorId = vendorId;
|
| 55441 |
setVendorIdIsSet(true);
|
55545 |
setVendorIdIsSet(true);
|
| 55442 |
this.itemId = itemId;
|
55546 |
this.itemId = itemId;
|
| 55443 |
setItemIdIsSet(true);
|
55547 |
setItemIdIsSet(true);
|
| 55444 |
this.quantity = quantity;
|
55548 |
this.quantity = quantity;
|
| 55445 |
setQuantityIsSet(true);
|
55549 |
setQuantityIsSet(true);
|
| 55446 |
this.estimate = estimate;
|
55550 |
this.estimate = estimate;
|
| 55447 |
setEstimateIsSet(true);
|
55551 |
setEstimateIsSet(true);
|
| - |
|
55552 |
this.isReminder = isReminder;
|
| - |
|
55553 |
setIsReminderIsSet(true);
|
| 55448 |
}
|
55554 |
}
|
| 55449 |
|
55555 |
|
| 55450 |
/**
|
55556 |
/**
|
| 55451 |
* Performs a deep copy on <i>other</i>.
|
55557 |
* Performs a deep copy on <i>other</i>.
|
| 55452 |
*/
|
55558 |
*/
|
| Line 55455... |
Line 55561... |
| 55455 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
55561 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 55456 |
this.vendorId = other.vendorId;
|
55562 |
this.vendorId = other.vendorId;
|
| 55457 |
this.itemId = other.itemId;
|
55563 |
this.itemId = other.itemId;
|
| 55458 |
this.quantity = other.quantity;
|
55564 |
this.quantity = other.quantity;
|
| 55459 |
this.estimate = other.estimate;
|
55565 |
this.estimate = other.estimate;
|
| - |
|
55566 |
this.isReminder = other.isReminder;
|
| 55460 |
}
|
55567 |
}
|
| 55461 |
|
55568 |
|
| 55462 |
public markOrdersAsPORaised_args deepCopy() {
|
55569 |
public markOrdersAsPORaised_args deepCopy() {
|
| 55463 |
return new markOrdersAsPORaised_args(this);
|
55570 |
return new markOrdersAsPORaised_args(this);
|
| 55464 |
}
|
55571 |
}
|
| Line 55471... |
Line 55578... |
| 55471 |
this.itemId = 0;
|
55578 |
this.itemId = 0;
|
| 55472 |
setQuantityIsSet(false);
|
55579 |
setQuantityIsSet(false);
|
| 55473 |
this.quantity = 0;
|
55580 |
this.quantity = 0;
|
| 55474 |
setEstimateIsSet(false);
|
55581 |
setEstimateIsSet(false);
|
| 55475 |
this.estimate = 0;
|
55582 |
this.estimate = 0;
|
| - |
|
55583 |
setIsReminderIsSet(false);
|
| - |
|
55584 |
this.isReminder = false;
|
| 55476 |
}
|
55585 |
}
|
| 55477 |
|
55586 |
|
| 55478 |
public long getVendorId() {
|
55587 |
public long getVendorId() {
|
| 55479 |
return this.vendorId;
|
55588 |
return this.vendorId;
|
| 55480 |
}
|
55589 |
}
|
| Line 55561... |
Line 55670... |
| 55561 |
|
55670 |
|
| 55562 |
public void setEstimateIsSet(boolean value) {
|
55671 |
public void setEstimateIsSet(boolean value) {
|
| 55563 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
55672 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
| 55564 |
}
|
55673 |
}
|
| 55565 |
|
55674 |
|
| - |
|
55675 |
public boolean isIsReminder() {
|
| - |
|
55676 |
return this.isReminder;
|
| - |
|
55677 |
}
|
| - |
|
55678 |
|
| - |
|
55679 |
public void setIsReminder(boolean isReminder) {
|
| - |
|
55680 |
this.isReminder = isReminder;
|
| - |
|
55681 |
setIsReminderIsSet(true);
|
| - |
|
55682 |
}
|
| - |
|
55683 |
|
| - |
|
55684 |
public void unsetIsReminder() {
|
| - |
|
55685 |
__isset_bit_vector.clear(__ISREMINDER_ISSET_ID);
|
| - |
|
55686 |
}
|
| - |
|
55687 |
|
| - |
|
55688 |
/** Returns true if field isReminder is set (has been assigned a value) and false otherwise */
|
| - |
|
55689 |
public boolean isSetIsReminder() {
|
| - |
|
55690 |
return __isset_bit_vector.get(__ISREMINDER_ISSET_ID);
|
| - |
|
55691 |
}
|
| - |
|
55692 |
|
| - |
|
55693 |
public void setIsReminderIsSet(boolean value) {
|
| - |
|
55694 |
__isset_bit_vector.set(__ISREMINDER_ISSET_ID, value);
|
| - |
|
55695 |
}
|
| - |
|
55696 |
|
| 55566 |
public void setFieldValue(_Fields field, Object value) {
|
55697 |
public void setFieldValue(_Fields field, Object value) {
|
| 55567 |
switch (field) {
|
55698 |
switch (field) {
|
| 55568 |
case VENDOR_ID:
|
55699 |
case VENDOR_ID:
|
| 55569 |
if (value == null) {
|
55700 |
if (value == null) {
|
| 55570 |
unsetVendorId();
|
55701 |
unsetVendorId();
|
| Line 55595... |
Line 55726... |
| 55595 |
} else {
|
55726 |
} else {
|
| 55596 |
setEstimate((Long)value);
|
55727 |
setEstimate((Long)value);
|
| 55597 |
}
|
55728 |
}
|
| 55598 |
break;
|
55729 |
break;
|
| 55599 |
|
55730 |
|
| - |
|
55731 |
case IS_REMINDER:
|
| - |
|
55732 |
if (value == null) {
|
| - |
|
55733 |
unsetIsReminder();
|
| - |
|
55734 |
} else {
|
| - |
|
55735 |
setIsReminder((Boolean)value);
|
| - |
|
55736 |
}
|
| - |
|
55737 |
break;
|
| - |
|
55738 |
|
| 55600 |
}
|
55739 |
}
|
| 55601 |
}
|
55740 |
}
|
| 55602 |
|
55741 |
|
| 55603 |
public Object getFieldValue(_Fields field) {
|
55742 |
public Object getFieldValue(_Fields field) {
|
| 55604 |
switch (field) {
|
55743 |
switch (field) {
|
| Line 55612... |
Line 55751... |
| 55612 |
return Long.valueOf(getQuantity());
|
55751 |
return Long.valueOf(getQuantity());
|
| 55613 |
|
55752 |
|
| 55614 |
case ESTIMATE:
|
55753 |
case ESTIMATE:
|
| 55615 |
return Long.valueOf(getEstimate());
|
55754 |
return Long.valueOf(getEstimate());
|
| 55616 |
|
55755 |
|
| - |
|
55756 |
case IS_REMINDER:
|
| - |
|
55757 |
return Boolean.valueOf(isIsReminder());
|
| - |
|
55758 |
|
| 55617 |
}
|
55759 |
}
|
| 55618 |
throw new IllegalStateException();
|
55760 |
throw new IllegalStateException();
|
| 55619 |
}
|
55761 |
}
|
| 55620 |
|
55762 |
|
| 55621 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
55763 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 55631... |
Line 55773... |
| 55631 |
return isSetItemId();
|
55773 |
return isSetItemId();
|
| 55632 |
case QUANTITY:
|
55774 |
case QUANTITY:
|
| 55633 |
return isSetQuantity();
|
55775 |
return isSetQuantity();
|
| 55634 |
case ESTIMATE:
|
55776 |
case ESTIMATE:
|
| 55635 |
return isSetEstimate();
|
55777 |
return isSetEstimate();
|
| - |
|
55778 |
case IS_REMINDER:
|
| - |
|
55779 |
return isSetIsReminder();
|
| 55636 |
}
|
55780 |
}
|
| 55637 |
throw new IllegalStateException();
|
55781 |
throw new IllegalStateException();
|
| 55638 |
}
|
55782 |
}
|
| 55639 |
|
55783 |
|
| 55640 |
@Override
|
55784 |
@Override
|
| Line 55684... |
Line 55828... |
| 55684 |
return false;
|
55828 |
return false;
|
| 55685 |
if (this.estimate != that.estimate)
|
55829 |
if (this.estimate != that.estimate)
|
| 55686 |
return false;
|
55830 |
return false;
|
| 55687 |
}
|
55831 |
}
|
| 55688 |
|
55832 |
|
| - |
|
55833 |
boolean this_present_isReminder = true;
|
| - |
|
55834 |
boolean that_present_isReminder = true;
|
| - |
|
55835 |
if (this_present_isReminder || that_present_isReminder) {
|
| - |
|
55836 |
if (!(this_present_isReminder && that_present_isReminder))
|
| - |
|
55837 |
return false;
|
| - |
|
55838 |
if (this.isReminder != that.isReminder)
|
| - |
|
55839 |
return false;
|
| - |
|
55840 |
}
|
| - |
|
55841 |
|
| 55689 |
return true;
|
55842 |
return true;
|
| 55690 |
}
|
55843 |
}
|
| 55691 |
|
55844 |
|
| 55692 |
@Override
|
55845 |
@Override
|
| 55693 |
public int hashCode() {
|
55846 |
public int hashCode() {
|
| Line 55740... |
Line 55893... |
| 55740 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
55893 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
| 55741 |
if (lastComparison != 0) {
|
55894 |
if (lastComparison != 0) {
|
| 55742 |
return lastComparison;
|
55895 |
return lastComparison;
|
| 55743 |
}
|
55896 |
}
|
| 55744 |
}
|
55897 |
}
|
| - |
|
55898 |
lastComparison = Boolean.valueOf(isSetIsReminder()).compareTo(typedOther.isSetIsReminder());
|
| - |
|
55899 |
if (lastComparison != 0) {
|
| - |
|
55900 |
return lastComparison;
|
| - |
|
55901 |
}
|
| - |
|
55902 |
if (isSetIsReminder()) {
|
| - |
|
55903 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReminder, typedOther.isReminder);
|
| - |
|
55904 |
if (lastComparison != 0) {
|
| - |
|
55905 |
return lastComparison;
|
| - |
|
55906 |
}
|
| - |
|
55907 |
}
|
| 55745 |
return 0;
|
55908 |
return 0;
|
| 55746 |
}
|
55909 |
}
|
| 55747 |
|
55910 |
|
| 55748 |
public _Fields fieldForId(int fieldId) {
|
55911 |
public _Fields fieldForId(int fieldId) {
|
| 55749 |
return _Fields.findByThriftId(fieldId);
|
55912 |
return _Fields.findByThriftId(fieldId);
|
| Line 55789... |
Line 55952... |
| 55789 |
setEstimateIsSet(true);
|
55952 |
setEstimateIsSet(true);
|
| 55790 |
} else {
|
55953 |
} else {
|
| 55791 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
55954 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 55792 |
}
|
55955 |
}
|
| 55793 |
break;
|
55956 |
break;
|
| - |
|
55957 |
case 5: // IS_REMINDER
|
| - |
|
55958 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
55959 |
this.isReminder = iprot.readBool();
|
| - |
|
55960 |
setIsReminderIsSet(true);
|
| - |
|
55961 |
} else {
|
| - |
|
55962 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
55963 |
}
|
| - |
|
55964 |
break;
|
| 55794 |
default:
|
55965 |
default:
|
| 55795 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
55966 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 55796 |
}
|
55967 |
}
|
| 55797 |
iprot.readFieldEnd();
|
55968 |
iprot.readFieldEnd();
|
| 55798 |
}
|
55969 |
}
|
| Line 55814... |
Line 55985... |
| 55814 |
oprot.writeI64(this.quantity);
|
55985 |
oprot.writeI64(this.quantity);
|
| 55815 |
oprot.writeFieldEnd();
|
55986 |
oprot.writeFieldEnd();
|
| 55816 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
55987 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
| 55817 |
oprot.writeI64(this.estimate);
|
55988 |
oprot.writeI64(this.estimate);
|
| 55818 |
oprot.writeFieldEnd();
|
55989 |
oprot.writeFieldEnd();
|
| - |
|
55990 |
oprot.writeFieldBegin(IS_REMINDER_FIELD_DESC);
|
| - |
|
55991 |
oprot.writeBool(this.isReminder);
|
| - |
|
55992 |
oprot.writeFieldEnd();
|
| 55819 |
oprot.writeFieldStop();
|
55993 |
oprot.writeFieldStop();
|
| 55820 |
oprot.writeStructEnd();
|
55994 |
oprot.writeStructEnd();
|
| 55821 |
}
|
55995 |
}
|
| 55822 |
|
55996 |
|
| 55823 |
@Override
|
55997 |
@Override
|
| Line 55838... |
Line 56012... |
| 55838 |
first = false;
|
56012 |
first = false;
|
| 55839 |
if (!first) sb.append(", ");
|
56013 |
if (!first) sb.append(", ");
|
| 55840 |
sb.append("estimate:");
|
56014 |
sb.append("estimate:");
|
| 55841 |
sb.append(this.estimate);
|
56015 |
sb.append(this.estimate);
|
| 55842 |
first = false;
|
56016 |
first = false;
|
| - |
|
56017 |
if (!first) sb.append(", ");
|
| - |
|
56018 |
sb.append("isReminder:");
|
| - |
|
56019 |
sb.append(this.isReminder);
|
| - |
|
56020 |
first = false;
|
| 55843 |
sb.append(")");
|
56021 |
sb.append(")");
|
| 55844 |
return sb.toString();
|
56022 |
return sb.toString();
|
| 55845 |
}
|
56023 |
}
|
| 55846 |
|
56024 |
|
| 55847 |
public void validate() throws org.apache.thrift.TException {
|
56025 |
public void validate() throws org.apache.thrift.TException {
|
| Line 56167... |
Line 56345... |
| 56167 |
|
56345 |
|
| 56168 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
56346 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 56169 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
56347 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 56170 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
56348 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 56171 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
56349 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
| - |
|
56350 |
private static final org.apache.thrift.protocol.TField IS_REMINDER_FIELD_DESC = new org.apache.thrift.protocol.TField("isReminder", org.apache.thrift.protocol.TType.BOOL, (short)5);
|
| 56172 |
|
56351 |
|
| 56173 |
private long vendorId; // required
|
56352 |
private long vendorId; // required
|
| 56174 |
private long itemId; // required
|
56353 |
private long itemId; // required
|
| 56175 |
private long quantity; // required
|
56354 |
private long quantity; // required
|
| 56176 |
private long estimate; // required
|
56355 |
private long estimate; // required
|
| - |
|
56356 |
private boolean isReminder; // required
|
| 56177 |
|
56357 |
|
| 56178 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
56358 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 56179 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
56359 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 56180 |
VENDOR_ID((short)1, "vendorId"),
|
56360 |
VENDOR_ID((short)1, "vendorId"),
|
| 56181 |
ITEM_ID((short)2, "itemId"),
|
56361 |
ITEM_ID((short)2, "itemId"),
|
| 56182 |
QUANTITY((short)3, "quantity"),
|
56362 |
QUANTITY((short)3, "quantity"),
|
| 56183 |
ESTIMATE((short)4, "estimate");
|
56363 |
ESTIMATE((short)4, "estimate"),
|
| - |
|
56364 |
IS_REMINDER((short)5, "isReminder");
|
| 56184 |
|
56365 |
|
| 56185 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
56366 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 56186 |
|
56367 |
|
| 56187 |
static {
|
56368 |
static {
|
| 56188 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
56369 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 56201... |
Line 56382... |
| 56201 |
return ITEM_ID;
|
56382 |
return ITEM_ID;
|
| 56202 |
case 3: // QUANTITY
|
56383 |
case 3: // QUANTITY
|
| 56203 |
return QUANTITY;
|
56384 |
return QUANTITY;
|
| 56204 |
case 4: // ESTIMATE
|
56385 |
case 4: // ESTIMATE
|
| 56205 |
return ESTIMATE;
|
56386 |
return ESTIMATE;
|
| - |
|
56387 |
case 5: // IS_REMINDER
|
| - |
|
56388 |
return IS_REMINDER;
|
| 56206 |
default:
|
56389 |
default:
|
| 56207 |
return null;
|
56390 |
return null;
|
| 56208 |
}
|
56391 |
}
|
| 56209 |
}
|
56392 |
}
|
| 56210 |
|
56393 |
|
| Line 56245... |
Line 56428... |
| 56245 |
// isset id assignments
|
56428 |
// isset id assignments
|
| 56246 |
private static final int __VENDORID_ISSET_ID = 0;
|
56429 |
private static final int __VENDORID_ISSET_ID = 0;
|
| 56247 |
private static final int __ITEMID_ISSET_ID = 1;
|
56430 |
private static final int __ITEMID_ISSET_ID = 1;
|
| 56248 |
private static final int __QUANTITY_ISSET_ID = 2;
|
56431 |
private static final int __QUANTITY_ISSET_ID = 2;
|
| 56249 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
56432 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
| - |
|
56433 |
private static final int __ISREMINDER_ISSET_ID = 4;
|
| 56250 |
private BitSet __isset_bit_vector = new BitSet(4);
|
56434 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| 56251 |
|
56435 |
|
| 56252 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
56436 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 56253 |
static {
|
56437 |
static {
|
| 56254 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
56438 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 56255 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
56439 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 56258... |
Line 56442... |
| 56258 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
56442 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 56259 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
56443 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 56260 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
56444 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 56261 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
56445 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 56262 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
56446 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
56447 |
tmpMap.put(_Fields.IS_REMINDER, new org.apache.thrift.meta_data.FieldMetaData("isReminder", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
56448 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 56263 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
56449 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 56264 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReversalInitiated_args.class, metaDataMap);
|
56450 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsReversalInitiated_args.class, metaDataMap);
|
| 56265 |
}
|
56451 |
}
|
| 56266 |
|
56452 |
|
| 56267 |
public markOrdersAsReversalInitiated_args() {
|
56453 |
public markOrdersAsReversalInitiated_args() {
|
| Line 56269... |
Line 56455... |
| 56269 |
|
56455 |
|
| 56270 |
public markOrdersAsReversalInitiated_args(
|
56456 |
public markOrdersAsReversalInitiated_args(
|
| 56271 |
long vendorId,
|
56457 |
long vendorId,
|
| 56272 |
long itemId,
|
56458 |
long itemId,
|
| 56273 |
long quantity,
|
56459 |
long quantity,
|
| 56274 |
long estimate)
|
56460 |
long estimate,
|
| - |
|
56461 |
boolean isReminder)
|
| 56275 |
{
|
56462 |
{
|
| 56276 |
this();
|
56463 |
this();
|
| 56277 |
this.vendorId = vendorId;
|
56464 |
this.vendorId = vendorId;
|
| 56278 |
setVendorIdIsSet(true);
|
56465 |
setVendorIdIsSet(true);
|
| 56279 |
this.itemId = itemId;
|
56466 |
this.itemId = itemId;
|
| 56280 |
setItemIdIsSet(true);
|
56467 |
setItemIdIsSet(true);
|
| 56281 |
this.quantity = quantity;
|
56468 |
this.quantity = quantity;
|
| 56282 |
setQuantityIsSet(true);
|
56469 |
setQuantityIsSet(true);
|
| 56283 |
this.estimate = estimate;
|
56470 |
this.estimate = estimate;
|
| 56284 |
setEstimateIsSet(true);
|
56471 |
setEstimateIsSet(true);
|
| - |
|
56472 |
this.isReminder = isReminder;
|
| - |
|
56473 |
setIsReminderIsSet(true);
|
| 56285 |
}
|
56474 |
}
|
| 56286 |
|
56475 |
|
| 56287 |
/**
|
56476 |
/**
|
| 56288 |
* Performs a deep copy on <i>other</i>.
|
56477 |
* Performs a deep copy on <i>other</i>.
|
| 56289 |
*/
|
56478 |
*/
|
| Line 56292... |
Line 56481... |
| 56292 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
56481 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 56293 |
this.vendorId = other.vendorId;
|
56482 |
this.vendorId = other.vendorId;
|
| 56294 |
this.itemId = other.itemId;
|
56483 |
this.itemId = other.itemId;
|
| 56295 |
this.quantity = other.quantity;
|
56484 |
this.quantity = other.quantity;
|
| 56296 |
this.estimate = other.estimate;
|
56485 |
this.estimate = other.estimate;
|
| - |
|
56486 |
this.isReminder = other.isReminder;
|
| 56297 |
}
|
56487 |
}
|
| 56298 |
|
56488 |
|
| 56299 |
public markOrdersAsReversalInitiated_args deepCopy() {
|
56489 |
public markOrdersAsReversalInitiated_args deepCopy() {
|
| 56300 |
return new markOrdersAsReversalInitiated_args(this);
|
56490 |
return new markOrdersAsReversalInitiated_args(this);
|
| 56301 |
}
|
56491 |
}
|
| Line 56308... |
Line 56498... |
| 56308 |
this.itemId = 0;
|
56498 |
this.itemId = 0;
|
| 56309 |
setQuantityIsSet(false);
|
56499 |
setQuantityIsSet(false);
|
| 56310 |
this.quantity = 0;
|
56500 |
this.quantity = 0;
|
| 56311 |
setEstimateIsSet(false);
|
56501 |
setEstimateIsSet(false);
|
| 56312 |
this.estimate = 0;
|
56502 |
this.estimate = 0;
|
| - |
|
56503 |
setIsReminderIsSet(false);
|
| - |
|
56504 |
this.isReminder = false;
|
| 56313 |
}
|
56505 |
}
|
| 56314 |
|
56506 |
|
| 56315 |
public long getVendorId() {
|
56507 |
public long getVendorId() {
|
| 56316 |
return this.vendorId;
|
56508 |
return this.vendorId;
|
| 56317 |
}
|
56509 |
}
|
| Line 56398... |
Line 56590... |
| 56398 |
|
56590 |
|
| 56399 |
public void setEstimateIsSet(boolean value) {
|
56591 |
public void setEstimateIsSet(boolean value) {
|
| 56400 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
56592 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
| 56401 |
}
|
56593 |
}
|
| 56402 |
|
56594 |
|
| - |
|
56595 |
public boolean isIsReminder() {
|
| - |
|
56596 |
return this.isReminder;
|
| - |
|
56597 |
}
|
| - |
|
56598 |
|
| - |
|
56599 |
public void setIsReminder(boolean isReminder) {
|
| - |
|
56600 |
this.isReminder = isReminder;
|
| - |
|
56601 |
setIsReminderIsSet(true);
|
| - |
|
56602 |
}
|
| - |
|
56603 |
|
| - |
|
56604 |
public void unsetIsReminder() {
|
| - |
|
56605 |
__isset_bit_vector.clear(__ISREMINDER_ISSET_ID);
|
| - |
|
56606 |
}
|
| - |
|
56607 |
|
| - |
|
56608 |
/** Returns true if field isReminder is set (has been assigned a value) and false otherwise */
|
| - |
|
56609 |
public boolean isSetIsReminder() {
|
| - |
|
56610 |
return __isset_bit_vector.get(__ISREMINDER_ISSET_ID);
|
| - |
|
56611 |
}
|
| - |
|
56612 |
|
| - |
|
56613 |
public void setIsReminderIsSet(boolean value) {
|
| - |
|
56614 |
__isset_bit_vector.set(__ISREMINDER_ISSET_ID, value);
|
| - |
|
56615 |
}
|
| - |
|
56616 |
|
| 56403 |
public void setFieldValue(_Fields field, Object value) {
|
56617 |
public void setFieldValue(_Fields field, Object value) {
|
| 56404 |
switch (field) {
|
56618 |
switch (field) {
|
| 56405 |
case VENDOR_ID:
|
56619 |
case VENDOR_ID:
|
| 56406 |
if (value == null) {
|
56620 |
if (value == null) {
|
| 56407 |
unsetVendorId();
|
56621 |
unsetVendorId();
|
| Line 56432... |
Line 56646... |
| 56432 |
} else {
|
56646 |
} else {
|
| 56433 |
setEstimate((Long)value);
|
56647 |
setEstimate((Long)value);
|
| 56434 |
}
|
56648 |
}
|
| 56435 |
break;
|
56649 |
break;
|
| 56436 |
|
56650 |
|
| - |
|
56651 |
case IS_REMINDER:
|
| - |
|
56652 |
if (value == null) {
|
| - |
|
56653 |
unsetIsReminder();
|
| - |
|
56654 |
} else {
|
| - |
|
56655 |
setIsReminder((Boolean)value);
|
| - |
|
56656 |
}
|
| - |
|
56657 |
break;
|
| - |
|
56658 |
|
| 56437 |
}
|
56659 |
}
|
| 56438 |
}
|
56660 |
}
|
| 56439 |
|
56661 |
|
| 56440 |
public Object getFieldValue(_Fields field) {
|
56662 |
public Object getFieldValue(_Fields field) {
|
| 56441 |
switch (field) {
|
56663 |
switch (field) {
|
| Line 56449... |
Line 56671... |
| 56449 |
return Long.valueOf(getQuantity());
|
56671 |
return Long.valueOf(getQuantity());
|
| 56450 |
|
56672 |
|
| 56451 |
case ESTIMATE:
|
56673 |
case ESTIMATE:
|
| 56452 |
return Long.valueOf(getEstimate());
|
56674 |
return Long.valueOf(getEstimate());
|
| 56453 |
|
56675 |
|
| - |
|
56676 |
case IS_REMINDER:
|
| - |
|
56677 |
return Boolean.valueOf(isIsReminder());
|
| - |
|
56678 |
|
| 56454 |
}
|
56679 |
}
|
| 56455 |
throw new IllegalStateException();
|
56680 |
throw new IllegalStateException();
|
| 56456 |
}
|
56681 |
}
|
| 56457 |
|
56682 |
|
| 56458 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
56683 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 56468... |
Line 56693... |
| 56468 |
return isSetItemId();
|
56693 |
return isSetItemId();
|
| 56469 |
case QUANTITY:
|
56694 |
case QUANTITY:
|
| 56470 |
return isSetQuantity();
|
56695 |
return isSetQuantity();
|
| 56471 |
case ESTIMATE:
|
56696 |
case ESTIMATE:
|
| 56472 |
return isSetEstimate();
|
56697 |
return isSetEstimate();
|
| - |
|
56698 |
case IS_REMINDER:
|
| - |
|
56699 |
return isSetIsReminder();
|
| 56473 |
}
|
56700 |
}
|
| 56474 |
throw new IllegalStateException();
|
56701 |
throw new IllegalStateException();
|
| 56475 |
}
|
56702 |
}
|
| 56476 |
|
56703 |
|
| 56477 |
@Override
|
56704 |
@Override
|
| Line 56521... |
Line 56748... |
| 56521 |
return false;
|
56748 |
return false;
|
| 56522 |
if (this.estimate != that.estimate)
|
56749 |
if (this.estimate != that.estimate)
|
| 56523 |
return false;
|
56750 |
return false;
|
| 56524 |
}
|
56751 |
}
|
| 56525 |
|
56752 |
|
| - |
|
56753 |
boolean this_present_isReminder = true;
|
| - |
|
56754 |
boolean that_present_isReminder = true;
|
| - |
|
56755 |
if (this_present_isReminder || that_present_isReminder) {
|
| - |
|
56756 |
if (!(this_present_isReminder && that_present_isReminder))
|
| - |
|
56757 |
return false;
|
| - |
|
56758 |
if (this.isReminder != that.isReminder)
|
| - |
|
56759 |
return false;
|
| - |
|
56760 |
}
|
| - |
|
56761 |
|
| 56526 |
return true;
|
56762 |
return true;
|
| 56527 |
}
|
56763 |
}
|
| 56528 |
|
56764 |
|
| 56529 |
@Override
|
56765 |
@Override
|
| 56530 |
public int hashCode() {
|
56766 |
public int hashCode() {
|
| Line 56577... |
Line 56813... |
| 56577 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
56813 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
| 56578 |
if (lastComparison != 0) {
|
56814 |
if (lastComparison != 0) {
|
| 56579 |
return lastComparison;
|
56815 |
return lastComparison;
|
| 56580 |
}
|
56816 |
}
|
| 56581 |
}
|
56817 |
}
|
| - |
|
56818 |
lastComparison = Boolean.valueOf(isSetIsReminder()).compareTo(typedOther.isSetIsReminder());
|
| - |
|
56819 |
if (lastComparison != 0) {
|
| - |
|
56820 |
return lastComparison;
|
| - |
|
56821 |
}
|
| - |
|
56822 |
if (isSetIsReminder()) {
|
| - |
|
56823 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReminder, typedOther.isReminder);
|
| - |
|
56824 |
if (lastComparison != 0) {
|
| - |
|
56825 |
return lastComparison;
|
| - |
|
56826 |
}
|
| - |
|
56827 |
}
|
| 56582 |
return 0;
|
56828 |
return 0;
|
| 56583 |
}
|
56829 |
}
|
| 56584 |
|
56830 |
|
| 56585 |
public _Fields fieldForId(int fieldId) {
|
56831 |
public _Fields fieldForId(int fieldId) {
|
| 56586 |
return _Fields.findByThriftId(fieldId);
|
56832 |
return _Fields.findByThriftId(fieldId);
|
| Line 56626... |
Line 56872... |
| 56626 |
setEstimateIsSet(true);
|
56872 |
setEstimateIsSet(true);
|
| 56627 |
} else {
|
56873 |
} else {
|
| 56628 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
56874 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 56629 |
}
|
56875 |
}
|
| 56630 |
break;
|
56876 |
break;
|
| - |
|
56877 |
case 5: // IS_REMINDER
|
| - |
|
56878 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
56879 |
this.isReminder = iprot.readBool();
|
| - |
|
56880 |
setIsReminderIsSet(true);
|
| - |
|
56881 |
} else {
|
| - |
|
56882 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
56883 |
}
|
| - |
|
56884 |
break;
|
| 56631 |
default:
|
56885 |
default:
|
| 56632 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
56886 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 56633 |
}
|
56887 |
}
|
| 56634 |
iprot.readFieldEnd();
|
56888 |
iprot.readFieldEnd();
|
| 56635 |
}
|
56889 |
}
|
| Line 56651... |
Line 56905... |
| 56651 |
oprot.writeI64(this.quantity);
|
56905 |
oprot.writeI64(this.quantity);
|
| 56652 |
oprot.writeFieldEnd();
|
56906 |
oprot.writeFieldEnd();
|
| 56653 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
56907 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
| 56654 |
oprot.writeI64(this.estimate);
|
56908 |
oprot.writeI64(this.estimate);
|
| 56655 |
oprot.writeFieldEnd();
|
56909 |
oprot.writeFieldEnd();
|
| - |
|
56910 |
oprot.writeFieldBegin(IS_REMINDER_FIELD_DESC);
|
| - |
|
56911 |
oprot.writeBool(this.isReminder);
|
| - |
|
56912 |
oprot.writeFieldEnd();
|
| 56656 |
oprot.writeFieldStop();
|
56913 |
oprot.writeFieldStop();
|
| 56657 |
oprot.writeStructEnd();
|
56914 |
oprot.writeStructEnd();
|
| 56658 |
}
|
56915 |
}
|
| 56659 |
|
56916 |
|
| 56660 |
@Override
|
56917 |
@Override
|
| Line 56675... |
Line 56932... |
| 56675 |
first = false;
|
56932 |
first = false;
|
| 56676 |
if (!first) sb.append(", ");
|
56933 |
if (!first) sb.append(", ");
|
| 56677 |
sb.append("estimate:");
|
56934 |
sb.append("estimate:");
|
| 56678 |
sb.append(this.estimate);
|
56935 |
sb.append(this.estimate);
|
| 56679 |
first = false;
|
56936 |
first = false;
|
| - |
|
56937 |
if (!first) sb.append(", ");
|
| - |
|
56938 |
sb.append("isReminder:");
|
| - |
|
56939 |
sb.append(this.isReminder);
|
| - |
|
56940 |
first = false;
|
| 56680 |
sb.append(")");
|
56941 |
sb.append(")");
|
| 56681 |
return sb.toString();
|
56942 |
return sb.toString();
|
| 56682 |
}
|
56943 |
}
|
| 56683 |
|
56944 |
|
| 56684 |
public void validate() throws org.apache.thrift.TException {
|
56945 |
public void validate() throws org.apache.thrift.TException {
|
| Line 57004... |
Line 57265... |
| 57004 |
|
57265 |
|
| 57005 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
57266 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 57006 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
57267 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 57007 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
57268 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 57008 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
57269 |
private static final org.apache.thrift.protocol.TField ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("estimate", org.apache.thrift.protocol.TType.I64, (short)4);
|
| - |
|
57270 |
private static final org.apache.thrift.protocol.TField IS_REMINDER_FIELD_DESC = new org.apache.thrift.protocol.TField("isReminder", org.apache.thrift.protocol.TType.BOOL, (short)5);
|
| 57009 |
|
57271 |
|
| 57010 |
private long vendorId; // required
|
57272 |
private long vendorId; // required
|
| 57011 |
private long itemId; // required
|
57273 |
private long itemId; // required
|
| 57012 |
private long quantity; // required
|
57274 |
private long quantity; // required
|
| 57013 |
private long estimate; // required
|
57275 |
private long estimate; // required
|
| - |
|
57276 |
private boolean isReminder; // required
|
| 57014 |
|
57277 |
|
| 57015 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
57278 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 57016 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
57279 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 57017 |
VENDOR_ID((short)1, "vendorId"),
|
57280 |
VENDOR_ID((short)1, "vendorId"),
|
| 57018 |
ITEM_ID((short)2, "itemId"),
|
57281 |
ITEM_ID((short)2, "itemId"),
|
| 57019 |
QUANTITY((short)3, "quantity"),
|
57282 |
QUANTITY((short)3, "quantity"),
|
| 57020 |
ESTIMATE((short)4, "estimate");
|
57283 |
ESTIMATE((short)4, "estimate"),
|
| - |
|
57284 |
IS_REMINDER((short)5, "isReminder");
|
| 57021 |
|
57285 |
|
| 57022 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
57286 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 57023 |
|
57287 |
|
| 57024 |
static {
|
57288 |
static {
|
| 57025 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
57289 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 57038... |
Line 57302... |
| 57038 |
return ITEM_ID;
|
57302 |
return ITEM_ID;
|
| 57039 |
case 3: // QUANTITY
|
57303 |
case 3: // QUANTITY
|
| 57040 |
return QUANTITY;
|
57304 |
return QUANTITY;
|
| 57041 |
case 4: // ESTIMATE
|
57305 |
case 4: // ESTIMATE
|
| 57042 |
return ESTIMATE;
|
57306 |
return ESTIMATE;
|
| - |
|
57307 |
case 5: // IS_REMINDER
|
| - |
|
57308 |
return IS_REMINDER;
|
| 57043 |
default:
|
57309 |
default:
|
| 57044 |
return null;
|
57310 |
return null;
|
| 57045 |
}
|
57311 |
}
|
| 57046 |
}
|
57312 |
}
|
| 57047 |
|
57313 |
|
| Line 57082... |
Line 57348... |
| 57082 |
// isset id assignments
|
57348 |
// isset id assignments
|
| 57083 |
private static final int __VENDORID_ISSET_ID = 0;
|
57349 |
private static final int __VENDORID_ISSET_ID = 0;
|
| 57084 |
private static final int __ITEMID_ISSET_ID = 1;
|
57350 |
private static final int __ITEMID_ISSET_ID = 1;
|
| 57085 |
private static final int __QUANTITY_ISSET_ID = 2;
|
57351 |
private static final int __QUANTITY_ISSET_ID = 2;
|
| 57086 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
57352 |
private static final int __ESTIMATE_ISSET_ID = 3;
|
| - |
|
57353 |
private static final int __ISREMINDER_ISSET_ID = 4;
|
| 57087 |
private BitSet __isset_bit_vector = new BitSet(4);
|
57354 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| 57088 |
|
57355 |
|
| 57089 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
57356 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 57090 |
static {
|
57357 |
static {
|
| 57091 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
57358 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 57092 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
57359 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 57095... |
Line 57362... |
| 57095 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
57362 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 57096 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
57363 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 57097 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
57364 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 57098 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
57365 |
tmpMap.put(_Fields.ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("estimate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 57099 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
57366 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
57367 |
tmpMap.put(_Fields.IS_REMINDER, new org.apache.thrift.meta_data.FieldMetaData("isReminder", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
57368 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 57100 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
57369 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 57101 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsNotAvailabke_args.class, metaDataMap);
|
57370 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsNotAvailabke_args.class, metaDataMap);
|
| 57102 |
}
|
57371 |
}
|
| 57103 |
|
57372 |
|
| 57104 |
public markOrdersAsNotAvailabke_args() {
|
57373 |
public markOrdersAsNotAvailabke_args() {
|
| Line 57106... |
Line 57375... |
| 57106 |
|
57375 |
|
| 57107 |
public markOrdersAsNotAvailabke_args(
|
57376 |
public markOrdersAsNotAvailabke_args(
|
| 57108 |
long vendorId,
|
57377 |
long vendorId,
|
| 57109 |
long itemId,
|
57378 |
long itemId,
|
| 57110 |
long quantity,
|
57379 |
long quantity,
|
| 57111 |
long estimate)
|
57380 |
long estimate,
|
| - |
|
57381 |
boolean isReminder)
|
| 57112 |
{
|
57382 |
{
|
| 57113 |
this();
|
57383 |
this();
|
| 57114 |
this.vendorId = vendorId;
|
57384 |
this.vendorId = vendorId;
|
| 57115 |
setVendorIdIsSet(true);
|
57385 |
setVendorIdIsSet(true);
|
| 57116 |
this.itemId = itemId;
|
57386 |
this.itemId = itemId;
|
| 57117 |
setItemIdIsSet(true);
|
57387 |
setItemIdIsSet(true);
|
| 57118 |
this.quantity = quantity;
|
57388 |
this.quantity = quantity;
|
| 57119 |
setQuantityIsSet(true);
|
57389 |
setQuantityIsSet(true);
|
| 57120 |
this.estimate = estimate;
|
57390 |
this.estimate = estimate;
|
| 57121 |
setEstimateIsSet(true);
|
57391 |
setEstimateIsSet(true);
|
| - |
|
57392 |
this.isReminder = isReminder;
|
| - |
|
57393 |
setIsReminderIsSet(true);
|
| 57122 |
}
|
57394 |
}
|
| 57123 |
|
57395 |
|
| 57124 |
/**
|
57396 |
/**
|
| 57125 |
* Performs a deep copy on <i>other</i>.
|
57397 |
* Performs a deep copy on <i>other</i>.
|
| 57126 |
*/
|
57398 |
*/
|
| Line 57129... |
Line 57401... |
| 57129 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
57401 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 57130 |
this.vendorId = other.vendorId;
|
57402 |
this.vendorId = other.vendorId;
|
| 57131 |
this.itemId = other.itemId;
|
57403 |
this.itemId = other.itemId;
|
| 57132 |
this.quantity = other.quantity;
|
57404 |
this.quantity = other.quantity;
|
| 57133 |
this.estimate = other.estimate;
|
57405 |
this.estimate = other.estimate;
|
| - |
|
57406 |
this.isReminder = other.isReminder;
|
| 57134 |
}
|
57407 |
}
|
| 57135 |
|
57408 |
|
| 57136 |
public markOrdersAsNotAvailabke_args deepCopy() {
|
57409 |
public markOrdersAsNotAvailabke_args deepCopy() {
|
| 57137 |
return new markOrdersAsNotAvailabke_args(this);
|
57410 |
return new markOrdersAsNotAvailabke_args(this);
|
| 57138 |
}
|
57411 |
}
|
| Line 57145... |
Line 57418... |
| 57145 |
this.itemId = 0;
|
57418 |
this.itemId = 0;
|
| 57146 |
setQuantityIsSet(false);
|
57419 |
setQuantityIsSet(false);
|
| 57147 |
this.quantity = 0;
|
57420 |
this.quantity = 0;
|
| 57148 |
setEstimateIsSet(false);
|
57421 |
setEstimateIsSet(false);
|
| 57149 |
this.estimate = 0;
|
57422 |
this.estimate = 0;
|
| - |
|
57423 |
setIsReminderIsSet(false);
|
| - |
|
57424 |
this.isReminder = false;
|
| 57150 |
}
|
57425 |
}
|
| 57151 |
|
57426 |
|
| 57152 |
public long getVendorId() {
|
57427 |
public long getVendorId() {
|
| 57153 |
return this.vendorId;
|
57428 |
return this.vendorId;
|
| 57154 |
}
|
57429 |
}
|
| Line 57235... |
Line 57510... |
| 57235 |
|
57510 |
|
| 57236 |
public void setEstimateIsSet(boolean value) {
|
57511 |
public void setEstimateIsSet(boolean value) {
|
| 57237 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
57512 |
__isset_bit_vector.set(__ESTIMATE_ISSET_ID, value);
|
| 57238 |
}
|
57513 |
}
|
| 57239 |
|
57514 |
|
| - |
|
57515 |
public boolean isIsReminder() {
|
| - |
|
57516 |
return this.isReminder;
|
| - |
|
57517 |
}
|
| - |
|
57518 |
|
| - |
|
57519 |
public void setIsReminder(boolean isReminder) {
|
| - |
|
57520 |
this.isReminder = isReminder;
|
| - |
|
57521 |
setIsReminderIsSet(true);
|
| - |
|
57522 |
}
|
| - |
|
57523 |
|
| - |
|
57524 |
public void unsetIsReminder() {
|
| - |
|
57525 |
__isset_bit_vector.clear(__ISREMINDER_ISSET_ID);
|
| - |
|
57526 |
}
|
| - |
|
57527 |
|
| - |
|
57528 |
/** Returns true if field isReminder is set (has been assigned a value) and false otherwise */
|
| - |
|
57529 |
public boolean isSetIsReminder() {
|
| - |
|
57530 |
return __isset_bit_vector.get(__ISREMINDER_ISSET_ID);
|
| - |
|
57531 |
}
|
| - |
|
57532 |
|
| - |
|
57533 |
public void setIsReminderIsSet(boolean value) {
|
| - |
|
57534 |
__isset_bit_vector.set(__ISREMINDER_ISSET_ID, value);
|
| - |
|
57535 |
}
|
| - |
|
57536 |
|
| 57240 |
public void setFieldValue(_Fields field, Object value) {
|
57537 |
public void setFieldValue(_Fields field, Object value) {
|
| 57241 |
switch (field) {
|
57538 |
switch (field) {
|
| 57242 |
case VENDOR_ID:
|
57539 |
case VENDOR_ID:
|
| 57243 |
if (value == null) {
|
57540 |
if (value == null) {
|
| 57244 |
unsetVendorId();
|
57541 |
unsetVendorId();
|
| Line 57269... |
Line 57566... |
| 57269 |
} else {
|
57566 |
} else {
|
| 57270 |
setEstimate((Long)value);
|
57567 |
setEstimate((Long)value);
|
| 57271 |
}
|
57568 |
}
|
| 57272 |
break;
|
57569 |
break;
|
| 57273 |
|
57570 |
|
| - |
|
57571 |
case IS_REMINDER:
|
| - |
|
57572 |
if (value == null) {
|
| - |
|
57573 |
unsetIsReminder();
|
| - |
|
57574 |
} else {
|
| - |
|
57575 |
setIsReminder((Boolean)value);
|
| - |
|
57576 |
}
|
| - |
|
57577 |
break;
|
| - |
|
57578 |
|
| 57274 |
}
|
57579 |
}
|
| 57275 |
}
|
57580 |
}
|
| 57276 |
|
57581 |
|
| 57277 |
public Object getFieldValue(_Fields field) {
|
57582 |
public Object getFieldValue(_Fields field) {
|
| 57278 |
switch (field) {
|
57583 |
switch (field) {
|
| Line 57286... |
Line 57591... |
| 57286 |
return Long.valueOf(getQuantity());
|
57591 |
return Long.valueOf(getQuantity());
|
| 57287 |
|
57592 |
|
| 57288 |
case ESTIMATE:
|
57593 |
case ESTIMATE:
|
| 57289 |
return Long.valueOf(getEstimate());
|
57594 |
return Long.valueOf(getEstimate());
|
| 57290 |
|
57595 |
|
| - |
|
57596 |
case IS_REMINDER:
|
| - |
|
57597 |
return Boolean.valueOf(isIsReminder());
|
| - |
|
57598 |
|
| 57291 |
}
|
57599 |
}
|
| 57292 |
throw new IllegalStateException();
|
57600 |
throw new IllegalStateException();
|
| 57293 |
}
|
57601 |
}
|
| 57294 |
|
57602 |
|
| 57295 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
57603 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 57305... |
Line 57613... |
| 57305 |
return isSetItemId();
|
57613 |
return isSetItemId();
|
| 57306 |
case QUANTITY:
|
57614 |
case QUANTITY:
|
| 57307 |
return isSetQuantity();
|
57615 |
return isSetQuantity();
|
| 57308 |
case ESTIMATE:
|
57616 |
case ESTIMATE:
|
| 57309 |
return isSetEstimate();
|
57617 |
return isSetEstimate();
|
| - |
|
57618 |
case IS_REMINDER:
|
| - |
|
57619 |
return isSetIsReminder();
|
| 57310 |
}
|
57620 |
}
|
| 57311 |
throw new IllegalStateException();
|
57621 |
throw new IllegalStateException();
|
| 57312 |
}
|
57622 |
}
|
| 57313 |
|
57623 |
|
| 57314 |
@Override
|
57624 |
@Override
|
| Line 57358... |
Line 57668... |
| 57358 |
return false;
|
57668 |
return false;
|
| 57359 |
if (this.estimate != that.estimate)
|
57669 |
if (this.estimate != that.estimate)
|
| 57360 |
return false;
|
57670 |
return false;
|
| 57361 |
}
|
57671 |
}
|
| 57362 |
|
57672 |
|
| - |
|
57673 |
boolean this_present_isReminder = true;
|
| - |
|
57674 |
boolean that_present_isReminder = true;
|
| - |
|
57675 |
if (this_present_isReminder || that_present_isReminder) {
|
| - |
|
57676 |
if (!(this_present_isReminder && that_present_isReminder))
|
| - |
|
57677 |
return false;
|
| - |
|
57678 |
if (this.isReminder != that.isReminder)
|
| - |
|
57679 |
return false;
|
| - |
|
57680 |
}
|
| - |
|
57681 |
|
| 57363 |
return true;
|
57682 |
return true;
|
| 57364 |
}
|
57683 |
}
|
| 57365 |
|
57684 |
|
| 57366 |
@Override
|
57685 |
@Override
|
| 57367 |
public int hashCode() {
|
57686 |
public int hashCode() {
|
| Line 57414... |
Line 57733... |
| 57414 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
57733 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.estimate, typedOther.estimate);
|
| 57415 |
if (lastComparison != 0) {
|
57734 |
if (lastComparison != 0) {
|
| 57416 |
return lastComparison;
|
57735 |
return lastComparison;
|
| 57417 |
}
|
57736 |
}
|
| 57418 |
}
|
57737 |
}
|
| - |
|
57738 |
lastComparison = Boolean.valueOf(isSetIsReminder()).compareTo(typedOther.isSetIsReminder());
|
| - |
|
57739 |
if (lastComparison != 0) {
|
| - |
|
57740 |
return lastComparison;
|
| - |
|
57741 |
}
|
| - |
|
57742 |
if (isSetIsReminder()) {
|
| - |
|
57743 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReminder, typedOther.isReminder);
|
| - |
|
57744 |
if (lastComparison != 0) {
|
| - |
|
57745 |
return lastComparison;
|
| - |
|
57746 |
}
|
| - |
|
57747 |
}
|
| 57419 |
return 0;
|
57748 |
return 0;
|
| 57420 |
}
|
57749 |
}
|
| 57421 |
|
57750 |
|
| 57422 |
public _Fields fieldForId(int fieldId) {
|
57751 |
public _Fields fieldForId(int fieldId) {
|
| 57423 |
return _Fields.findByThriftId(fieldId);
|
57752 |
return _Fields.findByThriftId(fieldId);
|
| Line 57463... |
Line 57792... |
| 57463 |
setEstimateIsSet(true);
|
57792 |
setEstimateIsSet(true);
|
| 57464 |
} else {
|
57793 |
} else {
|
| 57465 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
57794 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 57466 |
}
|
57795 |
}
|
| 57467 |
break;
|
57796 |
break;
|
| - |
|
57797 |
case 5: // IS_REMINDER
|
| - |
|
57798 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
57799 |
this.isReminder = iprot.readBool();
|
| - |
|
57800 |
setIsReminderIsSet(true);
|
| - |
|
57801 |
} else {
|
| - |
|
57802 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
57803 |
}
|
| - |
|
57804 |
break;
|
| 57468 |
default:
|
57805 |
default:
|
| 57469 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
57806 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 57470 |
}
|
57807 |
}
|
| 57471 |
iprot.readFieldEnd();
|
57808 |
iprot.readFieldEnd();
|
| 57472 |
}
|
57809 |
}
|
| Line 57488... |
Line 57825... |
| 57488 |
oprot.writeI64(this.quantity);
|
57825 |
oprot.writeI64(this.quantity);
|
| 57489 |
oprot.writeFieldEnd();
|
57826 |
oprot.writeFieldEnd();
|
| 57490 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
57827 |
oprot.writeFieldBegin(ESTIMATE_FIELD_DESC);
|
| 57491 |
oprot.writeI64(this.estimate);
|
57828 |
oprot.writeI64(this.estimate);
|
| 57492 |
oprot.writeFieldEnd();
|
57829 |
oprot.writeFieldEnd();
|
| - |
|
57830 |
oprot.writeFieldBegin(IS_REMINDER_FIELD_DESC);
|
| - |
|
57831 |
oprot.writeBool(this.isReminder);
|
| - |
|
57832 |
oprot.writeFieldEnd();
|
| 57493 |
oprot.writeFieldStop();
|
57833 |
oprot.writeFieldStop();
|
| 57494 |
oprot.writeStructEnd();
|
57834 |
oprot.writeStructEnd();
|
| 57495 |
}
|
57835 |
}
|
| 57496 |
|
57836 |
|
| 57497 |
@Override
|
57837 |
@Override
|
| Line 57512... |
Line 57852... |
| 57512 |
first = false;
|
57852 |
first = false;
|
| 57513 |
if (!first) sb.append(", ");
|
57853 |
if (!first) sb.append(", ");
|
| 57514 |
sb.append("estimate:");
|
57854 |
sb.append("estimate:");
|
| 57515 |
sb.append(this.estimate);
|
57855 |
sb.append(this.estimate);
|
| 57516 |
first = false;
|
57856 |
first = false;
|
| - |
|
57857 |
if (!first) sb.append(", ");
|
| - |
|
57858 |
sb.append("isReminder:");
|
| - |
|
57859 |
sb.append(this.isReminder);
|
| - |
|
57860 |
first = false;
|
| 57517 |
sb.append(")");
|
57861 |
sb.append(")");
|
| 57518 |
return sb.toString();
|
57862 |
return sb.toString();
|
| 57519 |
}
|
57863 |
}
|
| 57520 |
|
57864 |
|
| 57521 |
public void validate() throws org.apache.thrift.TException {
|
57865 |
public void validate() throws org.apache.thrift.TException {
|
| Line 57806... |
Line 58150... |
| 57806 |
sb.append("ex:");
|
58150 |
sb.append("ex:");
|
| 57807 |
if (this.ex == null) {
|
58151 |
if (this.ex == null) {
|
| 57808 |
sb.append("null");
|
58152 |
sb.append("null");
|
| 57809 |
} else {
|
58153 |
} else {
|
| 57810 |
sb.append(this.ex);
|
58154 |
sb.append(this.ex);
|
| - |
|
58155 |
}
|
| - |
|
58156 |
first = false;
|
| - |
|
58157 |
sb.append(")");
|
| - |
|
58158 |
return sb.toString();
|
| - |
|
58159 |
}
|
| - |
|
58160 |
|
| - |
|
58161 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
58162 |
// check for required fields
|
| - |
|
58163 |
}
|
| - |
|
58164 |
|
| - |
|
58165 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
58166 |
try {
|
| - |
|
58167 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
58168 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
58169 |
throw new java.io.IOException(te);
|
| - |
|
58170 |
}
|
| - |
|
58171 |
}
|
| - |
|
58172 |
|
| - |
|
58173 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
58174 |
try {
|
| - |
|
58175 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
58176 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
58177 |
throw new java.io.IOException(te);
|
| - |
|
58178 |
}
|
| - |
|
58179 |
}
|
| - |
|
58180 |
|
| - |
|
58181 |
}
|
| - |
|
58182 |
|
| - |
|
58183 |
public static class markOrdersAsTimeout_args implements org.apache.thrift.TBase<markOrdersAsTimeout_args, markOrdersAsTimeout_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
58184 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsTimeout_args");
|
| - |
|
58185 |
|
| - |
|
58186 |
private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
58187 |
|
| - |
|
58188 |
private long vendorId; // required
|
| - |
|
58189 |
|
| - |
|
58190 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
58191 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
58192 |
VENDOR_ID((short)1, "vendorId");
|
| - |
|
58193 |
|
| - |
|
58194 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
58195 |
|
| - |
|
58196 |
static {
|
| - |
|
58197 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
58198 |
byName.put(field.getFieldName(), field);
|
| - |
|
58199 |
}
|
| - |
|
58200 |
}
|
| - |
|
58201 |
|
| - |
|
58202 |
/**
|
| - |
|
58203 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
58204 |
*/
|
| - |
|
58205 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
58206 |
switch(fieldId) {
|
| - |
|
58207 |
case 1: // VENDOR_ID
|
| - |
|
58208 |
return VENDOR_ID;
|
| - |
|
58209 |
default:
|
| - |
|
58210 |
return null;
|
| - |
|
58211 |
}
|
| - |
|
58212 |
}
|
| - |
|
58213 |
|
| - |
|
58214 |
/**
|
| - |
|
58215 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
58216 |
* if it is not found.
|
| - |
|
58217 |
*/
|
| - |
|
58218 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
58219 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
58220 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
58221 |
return fields;
|
| - |
|
58222 |
}
|
| - |
|
58223 |
|
| - |
|
58224 |
/**
|
| - |
|
58225 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
58226 |
*/
|
| - |
|
58227 |
public static _Fields findByName(String name) {
|
| - |
|
58228 |
return byName.get(name);
|
| - |
|
58229 |
}
|
| - |
|
58230 |
|
| - |
|
58231 |
private final short _thriftId;
|
| - |
|
58232 |
private final String _fieldName;
|
| - |
|
58233 |
|
| - |
|
58234 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
58235 |
_thriftId = thriftId;
|
| - |
|
58236 |
_fieldName = fieldName;
|
| - |
|
58237 |
}
|
| - |
|
58238 |
|
| - |
|
58239 |
public short getThriftFieldId() {
|
| - |
|
58240 |
return _thriftId;
|
| - |
|
58241 |
}
|
| - |
|
58242 |
|
| - |
|
58243 |
public String getFieldName() {
|
| - |
|
58244 |
return _fieldName;
|
| - |
|
58245 |
}
|
| - |
|
58246 |
}
|
| - |
|
58247 |
|
| - |
|
58248 |
// isset id assignments
|
| - |
|
58249 |
private static final int __VENDORID_ISSET_ID = 0;
|
| - |
|
58250 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| - |
|
58251 |
|
| - |
|
58252 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
58253 |
static {
|
| - |
|
58254 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
58255 |
tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
58256 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
58257 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
58258 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsTimeout_args.class, metaDataMap);
|
| - |
|
58259 |
}
|
| - |
|
58260 |
|
| - |
|
58261 |
public markOrdersAsTimeout_args() {
|
| - |
|
58262 |
}
|
| - |
|
58263 |
|
| - |
|
58264 |
public markOrdersAsTimeout_args(
|
| - |
|
58265 |
long vendorId)
|
| - |
|
58266 |
{
|
| - |
|
58267 |
this();
|
| - |
|
58268 |
this.vendorId = vendorId;
|
| - |
|
58269 |
setVendorIdIsSet(true);
|
| - |
|
58270 |
}
|
| - |
|
58271 |
|
| - |
|
58272 |
/**
|
| - |
|
58273 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
58274 |
*/
|
| - |
|
58275 |
public markOrdersAsTimeout_args(markOrdersAsTimeout_args other) {
|
| - |
|
58276 |
__isset_bit_vector.clear();
|
| - |
|
58277 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
58278 |
this.vendorId = other.vendorId;
|
| - |
|
58279 |
}
|
| - |
|
58280 |
|
| - |
|
58281 |
public markOrdersAsTimeout_args deepCopy() {
|
| - |
|
58282 |
return new markOrdersAsTimeout_args(this);
|
| - |
|
58283 |
}
|
| - |
|
58284 |
|
| - |
|
58285 |
@Override
|
| - |
|
58286 |
public void clear() {
|
| - |
|
58287 |
setVendorIdIsSet(false);
|
| - |
|
58288 |
this.vendorId = 0;
|
| - |
|
58289 |
}
|
| - |
|
58290 |
|
| - |
|
58291 |
public long getVendorId() {
|
| - |
|
58292 |
return this.vendorId;
|
| - |
|
58293 |
}
|
| - |
|
58294 |
|
| - |
|
58295 |
public void setVendorId(long vendorId) {
|
| - |
|
58296 |
this.vendorId = vendorId;
|
| - |
|
58297 |
setVendorIdIsSet(true);
|
| - |
|
58298 |
}
|
| - |
|
58299 |
|
| - |
|
58300 |
public void unsetVendorId() {
|
| - |
|
58301 |
__isset_bit_vector.clear(__VENDORID_ISSET_ID);
|
| - |
|
58302 |
}
|
| - |
|
58303 |
|
| - |
|
58304 |
/** Returns true if field vendorId is set (has been assigned a value) and false otherwise */
|
| - |
|
58305 |
public boolean isSetVendorId() {
|
| - |
|
58306 |
return __isset_bit_vector.get(__VENDORID_ISSET_ID);
|
| - |
|
58307 |
}
|
| - |
|
58308 |
|
| - |
|
58309 |
public void setVendorIdIsSet(boolean value) {
|
| - |
|
58310 |
__isset_bit_vector.set(__VENDORID_ISSET_ID, value);
|
| - |
|
58311 |
}
|
| - |
|
58312 |
|
| - |
|
58313 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
58314 |
switch (field) {
|
| - |
|
58315 |
case VENDOR_ID:
|
| - |
|
58316 |
if (value == null) {
|
| - |
|
58317 |
unsetVendorId();
|
| - |
|
58318 |
} else {
|
| - |
|
58319 |
setVendorId((Long)value);
|
| - |
|
58320 |
}
|
| - |
|
58321 |
break;
|
| - |
|
58322 |
|
| - |
|
58323 |
}
|
| - |
|
58324 |
}
|
| - |
|
58325 |
|
| - |
|
58326 |
public Object getFieldValue(_Fields field) {
|
| - |
|
58327 |
switch (field) {
|
| - |
|
58328 |
case VENDOR_ID:
|
| - |
|
58329 |
return Long.valueOf(getVendorId());
|
| - |
|
58330 |
|
| - |
|
58331 |
}
|
| - |
|
58332 |
throw new IllegalStateException();
|
| - |
|
58333 |
}
|
| - |
|
58334 |
|
| - |
|
58335 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
58336 |
public boolean isSet(_Fields field) {
|
| - |
|
58337 |
if (field == null) {
|
| - |
|
58338 |
throw new IllegalArgumentException();
|
| - |
|
58339 |
}
|
| - |
|
58340 |
|
| - |
|
58341 |
switch (field) {
|
| - |
|
58342 |
case VENDOR_ID:
|
| - |
|
58343 |
return isSetVendorId();
|
| - |
|
58344 |
}
|
| - |
|
58345 |
throw new IllegalStateException();
|
| - |
|
58346 |
}
|
| - |
|
58347 |
|
| - |
|
58348 |
@Override
|
| - |
|
58349 |
public boolean equals(Object that) {
|
| - |
|
58350 |
if (that == null)
|
| - |
|
58351 |
return false;
|
| - |
|
58352 |
if (that instanceof markOrdersAsTimeout_args)
|
| - |
|
58353 |
return this.equals((markOrdersAsTimeout_args)that);
|
| - |
|
58354 |
return false;
|
| - |
|
58355 |
}
|
| - |
|
58356 |
|
| - |
|
58357 |
public boolean equals(markOrdersAsTimeout_args that) {
|
| - |
|
58358 |
if (that == null)
|
| - |
|
58359 |
return false;
|
| - |
|
58360 |
|
| - |
|
58361 |
boolean this_present_vendorId = true;
|
| - |
|
58362 |
boolean that_present_vendorId = true;
|
| - |
|
58363 |
if (this_present_vendorId || that_present_vendorId) {
|
| - |
|
58364 |
if (!(this_present_vendorId && that_present_vendorId))
|
| - |
|
58365 |
return false;
|
| - |
|
58366 |
if (this.vendorId != that.vendorId)
|
| - |
|
58367 |
return false;
|
| - |
|
58368 |
}
|
| - |
|
58369 |
|
| - |
|
58370 |
return true;
|
| - |
|
58371 |
}
|
| - |
|
58372 |
|
| - |
|
58373 |
@Override
|
| - |
|
58374 |
public int hashCode() {
|
| - |
|
58375 |
return 0;
|
| - |
|
58376 |
}
|
| - |
|
58377 |
|
| - |
|
58378 |
public int compareTo(markOrdersAsTimeout_args other) {
|
| - |
|
58379 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
58380 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
58381 |
}
|
| - |
|
58382 |
|
| - |
|
58383 |
int lastComparison = 0;
|
| - |
|
58384 |
markOrdersAsTimeout_args typedOther = (markOrdersAsTimeout_args)other;
|
| - |
|
58385 |
|
| - |
|
58386 |
lastComparison = Boolean.valueOf(isSetVendorId()).compareTo(typedOther.isSetVendorId());
|
| - |
|
58387 |
if (lastComparison != 0) {
|
| - |
|
58388 |
return lastComparison;
|
| - |
|
58389 |
}
|
| - |
|
58390 |
if (isSetVendorId()) {
|
| - |
|
58391 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
|
| - |
|
58392 |
if (lastComparison != 0) {
|
| - |
|
58393 |
return lastComparison;
|
| - |
|
58394 |
}
|
| - |
|
58395 |
}
|
| - |
|
58396 |
return 0;
|
| - |
|
58397 |
}
|
| - |
|
58398 |
|
| - |
|
58399 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
58400 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
58401 |
}
|
| - |
|
58402 |
|
| - |
|
58403 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
58404 |
org.apache.thrift.protocol.TField field;
|
| - |
|
58405 |
iprot.readStructBegin();
|
| - |
|
58406 |
while (true)
|
| - |
|
58407 |
{
|
| - |
|
58408 |
field = iprot.readFieldBegin();
|
| - |
|
58409 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
58410 |
break;
|
| - |
|
58411 |
}
|
| - |
|
58412 |
switch (field.id) {
|
| - |
|
58413 |
case 1: // VENDOR_ID
|
| - |
|
58414 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
58415 |
this.vendorId = iprot.readI64();
|
| - |
|
58416 |
setVendorIdIsSet(true);
|
| - |
|
58417 |
} else {
|
| - |
|
58418 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
58419 |
}
|
| - |
|
58420 |
break;
|
| - |
|
58421 |
default:
|
| - |
|
58422 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
58423 |
}
|
| - |
|
58424 |
iprot.readFieldEnd();
|
| - |
|
58425 |
}
|
| - |
|
58426 |
iprot.readStructEnd();
|
| - |
|
58427 |
validate();
|
| - |
|
58428 |
}
|
| - |
|
58429 |
|
| - |
|
58430 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
58431 |
validate();
|
| - |
|
58432 |
|
| - |
|
58433 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
58434 |
oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
|
| - |
|
58435 |
oprot.writeI64(this.vendorId);
|
| - |
|
58436 |
oprot.writeFieldEnd();
|
| - |
|
58437 |
oprot.writeFieldStop();
|
| - |
|
58438 |
oprot.writeStructEnd();
|
| - |
|
58439 |
}
|
| - |
|
58440 |
|
| - |
|
58441 |
@Override
|
| - |
|
58442 |
public String toString() {
|
| - |
|
58443 |
StringBuilder sb = new StringBuilder("markOrdersAsTimeout_args(");
|
| - |
|
58444 |
boolean first = true;
|
| - |
|
58445 |
|
| - |
|
58446 |
sb.append("vendorId:");
|
| - |
|
58447 |
sb.append(this.vendorId);
|
| - |
|
58448 |
first = false;
|
| - |
|
58449 |
sb.append(")");
|
| - |
|
58450 |
return sb.toString();
|
| - |
|
58451 |
}
|
| - |
|
58452 |
|
| - |
|
58453 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
58454 |
// check for required fields
|
| - |
|
58455 |
}
|
| - |
|
58456 |
|
| - |
|
58457 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
58458 |
try {
|
| - |
|
58459 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
58460 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
58461 |
throw new java.io.IOException(te);
|
| - |
|
58462 |
}
|
| - |
|
58463 |
}
|
| - |
|
58464 |
|
| - |
|
58465 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
58466 |
try {
|
| - |
|
58467 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
58468 |
__isset_bit_vector = new BitSet(1);
|
| - |
|
58469 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
58470 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
58471 |
throw new java.io.IOException(te);
|
| - |
|
58472 |
}
|
| - |
|
58473 |
}
|
| - |
|
58474 |
|
| - |
|
58475 |
}
|
| - |
|
58476 |
|
| - |
|
58477 |
public static class markOrdersAsTimeout_result implements org.apache.thrift.TBase<markOrdersAsTimeout_result, markOrdersAsTimeout_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
58478 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrdersAsTimeout_result");
|
| - |
|
58479 |
|
| - |
|
58480 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
|
| - |
|
58481 |
private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| - |
|
58482 |
|
| - |
|
58483 |
private Map<Integer,TimeoutSummary> success; // required
|
| - |
|
58484 |
private TransactionServiceException ex; // required
|
| - |
|
58485 |
|
| - |
|
58486 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
58487 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
58488 |
SUCCESS((short)0, "success"),
|
| - |
|
58489 |
EX((short)1, "ex");
|
| - |
|
58490 |
|
| - |
|
58491 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
58492 |
|
| - |
|
58493 |
static {
|
| - |
|
58494 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
58495 |
byName.put(field.getFieldName(), field);
|
| - |
|
58496 |
}
|
| - |
|
58497 |
}
|
| - |
|
58498 |
|
| - |
|
58499 |
/**
|
| - |
|
58500 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
58501 |
*/
|
| - |
|
58502 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
58503 |
switch(fieldId) {
|
| - |
|
58504 |
case 0: // SUCCESS
|
| - |
|
58505 |
return SUCCESS;
|
| - |
|
58506 |
case 1: // EX
|
| - |
|
58507 |
return EX;
|
| - |
|
58508 |
default:
|
| - |
|
58509 |
return null;
|
| - |
|
58510 |
}
|
| - |
|
58511 |
}
|
| - |
|
58512 |
|
| - |
|
58513 |
/**
|
| - |
|
58514 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
58515 |
* if it is not found.
|
| - |
|
58516 |
*/
|
| - |
|
58517 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
58518 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
58519 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
58520 |
return fields;
|
| - |
|
58521 |
}
|
| - |
|
58522 |
|
| - |
|
58523 |
/**
|
| - |
|
58524 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
58525 |
*/
|
| - |
|
58526 |
public static _Fields findByName(String name) {
|
| - |
|
58527 |
return byName.get(name);
|
| - |
|
58528 |
}
|
| - |
|
58529 |
|
| - |
|
58530 |
private final short _thriftId;
|
| - |
|
58531 |
private final String _fieldName;
|
| - |
|
58532 |
|
| - |
|
58533 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
58534 |
_thriftId = thriftId;
|
| - |
|
58535 |
_fieldName = fieldName;
|
| - |
|
58536 |
}
|
| - |
|
58537 |
|
| - |
|
58538 |
public short getThriftFieldId() {
|
| - |
|
58539 |
return _thriftId;
|
| - |
|
58540 |
}
|
| - |
|
58541 |
|
| - |
|
58542 |
public String getFieldName() {
|
| - |
|
58543 |
return _fieldName;
|
| - |
|
58544 |
}
|
| - |
|
58545 |
}
|
| - |
|
58546 |
|
| - |
|
58547 |
// isset id assignments
|
| - |
|
58548 |
|
| - |
|
58549 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
58550 |
static {
|
| - |
|
58551 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
58552 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
58553 |
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
| - |
|
58554 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32),
|
| - |
|
58555 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TimeoutSummary.class))));
|
| - |
|
58556 |
tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
58557 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| - |
|
58558 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
58559 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrdersAsTimeout_result.class, metaDataMap);
|
| - |
|
58560 |
}
|
| - |
|
58561 |
|
| - |
|
58562 |
public markOrdersAsTimeout_result() {
|
| - |
|
58563 |
}
|
| - |
|
58564 |
|
| - |
|
58565 |
public markOrdersAsTimeout_result(
|
| - |
|
58566 |
Map<Integer,TimeoutSummary> success,
|
| - |
|
58567 |
TransactionServiceException ex)
|
| - |
|
58568 |
{
|
| - |
|
58569 |
this();
|
| - |
|
58570 |
this.success = success;
|
| - |
|
58571 |
this.ex = ex;
|
| - |
|
58572 |
}
|
| - |
|
58573 |
|
| - |
|
58574 |
/**
|
| - |
|
58575 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
58576 |
*/
|
| - |
|
58577 |
public markOrdersAsTimeout_result(markOrdersAsTimeout_result other) {
|
| - |
|
58578 |
if (other.isSetSuccess()) {
|
| - |
|
58579 |
Map<Integer,TimeoutSummary> __this__success = new HashMap<Integer,TimeoutSummary>();
|
| - |
|
58580 |
for (Map.Entry<Integer, TimeoutSummary> other_element : other.success.entrySet()) {
|
| - |
|
58581 |
|
| - |
|
58582 |
Integer other_element_key = other_element.getKey();
|
| - |
|
58583 |
TimeoutSummary other_element_value = other_element.getValue();
|
| - |
|
58584 |
|
| - |
|
58585 |
Integer __this__success_copy_key = other_element_key;
|
| - |
|
58586 |
|
| - |
|
58587 |
TimeoutSummary __this__success_copy_value = new TimeoutSummary(other_element_value);
|
| - |
|
58588 |
|
| - |
|
58589 |
__this__success.put(__this__success_copy_key, __this__success_copy_value);
|
| - |
|
58590 |
}
|
| - |
|
58591 |
this.success = __this__success;
|
| - |
|
58592 |
}
|
| - |
|
58593 |
if (other.isSetEx()) {
|
| - |
|
58594 |
this.ex = new TransactionServiceException(other.ex);
|
| - |
|
58595 |
}
|
| - |
|
58596 |
}
|
| - |
|
58597 |
|
| - |
|
58598 |
public markOrdersAsTimeout_result deepCopy() {
|
| - |
|
58599 |
return new markOrdersAsTimeout_result(this);
|
| - |
|
58600 |
}
|
| - |
|
58601 |
|
| - |
|
58602 |
@Override
|
| - |
|
58603 |
public void clear() {
|
| - |
|
58604 |
this.success = null;
|
| - |
|
58605 |
this.ex = null;
|
| - |
|
58606 |
}
|
| - |
|
58607 |
|
| - |
|
58608 |
public int getSuccessSize() {
|
| - |
|
58609 |
return (this.success == null) ? 0 : this.success.size();
|
| - |
|
58610 |
}
|
| - |
|
58611 |
|
| - |
|
58612 |
public void putToSuccess(int key, TimeoutSummary val) {
|
| - |
|
58613 |
if (this.success == null) {
|
| - |
|
58614 |
this.success = new HashMap<Integer,TimeoutSummary>();
|
| - |
|
58615 |
}
|
| - |
|
58616 |
this.success.put(key, val);
|
| - |
|
58617 |
}
|
| - |
|
58618 |
|
| - |
|
58619 |
public Map<Integer,TimeoutSummary> getSuccess() {
|
| - |
|
58620 |
return this.success;
|
| - |
|
58621 |
}
|
| - |
|
58622 |
|
| - |
|
58623 |
public void setSuccess(Map<Integer,TimeoutSummary> success) {
|
| - |
|
58624 |
this.success = success;
|
| - |
|
58625 |
}
|
| - |
|
58626 |
|
| - |
|
58627 |
public void unsetSuccess() {
|
| - |
|
58628 |
this.success = null;
|
| - |
|
58629 |
}
|
| - |
|
58630 |
|
| - |
|
58631 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
58632 |
public boolean isSetSuccess() {
|
| - |
|
58633 |
return this.success != null;
|
| - |
|
58634 |
}
|
| - |
|
58635 |
|
| - |
|
58636 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
58637 |
if (!value) {
|
| - |
|
58638 |
this.success = null;
|
| - |
|
58639 |
}
|
| - |
|
58640 |
}
|
| - |
|
58641 |
|
| - |
|
58642 |
public TransactionServiceException getEx() {
|
| - |
|
58643 |
return this.ex;
|
| - |
|
58644 |
}
|
| - |
|
58645 |
|
| - |
|
58646 |
public void setEx(TransactionServiceException ex) {
|
| - |
|
58647 |
this.ex = ex;
|
| - |
|
58648 |
}
|
| - |
|
58649 |
|
| - |
|
58650 |
public void unsetEx() {
|
| - |
|
58651 |
this.ex = null;
|
| - |
|
58652 |
}
|
| - |
|
58653 |
|
| - |
|
58654 |
/** Returns true if field ex is set (has been assigned a value) and false otherwise */
|
| - |
|
58655 |
public boolean isSetEx() {
|
| - |
|
58656 |
return this.ex != null;
|
| - |
|
58657 |
}
|
| - |
|
58658 |
|
| - |
|
58659 |
public void setExIsSet(boolean value) {
|
| - |
|
58660 |
if (!value) {
|
| - |
|
58661 |
this.ex = null;
|
| - |
|
58662 |
}
|
| - |
|
58663 |
}
|
| - |
|
58664 |
|
| - |
|
58665 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
58666 |
switch (field) {
|
| - |
|
58667 |
case SUCCESS:
|
| - |
|
58668 |
if (value == null) {
|
| - |
|
58669 |
unsetSuccess();
|
| - |
|
58670 |
} else {
|
| - |
|
58671 |
setSuccess((Map<Integer,TimeoutSummary>)value);
|
| - |
|
58672 |
}
|
| - |
|
58673 |
break;
|
| - |
|
58674 |
|
| - |
|
58675 |
case EX:
|
| - |
|
58676 |
if (value == null) {
|
| - |
|
58677 |
unsetEx();
|
| - |
|
58678 |
} else {
|
| - |
|
58679 |
setEx((TransactionServiceException)value);
|
| - |
|
58680 |
}
|
| - |
|
58681 |
break;
|
| - |
|
58682 |
|
| - |
|
58683 |
}
|
| - |
|
58684 |
}
|
| - |
|
58685 |
|
| - |
|
58686 |
public Object getFieldValue(_Fields field) {
|
| - |
|
58687 |
switch (field) {
|
| - |
|
58688 |
case SUCCESS:
|
| - |
|
58689 |
return getSuccess();
|
| - |
|
58690 |
|
| - |
|
58691 |
case EX:
|
| - |
|
58692 |
return getEx();
|
| - |
|
58693 |
|
| - |
|
58694 |
}
|
| - |
|
58695 |
throw new IllegalStateException();
|
| - |
|
58696 |
}
|
| - |
|
58697 |
|
| - |
|
58698 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
58699 |
public boolean isSet(_Fields field) {
|
| - |
|
58700 |
if (field == null) {
|
| - |
|
58701 |
throw new IllegalArgumentException();
|
| - |
|
58702 |
}
|
| - |
|
58703 |
|
| - |
|
58704 |
switch (field) {
|
| - |
|
58705 |
case SUCCESS:
|
| - |
|
58706 |
return isSetSuccess();
|
| - |
|
58707 |
case EX:
|
| - |
|
58708 |
return isSetEx();
|
| - |
|
58709 |
}
|
| - |
|
58710 |
throw new IllegalStateException();
|
| - |
|
58711 |
}
|
| - |
|
58712 |
|
| - |
|
58713 |
@Override
|
| - |
|
58714 |
public boolean equals(Object that) {
|
| - |
|
58715 |
if (that == null)
|
| - |
|
58716 |
return false;
|
| - |
|
58717 |
if (that instanceof markOrdersAsTimeout_result)
|
| - |
|
58718 |
return this.equals((markOrdersAsTimeout_result)that);
|
| - |
|
58719 |
return false;
|
| - |
|
58720 |
}
|
| - |
|
58721 |
|
| - |
|
58722 |
public boolean equals(markOrdersAsTimeout_result that) {
|
| - |
|
58723 |
if (that == null)
|
| - |
|
58724 |
return false;
|
| - |
|
58725 |
|
| - |
|
58726 |
boolean this_present_success = true && this.isSetSuccess();
|
| - |
|
58727 |
boolean that_present_success = true && that.isSetSuccess();
|
| - |
|
58728 |
if (this_present_success || that_present_success) {
|
| - |
|
58729 |
if (!(this_present_success && that_present_success))
|
| - |
|
58730 |
return false;
|
| - |
|
58731 |
if (!this.success.equals(that.success))
|
| - |
|
58732 |
return false;
|
| - |
|
58733 |
}
|
| - |
|
58734 |
|
| - |
|
58735 |
boolean this_present_ex = true && this.isSetEx();
|
| - |
|
58736 |
boolean that_present_ex = true && that.isSetEx();
|
| - |
|
58737 |
if (this_present_ex || that_present_ex) {
|
| - |
|
58738 |
if (!(this_present_ex && that_present_ex))
|
| - |
|
58739 |
return false;
|
| - |
|
58740 |
if (!this.ex.equals(that.ex))
|
| - |
|
58741 |
return false;
|
| - |
|
58742 |
}
|
| - |
|
58743 |
|
| - |
|
58744 |
return true;
|
| - |
|
58745 |
}
|
| - |
|
58746 |
|
| - |
|
58747 |
@Override
|
| - |
|
58748 |
public int hashCode() {
|
| - |
|
58749 |
return 0;
|
| - |
|
58750 |
}
|
| - |
|
58751 |
|
| - |
|
58752 |
public int compareTo(markOrdersAsTimeout_result other) {
|
| - |
|
58753 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
58754 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
58755 |
}
|
| - |
|
58756 |
|
| - |
|
58757 |
int lastComparison = 0;
|
| - |
|
58758 |
markOrdersAsTimeout_result typedOther = (markOrdersAsTimeout_result)other;
|
| - |
|
58759 |
|
| - |
|
58760 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
58761 |
if (lastComparison != 0) {
|
| - |
|
58762 |
return lastComparison;
|
| - |
|
58763 |
}
|
| - |
|
58764 |
if (isSetSuccess()) {
|
| - |
|
58765 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
58766 |
if (lastComparison != 0) {
|
| - |
|
58767 |
return lastComparison;
|
| - |
|
58768 |
}
|
| - |
|
58769 |
}
|
| - |
|
58770 |
lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
|
| - |
|
58771 |
if (lastComparison != 0) {
|
| - |
|
58772 |
return lastComparison;
|
| - |
|
58773 |
}
|
| - |
|
58774 |
if (isSetEx()) {
|
| - |
|
58775 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
|
| - |
|
58776 |
if (lastComparison != 0) {
|
| - |
|
58777 |
return lastComparison;
|
| - |
|
58778 |
}
|
| - |
|
58779 |
}
|
| - |
|
58780 |
return 0;
|
| - |
|
58781 |
}
|
| - |
|
58782 |
|
| - |
|
58783 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
58784 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
58785 |
}
|
| - |
|
58786 |
|
| - |
|
58787 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
58788 |
org.apache.thrift.protocol.TField field;
|
| - |
|
58789 |
iprot.readStructBegin();
|
| - |
|
58790 |
while (true)
|
| - |
|
58791 |
{
|
| - |
|
58792 |
field = iprot.readFieldBegin();
|
| - |
|
58793 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
58794 |
break;
|
| - |
|
58795 |
}
|
| - |
|
58796 |
switch (field.id) {
|
| - |
|
58797 |
case 0: // SUCCESS
|
| - |
|
58798 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
| - |
|
58799 |
{
|
| - |
|
58800 |
org.apache.thrift.protocol.TMap _map148 = iprot.readMapBegin();
|
| - |
|
58801 |
this.success = new HashMap<Integer,TimeoutSummary>(2*_map148.size);
|
| - |
|
58802 |
for (int _i149 = 0; _i149 < _map148.size; ++_i149)
|
| - |
|
58803 |
{
|
| - |
|
58804 |
int _key150; // required
|
| - |
|
58805 |
TimeoutSummary _val151; // required
|
| - |
|
58806 |
_key150 = iprot.readI32();
|
| - |
|
58807 |
_val151 = new TimeoutSummary();
|
| - |
|
58808 |
_val151.read(iprot);
|
| - |
|
58809 |
this.success.put(_key150, _val151);
|
| - |
|
58810 |
}
|
| - |
|
58811 |
iprot.readMapEnd();
|
| - |
|
58812 |
}
|
| - |
|
58813 |
} else {
|
| - |
|
58814 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
58815 |
}
|
| - |
|
58816 |
break;
|
| - |
|
58817 |
case 1: // EX
|
| - |
|
58818 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
58819 |
this.ex = new TransactionServiceException();
|
| - |
|
58820 |
this.ex.read(iprot);
|
| - |
|
58821 |
} else {
|
| - |
|
58822 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
58823 |
}
|
| - |
|
58824 |
break;
|
| - |
|
58825 |
default:
|
| - |
|
58826 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
58827 |
}
|
| - |
|
58828 |
iprot.readFieldEnd();
|
| - |
|
58829 |
}
|
| - |
|
58830 |
iprot.readStructEnd();
|
| - |
|
58831 |
validate();
|
| - |
|
58832 |
}
|
| - |
|
58833 |
|
| - |
|
58834 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
58835 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
58836 |
|
| - |
|
58837 |
if (this.isSetSuccess()) {
|
| - |
|
58838 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
58839 |
{
|
| - |
|
58840 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
|
| - |
|
58841 |
for (Map.Entry<Integer, TimeoutSummary> _iter152 : this.success.entrySet())
|
| - |
|
58842 |
{
|
| - |
|
58843 |
oprot.writeI32(_iter152.getKey());
|
| - |
|
58844 |
_iter152.getValue().write(oprot);
|
| - |
|
58845 |
}
|
| - |
|
58846 |
oprot.writeMapEnd();
|
| - |
|
58847 |
}
|
| - |
|
58848 |
oprot.writeFieldEnd();
|
| - |
|
58849 |
} else if (this.isSetEx()) {
|
| - |
|
58850 |
oprot.writeFieldBegin(EX_FIELD_DESC);
|
| - |
|
58851 |
this.ex.write(oprot);
|
| - |
|
58852 |
oprot.writeFieldEnd();
|
| - |
|
58853 |
}
|
| - |
|
58854 |
oprot.writeFieldStop();
|
| - |
|
58855 |
oprot.writeStructEnd();
|
| - |
|
58856 |
}
|
| - |
|
58857 |
|
| - |
|
58858 |
@Override
|
| - |
|
58859 |
public String toString() {
|
| - |
|
58860 |
StringBuilder sb = new StringBuilder("markOrdersAsTimeout_result(");
|
| - |
|
58861 |
boolean first = true;
|
| - |
|
58862 |
|
| - |
|
58863 |
sb.append("success:");
|
| - |
|
58864 |
if (this.success == null) {
|
| - |
|
58865 |
sb.append("null");
|
| - |
|
58866 |
} else {
|
| - |
|
58867 |
sb.append(this.success);
|
| - |
|
58868 |
}
|
| - |
|
58869 |
first = false;
|
| - |
|
58870 |
if (!first) sb.append(", ");
|
| - |
|
58871 |
sb.append("ex:");
|
| - |
|
58872 |
if (this.ex == null) {
|
| - |
|
58873 |
sb.append("null");
|
| - |
|
58874 |
} else {
|
| - |
|
58875 |
sb.append(this.ex);
|
| 57811 |
}
|
58876 |
}
|
| 57812 |
first = false;
|
58877 |
first = false;
|
| 57813 |
sb.append(")");
|
58878 |
sb.append(")");
|
| 57814 |
return sb.toString();
|
58879 |
return sb.toString();
|
| 57815 |
}
|
58880 |
}
|