| Line 470... |
Line 470... |
| 470 |
* If the order is in any other state, it returns false.
|
470 |
* If the order is in any other state, it returns false.
|
| 471 |
* Throws an exception if the order with the given id couldn't be found.
|
471 |
* Throws an exception if the order with the given id couldn't be found.
|
| 472 |
*
|
472 |
*
|
| 473 |
* @param orderId
|
473 |
* @param orderId
|
| 474 |
* @param receiveCondition
|
474 |
* @param receiveCondition
|
| - |
|
475 |
* @param receiveFreebie
|
| 475 |
*/
|
476 |
*/
|
| 476 |
public boolean receiveReturn(long orderId, long receiveCondition) throws TransactionServiceException, org.apache.thrift.TException;
|
477 |
public boolean receiveReturn(long orderId, long receiveCondition, boolean receiveFreebie) throws TransactionServiceException, org.apache.thrift.TException;
|
| 477 |
|
478 |
|
| 478 |
/**
|
479 |
/**
|
| 479 |
* Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
|
480 |
* Used to validate the DOA certificate for an order in the DOA_RECEIVED_PRESTINE state. If the certificate is valid,
|
| 480 |
* the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
481 |
* the order state is changed to DOA_CERT_VALID. If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
|
| 481 |
* If the order is in any other state, it returns false.
|
482 |
* If the order is in any other state, it returns false.
|
| Line 1197... |
Line 1198... |
| 1197 |
|
1198 |
|
| 1198 |
public void markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
|
1199 |
public void markReturnOrdersAsPickedUp(long providerId, Map<String,String> pickupDetails, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markReturnOrdersAsPickedUp_call> resultHandler) throws org.apache.thrift.TException;
|
| 1199 |
|
1200 |
|
| 1200 |
public void getReturnOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
|
1201 |
public void getReturnOrdersNotPickedUp(long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrdersNotPickedUp_call> resultHandler) throws org.apache.thrift.TException;
|
| 1201 |
|
1202 |
|
| 1202 |
public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveReturn_call> resultHandler) throws org.apache.thrift.TException;
|
1203 |
public void receiveReturn(long orderId, long receiveCondition, boolean receiveFreebie, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.receiveReturn_call> resultHandler) throws org.apache.thrift.TException;
|
| 1203 |
|
1204 |
|
| 1204 |
public void validateDoa(long orderId, boolean isValid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateDoa_call> resultHandler) throws org.apache.thrift.TException;
|
1205 |
public void validateDoa(long orderId, boolean isValid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateDoa_call> resultHandler) throws org.apache.thrift.TException;
|
| 1205 |
|
1206 |
|
| 1206 |
public void validateReturnProduct(long orderId, boolean isUsable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnProduct_call> resultHandler) throws org.apache.thrift.TException;
|
1207 |
public void validateReturnProduct(long orderId, boolean isUsable, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateReturnProduct_call> resultHandler) throws org.apache.thrift.TException;
|
| 1207 |
|
1208 |
|
| Line 3180... |
Line 3181... |
| 3180 |
return result.success;
|
3181 |
return result.success;
|
| 3181 |
}
|
3182 |
}
|
| 3182 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersNotPickedUp failed: unknown result");
|
3183 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getReturnOrdersNotPickedUp failed: unknown result");
|
| 3183 |
}
|
3184 |
}
|
| 3184 |
|
3185 |
|
| 3185 |
public boolean receiveReturn(long orderId, long receiveCondition) throws TransactionServiceException, org.apache.thrift.TException
|
3186 |
public boolean receiveReturn(long orderId, long receiveCondition, boolean receiveFreebie) throws TransactionServiceException, org.apache.thrift.TException
|
| 3186 |
{
|
3187 |
{
|
| 3187 |
send_receiveReturn(orderId, receiveCondition);
|
3188 |
send_receiveReturn(orderId, receiveCondition, receiveFreebie);
|
| 3188 |
return recv_receiveReturn();
|
3189 |
return recv_receiveReturn();
|
| 3189 |
}
|
3190 |
}
|
| 3190 |
|
3191 |
|
| 3191 |
public void send_receiveReturn(long orderId, long receiveCondition) throws org.apache.thrift.TException
|
3192 |
public void send_receiveReturn(long orderId, long receiveCondition, boolean receiveFreebie) throws org.apache.thrift.TException
|
| 3192 |
{
|
3193 |
{
|
| 3193 |
receiveReturn_args args = new receiveReturn_args();
|
3194 |
receiveReturn_args args = new receiveReturn_args();
|
| 3194 |
args.setOrderId(orderId);
|
3195 |
args.setOrderId(orderId);
|
| 3195 |
args.setReceiveCondition(receiveCondition);
|
3196 |
args.setReceiveCondition(receiveCondition);
|
| - |
|
3197 |
args.setReceiveFreebie(receiveFreebie);
|
| 3196 |
sendBase("receiveReturn", args);
|
3198 |
sendBase("receiveReturn", args);
|
| 3197 |
}
|
3199 |
}
|
| 3198 |
|
3200 |
|
| 3199 |
public boolean recv_receiveReturn() throws TransactionServiceException, org.apache.thrift.TException
|
3201 |
public boolean recv_receiveReturn() throws TransactionServiceException, org.apache.thrift.TException
|
| 3200 |
{
|
3202 |
{
|
| Line 9346... |
Line 9348... |
| 9346 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
9348 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 9347 |
return (new Client(prot)).recv_getReturnOrdersNotPickedUp();
|
9349 |
return (new Client(prot)).recv_getReturnOrdersNotPickedUp();
|
| 9348 |
}
|
9350 |
}
|
| 9349 |
}
|
9351 |
}
|
| 9350 |
|
9352 |
|
| 9351 |
public void receiveReturn(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_call> resultHandler) throws org.apache.thrift.TException {
|
9353 |
public void receiveReturn(long orderId, long receiveCondition, boolean receiveFreebie, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_call> resultHandler) throws org.apache.thrift.TException {
|
| 9352 |
checkReady();
|
9354 |
checkReady();
|
| 9353 |
receiveReturn_call method_call = new receiveReturn_call(orderId, receiveCondition, resultHandler, this, ___protocolFactory, ___transport);
|
9355 |
receiveReturn_call method_call = new receiveReturn_call(orderId, receiveCondition, receiveFreebie, resultHandler, this, ___protocolFactory, ___transport);
|
| 9354 |
this.___currentMethod = method_call;
|
9356 |
this.___currentMethod = method_call;
|
| 9355 |
___manager.call(method_call);
|
9357 |
___manager.call(method_call);
|
| 9356 |
}
|
9358 |
}
|
| 9357 |
|
9359 |
|
| 9358 |
public static class receiveReturn_call extends org.apache.thrift.async.TAsyncMethodCall {
|
9360 |
public static class receiveReturn_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 9359 |
private long orderId;
|
9361 |
private long orderId;
|
| 9360 |
private long receiveCondition;
|
9362 |
private long receiveCondition;
|
| - |
|
9363 |
private boolean receiveFreebie;
|
| 9361 |
public receiveReturn_call(long orderId, long receiveCondition, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_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 {
|
9364 |
public receiveReturn_call(long orderId, long receiveCondition, boolean receiveFreebie, org.apache.thrift.async.AsyncMethodCallback<receiveReturn_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 {
|
| 9362 |
super(client, protocolFactory, transport, resultHandler, false);
|
9365 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 9363 |
this.orderId = orderId;
|
9366 |
this.orderId = orderId;
|
| 9364 |
this.receiveCondition = receiveCondition;
|
9367 |
this.receiveCondition = receiveCondition;
|
| - |
|
9368 |
this.receiveFreebie = receiveFreebie;
|
| 9365 |
}
|
9369 |
}
|
| 9366 |
|
9370 |
|
| 9367 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
9371 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 9368 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("receiveReturn", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
9372 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("receiveReturn", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 9369 |
receiveReturn_args args = new receiveReturn_args();
|
9373 |
receiveReturn_args args = new receiveReturn_args();
|
| 9370 |
args.setOrderId(orderId);
|
9374 |
args.setOrderId(orderId);
|
| 9371 |
args.setReceiveCondition(receiveCondition);
|
9375 |
args.setReceiveCondition(receiveCondition);
|
| - |
|
9376 |
args.setReceiveFreebie(receiveFreebie);
|
| 9372 |
args.write(prot);
|
9377 |
args.write(prot);
|
| 9373 |
prot.writeMessageEnd();
|
9378 |
prot.writeMessageEnd();
|
| 9374 |
}
|
9379 |
}
|
| 9375 |
|
9380 |
|
| 9376 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
9381 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 16321... |
Line 16326... |
| 16321 |
}
|
16326 |
}
|
| 16322 |
|
16327 |
|
| 16323 |
protected receiveReturn_result getResult(I iface, receiveReturn_args args) throws org.apache.thrift.TException {
|
16328 |
protected receiveReturn_result getResult(I iface, receiveReturn_args args) throws org.apache.thrift.TException {
|
| 16324 |
receiveReturn_result result = new receiveReturn_result();
|
16329 |
receiveReturn_result result = new receiveReturn_result();
|
| 16325 |
try {
|
16330 |
try {
|
| 16326 |
result.success = iface.receiveReturn(args.orderId, args.receiveCondition);
|
16331 |
result.success = iface.receiveReturn(args.orderId, args.receiveCondition, args.receiveFreebie);
|
| 16327 |
result.setSuccessIsSet(true);
|
16332 |
result.setSuccessIsSet(true);
|
| 16328 |
} catch (TransactionServiceException ex) {
|
16333 |
} catch (TransactionServiceException ex) {
|
| 16329 |
result.ex = ex;
|
16334 |
result.ex = ex;
|
| 16330 |
}
|
16335 |
}
|
| 16331 |
return result;
|
16336 |
return result;
|
| Line 63919... |
Line 63924... |
| 63919 |
}
|
63924 |
}
|
| 63920 |
}
|
63925 |
}
|
| 63921 |
|
63926 |
|
| 63922 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
63927 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 63923 |
try {
|
63928 |
try {
|
| - |
|
63929 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
63930 |
__isset_bit_vector = new BitSet(1);
|
| 63924 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
63931 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 63925 |
} catch (org.apache.thrift.TException te) {
|
63932 |
} catch (org.apache.thrift.TException te) {
|
| 63926 |
throw new java.io.IOException(te);
|
63933 |
throw new java.io.IOException(te);
|
| 63927 |
}
|
63934 |
}
|
| 63928 |
}
|
63935 |
}
|
| Line 67651... |
Line 67658... |
| 67651 |
public static class receiveReturn_args implements org.apache.thrift.TBase<receiveReturn_args, receiveReturn_args._Fields>, java.io.Serializable, Cloneable {
|
67658 |
public static class receiveReturn_args implements org.apache.thrift.TBase<receiveReturn_args, receiveReturn_args._Fields>, java.io.Serializable, Cloneable {
|
| 67652 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturn_args");
|
67659 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("receiveReturn_args");
|
| 67653 |
|
67660 |
|
| 67654 |
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);
|
67661 |
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);
|
| 67655 |
private static final org.apache.thrift.protocol.TField RECEIVE_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("receiveCondition", org.apache.thrift.protocol.TType.I64, (short)2);
|
67662 |
private static final org.apache.thrift.protocol.TField RECEIVE_CONDITION_FIELD_DESC = new org.apache.thrift.protocol.TField("receiveCondition", org.apache.thrift.protocol.TType.I64, (short)2);
|
| - |
|
67663 |
private static final org.apache.thrift.protocol.TField RECEIVE_FREEBIE_FIELD_DESC = new org.apache.thrift.protocol.TField("receiveFreebie", org.apache.thrift.protocol.TType.BOOL, (short)3);
|
| 67656 |
|
67664 |
|
| 67657 |
private long orderId; // required
|
67665 |
private long orderId; // required
|
| 67658 |
private long receiveCondition; // required
|
67666 |
private long receiveCondition; // required
|
| - |
|
67667 |
private boolean receiveFreebie; // required
|
| 67659 |
|
67668 |
|
| 67660 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
67669 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 67661 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
67670 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 67662 |
ORDER_ID((short)1, "orderId"),
|
67671 |
ORDER_ID((short)1, "orderId"),
|
| 67663 |
RECEIVE_CONDITION((short)2, "receiveCondition");
|
67672 |
RECEIVE_CONDITION((short)2, "receiveCondition"),
|
| - |
|
67673 |
RECEIVE_FREEBIE((short)3, "receiveFreebie");
|
| 67664 |
|
67674 |
|
| 67665 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
67675 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 67666 |
|
67676 |
|
| 67667 |
static {
|
67677 |
static {
|
| 67668 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
67678 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 67677... |
Line 67687... |
| 67677 |
switch(fieldId) {
|
67687 |
switch(fieldId) {
|
| 67678 |
case 1: // ORDER_ID
|
67688 |
case 1: // ORDER_ID
|
| 67679 |
return ORDER_ID;
|
67689 |
return ORDER_ID;
|
| 67680 |
case 2: // RECEIVE_CONDITION
|
67690 |
case 2: // RECEIVE_CONDITION
|
| 67681 |
return RECEIVE_CONDITION;
|
67691 |
return RECEIVE_CONDITION;
|
| - |
|
67692 |
case 3: // RECEIVE_FREEBIE
|
| - |
|
67693 |
return RECEIVE_FREEBIE;
|
| 67682 |
default:
|
67694 |
default:
|
| 67683 |
return null;
|
67695 |
return null;
|
| 67684 |
}
|
67696 |
}
|
| 67685 |
}
|
67697 |
}
|
| 67686 |
|
67698 |
|
| Line 67719... |
Line 67731... |
| 67719 |
}
|
67731 |
}
|
| 67720 |
|
67732 |
|
| 67721 |
// isset id assignments
|
67733 |
// isset id assignments
|
| 67722 |
private static final int __ORDERID_ISSET_ID = 0;
|
67734 |
private static final int __ORDERID_ISSET_ID = 0;
|
| 67723 |
private static final int __RECEIVECONDITION_ISSET_ID = 1;
|
67735 |
private static final int __RECEIVECONDITION_ISSET_ID = 1;
|
| - |
|
67736 |
private static final int __RECEIVEFREEBIE_ISSET_ID = 2;
|
| 67724 |
private BitSet __isset_bit_vector = new BitSet(2);
|
67737 |
private BitSet __isset_bit_vector = new BitSet(3);
|
| 67725 |
|
67738 |
|
| 67726 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
67739 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 67727 |
static {
|
67740 |
static {
|
| 67728 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
67741 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 67729 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
67742 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 67730 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
67743 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 67731 |
tmpMap.put(_Fields.RECEIVE_CONDITION, new org.apache.thrift.meta_data.FieldMetaData("receiveCondition", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
67744 |
tmpMap.put(_Fields.RECEIVE_CONDITION, new org.apache.thrift.meta_data.FieldMetaData("receiveCondition", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 67732 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
67745 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
67746 |
tmpMap.put(_Fields.RECEIVE_FREEBIE, new org.apache.thrift.meta_data.FieldMetaData("receiveFreebie", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
67747 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 67733 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
67748 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 67734 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(receiveReturn_args.class, metaDataMap);
|
67749 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(receiveReturn_args.class, metaDataMap);
|
| 67735 |
}
|
67750 |
}
|
| 67736 |
|
67751 |
|
| 67737 |
public receiveReturn_args() {
|
67752 |
public receiveReturn_args() {
|
| 67738 |
}
|
67753 |
}
|
| 67739 |
|
67754 |
|
| 67740 |
public receiveReturn_args(
|
67755 |
public receiveReturn_args(
|
| 67741 |
long orderId,
|
67756 |
long orderId,
|
| 67742 |
long receiveCondition)
|
67757 |
long receiveCondition,
|
| - |
|
67758 |
boolean receiveFreebie)
|
| 67743 |
{
|
67759 |
{
|
| 67744 |
this();
|
67760 |
this();
|
| 67745 |
this.orderId = orderId;
|
67761 |
this.orderId = orderId;
|
| 67746 |
setOrderIdIsSet(true);
|
67762 |
setOrderIdIsSet(true);
|
| 67747 |
this.receiveCondition = receiveCondition;
|
67763 |
this.receiveCondition = receiveCondition;
|
| 67748 |
setReceiveConditionIsSet(true);
|
67764 |
setReceiveConditionIsSet(true);
|
| - |
|
67765 |
this.receiveFreebie = receiveFreebie;
|
| - |
|
67766 |
setReceiveFreebieIsSet(true);
|
| 67749 |
}
|
67767 |
}
|
| 67750 |
|
67768 |
|
| 67751 |
/**
|
67769 |
/**
|
| 67752 |
* Performs a deep copy on <i>other</i>.
|
67770 |
* Performs a deep copy on <i>other</i>.
|
| 67753 |
*/
|
67771 |
*/
|
| 67754 |
public receiveReturn_args(receiveReturn_args other) {
|
67772 |
public receiveReturn_args(receiveReturn_args other) {
|
| 67755 |
__isset_bit_vector.clear();
|
67773 |
__isset_bit_vector.clear();
|
| 67756 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
67774 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 67757 |
this.orderId = other.orderId;
|
67775 |
this.orderId = other.orderId;
|
| 67758 |
this.receiveCondition = other.receiveCondition;
|
67776 |
this.receiveCondition = other.receiveCondition;
|
| - |
|
67777 |
this.receiveFreebie = other.receiveFreebie;
|
| 67759 |
}
|
67778 |
}
|
| 67760 |
|
67779 |
|
| 67761 |
public receiveReturn_args deepCopy() {
|
67780 |
public receiveReturn_args deepCopy() {
|
| 67762 |
return new receiveReturn_args(this);
|
67781 |
return new receiveReturn_args(this);
|
| 67763 |
}
|
67782 |
}
|
| Line 67766... |
Line 67785... |
| 67766 |
public void clear() {
|
67785 |
public void clear() {
|
| 67767 |
setOrderIdIsSet(false);
|
67786 |
setOrderIdIsSet(false);
|
| 67768 |
this.orderId = 0;
|
67787 |
this.orderId = 0;
|
| 67769 |
setReceiveConditionIsSet(false);
|
67788 |
setReceiveConditionIsSet(false);
|
| 67770 |
this.receiveCondition = 0;
|
67789 |
this.receiveCondition = 0;
|
| - |
|
67790 |
setReceiveFreebieIsSet(false);
|
| - |
|
67791 |
this.receiveFreebie = false;
|
| 67771 |
}
|
67792 |
}
|
| 67772 |
|
67793 |
|
| 67773 |
public long getOrderId() {
|
67794 |
public long getOrderId() {
|
| 67774 |
return this.orderId;
|
67795 |
return this.orderId;
|
| 67775 |
}
|
67796 |
}
|
| Line 67812... |
Line 67833... |
| 67812 |
|
67833 |
|
| 67813 |
public void setReceiveConditionIsSet(boolean value) {
|
67834 |
public void setReceiveConditionIsSet(boolean value) {
|
| 67814 |
__isset_bit_vector.set(__RECEIVECONDITION_ISSET_ID, value);
|
67835 |
__isset_bit_vector.set(__RECEIVECONDITION_ISSET_ID, value);
|
| 67815 |
}
|
67836 |
}
|
| 67816 |
|
67837 |
|
| - |
|
67838 |
public boolean isReceiveFreebie() {
|
| - |
|
67839 |
return this.receiveFreebie;
|
| - |
|
67840 |
}
|
| - |
|
67841 |
|
| - |
|
67842 |
public void setReceiveFreebie(boolean receiveFreebie) {
|
| - |
|
67843 |
this.receiveFreebie = receiveFreebie;
|
| - |
|
67844 |
setReceiveFreebieIsSet(true);
|
| - |
|
67845 |
}
|
| - |
|
67846 |
|
| - |
|
67847 |
public void unsetReceiveFreebie() {
|
| - |
|
67848 |
__isset_bit_vector.clear(__RECEIVEFREEBIE_ISSET_ID);
|
| - |
|
67849 |
}
|
| - |
|
67850 |
|
| - |
|
67851 |
/** Returns true if field receiveFreebie is set (has been assigned a value) and false otherwise */
|
| - |
|
67852 |
public boolean isSetReceiveFreebie() {
|
| - |
|
67853 |
return __isset_bit_vector.get(__RECEIVEFREEBIE_ISSET_ID);
|
| - |
|
67854 |
}
|
| - |
|
67855 |
|
| - |
|
67856 |
public void setReceiveFreebieIsSet(boolean value) {
|
| - |
|
67857 |
__isset_bit_vector.set(__RECEIVEFREEBIE_ISSET_ID, value);
|
| - |
|
67858 |
}
|
| - |
|
67859 |
|
| 67817 |
public void setFieldValue(_Fields field, Object value) {
|
67860 |
public void setFieldValue(_Fields field, Object value) {
|
| 67818 |
switch (field) {
|
67861 |
switch (field) {
|
| 67819 |
case ORDER_ID:
|
67862 |
case ORDER_ID:
|
| 67820 |
if (value == null) {
|
67863 |
if (value == null) {
|
| 67821 |
unsetOrderId();
|
67864 |
unsetOrderId();
|
| Line 67830... |
Line 67873... |
| 67830 |
} else {
|
67873 |
} else {
|
| 67831 |
setReceiveCondition((Long)value);
|
67874 |
setReceiveCondition((Long)value);
|
| 67832 |
}
|
67875 |
}
|
| 67833 |
break;
|
67876 |
break;
|
| 67834 |
|
67877 |
|
| - |
|
67878 |
case RECEIVE_FREEBIE:
|
| - |
|
67879 |
if (value == null) {
|
| - |
|
67880 |
unsetReceiveFreebie();
|
| - |
|
67881 |
} else {
|
| - |
|
67882 |
setReceiveFreebie((Boolean)value);
|
| - |
|
67883 |
}
|
| - |
|
67884 |
break;
|
| - |
|
67885 |
|
| 67835 |
}
|
67886 |
}
|
| 67836 |
}
|
67887 |
}
|
| 67837 |
|
67888 |
|
| 67838 |
public Object getFieldValue(_Fields field) {
|
67889 |
public Object getFieldValue(_Fields field) {
|
| 67839 |
switch (field) {
|
67890 |
switch (field) {
|
| Line 67841... |
Line 67892... |
| 67841 |
return Long.valueOf(getOrderId());
|
67892 |
return Long.valueOf(getOrderId());
|
| 67842 |
|
67893 |
|
| 67843 |
case RECEIVE_CONDITION:
|
67894 |
case RECEIVE_CONDITION:
|
| 67844 |
return Long.valueOf(getReceiveCondition());
|
67895 |
return Long.valueOf(getReceiveCondition());
|
| 67845 |
|
67896 |
|
| - |
|
67897 |
case RECEIVE_FREEBIE:
|
| - |
|
67898 |
return Boolean.valueOf(isReceiveFreebie());
|
| - |
|
67899 |
|
| 67846 |
}
|
67900 |
}
|
| 67847 |
throw new IllegalStateException();
|
67901 |
throw new IllegalStateException();
|
| 67848 |
}
|
67902 |
}
|
| 67849 |
|
67903 |
|
| 67850 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
67904 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 67856... |
Line 67910... |
| 67856 |
switch (field) {
|
67910 |
switch (field) {
|
| 67857 |
case ORDER_ID:
|
67911 |
case ORDER_ID:
|
| 67858 |
return isSetOrderId();
|
67912 |
return isSetOrderId();
|
| 67859 |
case RECEIVE_CONDITION:
|
67913 |
case RECEIVE_CONDITION:
|
| 67860 |
return isSetReceiveCondition();
|
67914 |
return isSetReceiveCondition();
|
| - |
|
67915 |
case RECEIVE_FREEBIE:
|
| - |
|
67916 |
return isSetReceiveFreebie();
|
| 67861 |
}
|
67917 |
}
|
| 67862 |
throw new IllegalStateException();
|
67918 |
throw new IllegalStateException();
|
| 67863 |
}
|
67919 |
}
|
| 67864 |
|
67920 |
|
| 67865 |
@Override
|
67921 |
@Override
|
| Line 67891... |
Line 67947... |
| 67891 |
return false;
|
67947 |
return false;
|
| 67892 |
if (this.receiveCondition != that.receiveCondition)
|
67948 |
if (this.receiveCondition != that.receiveCondition)
|
| 67893 |
return false;
|
67949 |
return false;
|
| 67894 |
}
|
67950 |
}
|
| 67895 |
|
67951 |
|
| - |
|
67952 |
boolean this_present_receiveFreebie = true;
|
| - |
|
67953 |
boolean that_present_receiveFreebie = true;
|
| - |
|
67954 |
if (this_present_receiveFreebie || that_present_receiveFreebie) {
|
| - |
|
67955 |
if (!(this_present_receiveFreebie && that_present_receiveFreebie))
|
| - |
|
67956 |
return false;
|
| - |
|
67957 |
if (this.receiveFreebie != that.receiveFreebie)
|
| - |
|
67958 |
return false;
|
| - |
|
67959 |
}
|
| - |
|
67960 |
|
| 67896 |
return true;
|
67961 |
return true;
|
| 67897 |
}
|
67962 |
}
|
| 67898 |
|
67963 |
|
| 67899 |
@Override
|
67964 |
@Override
|
| 67900 |
public int hashCode() {
|
67965 |
public int hashCode() {
|
| Line 67927... |
Line 67992... |
| 67927 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.receiveCondition, typedOther.receiveCondition);
|
67992 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.receiveCondition, typedOther.receiveCondition);
|
| 67928 |
if (lastComparison != 0) {
|
67993 |
if (lastComparison != 0) {
|
| 67929 |
return lastComparison;
|
67994 |
return lastComparison;
|
| 67930 |
}
|
67995 |
}
|
| 67931 |
}
|
67996 |
}
|
| - |
|
67997 |
lastComparison = Boolean.valueOf(isSetReceiveFreebie()).compareTo(typedOther.isSetReceiveFreebie());
|
| - |
|
67998 |
if (lastComparison != 0) {
|
| - |
|
67999 |
return lastComparison;
|
| - |
|
68000 |
}
|
| - |
|
68001 |
if (isSetReceiveFreebie()) {
|
| - |
|
68002 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.receiveFreebie, typedOther.receiveFreebie);
|
| - |
|
68003 |
if (lastComparison != 0) {
|
| - |
|
68004 |
return lastComparison;
|
| - |
|
68005 |
}
|
| - |
|
68006 |
}
|
| 67932 |
return 0;
|
68007 |
return 0;
|
| 67933 |
}
|
68008 |
}
|
| 67934 |
|
68009 |
|
| 67935 |
public _Fields fieldForId(int fieldId) {
|
68010 |
public _Fields fieldForId(int fieldId) {
|
| 67936 |
return _Fields.findByThriftId(fieldId);
|
68011 |
return _Fields.findByThriftId(fieldId);
|
| Line 67960... |
Line 68035... |
| 67960 |
setReceiveConditionIsSet(true);
|
68035 |
setReceiveConditionIsSet(true);
|
| 67961 |
} else {
|
68036 |
} else {
|
| 67962 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
68037 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 67963 |
}
|
68038 |
}
|
| 67964 |
break;
|
68039 |
break;
|
| - |
|
68040 |
case 3: // RECEIVE_FREEBIE
|
| - |
|
68041 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
68042 |
this.receiveFreebie = iprot.readBool();
|
| - |
|
68043 |
setReceiveFreebieIsSet(true);
|
| - |
|
68044 |
} else {
|
| - |
|
68045 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
68046 |
}
|
| - |
|
68047 |
break;
|
| 67965 |
default:
|
68048 |
default:
|
| 67966 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
68049 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 67967 |
}
|
68050 |
}
|
| 67968 |
iprot.readFieldEnd();
|
68051 |
iprot.readFieldEnd();
|
| 67969 |
}
|
68052 |
}
|
| Line 67979... |
Line 68062... |
| 67979 |
oprot.writeI64(this.orderId);
|
68062 |
oprot.writeI64(this.orderId);
|
| 67980 |
oprot.writeFieldEnd();
|
68063 |
oprot.writeFieldEnd();
|
| 67981 |
oprot.writeFieldBegin(RECEIVE_CONDITION_FIELD_DESC);
|
68064 |
oprot.writeFieldBegin(RECEIVE_CONDITION_FIELD_DESC);
|
| 67982 |
oprot.writeI64(this.receiveCondition);
|
68065 |
oprot.writeI64(this.receiveCondition);
|
| 67983 |
oprot.writeFieldEnd();
|
68066 |
oprot.writeFieldEnd();
|
| - |
|
68067 |
oprot.writeFieldBegin(RECEIVE_FREEBIE_FIELD_DESC);
|
| - |
|
68068 |
oprot.writeBool(this.receiveFreebie);
|
| - |
|
68069 |
oprot.writeFieldEnd();
|
| 67984 |
oprot.writeFieldStop();
|
68070 |
oprot.writeFieldStop();
|
| 67985 |
oprot.writeStructEnd();
|
68071 |
oprot.writeStructEnd();
|
| 67986 |
}
|
68072 |
}
|
| 67987 |
|
68073 |
|
| 67988 |
@Override
|
68074 |
@Override
|
| Line 67995... |
Line 68081... |
| 67995 |
first = false;
|
68081 |
first = false;
|
| 67996 |
if (!first) sb.append(", ");
|
68082 |
if (!first) sb.append(", ");
|
| 67997 |
sb.append("receiveCondition:");
|
68083 |
sb.append("receiveCondition:");
|
| 67998 |
sb.append(this.receiveCondition);
|
68084 |
sb.append(this.receiveCondition);
|
| 67999 |
first = false;
|
68085 |
first = false;
|
| - |
|
68086 |
if (!first) sb.append(", ");
|
| - |
|
68087 |
sb.append("receiveFreebie:");
|
| - |
|
68088 |
sb.append(this.receiveFreebie);
|
| - |
|
68089 |
first = false;
|
| 68000 |
sb.append(")");
|
68090 |
sb.append(")");
|
| 68001 |
return sb.toString();
|
68091 |
return sb.toString();
|
| 68002 |
}
|
68092 |
}
|
| 68003 |
|
68093 |
|
| 68004 |
public void validate() throws org.apache.thrift.TException {
|
68094 |
public void validate() throws org.apache.thrift.TException {
|
| Line 68769... |
Line 68859... |
| 68769 |
}
|
68859 |
}
|
| 68770 |
}
|
68860 |
}
|
| 68771 |
|
68861 |
|
| 68772 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
68862 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 68773 |
try {
|
68863 |
try {
|
| - |
|
68864 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
68865 |
__isset_bit_vector = new BitSet(1);
|
| 68774 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
68866 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 68775 |
} catch (org.apache.thrift.TException te) {
|
68867 |
} catch (org.apache.thrift.TException te) {
|
| 68776 |
throw new java.io.IOException(te);
|
68868 |
throw new java.io.IOException(te);
|
| 68777 |
}
|
68869 |
}
|
| 68778 |
}
|
68870 |
}
|
| Line 69525... |
Line 69617... |
| 69525 |
}
|
69617 |
}
|
| 69526 |
}
|
69618 |
}
|
| 69527 |
|
69619 |
|
| 69528 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
69620 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 69529 |
try {
|
69621 |
try {
|
| - |
|
69622 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
69623 |
__isset_bit_vector = new BitSet(1);
|
| 69530 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
69624 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 69531 |
} catch (org.apache.thrift.TException te) {
|
69625 |
} catch (org.apache.thrift.TException te) {
|
| 69532 |
throw new java.io.IOException(te);
|
69626 |
throw new java.io.IOException(te);
|
| 69533 |
}
|
69627 |
}
|
| 69534 |
}
|
69628 |
}
|
| Line 70198... |
Line 70292... |
| 70198 |
}
|
70292 |
}
|
| 70199 |
}
|
70293 |
}
|
| 70200 |
|
70294 |
|
| 70201 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
70295 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 70202 |
try {
|
70296 |
try {
|
| - |
|
70297 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
70298 |
__isset_bit_vector = new BitSet(1);
|
| 70203 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
70299 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 70204 |
} catch (org.apache.thrift.TException te) {
|
70300 |
} catch (org.apache.thrift.TException te) {
|
| 70205 |
throw new java.io.IOException(te);
|
70301 |
throw new java.io.IOException(te);
|
| 70206 |
}
|
70302 |
}
|
| 70207 |
}
|
70303 |
}
|
| Line 80297... |
Line 80393... |
| 80297 |
}
|
80393 |
}
|
| 80298 |
}
|
80394 |
}
|
| 80299 |
|
80395 |
|
| 80300 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
80396 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 80301 |
try {
|
80397 |
try {
|
| 80302 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 80303 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 80304 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
80398 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 80305 |
} catch (org.apache.thrift.TException te) {
|
80399 |
} catch (org.apache.thrift.TException te) {
|
| 80306 |
throw new java.io.IOException(te);
|
80400 |
throw new java.io.IOException(te);
|
| 80307 |
}
|
80401 |
}
|
| 80308 |
}
|
80402 |
}
|
| Line 109231... |
Line 109325... |
| 109231 |
}
|
109325 |
}
|
| 109232 |
}
|
109326 |
}
|
| 109233 |
|
109327 |
|
| 109234 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
109328 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 109235 |
try {
|
109329 |
try {
|
| - |
|
109330 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
109331 |
__isset_bit_vector = new BitSet(1);
|
| 109236 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
109332 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 109237 |
} catch (org.apache.thrift.TException te) {
|
109333 |
} catch (org.apache.thrift.TException te) {
|
| 109238 |
throw new java.io.IOException(te);
|
109334 |
throw new java.io.IOException(te);
|
| 109239 |
}
|
109335 |
}
|
| 109240 |
}
|
109336 |
}
|
| Line 144128... |
Line 144224... |
| 144128 |
}
|
144224 |
}
|
| 144129 |
}
|
144225 |
}
|
| 144130 |
|
144226 |
|
| 144131 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
144227 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 144132 |
try {
|
144228 |
try {
|
| 144133 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
- |
|
| 144134 |
__isset_bit_vector = new BitSet(1);
|
- |
|
| 144135 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
144229 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 144136 |
} catch (org.apache.thrift.TException te) {
|
144230 |
} catch (org.apache.thrift.TException te) {
|
| 144137 |
throw new java.io.IOException(te);
|
144231 |
throw new java.io.IOException(te);
|
| 144138 |
}
|
144232 |
}
|
| 144139 |
}
|
144233 |
}
|