| Line 983... |
Line 983... |
| 983 |
|
983 |
|
| 984 |
public List<AmazonOrdersToAcknowledge> getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException;
|
984 |
public List<AmazonOrdersToAcknowledge> getAmazonOrdersToAcknowledge() throws org.apache.thrift.TException;
|
| 985 |
|
985 |
|
| 986 |
public void changeAmazonOrderStatus(String amazonOrderCode, String status) throws org.apache.thrift.TException;
|
986 |
public void changeAmazonOrderStatus(String amazonOrderCode, String status) throws org.apache.thrift.TException;
|
| 987 |
|
987 |
|
| - |
|
988 |
public boolean updateTimestampForAmazonOrder(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping) throws org.apache.thrift.TException;
|
| - |
|
989 |
|
| 988 |
}
|
990 |
}
|
| 989 |
|
991 |
|
| 990 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
992 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 991 |
|
993 |
|
| 992 |
public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
994 |
public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 1359... |
Line 1361... |
| 1359 |
|
1361 |
|
| 1360 |
public void getAmazonOrdersToAcknowledge(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersToAcknowledge_call> resultHandler) throws org.apache.thrift.TException;
|
1362 |
public void getAmazonOrdersToAcknowledge(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersToAcknowledge_call> resultHandler) throws org.apache.thrift.TException;
|
| 1361 |
|
1363 |
|
| 1362 |
public void changeAmazonOrderStatus(String amazonOrderCode, String status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeAmazonOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
|
1364 |
public void changeAmazonOrderStatus(String amazonOrderCode, String status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeAmazonOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 1363 |
|
1365 |
|
| - |
|
1366 |
public void updateTimestampForAmazonOrder(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateTimestampForAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
1367 |
|
| 1364 |
}
|
1368 |
}
|
| 1365 |
|
1369 |
|
| 1366 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
1370 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 1367 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
1371 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| 1368 |
public Factory() {}
|
1372 |
public Factory() {}
|
| Line 6015... |
Line 6019... |
| 6015 |
changeAmazonOrderStatus_result result = new changeAmazonOrderStatus_result();
|
6019 |
changeAmazonOrderStatus_result result = new changeAmazonOrderStatus_result();
|
| 6016 |
receiveBase(result, "changeAmazonOrderStatus");
|
6020 |
receiveBase(result, "changeAmazonOrderStatus");
|
| 6017 |
return;
|
6021 |
return;
|
| 6018 |
}
|
6022 |
}
|
| 6019 |
|
6023 |
|
| - |
|
6024 |
public boolean updateTimestampForAmazonOrder(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping) throws org.apache.thrift.TException
|
| - |
|
6025 |
{
|
| - |
|
6026 |
send_updateTimestampForAmazonOrder(orderId, expectedDelivery, promisedDelivery, expectedShipping, promisedShipping);
|
| - |
|
6027 |
return recv_updateTimestampForAmazonOrder();
|
| - |
|
6028 |
}
|
| - |
|
6029 |
|
| - |
|
6030 |
public void send_updateTimestampForAmazonOrder(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping) throws org.apache.thrift.TException
|
| - |
|
6031 |
{
|
| - |
|
6032 |
updateTimestampForAmazonOrder_args args = new updateTimestampForAmazonOrder_args();
|
| - |
|
6033 |
args.setOrderId(orderId);
|
| - |
|
6034 |
args.setExpectedDelivery(expectedDelivery);
|
| - |
|
6035 |
args.setPromisedDelivery(promisedDelivery);
|
| - |
|
6036 |
args.setExpectedShipping(expectedShipping);
|
| - |
|
6037 |
args.setPromisedShipping(promisedShipping);
|
| - |
|
6038 |
sendBase("updateTimestampForAmazonOrder", args);
|
| - |
|
6039 |
}
|
| - |
|
6040 |
|
| - |
|
6041 |
public boolean recv_updateTimestampForAmazonOrder() throws org.apache.thrift.TException
|
| - |
|
6042 |
{
|
| - |
|
6043 |
updateTimestampForAmazonOrder_result result = new updateTimestampForAmazonOrder_result();
|
| - |
|
6044 |
receiveBase(result, "updateTimestampForAmazonOrder");
|
| - |
|
6045 |
if (result.isSetSuccess()) {
|
| - |
|
6046 |
return result.success;
|
| - |
|
6047 |
}
|
| - |
|
6048 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateTimestampForAmazonOrder failed: unknown result");
|
| - |
|
6049 |
}
|
| - |
|
6050 |
|
| 6020 |
}
|
6051 |
}
|
| 6021 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
6052 |
public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
|
| 6022 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
6053 |
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
|
| 6023 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
6054 |
private org.apache.thrift.async.TAsyncClientManager clientManager;
|
| 6024 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
6055 |
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
|
| Line 12522... |
Line 12553... |
| 12522 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
12553 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 12523 |
(new Client(prot)).recv_changeAmazonOrderStatus();
|
12554 |
(new Client(prot)).recv_changeAmazonOrderStatus();
|
| 12524 |
}
|
12555 |
}
|
| 12525 |
}
|
12556 |
}
|
| 12526 |
|
12557 |
|
| - |
|
12558 |
public void updateTimestampForAmazonOrder(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping, org.apache.thrift.async.AsyncMethodCallback<updateTimestampForAmazonOrder_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
12559 |
checkReady();
|
| - |
|
12560 |
updateTimestampForAmazonOrder_call method_call = new updateTimestampForAmazonOrder_call(orderId, expectedDelivery, promisedDelivery, expectedShipping, promisedShipping, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
12561 |
this.___currentMethod = method_call;
|
| - |
|
12562 |
___manager.call(method_call);
|
| - |
|
12563 |
}
|
| - |
|
12564 |
|
| - |
|
12565 |
public static class updateTimestampForAmazonOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
12566 |
private long orderId;
|
| - |
|
12567 |
private long expectedDelivery;
|
| - |
|
12568 |
private long promisedDelivery;
|
| - |
|
12569 |
private long expectedShipping;
|
| - |
|
12570 |
private long promisedShipping;
|
| - |
|
12571 |
public updateTimestampForAmazonOrder_call(long orderId, long expectedDelivery, long promisedDelivery, long expectedShipping, long promisedShipping, org.apache.thrift.async.AsyncMethodCallback<updateTimestampForAmazonOrder_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 {
|
| - |
|
12572 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
12573 |
this.orderId = orderId;
|
| - |
|
12574 |
this.expectedDelivery = expectedDelivery;
|
| - |
|
12575 |
this.promisedDelivery = promisedDelivery;
|
| - |
|
12576 |
this.expectedShipping = expectedShipping;
|
| - |
|
12577 |
this.promisedShipping = promisedShipping;
|
| - |
|
12578 |
}
|
| - |
|
12579 |
|
| - |
|
12580 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
12581 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateTimestampForAmazonOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
12582 |
updateTimestampForAmazonOrder_args args = new updateTimestampForAmazonOrder_args();
|
| - |
|
12583 |
args.setOrderId(orderId);
|
| - |
|
12584 |
args.setExpectedDelivery(expectedDelivery);
|
| - |
|
12585 |
args.setPromisedDelivery(promisedDelivery);
|
| - |
|
12586 |
args.setExpectedShipping(expectedShipping);
|
| - |
|
12587 |
args.setPromisedShipping(promisedShipping);
|
| - |
|
12588 |
args.write(prot);
|
| - |
|
12589 |
prot.writeMessageEnd();
|
| - |
|
12590 |
}
|
| - |
|
12591 |
|
| - |
|
12592 |
public boolean getResult() throws org.apache.thrift.TException {
|
| - |
|
12593 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
12594 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
12595 |
}
|
| - |
|
12596 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
12597 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
12598 |
return (new Client(prot)).recv_updateTimestampForAmazonOrder();
|
| - |
|
12599 |
}
|
| - |
|
12600 |
}
|
| - |
|
12601 |
|
| 12527 |
}
|
12602 |
}
|
| 12528 |
|
12603 |
|
| 12529 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
12604 |
public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
|
| 12530 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
12605 |
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
|
| 12531 |
public Processor(I iface) {
|
12606 |
public Processor(I iface) {
|
| Line 12721... |
Line 12796... |
| 12721 |
processMap.put("getAllEdcBanks", new getAllEdcBanks());
|
12796 |
processMap.put("getAllEdcBanks", new getAllEdcBanks());
|
| 12722 |
processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
|
12797 |
processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
|
| 12723 |
processMap.put("getCollectionsForStore", new getCollectionsForStore());
|
12798 |
processMap.put("getCollectionsForStore", new getCollectionsForStore());
|
| 12724 |
processMap.put("getAmazonOrdersToAcknowledge", new getAmazonOrdersToAcknowledge());
|
12799 |
processMap.put("getAmazonOrdersToAcknowledge", new getAmazonOrdersToAcknowledge());
|
| 12725 |
processMap.put("changeAmazonOrderStatus", new changeAmazonOrderStatus());
|
12800 |
processMap.put("changeAmazonOrderStatus", new changeAmazonOrderStatus());
|
| - |
|
12801 |
processMap.put("updateTimestampForAmazonOrder", new updateTimestampForAmazonOrder());
|
| 12726 |
return processMap;
|
12802 |
return processMap;
|
| 12727 |
}
|
12803 |
}
|
| 12728 |
|
12804 |
|
| 12729 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
12805 |
private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
|
| 12730 |
public createTransaction() {
|
12806 |
public createTransaction() {
|
| Line 16137... |
Line 16213... |
| 16137 |
iface.changeAmazonOrderStatus(args.amazonOrderCode, args.status);
|
16213 |
iface.changeAmazonOrderStatus(args.amazonOrderCode, args.status);
|
| 16138 |
return result;
|
16214 |
return result;
|
| 16139 |
}
|
16215 |
}
|
| 16140 |
}
|
16216 |
}
|
| 16141 |
|
16217 |
|
| - |
|
16218 |
private static class updateTimestampForAmazonOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateTimestampForAmazonOrder_args> {
|
| - |
|
16219 |
public updateTimestampForAmazonOrder() {
|
| - |
|
16220 |
super("updateTimestampForAmazonOrder");
|
| - |
|
16221 |
}
|
| - |
|
16222 |
|
| - |
|
16223 |
protected updateTimestampForAmazonOrder_args getEmptyArgsInstance() {
|
| - |
|
16224 |
return new updateTimestampForAmazonOrder_args();
|
| - |
|
16225 |
}
|
| - |
|
16226 |
|
| - |
|
16227 |
protected updateTimestampForAmazonOrder_result getResult(I iface, updateTimestampForAmazonOrder_args args) throws org.apache.thrift.TException {
|
| - |
|
16228 |
updateTimestampForAmazonOrder_result result = new updateTimestampForAmazonOrder_result();
|
| - |
|
16229 |
result.success = iface.updateTimestampForAmazonOrder(args.orderId, args.expectedDelivery, args.promisedDelivery, args.expectedShipping, args.promisedShipping);
|
| - |
|
16230 |
result.setSuccessIsSet(true);
|
| - |
|
16231 |
return result;
|
| - |
|
16232 |
}
|
| - |
|
16233 |
}
|
| - |
|
16234 |
|
| 16142 |
}
|
16235 |
}
|
| 16143 |
|
16236 |
|
| 16144 |
public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable {
|
16237 |
public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable {
|
| 16145 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
|
16238 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
|
| 16146 |
|
16239 |
|
| Line 65278... |
Line 65371... |
| 65278 |
}
|
65371 |
}
|
| 65279 |
}
|
65372 |
}
|
| 65280 |
|
65373 |
|
| 65281 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
65374 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 65282 |
try {
|
65375 |
try {
|
| 65283 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 65284 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 65285 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
65376 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 65286 |
} catch (org.apache.thrift.TException te) {
|
65377 |
} catch (org.apache.thrift.TException te) {
|
| 65287 |
throw new java.io.IOException(te);
|
65378 |
throw new java.io.IOException(te);
|
| 65288 |
}
|
65379 |
}
|
| 65289 |
}
|
65380 |
}
|
| Line 66036... |
Line 66127... |
| 66036 |
}
|
66127 |
}
|
| 66037 |
}
|
66128 |
}
|
| 66038 |
|
66129 |
|
| 66039 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
66130 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 66040 |
try {
|
66131 |
try {
|
| 66041 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 66042 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 66043 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
66132 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 66044 |
} catch (org.apache.thrift.TException te) {
|
66133 |
} catch (org.apache.thrift.TException te) {
|
| 66045 |
throw new java.io.IOException(te);
|
66134 |
throw new java.io.IOException(te);
|
| 66046 |
}
|
66135 |
}
|
| 66047 |
}
|
66136 |
}
|
| Line 66711... |
Line 66800... |
| 66711 |
}
|
66800 |
}
|
| 66712 |
}
|
66801 |
}
|
| 66713 |
|
66802 |
|
| 66714 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
66803 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 66715 |
try {
|
66804 |
try {
|
| 66716 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 66717 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 66718 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
66805 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 66719 |
} catch (org.apache.thrift.TException te) {
|
66806 |
} catch (org.apache.thrift.TException te) {
|
| 66720 |
throw new java.io.IOException(te);
|
66807 |
throw new java.io.IOException(te);
|
| 66721 |
}
|
66808 |
}
|
| 66722 |
}
|
66809 |
}
|
| Line 76053... |
Line 76140... |
| 76053 |
}
|
76140 |
}
|
| 76054 |
}
|
76141 |
}
|
| 76055 |
|
76142 |
|
| 76056 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
76143 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 76057 |
try {
|
76144 |
try {
|
| - |
|
76145 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
76146 |
__isset_bit_vector = new BitSet(1);
|
| 76058 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
76147 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 76059 |
} catch (org.apache.thrift.TException te) {
|
76148 |
} catch (org.apache.thrift.TException te) {
|
| 76060 |
throw new java.io.IOException(te);
|
76149 |
throw new java.io.IOException(te);
|
| 76061 |
}
|
76150 |
}
|
| 76062 |
}
|
76151 |
}
|
| Line 104985... |
Line 105074... |
| 104985 |
}
|
105074 |
}
|
| 104986 |
}
|
105075 |
}
|
| 104987 |
|
105076 |
|
| 104988 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
105077 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 104989 |
try {
|
105078 |
try {
|
| 104990 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 104991 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 104992 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
105079 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 104993 |
} catch (org.apache.thrift.TException te) {
|
105080 |
} catch (org.apache.thrift.TException te) {
|
| 104994 |
throw new java.io.IOException(te);
|
105081 |
throw new java.io.IOException(te);
|
| 104995 |
}
|
105082 |
}
|
| 104996 |
}
|
105083 |
}
|
| Line 149505... |
Line 149592... |
| 149505 |
sb.append(")");
|
149592 |
sb.append(")");
|
| 149506 |
return sb.toString();
|
149593 |
return sb.toString();
|
| 149507 |
}
|
149594 |
}
|
| 149508 |
|
149595 |
|
| 149509 |
public void validate() throws org.apache.thrift.TException {
|
149596 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
149597 |
// check for required fields
|
| - |
|
149598 |
}
|
| - |
|
149599 |
|
| - |
|
149600 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
149601 |
try {
|
| - |
|
149602 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
149603 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
149604 |
throw new java.io.IOException(te);
|
| - |
|
149605 |
}
|
| - |
|
149606 |
}
|
| - |
|
149607 |
|
| - |
|
149608 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
149609 |
try {
|
| - |
|
149610 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
149611 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
149612 |
throw new java.io.IOException(te);
|
| - |
|
149613 |
}
|
| - |
|
149614 |
}
|
| - |
|
149615 |
|
| - |
|
149616 |
}
|
| - |
|
149617 |
|
| - |
|
149618 |
public static class updateTimestampForAmazonOrder_args implements org.apache.thrift.TBase<updateTimestampForAmazonOrder_args, updateTimestampForAmazonOrder_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
149619 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateTimestampForAmazonOrder_args");
|
| - |
|
149620 |
|
| - |
|
149621 |
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
149622 |
private static final org.apache.thrift.protocol.TField EXPECTED_DELIVERY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelivery", org.apache.thrift.protocol.TType.I64, (short)2);
|
| - |
|
149623 |
private static final org.apache.thrift.protocol.TField PROMISED_DELIVERY_FIELD_DESC = new org.apache.thrift.protocol.TField("promisedDelivery", org.apache.thrift.protocol.TType.I64, (short)3);
|
| - |
|
149624 |
private static final org.apache.thrift.protocol.TField EXPECTED_SHIPPING_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedShipping", org.apache.thrift.protocol.TType.I64, (short)4);
|
| - |
|
149625 |
private static final org.apache.thrift.protocol.TField PROMISED_SHIPPING_FIELD_DESC = new org.apache.thrift.protocol.TField("promisedShipping", org.apache.thrift.protocol.TType.I64, (short)5);
|
| - |
|
149626 |
|
| - |
|
149627 |
private long orderId; // required
|
| - |
|
149628 |
private long expectedDelivery; // required
|
| - |
|
149629 |
private long promisedDelivery; // required
|
| - |
|
149630 |
private long expectedShipping; // required
|
| - |
|
149631 |
private long promisedShipping; // required
|
| - |
|
149632 |
|
| - |
|
149633 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
149634 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
149635 |
ORDER_ID((short)1, "orderId"),
|
| - |
|
149636 |
EXPECTED_DELIVERY((short)2, "expectedDelivery"),
|
| - |
|
149637 |
PROMISED_DELIVERY((short)3, "promisedDelivery"),
|
| - |
|
149638 |
EXPECTED_SHIPPING((short)4, "expectedShipping"),
|
| - |
|
149639 |
PROMISED_SHIPPING((short)5, "promisedShipping");
|
| - |
|
149640 |
|
| - |
|
149641 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
149642 |
|
| - |
|
149643 |
static {
|
| - |
|
149644 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
149645 |
byName.put(field.getFieldName(), field);
|
| - |
|
149646 |
}
|
| - |
|
149647 |
}
|
| - |
|
149648 |
|
| - |
|
149649 |
/**
|
| - |
|
149650 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
149651 |
*/
|
| - |
|
149652 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
149653 |
switch(fieldId) {
|
| - |
|
149654 |
case 1: // ORDER_ID
|
| - |
|
149655 |
return ORDER_ID;
|
| - |
|
149656 |
case 2: // EXPECTED_DELIVERY
|
| - |
|
149657 |
return EXPECTED_DELIVERY;
|
| - |
|
149658 |
case 3: // PROMISED_DELIVERY
|
| - |
|
149659 |
return PROMISED_DELIVERY;
|
| - |
|
149660 |
case 4: // EXPECTED_SHIPPING
|
| - |
|
149661 |
return EXPECTED_SHIPPING;
|
| - |
|
149662 |
case 5: // PROMISED_SHIPPING
|
| - |
|
149663 |
return PROMISED_SHIPPING;
|
| - |
|
149664 |
default:
|
| - |
|
149665 |
return null;
|
| - |
|
149666 |
}
|
| - |
|
149667 |
}
|
| - |
|
149668 |
|
| - |
|
149669 |
/**
|
| - |
|
149670 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
149671 |
* if it is not found.
|
| - |
|
149672 |
*/
|
| - |
|
149673 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
149674 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
149675 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
149676 |
return fields;
|
| - |
|
149677 |
}
|
| - |
|
149678 |
|
| - |
|
149679 |
/**
|
| - |
|
149680 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
149681 |
*/
|
| - |
|
149682 |
public static _Fields findByName(String name) {
|
| - |
|
149683 |
return byName.get(name);
|
| - |
|
149684 |
}
|
| - |
|
149685 |
|
| - |
|
149686 |
private final short _thriftId;
|
| - |
|
149687 |
private final String _fieldName;
|
| - |
|
149688 |
|
| - |
|
149689 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
149690 |
_thriftId = thriftId;
|
| - |
|
149691 |
_fieldName = fieldName;
|
| - |
|
149692 |
}
|
| - |
|
149693 |
|
| - |
|
149694 |
public short getThriftFieldId() {
|
| - |
|
149695 |
return _thriftId;
|
| - |
|
149696 |
}
|
| - |
|
149697 |
|
| - |
|
149698 |
public String getFieldName() {
|
| - |
|
149699 |
return _fieldName;
|
| - |
|
149700 |
}
|
| - |
|
149701 |
}
|
| - |
|
149702 |
|
| - |
|
149703 |
// isset id assignments
|
| - |
|
149704 |
private static final int __ORDERID_ISSET_ID = 0;
|
| - |
|
149705 |
private static final int __EXPECTEDDELIVERY_ISSET_ID = 1;
|
| - |
|
149706 |
private static final int __PROMISEDDELIVERY_ISSET_ID = 2;
|
| - |
|
149707 |
private static final int __EXPECTEDSHIPPING_ISSET_ID = 3;
|
| - |
|
149708 |
private static final int __PROMISEDSHIPPING_ISSET_ID = 4;
|
| - |
|
149709 |
private BitSet __isset_bit_vector = new BitSet(5);
|
| - |
|
149710 |
|
| - |
|
149711 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
149712 |
static {
|
| - |
|
149713 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
149714 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
149715 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
149716 |
tmpMap.put(_Fields.EXPECTED_DELIVERY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelivery", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
149717 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
149718 |
tmpMap.put(_Fields.PROMISED_DELIVERY, new org.apache.thrift.meta_data.FieldMetaData("promisedDelivery", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
149719 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
149720 |
tmpMap.put(_Fields.EXPECTED_SHIPPING, new org.apache.thrift.meta_data.FieldMetaData("expectedShipping", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
149721 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
149722 |
tmpMap.put(_Fields.PROMISED_SHIPPING, new org.apache.thrift.meta_data.FieldMetaData("promisedShipping", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
149723 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
149724 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
149725 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateTimestampForAmazonOrder_args.class, metaDataMap);
|
| - |
|
149726 |
}
|
| - |
|
149727 |
|
| - |
|
149728 |
public updateTimestampForAmazonOrder_args() {
|
| - |
|
149729 |
}
|
| - |
|
149730 |
|
| - |
|
149731 |
public updateTimestampForAmazonOrder_args(
|
| - |
|
149732 |
long orderId,
|
| - |
|
149733 |
long expectedDelivery,
|
| - |
|
149734 |
long promisedDelivery,
|
| - |
|
149735 |
long expectedShipping,
|
| - |
|
149736 |
long promisedShipping)
|
| - |
|
149737 |
{
|
| - |
|
149738 |
this();
|
| - |
|
149739 |
this.orderId = orderId;
|
| - |
|
149740 |
setOrderIdIsSet(true);
|
| - |
|
149741 |
this.expectedDelivery = expectedDelivery;
|
| - |
|
149742 |
setExpectedDeliveryIsSet(true);
|
| - |
|
149743 |
this.promisedDelivery = promisedDelivery;
|
| - |
|
149744 |
setPromisedDeliveryIsSet(true);
|
| - |
|
149745 |
this.expectedShipping = expectedShipping;
|
| - |
|
149746 |
setExpectedShippingIsSet(true);
|
| - |
|
149747 |
this.promisedShipping = promisedShipping;
|
| - |
|
149748 |
setPromisedShippingIsSet(true);
|
| - |
|
149749 |
}
|
| - |
|
149750 |
|
| - |
|
149751 |
/**
|
| - |
|
149752 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
149753 |
*/
|
| - |
|
149754 |
public updateTimestampForAmazonOrder_args(updateTimestampForAmazonOrder_args other) {
|
| - |
|
149755 |
__isset_bit_vector.clear();
|
| - |
|
149756 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
149757 |
this.orderId = other.orderId;
|
| - |
|
149758 |
this.expectedDelivery = other.expectedDelivery;
|
| - |
|
149759 |
this.promisedDelivery = other.promisedDelivery;
|
| - |
|
149760 |
this.expectedShipping = other.expectedShipping;
|
| - |
|
149761 |
this.promisedShipping = other.promisedShipping;
|
| - |
|
149762 |
}
|
| - |
|
149763 |
|
| - |
|
149764 |
public updateTimestampForAmazonOrder_args deepCopy() {
|
| - |
|
149765 |
return new updateTimestampForAmazonOrder_args(this);
|
| - |
|
149766 |
}
|
| - |
|
149767 |
|
| - |
|
149768 |
@Override
|
| - |
|
149769 |
public void clear() {
|
| - |
|
149770 |
setOrderIdIsSet(false);
|
| - |
|
149771 |
this.orderId = 0;
|
| - |
|
149772 |
setExpectedDeliveryIsSet(false);
|
| - |
|
149773 |
this.expectedDelivery = 0;
|
| - |
|
149774 |
setPromisedDeliveryIsSet(false);
|
| - |
|
149775 |
this.promisedDelivery = 0;
|
| - |
|
149776 |
setExpectedShippingIsSet(false);
|
| - |
|
149777 |
this.expectedShipping = 0;
|
| - |
|
149778 |
setPromisedShippingIsSet(false);
|
| - |
|
149779 |
this.promisedShipping = 0;
|
| - |
|
149780 |
}
|
| - |
|
149781 |
|
| - |
|
149782 |
public long getOrderId() {
|
| - |
|
149783 |
return this.orderId;
|
| - |
|
149784 |
}
|
| - |
|
149785 |
|
| - |
|
149786 |
public void setOrderId(long orderId) {
|
| - |
|
149787 |
this.orderId = orderId;
|
| - |
|
149788 |
setOrderIdIsSet(true);
|
| - |
|
149789 |
}
|
| - |
|
149790 |
|
| - |
|
149791 |
public void unsetOrderId() {
|
| - |
|
149792 |
__isset_bit_vector.clear(__ORDERID_ISSET_ID);
|
| - |
|
149793 |
}
|
| - |
|
149794 |
|
| - |
|
149795 |
/** Returns true if field orderId is set (has been assigned a value) and false otherwise */
|
| - |
|
149796 |
public boolean isSetOrderId() {
|
| - |
|
149797 |
return __isset_bit_vector.get(__ORDERID_ISSET_ID);
|
| - |
|
149798 |
}
|
| - |
|
149799 |
|
| - |
|
149800 |
public void setOrderIdIsSet(boolean value) {
|
| - |
|
149801 |
__isset_bit_vector.set(__ORDERID_ISSET_ID, value);
|
| - |
|
149802 |
}
|
| - |
|
149803 |
|
| - |
|
149804 |
public long getExpectedDelivery() {
|
| - |
|
149805 |
return this.expectedDelivery;
|
| - |
|
149806 |
}
|
| - |
|
149807 |
|
| - |
|
149808 |
public void setExpectedDelivery(long expectedDelivery) {
|
| - |
|
149809 |
this.expectedDelivery = expectedDelivery;
|
| - |
|
149810 |
setExpectedDeliveryIsSet(true);
|
| - |
|
149811 |
}
|
| - |
|
149812 |
|
| - |
|
149813 |
public void unsetExpectedDelivery() {
|
| - |
|
149814 |
__isset_bit_vector.clear(__EXPECTEDDELIVERY_ISSET_ID);
|
| - |
|
149815 |
}
|
| - |
|
149816 |
|
| - |
|
149817 |
/** Returns true if field expectedDelivery is set (has been assigned a value) and false otherwise */
|
| - |
|
149818 |
public boolean isSetExpectedDelivery() {
|
| - |
|
149819 |
return __isset_bit_vector.get(__EXPECTEDDELIVERY_ISSET_ID);
|
| - |
|
149820 |
}
|
| - |
|
149821 |
|
| - |
|
149822 |
public void setExpectedDeliveryIsSet(boolean value) {
|
| - |
|
149823 |
__isset_bit_vector.set(__EXPECTEDDELIVERY_ISSET_ID, value);
|
| - |
|
149824 |
}
|
| - |
|
149825 |
|
| - |
|
149826 |
public long getPromisedDelivery() {
|
| - |
|
149827 |
return this.promisedDelivery;
|
| - |
|
149828 |
}
|
| - |
|
149829 |
|
| - |
|
149830 |
public void setPromisedDelivery(long promisedDelivery) {
|
| - |
|
149831 |
this.promisedDelivery = promisedDelivery;
|
| - |
|
149832 |
setPromisedDeliveryIsSet(true);
|
| - |
|
149833 |
}
|
| - |
|
149834 |
|
| - |
|
149835 |
public void unsetPromisedDelivery() {
|
| - |
|
149836 |
__isset_bit_vector.clear(__PROMISEDDELIVERY_ISSET_ID);
|
| - |
|
149837 |
}
|
| - |
|
149838 |
|
| - |
|
149839 |
/** Returns true if field promisedDelivery is set (has been assigned a value) and false otherwise */
|
| - |
|
149840 |
public boolean isSetPromisedDelivery() {
|
| - |
|
149841 |
return __isset_bit_vector.get(__PROMISEDDELIVERY_ISSET_ID);
|
| - |
|
149842 |
}
|
| - |
|
149843 |
|
| - |
|
149844 |
public void setPromisedDeliveryIsSet(boolean value) {
|
| - |
|
149845 |
__isset_bit_vector.set(__PROMISEDDELIVERY_ISSET_ID, value);
|
| - |
|
149846 |
}
|
| - |
|
149847 |
|
| - |
|
149848 |
public long getExpectedShipping() {
|
| - |
|
149849 |
return this.expectedShipping;
|
| - |
|
149850 |
}
|
| - |
|
149851 |
|
| - |
|
149852 |
public void setExpectedShipping(long expectedShipping) {
|
| - |
|
149853 |
this.expectedShipping = expectedShipping;
|
| - |
|
149854 |
setExpectedShippingIsSet(true);
|
| - |
|
149855 |
}
|
| - |
|
149856 |
|
| - |
|
149857 |
public void unsetExpectedShipping() {
|
| - |
|
149858 |
__isset_bit_vector.clear(__EXPECTEDSHIPPING_ISSET_ID);
|
| - |
|
149859 |
}
|
| - |
|
149860 |
|
| - |
|
149861 |
/** Returns true if field expectedShipping is set (has been assigned a value) and false otherwise */
|
| - |
|
149862 |
public boolean isSetExpectedShipping() {
|
| - |
|
149863 |
return __isset_bit_vector.get(__EXPECTEDSHIPPING_ISSET_ID);
|
| - |
|
149864 |
}
|
| - |
|
149865 |
|
| - |
|
149866 |
public void setExpectedShippingIsSet(boolean value) {
|
| - |
|
149867 |
__isset_bit_vector.set(__EXPECTEDSHIPPING_ISSET_ID, value);
|
| - |
|
149868 |
}
|
| - |
|
149869 |
|
| - |
|
149870 |
public long getPromisedShipping() {
|
| - |
|
149871 |
return this.promisedShipping;
|
| - |
|
149872 |
}
|
| - |
|
149873 |
|
| - |
|
149874 |
public void setPromisedShipping(long promisedShipping) {
|
| - |
|
149875 |
this.promisedShipping = promisedShipping;
|
| - |
|
149876 |
setPromisedShippingIsSet(true);
|
| - |
|
149877 |
}
|
| - |
|
149878 |
|
| - |
|
149879 |
public void unsetPromisedShipping() {
|
| - |
|
149880 |
__isset_bit_vector.clear(__PROMISEDSHIPPING_ISSET_ID);
|
| - |
|
149881 |
}
|
| - |
|
149882 |
|
| - |
|
149883 |
/** Returns true if field promisedShipping is set (has been assigned a value) and false otherwise */
|
| - |
|
149884 |
public boolean isSetPromisedShipping() {
|
| - |
|
149885 |
return __isset_bit_vector.get(__PROMISEDSHIPPING_ISSET_ID);
|
| - |
|
149886 |
}
|
| - |
|
149887 |
|
| - |
|
149888 |
public void setPromisedShippingIsSet(boolean value) {
|
| - |
|
149889 |
__isset_bit_vector.set(__PROMISEDSHIPPING_ISSET_ID, value);
|
| - |
|
149890 |
}
|
| - |
|
149891 |
|
| - |
|
149892 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
149893 |
switch (field) {
|
| - |
|
149894 |
case ORDER_ID:
|
| - |
|
149895 |
if (value == null) {
|
| - |
|
149896 |
unsetOrderId();
|
| - |
|
149897 |
} else {
|
| - |
|
149898 |
setOrderId((Long)value);
|
| - |
|
149899 |
}
|
| - |
|
149900 |
break;
|
| - |
|
149901 |
|
| - |
|
149902 |
case EXPECTED_DELIVERY:
|
| - |
|
149903 |
if (value == null) {
|
| - |
|
149904 |
unsetExpectedDelivery();
|
| - |
|
149905 |
} else {
|
| - |
|
149906 |
setExpectedDelivery((Long)value);
|
| - |
|
149907 |
}
|
| - |
|
149908 |
break;
|
| - |
|
149909 |
|
| - |
|
149910 |
case PROMISED_DELIVERY:
|
| - |
|
149911 |
if (value == null) {
|
| - |
|
149912 |
unsetPromisedDelivery();
|
| - |
|
149913 |
} else {
|
| - |
|
149914 |
setPromisedDelivery((Long)value);
|
| - |
|
149915 |
}
|
| - |
|
149916 |
break;
|
| - |
|
149917 |
|
| - |
|
149918 |
case EXPECTED_SHIPPING:
|
| - |
|
149919 |
if (value == null) {
|
| - |
|
149920 |
unsetExpectedShipping();
|
| - |
|
149921 |
} else {
|
| - |
|
149922 |
setExpectedShipping((Long)value);
|
| - |
|
149923 |
}
|
| - |
|
149924 |
break;
|
| - |
|
149925 |
|
| - |
|
149926 |
case PROMISED_SHIPPING:
|
| - |
|
149927 |
if (value == null) {
|
| - |
|
149928 |
unsetPromisedShipping();
|
| - |
|
149929 |
} else {
|
| - |
|
149930 |
setPromisedShipping((Long)value);
|
| - |
|
149931 |
}
|
| - |
|
149932 |
break;
|
| - |
|
149933 |
|
| - |
|
149934 |
}
|
| - |
|
149935 |
}
|
| - |
|
149936 |
|
| - |
|
149937 |
public Object getFieldValue(_Fields field) {
|
| - |
|
149938 |
switch (field) {
|
| - |
|
149939 |
case ORDER_ID:
|
| - |
|
149940 |
return Long.valueOf(getOrderId());
|
| - |
|
149941 |
|
| - |
|
149942 |
case EXPECTED_DELIVERY:
|
| - |
|
149943 |
return Long.valueOf(getExpectedDelivery());
|
| - |
|
149944 |
|
| - |
|
149945 |
case PROMISED_DELIVERY:
|
| - |
|
149946 |
return Long.valueOf(getPromisedDelivery());
|
| - |
|
149947 |
|
| - |
|
149948 |
case EXPECTED_SHIPPING:
|
| - |
|
149949 |
return Long.valueOf(getExpectedShipping());
|
| - |
|
149950 |
|
| - |
|
149951 |
case PROMISED_SHIPPING:
|
| - |
|
149952 |
return Long.valueOf(getPromisedShipping());
|
| - |
|
149953 |
|
| - |
|
149954 |
}
|
| - |
|
149955 |
throw new IllegalStateException();
|
| - |
|
149956 |
}
|
| - |
|
149957 |
|
| - |
|
149958 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
149959 |
public boolean isSet(_Fields field) {
|
| - |
|
149960 |
if (field == null) {
|
| - |
|
149961 |
throw new IllegalArgumentException();
|
| - |
|
149962 |
}
|
| - |
|
149963 |
|
| - |
|
149964 |
switch (field) {
|
| - |
|
149965 |
case ORDER_ID:
|
| - |
|
149966 |
return isSetOrderId();
|
| - |
|
149967 |
case EXPECTED_DELIVERY:
|
| - |
|
149968 |
return isSetExpectedDelivery();
|
| - |
|
149969 |
case PROMISED_DELIVERY:
|
| - |
|
149970 |
return isSetPromisedDelivery();
|
| - |
|
149971 |
case EXPECTED_SHIPPING:
|
| - |
|
149972 |
return isSetExpectedShipping();
|
| - |
|
149973 |
case PROMISED_SHIPPING:
|
| - |
|
149974 |
return isSetPromisedShipping();
|
| - |
|
149975 |
}
|
| - |
|
149976 |
throw new IllegalStateException();
|
| - |
|
149977 |
}
|
| - |
|
149978 |
|
| - |
|
149979 |
@Override
|
| - |
|
149980 |
public boolean equals(Object that) {
|
| - |
|
149981 |
if (that == null)
|
| - |
|
149982 |
return false;
|
| - |
|
149983 |
if (that instanceof updateTimestampForAmazonOrder_args)
|
| - |
|
149984 |
return this.equals((updateTimestampForAmazonOrder_args)that);
|
| - |
|
149985 |
return false;
|
| - |
|
149986 |
}
|
| - |
|
149987 |
|
| - |
|
149988 |
public boolean equals(updateTimestampForAmazonOrder_args that) {
|
| - |
|
149989 |
if (that == null)
|
| - |
|
149990 |
return false;
|
| - |
|
149991 |
|
| - |
|
149992 |
boolean this_present_orderId = true;
|
| - |
|
149993 |
boolean that_present_orderId = true;
|
| - |
|
149994 |
if (this_present_orderId || that_present_orderId) {
|
| - |
|
149995 |
if (!(this_present_orderId && that_present_orderId))
|
| - |
|
149996 |
return false;
|
| - |
|
149997 |
if (this.orderId != that.orderId)
|
| - |
|
149998 |
return false;
|
| - |
|
149999 |
}
|
| - |
|
150000 |
|
| - |
|
150001 |
boolean this_present_expectedDelivery = true;
|
| - |
|
150002 |
boolean that_present_expectedDelivery = true;
|
| - |
|
150003 |
if (this_present_expectedDelivery || that_present_expectedDelivery) {
|
| - |
|
150004 |
if (!(this_present_expectedDelivery && that_present_expectedDelivery))
|
| - |
|
150005 |
return false;
|
| - |
|
150006 |
if (this.expectedDelivery != that.expectedDelivery)
|
| - |
|
150007 |
return false;
|
| - |
|
150008 |
}
|
| - |
|
150009 |
|
| - |
|
150010 |
boolean this_present_promisedDelivery = true;
|
| - |
|
150011 |
boolean that_present_promisedDelivery = true;
|
| - |
|
150012 |
if (this_present_promisedDelivery || that_present_promisedDelivery) {
|
| - |
|
150013 |
if (!(this_present_promisedDelivery && that_present_promisedDelivery))
|
| - |
|
150014 |
return false;
|
| - |
|
150015 |
if (this.promisedDelivery != that.promisedDelivery)
|
| - |
|
150016 |
return false;
|
| - |
|
150017 |
}
|
| - |
|
150018 |
|
| - |
|
150019 |
boolean this_present_expectedShipping = true;
|
| - |
|
150020 |
boolean that_present_expectedShipping = true;
|
| - |
|
150021 |
if (this_present_expectedShipping || that_present_expectedShipping) {
|
| - |
|
150022 |
if (!(this_present_expectedShipping && that_present_expectedShipping))
|
| - |
|
150023 |
return false;
|
| - |
|
150024 |
if (this.expectedShipping != that.expectedShipping)
|
| - |
|
150025 |
return false;
|
| - |
|
150026 |
}
|
| - |
|
150027 |
|
| - |
|
150028 |
boolean this_present_promisedShipping = true;
|
| - |
|
150029 |
boolean that_present_promisedShipping = true;
|
| - |
|
150030 |
if (this_present_promisedShipping || that_present_promisedShipping) {
|
| - |
|
150031 |
if (!(this_present_promisedShipping && that_present_promisedShipping))
|
| - |
|
150032 |
return false;
|
| - |
|
150033 |
if (this.promisedShipping != that.promisedShipping)
|
| - |
|
150034 |
return false;
|
| - |
|
150035 |
}
|
| - |
|
150036 |
|
| - |
|
150037 |
return true;
|
| - |
|
150038 |
}
|
| - |
|
150039 |
|
| - |
|
150040 |
@Override
|
| - |
|
150041 |
public int hashCode() {
|
| - |
|
150042 |
return 0;
|
| - |
|
150043 |
}
|
| - |
|
150044 |
|
| - |
|
150045 |
public int compareTo(updateTimestampForAmazonOrder_args other) {
|
| - |
|
150046 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
150047 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
150048 |
}
|
| - |
|
150049 |
|
| - |
|
150050 |
int lastComparison = 0;
|
| - |
|
150051 |
updateTimestampForAmazonOrder_args typedOther = (updateTimestampForAmazonOrder_args)other;
|
| - |
|
150052 |
|
| - |
|
150053 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
| - |
|
150054 |
if (lastComparison != 0) {
|
| - |
|
150055 |
return lastComparison;
|
| - |
|
150056 |
}
|
| - |
|
150057 |
if (isSetOrderId()) {
|
| - |
|
150058 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
|
| - |
|
150059 |
if (lastComparison != 0) {
|
| - |
|
150060 |
return lastComparison;
|
| - |
|
150061 |
}
|
| - |
|
150062 |
}
|
| - |
|
150063 |
lastComparison = Boolean.valueOf(isSetExpectedDelivery()).compareTo(typedOther.isSetExpectedDelivery());
|
| - |
|
150064 |
if (lastComparison != 0) {
|
| - |
|
150065 |
return lastComparison;
|
| - |
|
150066 |
}
|
| - |
|
150067 |
if (isSetExpectedDelivery()) {
|
| - |
|
150068 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedDelivery, typedOther.expectedDelivery);
|
| - |
|
150069 |
if (lastComparison != 0) {
|
| - |
|
150070 |
return lastComparison;
|
| - |
|
150071 |
}
|
| - |
|
150072 |
}
|
| - |
|
150073 |
lastComparison = Boolean.valueOf(isSetPromisedDelivery()).compareTo(typedOther.isSetPromisedDelivery());
|
| - |
|
150074 |
if (lastComparison != 0) {
|
| - |
|
150075 |
return lastComparison;
|
| - |
|
150076 |
}
|
| - |
|
150077 |
if (isSetPromisedDelivery()) {
|
| - |
|
150078 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promisedDelivery, typedOther.promisedDelivery);
|
| - |
|
150079 |
if (lastComparison != 0) {
|
| - |
|
150080 |
return lastComparison;
|
| - |
|
150081 |
}
|
| - |
|
150082 |
}
|
| - |
|
150083 |
lastComparison = Boolean.valueOf(isSetExpectedShipping()).compareTo(typedOther.isSetExpectedShipping());
|
| - |
|
150084 |
if (lastComparison != 0) {
|
| - |
|
150085 |
return lastComparison;
|
| - |
|
150086 |
}
|
| - |
|
150087 |
if (isSetExpectedShipping()) {
|
| - |
|
150088 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedShipping, typedOther.expectedShipping);
|
| - |
|
150089 |
if (lastComparison != 0) {
|
| - |
|
150090 |
return lastComparison;
|
| - |
|
150091 |
}
|
| - |
|
150092 |
}
|
| - |
|
150093 |
lastComparison = Boolean.valueOf(isSetPromisedShipping()).compareTo(typedOther.isSetPromisedShipping());
|
| - |
|
150094 |
if (lastComparison != 0) {
|
| - |
|
150095 |
return lastComparison;
|
| - |
|
150096 |
}
|
| - |
|
150097 |
if (isSetPromisedShipping()) {
|
| - |
|
150098 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.promisedShipping, typedOther.promisedShipping);
|
| - |
|
150099 |
if (lastComparison != 0) {
|
| - |
|
150100 |
return lastComparison;
|
| - |
|
150101 |
}
|
| - |
|
150102 |
}
|
| - |
|
150103 |
return 0;
|
| - |
|
150104 |
}
|
| - |
|
150105 |
|
| - |
|
150106 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
150107 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
150108 |
}
|
| - |
|
150109 |
|
| - |
|
150110 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
150111 |
org.apache.thrift.protocol.TField field;
|
| - |
|
150112 |
iprot.readStructBegin();
|
| - |
|
150113 |
while (true)
|
| - |
|
150114 |
{
|
| - |
|
150115 |
field = iprot.readFieldBegin();
|
| - |
|
150116 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
150117 |
break;
|
| - |
|
150118 |
}
|
| - |
|
150119 |
switch (field.id) {
|
| - |
|
150120 |
case 1: // ORDER_ID
|
| - |
|
150121 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
150122 |
this.orderId = iprot.readI64();
|
| - |
|
150123 |
setOrderIdIsSet(true);
|
| - |
|
150124 |
} else {
|
| - |
|
150125 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150126 |
}
|
| - |
|
150127 |
break;
|
| - |
|
150128 |
case 2: // EXPECTED_DELIVERY
|
| - |
|
150129 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
150130 |
this.expectedDelivery = iprot.readI64();
|
| - |
|
150131 |
setExpectedDeliveryIsSet(true);
|
| - |
|
150132 |
} else {
|
| - |
|
150133 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150134 |
}
|
| - |
|
150135 |
break;
|
| - |
|
150136 |
case 3: // PROMISED_DELIVERY
|
| - |
|
150137 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
150138 |
this.promisedDelivery = iprot.readI64();
|
| - |
|
150139 |
setPromisedDeliveryIsSet(true);
|
| - |
|
150140 |
} else {
|
| - |
|
150141 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150142 |
}
|
| - |
|
150143 |
break;
|
| - |
|
150144 |
case 4: // EXPECTED_SHIPPING
|
| - |
|
150145 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
150146 |
this.expectedShipping = iprot.readI64();
|
| - |
|
150147 |
setExpectedShippingIsSet(true);
|
| - |
|
150148 |
} else {
|
| - |
|
150149 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150150 |
}
|
| - |
|
150151 |
break;
|
| - |
|
150152 |
case 5: // PROMISED_SHIPPING
|
| - |
|
150153 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
150154 |
this.promisedShipping = iprot.readI64();
|
| - |
|
150155 |
setPromisedShippingIsSet(true);
|
| - |
|
150156 |
} else {
|
| - |
|
150157 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150158 |
}
|
| - |
|
150159 |
break;
|
| - |
|
150160 |
default:
|
| - |
|
150161 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150162 |
}
|
| - |
|
150163 |
iprot.readFieldEnd();
|
| - |
|
150164 |
}
|
| - |
|
150165 |
iprot.readStructEnd();
|
| - |
|
150166 |
validate();
|
| - |
|
150167 |
}
|
| - |
|
150168 |
|
| - |
|
150169 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
150170 |
validate();
|
| - |
|
150171 |
|
| - |
|
150172 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
150173 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
| - |
|
150174 |
oprot.writeI64(this.orderId);
|
| - |
|
150175 |
oprot.writeFieldEnd();
|
| - |
|
150176 |
oprot.writeFieldBegin(EXPECTED_DELIVERY_FIELD_DESC);
|
| - |
|
150177 |
oprot.writeI64(this.expectedDelivery);
|
| - |
|
150178 |
oprot.writeFieldEnd();
|
| - |
|
150179 |
oprot.writeFieldBegin(PROMISED_DELIVERY_FIELD_DESC);
|
| - |
|
150180 |
oprot.writeI64(this.promisedDelivery);
|
| - |
|
150181 |
oprot.writeFieldEnd();
|
| - |
|
150182 |
oprot.writeFieldBegin(EXPECTED_SHIPPING_FIELD_DESC);
|
| - |
|
150183 |
oprot.writeI64(this.expectedShipping);
|
| - |
|
150184 |
oprot.writeFieldEnd();
|
| - |
|
150185 |
oprot.writeFieldBegin(PROMISED_SHIPPING_FIELD_DESC);
|
| - |
|
150186 |
oprot.writeI64(this.promisedShipping);
|
| - |
|
150187 |
oprot.writeFieldEnd();
|
| - |
|
150188 |
oprot.writeFieldStop();
|
| - |
|
150189 |
oprot.writeStructEnd();
|
| - |
|
150190 |
}
|
| - |
|
150191 |
|
| - |
|
150192 |
@Override
|
| - |
|
150193 |
public String toString() {
|
| - |
|
150194 |
StringBuilder sb = new StringBuilder("updateTimestampForAmazonOrder_args(");
|
| - |
|
150195 |
boolean first = true;
|
| - |
|
150196 |
|
| - |
|
150197 |
sb.append("orderId:");
|
| - |
|
150198 |
sb.append(this.orderId);
|
| - |
|
150199 |
first = false;
|
| - |
|
150200 |
if (!first) sb.append(", ");
|
| - |
|
150201 |
sb.append("expectedDelivery:");
|
| - |
|
150202 |
sb.append(this.expectedDelivery);
|
| - |
|
150203 |
first = false;
|
| - |
|
150204 |
if (!first) sb.append(", ");
|
| - |
|
150205 |
sb.append("promisedDelivery:");
|
| - |
|
150206 |
sb.append(this.promisedDelivery);
|
| - |
|
150207 |
first = false;
|
| - |
|
150208 |
if (!first) sb.append(", ");
|
| - |
|
150209 |
sb.append("expectedShipping:");
|
| - |
|
150210 |
sb.append(this.expectedShipping);
|
| - |
|
150211 |
first = false;
|
| - |
|
150212 |
if (!first) sb.append(", ");
|
| - |
|
150213 |
sb.append("promisedShipping:");
|
| - |
|
150214 |
sb.append(this.promisedShipping);
|
| - |
|
150215 |
first = false;
|
| - |
|
150216 |
sb.append(")");
|
| - |
|
150217 |
return sb.toString();
|
| - |
|
150218 |
}
|
| - |
|
150219 |
|
| - |
|
150220 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
150221 |
// check for required fields
|
| - |
|
150222 |
}
|
| - |
|
150223 |
|
| - |
|
150224 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
150225 |
try {
|
| - |
|
150226 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
150227 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
150228 |
throw new java.io.IOException(te);
|
| - |
|
150229 |
}
|
| - |
|
150230 |
}
|
| - |
|
150231 |
|
| - |
|
150232 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
150233 |
try {
|
| - |
|
150234 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
150235 |
__isset_bit_vector = new BitSet(1);
|
| - |
|
150236 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
150237 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
150238 |
throw new java.io.IOException(te);
|
| - |
|
150239 |
}
|
| - |
|
150240 |
}
|
| - |
|
150241 |
|
| - |
|
150242 |
}
|
| - |
|
150243 |
|
| - |
|
150244 |
public static class updateTimestampForAmazonOrder_result implements org.apache.thrift.TBase<updateTimestampForAmazonOrder_result, updateTimestampForAmazonOrder_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
150245 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateTimestampForAmazonOrder_result");
|
| - |
|
150246 |
|
| - |
|
150247 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
|
| - |
|
150248 |
|
| - |
|
150249 |
private boolean success; // required
|
| - |
|
150250 |
|
| - |
|
150251 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
150252 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
150253 |
SUCCESS((short)0, "success");
|
| - |
|
150254 |
|
| - |
|
150255 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
150256 |
|
| - |
|
150257 |
static {
|
| - |
|
150258 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
150259 |
byName.put(field.getFieldName(), field);
|
| - |
|
150260 |
}
|
| - |
|
150261 |
}
|
| - |
|
150262 |
|
| - |
|
150263 |
/**
|
| - |
|
150264 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
150265 |
*/
|
| - |
|
150266 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
150267 |
switch(fieldId) {
|
| - |
|
150268 |
case 0: // SUCCESS
|
| - |
|
150269 |
return SUCCESS;
|
| - |
|
150270 |
default:
|
| - |
|
150271 |
return null;
|
| - |
|
150272 |
}
|
| - |
|
150273 |
}
|
| - |
|
150274 |
|
| - |
|
150275 |
/**
|
| - |
|
150276 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
150277 |
* if it is not found.
|
| - |
|
150278 |
*/
|
| - |
|
150279 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
150280 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
150281 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
150282 |
return fields;
|
| - |
|
150283 |
}
|
| - |
|
150284 |
|
| - |
|
150285 |
/**
|
| - |
|
150286 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
150287 |
*/
|
| - |
|
150288 |
public static _Fields findByName(String name) {
|
| - |
|
150289 |
return byName.get(name);
|
| - |
|
150290 |
}
|
| - |
|
150291 |
|
| - |
|
150292 |
private final short _thriftId;
|
| - |
|
150293 |
private final String _fieldName;
|
| - |
|
150294 |
|
| - |
|
150295 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
150296 |
_thriftId = thriftId;
|
| - |
|
150297 |
_fieldName = fieldName;
|
| - |
|
150298 |
}
|
| - |
|
150299 |
|
| - |
|
150300 |
public short getThriftFieldId() {
|
| - |
|
150301 |
return _thriftId;
|
| - |
|
150302 |
}
|
| - |
|
150303 |
|
| - |
|
150304 |
public String getFieldName() {
|
| - |
|
150305 |
return _fieldName;
|
| - |
|
150306 |
}
|
| - |
|
150307 |
}
|
| - |
|
150308 |
|
| - |
|
150309 |
// isset id assignments
|
| - |
|
150310 |
private static final int __SUCCESS_ISSET_ID = 0;
|
| - |
|
150311 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| - |
|
150312 |
|
| - |
|
150313 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
150314 |
static {
|
| - |
|
150315 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
150316 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
150317 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
150318 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
150319 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateTimestampForAmazonOrder_result.class, metaDataMap);
|
| - |
|
150320 |
}
|
| - |
|
150321 |
|
| - |
|
150322 |
public updateTimestampForAmazonOrder_result() {
|
| - |
|
150323 |
}
|
| - |
|
150324 |
|
| - |
|
150325 |
public updateTimestampForAmazonOrder_result(
|
| - |
|
150326 |
boolean success)
|
| - |
|
150327 |
{
|
| - |
|
150328 |
this();
|
| - |
|
150329 |
this.success = success;
|
| - |
|
150330 |
setSuccessIsSet(true);
|
| - |
|
150331 |
}
|
| - |
|
150332 |
|
| - |
|
150333 |
/**
|
| - |
|
150334 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
150335 |
*/
|
| - |
|
150336 |
public updateTimestampForAmazonOrder_result(updateTimestampForAmazonOrder_result other) {
|
| - |
|
150337 |
__isset_bit_vector.clear();
|
| - |
|
150338 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| - |
|
150339 |
this.success = other.success;
|
| - |
|
150340 |
}
|
| - |
|
150341 |
|
| - |
|
150342 |
public updateTimestampForAmazonOrder_result deepCopy() {
|
| - |
|
150343 |
return new updateTimestampForAmazonOrder_result(this);
|
| - |
|
150344 |
}
|
| - |
|
150345 |
|
| - |
|
150346 |
@Override
|
| - |
|
150347 |
public void clear() {
|
| - |
|
150348 |
setSuccessIsSet(false);
|
| - |
|
150349 |
this.success = false;
|
| - |
|
150350 |
}
|
| - |
|
150351 |
|
| - |
|
150352 |
public boolean isSuccess() {
|
| - |
|
150353 |
return this.success;
|
| - |
|
150354 |
}
|
| - |
|
150355 |
|
| - |
|
150356 |
public void setSuccess(boolean success) {
|
| - |
|
150357 |
this.success = success;
|
| - |
|
150358 |
setSuccessIsSet(true);
|
| - |
|
150359 |
}
|
| - |
|
150360 |
|
| - |
|
150361 |
public void unsetSuccess() {
|
| - |
|
150362 |
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
|
| - |
|
150363 |
}
|
| - |
|
150364 |
|
| - |
|
150365 |
/** Returns true if field success is set (has been assigned a value) and false otherwise */
|
| - |
|
150366 |
public boolean isSetSuccess() {
|
| - |
|
150367 |
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
|
| - |
|
150368 |
}
|
| - |
|
150369 |
|
| - |
|
150370 |
public void setSuccessIsSet(boolean value) {
|
| - |
|
150371 |
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
|
| - |
|
150372 |
}
|
| - |
|
150373 |
|
| - |
|
150374 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
150375 |
switch (field) {
|
| - |
|
150376 |
case SUCCESS:
|
| - |
|
150377 |
if (value == null) {
|
| - |
|
150378 |
unsetSuccess();
|
| - |
|
150379 |
} else {
|
| - |
|
150380 |
setSuccess((Boolean)value);
|
| - |
|
150381 |
}
|
| - |
|
150382 |
break;
|
| - |
|
150383 |
|
| - |
|
150384 |
}
|
| - |
|
150385 |
}
|
| - |
|
150386 |
|
| - |
|
150387 |
public Object getFieldValue(_Fields field) {
|
| - |
|
150388 |
switch (field) {
|
| - |
|
150389 |
case SUCCESS:
|
| - |
|
150390 |
return Boolean.valueOf(isSuccess());
|
| - |
|
150391 |
|
| - |
|
150392 |
}
|
| - |
|
150393 |
throw new IllegalStateException();
|
| - |
|
150394 |
}
|
| - |
|
150395 |
|
| - |
|
150396 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
150397 |
public boolean isSet(_Fields field) {
|
| - |
|
150398 |
if (field == null) {
|
| - |
|
150399 |
throw new IllegalArgumentException();
|
| - |
|
150400 |
}
|
| - |
|
150401 |
|
| - |
|
150402 |
switch (field) {
|
| - |
|
150403 |
case SUCCESS:
|
| - |
|
150404 |
return isSetSuccess();
|
| - |
|
150405 |
}
|
| - |
|
150406 |
throw new IllegalStateException();
|
| - |
|
150407 |
}
|
| - |
|
150408 |
|
| - |
|
150409 |
@Override
|
| - |
|
150410 |
public boolean equals(Object that) {
|
| - |
|
150411 |
if (that == null)
|
| - |
|
150412 |
return false;
|
| - |
|
150413 |
if (that instanceof updateTimestampForAmazonOrder_result)
|
| - |
|
150414 |
return this.equals((updateTimestampForAmazonOrder_result)that);
|
| - |
|
150415 |
return false;
|
| - |
|
150416 |
}
|
| - |
|
150417 |
|
| - |
|
150418 |
public boolean equals(updateTimestampForAmazonOrder_result that) {
|
| - |
|
150419 |
if (that == null)
|
| - |
|
150420 |
return false;
|
| - |
|
150421 |
|
| - |
|
150422 |
boolean this_present_success = true;
|
| - |
|
150423 |
boolean that_present_success = true;
|
| - |
|
150424 |
if (this_present_success || that_present_success) {
|
| - |
|
150425 |
if (!(this_present_success && that_present_success))
|
| - |
|
150426 |
return false;
|
| - |
|
150427 |
if (this.success != that.success)
|
| - |
|
150428 |
return false;
|
| - |
|
150429 |
}
|
| - |
|
150430 |
|
| - |
|
150431 |
return true;
|
| - |
|
150432 |
}
|
| - |
|
150433 |
|
| - |
|
150434 |
@Override
|
| - |
|
150435 |
public int hashCode() {
|
| - |
|
150436 |
return 0;
|
| - |
|
150437 |
}
|
| - |
|
150438 |
|
| - |
|
150439 |
public int compareTo(updateTimestampForAmazonOrder_result other) {
|
| - |
|
150440 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
150441 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
150442 |
}
|
| - |
|
150443 |
|
| - |
|
150444 |
int lastComparison = 0;
|
| - |
|
150445 |
updateTimestampForAmazonOrder_result typedOther = (updateTimestampForAmazonOrder_result)other;
|
| - |
|
150446 |
|
| - |
|
150447 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| - |
|
150448 |
if (lastComparison != 0) {
|
| - |
|
150449 |
return lastComparison;
|
| - |
|
150450 |
}
|
| - |
|
150451 |
if (isSetSuccess()) {
|
| - |
|
150452 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
|
| - |
|
150453 |
if (lastComparison != 0) {
|
| - |
|
150454 |
return lastComparison;
|
| - |
|
150455 |
}
|
| - |
|
150456 |
}
|
| - |
|
150457 |
return 0;
|
| - |
|
150458 |
}
|
| - |
|
150459 |
|
| - |
|
150460 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
150461 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
150462 |
}
|
| - |
|
150463 |
|
| - |
|
150464 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
150465 |
org.apache.thrift.protocol.TField field;
|
| - |
|
150466 |
iprot.readStructBegin();
|
| - |
|
150467 |
while (true)
|
| - |
|
150468 |
{
|
| - |
|
150469 |
field = iprot.readFieldBegin();
|
| - |
|
150470 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
150471 |
break;
|
| - |
|
150472 |
}
|
| - |
|
150473 |
switch (field.id) {
|
| - |
|
150474 |
case 0: // SUCCESS
|
| - |
|
150475 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
150476 |
this.success = iprot.readBool();
|
| - |
|
150477 |
setSuccessIsSet(true);
|
| - |
|
150478 |
} else {
|
| - |
|
150479 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150480 |
}
|
| - |
|
150481 |
break;
|
| - |
|
150482 |
default:
|
| - |
|
150483 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
150484 |
}
|
| - |
|
150485 |
iprot.readFieldEnd();
|
| - |
|
150486 |
}
|
| - |
|
150487 |
iprot.readStructEnd();
|
| - |
|
150488 |
validate();
|
| - |
|
150489 |
}
|
| - |
|
150490 |
|
| - |
|
150491 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
150492 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
150493 |
|
| - |
|
150494 |
if (this.isSetSuccess()) {
|
| - |
|
150495 |
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
|
| - |
|
150496 |
oprot.writeBool(this.success);
|
| - |
|
150497 |
oprot.writeFieldEnd();
|
| - |
|
150498 |
}
|
| - |
|
150499 |
oprot.writeFieldStop();
|
| - |
|
150500 |
oprot.writeStructEnd();
|
| - |
|
150501 |
}
|
| - |
|
150502 |
|
| - |
|
150503 |
@Override
|
| - |
|
150504 |
public String toString() {
|
| - |
|
150505 |
StringBuilder sb = new StringBuilder("updateTimestampForAmazonOrder_result(");
|
| - |
|
150506 |
boolean first = true;
|
| - |
|
150507 |
|
| - |
|
150508 |
sb.append("success:");
|
| - |
|
150509 |
sb.append(this.success);
|
| - |
|
150510 |
first = false;
|
| - |
|
150511 |
sb.append(")");
|
| - |
|
150512 |
return sb.toString();
|
| - |
|
150513 |
}
|
| - |
|
150514 |
|
| - |
|
150515 |
public void validate() throws org.apache.thrift.TException {
|
| 149510 |
// check for required fields
|
150516 |
// check for required fields
|
| 149511 |
}
|
150517 |
}
|
| 149512 |
|
150518 |
|
| 149513 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
150519 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| 149514 |
try {
|
150520 |
try {
|