| Line 875... |
Line 875... |
| 875 |
|
875 |
|
| 876 |
public Map<Long,String> getServiceProviders(RechargeType rechargeType, boolean onlyActive) throws org.apache.thrift.TException;
|
876 |
public Map<Long,String> getServiceProviders(RechargeType rechargeType, boolean onlyActive) throws org.apache.thrift.TException;
|
| 877 |
|
877 |
|
| 878 |
public DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, String deviceNumber) throws org.apache.thrift.TException;
|
878 |
public DeviceNumberInfo getServiceProviderForDevice(RechargeType rechargeType, String deviceNumber) throws org.apache.thrift.TException;
|
| 879 |
|
879 |
|
| 880 |
public String validateRecharge(RechargeType rechargeType, String deviceNumber) throws org.apache.thrift.TException;
|
880 |
public String validateRecharge(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId) throws org.apache.thrift.TException;
|
| 881 |
|
881 |
|
| 882 |
public List<RechargeOrder> getRechargeOrdersForDevice(String deviceNumber) throws org.apache.thrift.TException;
|
882 |
public List<RechargeOrder> getRechargeOrdersForDevice(String deviceNumber) throws org.apache.thrift.TException;
|
| 883 |
|
883 |
|
| 884 |
public void addAmountToWallet(long userId, long orderId, long amount) throws org.apache.thrift.TException;
|
884 |
public void addAmountToWallet(long userId, long orderId, long amount) throws org.apache.thrift.TException;
|
| 885 |
|
885 |
|
| Line 891... |
Line 891... |
| 891 |
|
891 |
|
| 892 |
/**
|
892 |
/**
|
| 893 |
* Returns denominations for a given operator and circle
|
893 |
* Returns denominations for a given operator and circle
|
| 894 |
*
|
894 |
*
|
| 895 |
* @param operatorId
|
895 |
* @param operatorId
|
| 896 |
* @param circleName
|
896 |
* @param circleCode
|
| 897 |
* @param denominationType
|
897 |
* @param denominationType
|
| 898 |
*/
|
898 |
*/
|
| 899 |
public List<RechargeDenomination> getRechargeDenominations(long operatorId, String circleName, DenominationType denominationType) throws TransactionServiceException, org.apache.thrift.TException;
|
899 |
public List<RechargeDenomination> getRechargeDenominations(long operatorId, String circleCode, DenominationType denominationType) throws TransactionServiceException, org.apache.thrift.TException;
|
| 900 |
|
900 |
|
| 901 |
}
|
901 |
}
|
| 902 |
|
902 |
|
| 903 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
903 |
public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
|
| 904 |
|
904 |
|
| Line 1174... |
Line 1174... |
| 1174 |
|
1174 |
|
| 1175 |
public void getServiceProviders(RechargeType rechargeType, boolean onlyActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getServiceProviders_call> resultHandler) throws org.apache.thrift.TException;
|
1175 |
public void getServiceProviders(RechargeType rechargeType, boolean onlyActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getServiceProviders_call> resultHandler) throws org.apache.thrift.TException;
|
| 1176 |
|
1176 |
|
| 1177 |
public void getServiceProviderForDevice(RechargeType rechargeType, String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getServiceProviderForDevice_call> resultHandler) throws org.apache.thrift.TException;
|
1177 |
public void getServiceProviderForDevice(RechargeType rechargeType, String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getServiceProviderForDevice_call> resultHandler) throws org.apache.thrift.TException;
|
| 1178 |
|
1178 |
|
| 1179 |
public void validateRecharge(RechargeType rechargeType, String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRecharge_call> resultHandler) throws org.apache.thrift.TException;
|
1179 |
public void validateRecharge(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRecharge_call> resultHandler) throws org.apache.thrift.TException;
|
| 1180 |
|
1180 |
|
| 1181 |
public void getRechargeOrdersForDevice(String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrdersForDevice_call> resultHandler) throws org.apache.thrift.TException;
|
1181 |
public void getRechargeOrdersForDevice(String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrdersForDevice_call> resultHandler) throws org.apache.thrift.TException;
|
| 1182 |
|
1182 |
|
| 1183 |
public void addAmountToWallet(long userId, long orderId, long amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmountToWallet_call> resultHandler) throws org.apache.thrift.TException;
|
1183 |
public void addAmountToWallet(long userId, long orderId, long amount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmountToWallet_call> resultHandler) throws org.apache.thrift.TException;
|
| 1184 |
|
1184 |
|
| Line 1186... |
Line 1186... |
| 1186 |
|
1186 |
|
| 1187 |
public void getRechargeOrdersForStatus(long status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrdersForStatus_call> resultHandler) throws org.apache.thrift.TException;
|
1187 |
public void getRechargeOrdersForStatus(long status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeOrdersForStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 1188 |
|
1188 |
|
| 1189 |
public void getPlansForOperator(long operatorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPlansForOperator_call> resultHandler) throws org.apache.thrift.TException;
|
1189 |
public void getPlansForOperator(long operatorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPlansForOperator_call> resultHandler) throws org.apache.thrift.TException;
|
| 1190 |
|
1190 |
|
| 1191 |
public void getRechargeDenominations(long operatorId, String circleName, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeDenominations_call> resultHandler) throws org.apache.thrift.TException;
|
1191 |
public void getRechargeDenominations(long operatorId, String circleCode, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeDenominations_call> resultHandler) throws org.apache.thrift.TException;
|
| 1192 |
|
1192 |
|
| 1193 |
}
|
1193 |
}
|
| 1194 |
|
1194 |
|
| 1195 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
1195 |
public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
|
| 1196 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
1196 |
public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
|
| Line 4679... |
Line 4679... |
| 4679 |
return result.success;
|
4679 |
return result.success;
|
| 4680 |
}
|
4680 |
}
|
| 4681 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getServiceProviderForDevice failed: unknown result");
|
4681 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getServiceProviderForDevice failed: unknown result");
|
| 4682 |
}
|
4682 |
}
|
| 4683 |
|
4683 |
|
| 4684 |
public String validateRecharge(RechargeType rechargeType, String deviceNumber) throws org.apache.thrift.TException
|
4684 |
public String validateRecharge(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId) throws org.apache.thrift.TException
|
| 4685 |
{
|
4685 |
{
|
| 4686 |
send_validateRecharge(rechargeType, deviceNumber);
|
4686 |
send_validateRecharge(rechargeType, deviceNumber, circleCode, userSelectedProviderId);
|
| 4687 |
return recv_validateRecharge();
|
4687 |
return recv_validateRecharge();
|
| 4688 |
}
|
4688 |
}
|
| 4689 |
|
4689 |
|
| 4690 |
public void send_validateRecharge(RechargeType rechargeType, String deviceNumber) throws org.apache.thrift.TException
|
4690 |
public void send_validateRecharge(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId) throws org.apache.thrift.TException
|
| 4691 |
{
|
4691 |
{
|
| 4692 |
validateRecharge_args args = new validateRecharge_args();
|
4692 |
validateRecharge_args args = new validateRecharge_args();
|
| 4693 |
args.setRechargeType(rechargeType);
|
4693 |
args.setRechargeType(rechargeType);
|
| 4694 |
args.setDeviceNumber(deviceNumber);
|
4694 |
args.setDeviceNumber(deviceNumber);
|
| - |
|
4695 |
args.setCircleCode(circleCode);
|
| - |
|
4696 |
args.setUserSelectedProviderId(userSelectedProviderId);
|
| 4695 |
sendBase("validateRecharge", args);
|
4697 |
sendBase("validateRecharge", args);
|
| 4696 |
}
|
4698 |
}
|
| 4697 |
|
4699 |
|
| 4698 |
public String recv_validateRecharge() throws org.apache.thrift.TException
|
4700 |
public String recv_validateRecharge() throws org.apache.thrift.TException
|
| 4699 |
{
|
4701 |
{
|
| Line 4816... |
Line 4818... |
| 4816 |
return result.success;
|
4818 |
return result.success;
|
| 4817 |
}
|
4819 |
}
|
| 4818 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPlansForOperator failed: unknown result");
|
4820 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPlansForOperator failed: unknown result");
|
| 4819 |
}
|
4821 |
}
|
| 4820 |
|
4822 |
|
| 4821 |
public List<RechargeDenomination> getRechargeDenominations(long operatorId, String circleName, DenominationType denominationType) throws TransactionServiceException, org.apache.thrift.TException
|
4823 |
public List<RechargeDenomination> getRechargeDenominations(long operatorId, String circleCode, DenominationType denominationType) throws TransactionServiceException, org.apache.thrift.TException
|
| 4822 |
{
|
4824 |
{
|
| 4823 |
send_getRechargeDenominations(operatorId, circleName, denominationType);
|
4825 |
send_getRechargeDenominations(operatorId, circleCode, denominationType);
|
| 4824 |
return recv_getRechargeDenominations();
|
4826 |
return recv_getRechargeDenominations();
|
| 4825 |
}
|
4827 |
}
|
| 4826 |
|
4828 |
|
| 4827 |
public void send_getRechargeDenominations(long operatorId, String circleName, DenominationType denominationType) throws org.apache.thrift.TException
|
4829 |
public void send_getRechargeDenominations(long operatorId, String circleCode, DenominationType denominationType) throws org.apache.thrift.TException
|
| 4828 |
{
|
4830 |
{
|
| 4829 |
getRechargeDenominations_args args = new getRechargeDenominations_args();
|
4831 |
getRechargeDenominations_args args = new getRechargeDenominations_args();
|
| 4830 |
args.setOperatorId(operatorId);
|
4832 |
args.setOperatorId(operatorId);
|
| 4831 |
args.setCircleName(circleName);
|
4833 |
args.setCircleCode(circleCode);
|
| 4832 |
args.setDenominationType(denominationType);
|
4834 |
args.setDenominationType(denominationType);
|
| 4833 |
sendBase("getRechargeDenominations", args);
|
4835 |
sendBase("getRechargeDenominations", args);
|
| 4834 |
}
|
4836 |
}
|
| 4835 |
|
4837 |
|
| 4836 |
public List<RechargeDenomination> recv_getRechargeDenominations() throws TransactionServiceException, org.apache.thrift.TException
|
4838 |
public List<RechargeDenomination> recv_getRechargeDenominations() throws TransactionServiceException, org.apache.thrift.TException
|
| Line 9651... |
Line 9653... |
| 9651 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
9653 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 9652 |
return (new Client(prot)).recv_getServiceProviderForDevice();
|
9654 |
return (new Client(prot)).recv_getServiceProviderForDevice();
|
| 9653 |
}
|
9655 |
}
|
| 9654 |
}
|
9656 |
}
|
| 9655 |
|
9657 |
|
| 9656 |
public void validateRecharge(RechargeType rechargeType, String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<validateRecharge_call> resultHandler) throws org.apache.thrift.TException {
|
9658 |
public void validateRecharge(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId, org.apache.thrift.async.AsyncMethodCallback<validateRecharge_call> resultHandler) throws org.apache.thrift.TException {
|
| 9657 |
checkReady();
|
9659 |
checkReady();
|
| 9658 |
validateRecharge_call method_call = new validateRecharge_call(rechargeType, deviceNumber, resultHandler, this, ___protocolFactory, ___transport);
|
9660 |
validateRecharge_call method_call = new validateRecharge_call(rechargeType, deviceNumber, circleCode, userSelectedProviderId, resultHandler, this, ___protocolFactory, ___transport);
|
| 9659 |
this.___currentMethod = method_call;
|
9661 |
this.___currentMethod = method_call;
|
| 9660 |
___manager.call(method_call);
|
9662 |
___manager.call(method_call);
|
| 9661 |
}
|
9663 |
}
|
| 9662 |
|
9664 |
|
| 9663 |
public static class validateRecharge_call extends org.apache.thrift.async.TAsyncMethodCall {
|
9665 |
public static class validateRecharge_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 9664 |
private RechargeType rechargeType;
|
9666 |
private RechargeType rechargeType;
|
| 9665 |
private String deviceNumber;
|
9667 |
private String deviceNumber;
|
| - |
|
9668 |
private String circleCode;
|
| - |
|
9669 |
private long userSelectedProviderId;
|
| 9666 |
public validateRecharge_call(RechargeType rechargeType, String deviceNumber, org.apache.thrift.async.AsyncMethodCallback<validateRecharge_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 {
|
9670 |
public validateRecharge_call(RechargeType rechargeType, String deviceNumber, String circleCode, long userSelectedProviderId, org.apache.thrift.async.AsyncMethodCallback<validateRecharge_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 {
|
| 9667 |
super(client, protocolFactory, transport, resultHandler, false);
|
9671 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 9668 |
this.rechargeType = rechargeType;
|
9672 |
this.rechargeType = rechargeType;
|
| 9669 |
this.deviceNumber = deviceNumber;
|
9673 |
this.deviceNumber = deviceNumber;
|
| - |
|
9674 |
this.circleCode = circleCode;
|
| - |
|
9675 |
this.userSelectedProviderId = userSelectedProviderId;
|
| 9670 |
}
|
9676 |
}
|
| 9671 |
|
9677 |
|
| 9672 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
9678 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 9673 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("validateRecharge", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
9679 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("validateRecharge", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 9674 |
validateRecharge_args args = new validateRecharge_args();
|
9680 |
validateRecharge_args args = new validateRecharge_args();
|
| 9675 |
args.setRechargeType(rechargeType);
|
9681 |
args.setRechargeType(rechargeType);
|
| 9676 |
args.setDeviceNumber(deviceNumber);
|
9682 |
args.setDeviceNumber(deviceNumber);
|
| - |
|
9683 |
args.setCircleCode(circleCode);
|
| - |
|
9684 |
args.setUserSelectedProviderId(userSelectedProviderId);
|
| 9677 |
args.write(prot);
|
9685 |
args.write(prot);
|
| 9678 |
prot.writeMessageEnd();
|
9686 |
prot.writeMessageEnd();
|
| 9679 |
}
|
9687 |
}
|
| 9680 |
|
9688 |
|
| 9681 |
public String getResult() throws org.apache.thrift.TException {
|
9689 |
public String getResult() throws org.apache.thrift.TException {
|
| Line 9849... |
Line 9857... |
| 9849 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
9857 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 9850 |
return (new Client(prot)).recv_getPlansForOperator();
|
9858 |
return (new Client(prot)).recv_getPlansForOperator();
|
| 9851 |
}
|
9859 |
}
|
| 9852 |
}
|
9860 |
}
|
| 9853 |
|
9861 |
|
| 9854 |
public void getRechargeDenominations(long operatorId, String circleName, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<getRechargeDenominations_call> resultHandler) throws org.apache.thrift.TException {
|
9862 |
public void getRechargeDenominations(long operatorId, String circleCode, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<getRechargeDenominations_call> resultHandler) throws org.apache.thrift.TException {
|
| 9855 |
checkReady();
|
9863 |
checkReady();
|
| 9856 |
getRechargeDenominations_call method_call = new getRechargeDenominations_call(operatorId, circleName, denominationType, resultHandler, this, ___protocolFactory, ___transport);
|
9864 |
getRechargeDenominations_call method_call = new getRechargeDenominations_call(operatorId, circleCode, denominationType, resultHandler, this, ___protocolFactory, ___transport);
|
| 9857 |
this.___currentMethod = method_call;
|
9865 |
this.___currentMethod = method_call;
|
| 9858 |
___manager.call(method_call);
|
9866 |
___manager.call(method_call);
|
| 9859 |
}
|
9867 |
}
|
| 9860 |
|
9868 |
|
| 9861 |
public static class getRechargeDenominations_call extends org.apache.thrift.async.TAsyncMethodCall {
|
9869 |
public static class getRechargeDenominations_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 9862 |
private long operatorId;
|
9870 |
private long operatorId;
|
| 9863 |
private String circleName;
|
9871 |
private String circleCode;
|
| 9864 |
private DenominationType denominationType;
|
9872 |
private DenominationType denominationType;
|
| 9865 |
public getRechargeDenominations_call(long operatorId, String circleName, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<getRechargeDenominations_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 {
|
9873 |
public getRechargeDenominations_call(long operatorId, String circleCode, DenominationType denominationType, org.apache.thrift.async.AsyncMethodCallback<getRechargeDenominations_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 {
|
| 9866 |
super(client, protocolFactory, transport, resultHandler, false);
|
9874 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 9867 |
this.operatorId = operatorId;
|
9875 |
this.operatorId = operatorId;
|
| 9868 |
this.circleName = circleName;
|
9876 |
this.circleCode = circleCode;
|
| 9869 |
this.denominationType = denominationType;
|
9877 |
this.denominationType = denominationType;
|
| 9870 |
}
|
9878 |
}
|
| 9871 |
|
9879 |
|
| 9872 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
9880 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 9873 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeDenominations", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
9881 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeDenominations", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 9874 |
getRechargeDenominations_args args = new getRechargeDenominations_args();
|
9882 |
getRechargeDenominations_args args = new getRechargeDenominations_args();
|
| 9875 |
args.setOperatorId(operatorId);
|
9883 |
args.setOperatorId(operatorId);
|
| 9876 |
args.setCircleName(circleName);
|
9884 |
args.setCircleCode(circleCode);
|
| 9877 |
args.setDenominationType(denominationType);
|
9885 |
args.setDenominationType(denominationType);
|
| 9878 |
args.write(prot);
|
9886 |
args.write(prot);
|
| 9879 |
prot.writeMessageEnd();
|
9887 |
prot.writeMessageEnd();
|
| 9880 |
}
|
9888 |
}
|
| 9881 |
|
9889 |
|
| Line 12668... |
Line 12676... |
| 12668 |
return new validateRecharge_args();
|
12676 |
return new validateRecharge_args();
|
| 12669 |
}
|
12677 |
}
|
| 12670 |
|
12678 |
|
| 12671 |
protected validateRecharge_result getResult(I iface, validateRecharge_args args) throws org.apache.thrift.TException {
|
12679 |
protected validateRecharge_result getResult(I iface, validateRecharge_args args) throws org.apache.thrift.TException {
|
| 12672 |
validateRecharge_result result = new validateRecharge_result();
|
12680 |
validateRecharge_result result = new validateRecharge_result();
|
| 12673 |
result.success = iface.validateRecharge(args.rechargeType, args.deviceNumber);
|
12681 |
result.success = iface.validateRecharge(args.rechargeType, args.deviceNumber, args.circleCode, args.userSelectedProviderId);
|
| 12674 |
return result;
|
12682 |
return result;
|
| 12675 |
}
|
12683 |
}
|
| 12676 |
}
|
12684 |
}
|
| 12677 |
|
12685 |
|
| 12678 |
private static class getRechargeOrdersForDevice<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrdersForDevice_args> {
|
12686 |
private static class getRechargeOrdersForDevice<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getRechargeOrdersForDevice_args> {
|
| Line 12765... |
Line 12773... |
| 12765 |
}
|
12773 |
}
|
| 12766 |
|
12774 |
|
| 12767 |
protected getRechargeDenominations_result getResult(I iface, getRechargeDenominations_args args) throws org.apache.thrift.TException {
|
12775 |
protected getRechargeDenominations_result getResult(I iface, getRechargeDenominations_args args) throws org.apache.thrift.TException {
|
| 12768 |
getRechargeDenominations_result result = new getRechargeDenominations_result();
|
12776 |
getRechargeDenominations_result result = new getRechargeDenominations_result();
|
| 12769 |
try {
|
12777 |
try {
|
| 12770 |
result.success = iface.getRechargeDenominations(args.operatorId, args.circleName, args.denominationType);
|
12778 |
result.success = iface.getRechargeDenominations(args.operatorId, args.circleCode, args.denominationType);
|
| 12771 |
} catch (TransactionServiceException ex) {
|
12779 |
} catch (TransactionServiceException ex) {
|
| 12772 |
result.ex = ex;
|
12780 |
result.ex = ex;
|
| 12773 |
}
|
12781 |
}
|
| 12774 |
return result;
|
12782 |
return result;
|
| 12775 |
}
|
12783 |
}
|
| Line 113007... |
Line 113015... |
| 113007 |
public static class validateRecharge_args implements org.apache.thrift.TBase<validateRecharge_args, validateRecharge_args._Fields>, java.io.Serializable, Cloneable {
|
113015 |
public static class validateRecharge_args implements org.apache.thrift.TBase<validateRecharge_args, validateRecharge_args._Fields>, java.io.Serializable, Cloneable {
|
| 113008 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateRecharge_args");
|
113016 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateRecharge_args");
|
| 113009 |
|
113017 |
|
| 113010 |
private static final org.apache.thrift.protocol.TField RECHARGE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeType", org.apache.thrift.protocol.TType.I32, (short)1);
|
113018 |
private static final org.apache.thrift.protocol.TField RECHARGE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("rechargeType", org.apache.thrift.protocol.TType.I32, (short)1);
|
| 113011 |
private static final org.apache.thrift.protocol.TField DEVICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("deviceNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
113019 |
private static final org.apache.thrift.protocol.TField DEVICE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("deviceNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| - |
|
113020 |
private static final org.apache.thrift.protocol.TField CIRCLE_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("circleCode", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| - |
|
113021 |
private static final org.apache.thrift.protocol.TField USER_SELECTED_PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userSelectedProviderId", org.apache.thrift.protocol.TType.I64, (short)4);
|
| 113012 |
|
113022 |
|
| 113013 |
private RechargeType rechargeType; // required
|
113023 |
private RechargeType rechargeType; // required
|
| 113014 |
private String deviceNumber; // required
|
113024 |
private String deviceNumber; // required
|
| - |
|
113025 |
private String circleCode; // required
|
| - |
|
113026 |
private long userSelectedProviderId; // required
|
| 113015 |
|
113027 |
|
| 113016 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
113028 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 113017 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
113029 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 113018 |
/**
|
113030 |
/**
|
| 113019 |
*
|
113031 |
*
|
| 113020 |
* @see RechargeType
|
113032 |
* @see RechargeType
|
| 113021 |
*/
|
113033 |
*/
|
| 113022 |
RECHARGE_TYPE((short)1, "rechargeType"),
|
113034 |
RECHARGE_TYPE((short)1, "rechargeType"),
|
| 113023 |
DEVICE_NUMBER((short)2, "deviceNumber");
|
113035 |
DEVICE_NUMBER((short)2, "deviceNumber"),
|
| - |
|
113036 |
CIRCLE_CODE((short)3, "circleCode"),
|
| - |
|
113037 |
USER_SELECTED_PROVIDER_ID((short)4, "userSelectedProviderId");
|
| 113024 |
|
113038 |
|
| 113025 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
113039 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 113026 |
|
113040 |
|
| 113027 |
static {
|
113041 |
static {
|
| 113028 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
113042 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 113037... |
Line 113051... |
| 113037 |
switch(fieldId) {
|
113051 |
switch(fieldId) {
|
| 113038 |
case 1: // RECHARGE_TYPE
|
113052 |
case 1: // RECHARGE_TYPE
|
| 113039 |
return RECHARGE_TYPE;
|
113053 |
return RECHARGE_TYPE;
|
| 113040 |
case 2: // DEVICE_NUMBER
|
113054 |
case 2: // DEVICE_NUMBER
|
| 113041 |
return DEVICE_NUMBER;
|
113055 |
return DEVICE_NUMBER;
|
| - |
|
113056 |
case 3: // CIRCLE_CODE
|
| - |
|
113057 |
return CIRCLE_CODE;
|
| - |
|
113058 |
case 4: // USER_SELECTED_PROVIDER_ID
|
| - |
|
113059 |
return USER_SELECTED_PROVIDER_ID;
|
| 113042 |
default:
|
113060 |
default:
|
| 113043 |
return null;
|
113061 |
return null;
|
| 113044 |
}
|
113062 |
}
|
| 113045 |
}
|
113063 |
}
|
| 113046 |
|
113064 |
|
| Line 113077... |
Line 113095... |
| 113077 |
return _fieldName;
|
113095 |
return _fieldName;
|
| 113078 |
}
|
113096 |
}
|
| 113079 |
}
|
113097 |
}
|
| 113080 |
|
113098 |
|
| 113081 |
// isset id assignments
|
113099 |
// isset id assignments
|
| - |
|
113100 |
private static final int __USERSELECTEDPROVIDERID_ISSET_ID = 0;
|
| - |
|
113101 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| 113082 |
|
113102 |
|
| 113083 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
113103 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 113084 |
static {
|
113104 |
static {
|
| 113085 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
113105 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 113086 |
tmpMap.put(_Fields.RECHARGE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("rechargeType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
113106 |
tmpMap.put(_Fields.RECHARGE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("rechargeType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 113087 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeType.class)));
|
113107 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, RechargeType.class)));
|
| 113088 |
tmpMap.put(_Fields.DEVICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("deviceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
113108 |
tmpMap.put(_Fields.DEVICE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("deviceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 113089 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
113109 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
113110 |
tmpMap.put(_Fields.CIRCLE_CODE, new org.apache.thrift.meta_data.FieldMetaData("circleCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
113111 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
113112 |
tmpMap.put(_Fields.USER_SELECTED_PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("userSelectedProviderId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
113113 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 113090 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
113114 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 113091 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateRecharge_args.class, metaDataMap);
|
113115 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateRecharge_args.class, metaDataMap);
|
| 113092 |
}
|
113116 |
}
|
| 113093 |
|
113117 |
|
| 113094 |
public validateRecharge_args() {
|
113118 |
public validateRecharge_args() {
|
| 113095 |
}
|
113119 |
}
|
| 113096 |
|
113120 |
|
| 113097 |
public validateRecharge_args(
|
113121 |
public validateRecharge_args(
|
| 113098 |
RechargeType rechargeType,
|
113122 |
RechargeType rechargeType,
|
| 113099 |
String deviceNumber)
|
113123 |
String deviceNumber,
|
| - |
|
113124 |
String circleCode,
|
| - |
|
113125 |
long userSelectedProviderId)
|
| 113100 |
{
|
113126 |
{
|
| 113101 |
this();
|
113127 |
this();
|
| 113102 |
this.rechargeType = rechargeType;
|
113128 |
this.rechargeType = rechargeType;
|
| 113103 |
this.deviceNumber = deviceNumber;
|
113129 |
this.deviceNumber = deviceNumber;
|
| - |
|
113130 |
this.circleCode = circleCode;
|
| - |
|
113131 |
this.userSelectedProviderId = userSelectedProviderId;
|
| - |
|
113132 |
setUserSelectedProviderIdIsSet(true);
|
| 113104 |
}
|
113133 |
}
|
| 113105 |
|
113134 |
|
| 113106 |
/**
|
113135 |
/**
|
| 113107 |
* Performs a deep copy on <i>other</i>.
|
113136 |
* Performs a deep copy on <i>other</i>.
|
| 113108 |
*/
|
113137 |
*/
|
| 113109 |
public validateRecharge_args(validateRecharge_args other) {
|
113138 |
public validateRecharge_args(validateRecharge_args other) {
|
| - |
|
113139 |
__isset_bit_vector.clear();
|
| - |
|
113140 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 113110 |
if (other.isSetRechargeType()) {
|
113141 |
if (other.isSetRechargeType()) {
|
| 113111 |
this.rechargeType = other.rechargeType;
|
113142 |
this.rechargeType = other.rechargeType;
|
| 113112 |
}
|
113143 |
}
|
| 113113 |
if (other.isSetDeviceNumber()) {
|
113144 |
if (other.isSetDeviceNumber()) {
|
| 113114 |
this.deviceNumber = other.deviceNumber;
|
113145 |
this.deviceNumber = other.deviceNumber;
|
| 113115 |
}
|
113146 |
}
|
| - |
|
113147 |
if (other.isSetCircleCode()) {
|
| - |
|
113148 |
this.circleCode = other.circleCode;
|
| - |
|
113149 |
}
|
| - |
|
113150 |
this.userSelectedProviderId = other.userSelectedProviderId;
|
| 113116 |
}
|
113151 |
}
|
| 113117 |
|
113152 |
|
| 113118 |
public validateRecharge_args deepCopy() {
|
113153 |
public validateRecharge_args deepCopy() {
|
| 113119 |
return new validateRecharge_args(this);
|
113154 |
return new validateRecharge_args(this);
|
| 113120 |
}
|
113155 |
}
|
| 113121 |
|
113156 |
|
| 113122 |
@Override
|
113157 |
@Override
|
| 113123 |
public void clear() {
|
113158 |
public void clear() {
|
| 113124 |
this.rechargeType = null;
|
113159 |
this.rechargeType = null;
|
| 113125 |
this.deviceNumber = null;
|
113160 |
this.deviceNumber = null;
|
| - |
|
113161 |
this.circleCode = null;
|
| - |
|
113162 |
setUserSelectedProviderIdIsSet(false);
|
| - |
|
113163 |
this.userSelectedProviderId = 0;
|
| 113126 |
}
|
113164 |
}
|
| 113127 |
|
113165 |
|
| 113128 |
/**
|
113166 |
/**
|
| 113129 |
*
|
113167 |
*
|
| 113130 |
* @see RechargeType
|
113168 |
* @see RechargeType
|
| Line 113177... |
Line 113215... |
| 113177 |
if (!value) {
|
113215 |
if (!value) {
|
| 113178 |
this.deviceNumber = null;
|
113216 |
this.deviceNumber = null;
|
| 113179 |
}
|
113217 |
}
|
| 113180 |
}
|
113218 |
}
|
| 113181 |
|
113219 |
|
| - |
|
113220 |
public String getCircleCode() {
|
| - |
|
113221 |
return this.circleCode;
|
| - |
|
113222 |
}
|
| - |
|
113223 |
|
| - |
|
113224 |
public void setCircleCode(String circleCode) {
|
| - |
|
113225 |
this.circleCode = circleCode;
|
| - |
|
113226 |
}
|
| - |
|
113227 |
|
| - |
|
113228 |
public void unsetCircleCode() {
|
| - |
|
113229 |
this.circleCode = null;
|
| - |
|
113230 |
}
|
| - |
|
113231 |
|
| - |
|
113232 |
/** Returns true if field circleCode is set (has been assigned a value) and false otherwise */
|
| - |
|
113233 |
public boolean isSetCircleCode() {
|
| - |
|
113234 |
return this.circleCode != null;
|
| - |
|
113235 |
}
|
| - |
|
113236 |
|
| - |
|
113237 |
public void setCircleCodeIsSet(boolean value) {
|
| - |
|
113238 |
if (!value) {
|
| - |
|
113239 |
this.circleCode = null;
|
| - |
|
113240 |
}
|
| - |
|
113241 |
}
|
| - |
|
113242 |
|
| - |
|
113243 |
public long getUserSelectedProviderId() {
|
| - |
|
113244 |
return this.userSelectedProviderId;
|
| - |
|
113245 |
}
|
| - |
|
113246 |
|
| - |
|
113247 |
public void setUserSelectedProviderId(long userSelectedProviderId) {
|
| - |
|
113248 |
this.userSelectedProviderId = userSelectedProviderId;
|
| - |
|
113249 |
setUserSelectedProviderIdIsSet(true);
|
| - |
|
113250 |
}
|
| - |
|
113251 |
|
| - |
|
113252 |
public void unsetUserSelectedProviderId() {
|
| - |
|
113253 |
__isset_bit_vector.clear(__USERSELECTEDPROVIDERID_ISSET_ID);
|
| - |
|
113254 |
}
|
| - |
|
113255 |
|
| - |
|
113256 |
/** Returns true if field userSelectedProviderId is set (has been assigned a value) and false otherwise */
|
| - |
|
113257 |
public boolean isSetUserSelectedProviderId() {
|
| - |
|
113258 |
return __isset_bit_vector.get(__USERSELECTEDPROVIDERID_ISSET_ID);
|
| - |
|
113259 |
}
|
| - |
|
113260 |
|
| - |
|
113261 |
public void setUserSelectedProviderIdIsSet(boolean value) {
|
| - |
|
113262 |
__isset_bit_vector.set(__USERSELECTEDPROVIDERID_ISSET_ID, value);
|
| - |
|
113263 |
}
|
| - |
|
113264 |
|
| 113182 |
public void setFieldValue(_Fields field, Object value) {
|
113265 |
public void setFieldValue(_Fields field, Object value) {
|
| 113183 |
switch (field) {
|
113266 |
switch (field) {
|
| 113184 |
case RECHARGE_TYPE:
|
113267 |
case RECHARGE_TYPE:
|
| 113185 |
if (value == null) {
|
113268 |
if (value == null) {
|
| 113186 |
unsetRechargeType();
|
113269 |
unsetRechargeType();
|
| Line 113195... |
Line 113278... |
| 113195 |
} else {
|
113278 |
} else {
|
| 113196 |
setDeviceNumber((String)value);
|
113279 |
setDeviceNumber((String)value);
|
| 113197 |
}
|
113280 |
}
|
| 113198 |
break;
|
113281 |
break;
|
| 113199 |
|
113282 |
|
| - |
|
113283 |
case CIRCLE_CODE:
|
| - |
|
113284 |
if (value == null) {
|
| - |
|
113285 |
unsetCircleCode();
|
| - |
|
113286 |
} else {
|
| - |
|
113287 |
setCircleCode((String)value);
|
| - |
|
113288 |
}
|
| - |
|
113289 |
break;
|
| - |
|
113290 |
|
| - |
|
113291 |
case USER_SELECTED_PROVIDER_ID:
|
| - |
|
113292 |
if (value == null) {
|
| - |
|
113293 |
unsetUserSelectedProviderId();
|
| - |
|
113294 |
} else {
|
| - |
|
113295 |
setUserSelectedProviderId((Long)value);
|
| - |
|
113296 |
}
|
| - |
|
113297 |
break;
|
| - |
|
113298 |
|
| 113200 |
}
|
113299 |
}
|
| 113201 |
}
|
113300 |
}
|
| 113202 |
|
113301 |
|
| 113203 |
public Object getFieldValue(_Fields field) {
|
113302 |
public Object getFieldValue(_Fields field) {
|
| 113204 |
switch (field) {
|
113303 |
switch (field) {
|
| Line 113206... |
Line 113305... |
| 113206 |
return getRechargeType();
|
113305 |
return getRechargeType();
|
| 113207 |
|
113306 |
|
| 113208 |
case DEVICE_NUMBER:
|
113307 |
case DEVICE_NUMBER:
|
| 113209 |
return getDeviceNumber();
|
113308 |
return getDeviceNumber();
|
| 113210 |
|
113309 |
|
| - |
|
113310 |
case CIRCLE_CODE:
|
| - |
|
113311 |
return getCircleCode();
|
| - |
|
113312 |
|
| - |
|
113313 |
case USER_SELECTED_PROVIDER_ID:
|
| - |
|
113314 |
return Long.valueOf(getUserSelectedProviderId());
|
| - |
|
113315 |
|
| 113211 |
}
|
113316 |
}
|
| 113212 |
throw new IllegalStateException();
|
113317 |
throw new IllegalStateException();
|
| 113213 |
}
|
113318 |
}
|
| 113214 |
|
113319 |
|
| 113215 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
113320 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 113221... |
Line 113326... |
| 113221 |
switch (field) {
|
113326 |
switch (field) {
|
| 113222 |
case RECHARGE_TYPE:
|
113327 |
case RECHARGE_TYPE:
|
| 113223 |
return isSetRechargeType();
|
113328 |
return isSetRechargeType();
|
| 113224 |
case DEVICE_NUMBER:
|
113329 |
case DEVICE_NUMBER:
|
| 113225 |
return isSetDeviceNumber();
|
113330 |
return isSetDeviceNumber();
|
| - |
|
113331 |
case CIRCLE_CODE:
|
| - |
|
113332 |
return isSetCircleCode();
|
| - |
|
113333 |
case USER_SELECTED_PROVIDER_ID:
|
| - |
|
113334 |
return isSetUserSelectedProviderId();
|
| 113226 |
}
|
113335 |
}
|
| 113227 |
throw new IllegalStateException();
|
113336 |
throw new IllegalStateException();
|
| 113228 |
}
|
113337 |
}
|
| 113229 |
|
113338 |
|
| 113230 |
@Override
|
113339 |
@Override
|
| Line 113256... |
Line 113365... |
| 113256 |
return false;
|
113365 |
return false;
|
| 113257 |
if (!this.deviceNumber.equals(that.deviceNumber))
|
113366 |
if (!this.deviceNumber.equals(that.deviceNumber))
|
| 113258 |
return false;
|
113367 |
return false;
|
| 113259 |
}
|
113368 |
}
|
| 113260 |
|
113369 |
|
| - |
|
113370 |
boolean this_present_circleCode = true && this.isSetCircleCode();
|
| - |
|
113371 |
boolean that_present_circleCode = true && that.isSetCircleCode();
|
| - |
|
113372 |
if (this_present_circleCode || that_present_circleCode) {
|
| - |
|
113373 |
if (!(this_present_circleCode && that_present_circleCode))
|
| - |
|
113374 |
return false;
|
| - |
|
113375 |
if (!this.circleCode.equals(that.circleCode))
|
| - |
|
113376 |
return false;
|
| - |
|
113377 |
}
|
| - |
|
113378 |
|
| - |
|
113379 |
boolean this_present_userSelectedProviderId = true;
|
| - |
|
113380 |
boolean that_present_userSelectedProviderId = true;
|
| - |
|
113381 |
if (this_present_userSelectedProviderId || that_present_userSelectedProviderId) {
|
| - |
|
113382 |
if (!(this_present_userSelectedProviderId && that_present_userSelectedProviderId))
|
| - |
|
113383 |
return false;
|
| - |
|
113384 |
if (this.userSelectedProviderId != that.userSelectedProviderId)
|
| - |
|
113385 |
return false;
|
| - |
|
113386 |
}
|
| - |
|
113387 |
|
| 113261 |
return true;
|
113388 |
return true;
|
| 113262 |
}
|
113389 |
}
|
| 113263 |
|
113390 |
|
| 113264 |
@Override
|
113391 |
@Override
|
| 113265 |
public int hashCode() {
|
113392 |
public int hashCode() {
|
| Line 113292... |
Line 113419... |
| 113292 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deviceNumber, typedOther.deviceNumber);
|
113419 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deviceNumber, typedOther.deviceNumber);
|
| 113293 |
if (lastComparison != 0) {
|
113420 |
if (lastComparison != 0) {
|
| 113294 |
return lastComparison;
|
113421 |
return lastComparison;
|
| 113295 |
}
|
113422 |
}
|
| 113296 |
}
|
113423 |
}
|
| - |
|
113424 |
lastComparison = Boolean.valueOf(isSetCircleCode()).compareTo(typedOther.isSetCircleCode());
|
| - |
|
113425 |
if (lastComparison != 0) {
|
| - |
|
113426 |
return lastComparison;
|
| - |
|
113427 |
}
|
| - |
|
113428 |
if (isSetCircleCode()) {
|
| - |
|
113429 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circleCode, typedOther.circleCode);
|
| - |
|
113430 |
if (lastComparison != 0) {
|
| - |
|
113431 |
return lastComparison;
|
| - |
|
113432 |
}
|
| - |
|
113433 |
}
|
| - |
|
113434 |
lastComparison = Boolean.valueOf(isSetUserSelectedProviderId()).compareTo(typedOther.isSetUserSelectedProviderId());
|
| - |
|
113435 |
if (lastComparison != 0) {
|
| - |
|
113436 |
return lastComparison;
|
| - |
|
113437 |
}
|
| - |
|
113438 |
if (isSetUserSelectedProviderId()) {
|
| - |
|
113439 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userSelectedProviderId, typedOther.userSelectedProviderId);
|
| - |
|
113440 |
if (lastComparison != 0) {
|
| - |
|
113441 |
return lastComparison;
|
| - |
|
113442 |
}
|
| - |
|
113443 |
}
|
| 113297 |
return 0;
|
113444 |
return 0;
|
| 113298 |
}
|
113445 |
}
|
| 113299 |
|
113446 |
|
| 113300 |
public _Fields fieldForId(int fieldId) {
|
113447 |
public _Fields fieldForId(int fieldId) {
|
| 113301 |
return _Fields.findByThriftId(fieldId);
|
113448 |
return _Fields.findByThriftId(fieldId);
|
| Line 113323... |
Line 113470... |
| 113323 |
this.deviceNumber = iprot.readString();
|
113470 |
this.deviceNumber = iprot.readString();
|
| 113324 |
} else {
|
113471 |
} else {
|
| 113325 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
113472 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 113326 |
}
|
113473 |
}
|
| 113327 |
break;
|
113474 |
break;
|
| - |
|
113475 |
case 3: // CIRCLE_CODE
|
| - |
|
113476 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
113477 |
this.circleCode = iprot.readString();
|
| - |
|
113478 |
} else {
|
| - |
|
113479 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
113480 |
}
|
| - |
|
113481 |
break;
|
| - |
|
113482 |
case 4: // USER_SELECTED_PROVIDER_ID
|
| - |
|
113483 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
113484 |
this.userSelectedProviderId = iprot.readI64();
|
| - |
|
113485 |
setUserSelectedProviderIdIsSet(true);
|
| - |
|
113486 |
} else {
|
| - |
|
113487 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
113488 |
}
|
| - |
|
113489 |
break;
|
| 113328 |
default:
|
113490 |
default:
|
| 113329 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
113491 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 113330 |
}
|
113492 |
}
|
| 113331 |
iprot.readFieldEnd();
|
113493 |
iprot.readFieldEnd();
|
| 113332 |
}
|
113494 |
}
|
| Line 113346... |
Line 113508... |
| 113346 |
if (this.deviceNumber != null) {
|
113508 |
if (this.deviceNumber != null) {
|
| 113347 |
oprot.writeFieldBegin(DEVICE_NUMBER_FIELD_DESC);
|
113509 |
oprot.writeFieldBegin(DEVICE_NUMBER_FIELD_DESC);
|
| 113348 |
oprot.writeString(this.deviceNumber);
|
113510 |
oprot.writeString(this.deviceNumber);
|
| 113349 |
oprot.writeFieldEnd();
|
113511 |
oprot.writeFieldEnd();
|
| 113350 |
}
|
113512 |
}
|
| - |
|
113513 |
if (this.circleCode != null) {
|
| - |
|
113514 |
oprot.writeFieldBegin(CIRCLE_CODE_FIELD_DESC);
|
| - |
|
113515 |
oprot.writeString(this.circleCode);
|
| - |
|
113516 |
oprot.writeFieldEnd();
|
| - |
|
113517 |
}
|
| - |
|
113518 |
oprot.writeFieldBegin(USER_SELECTED_PROVIDER_ID_FIELD_DESC);
|
| - |
|
113519 |
oprot.writeI64(this.userSelectedProviderId);
|
| - |
|
113520 |
oprot.writeFieldEnd();
|
| 113351 |
oprot.writeFieldStop();
|
113521 |
oprot.writeFieldStop();
|
| 113352 |
oprot.writeStructEnd();
|
113522 |
oprot.writeStructEnd();
|
| 113353 |
}
|
113523 |
}
|
| 113354 |
|
113524 |
|
| 113355 |
@Override
|
113525 |
@Override
|
| Line 113370... |
Line 113540... |
| 113370 |
sb.append("null");
|
113540 |
sb.append("null");
|
| 113371 |
} else {
|
113541 |
} else {
|
| 113372 |
sb.append(this.deviceNumber);
|
113542 |
sb.append(this.deviceNumber);
|
| 113373 |
}
|
113543 |
}
|
| 113374 |
first = false;
|
113544 |
first = false;
|
| - |
|
113545 |
if (!first) sb.append(", ");
|
| - |
|
113546 |
sb.append("circleCode:");
|
| - |
|
113547 |
if (this.circleCode == null) {
|
| - |
|
113548 |
sb.append("null");
|
| - |
|
113549 |
} else {
|
| - |
|
113550 |
sb.append(this.circleCode);
|
| - |
|
113551 |
}
|
| - |
|
113552 |
first = false;
|
| - |
|
113553 |
if (!first) sb.append(", ");
|
| - |
|
113554 |
sb.append("userSelectedProviderId:");
|
| - |
|
113555 |
sb.append(this.userSelectedProviderId);
|
| - |
|
113556 |
first = false;
|
| 113375 |
sb.append(")");
|
113557 |
sb.append(")");
|
| 113376 |
return sb.toString();
|
113558 |
return sb.toString();
|
| 113377 |
}
|
113559 |
}
|
| 113378 |
|
113560 |
|
| 113379 |
public void validate() throws org.apache.thrift.TException {
|
113561 |
public void validate() throws org.apache.thrift.TException {
|
| Line 113388... |
Line 113570... |
| 113388 |
}
|
113570 |
}
|
| 113389 |
}
|
113571 |
}
|
| 113390 |
|
113572 |
|
| 113391 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
113573 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 113392 |
try {
|
113574 |
try {
|
| - |
|
113575 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
113576 |
__isset_bit_vector = new BitSet(1);
|
| 113393 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
113577 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 113394 |
} catch (org.apache.thrift.TException te) {
|
113578 |
} catch (org.apache.thrift.TException te) {
|
| 113395 |
throw new java.io.IOException(te);
|
113579 |
throw new java.io.IOException(te);
|
| 113396 |
}
|
113580 |
}
|
| 113397 |
}
|
113581 |
}
|
| Line 116721... |
Line 116905... |
| 116721 |
|
116905 |
|
| 116722 |
public static class getRechargeDenominations_args implements org.apache.thrift.TBase<getRechargeDenominations_args, getRechargeDenominations_args._Fields>, java.io.Serializable, Cloneable {
|
116906 |
public static class getRechargeDenominations_args implements org.apache.thrift.TBase<getRechargeDenominations_args, getRechargeDenominations_args._Fields>, java.io.Serializable, Cloneable {
|
| 116723 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeDenominations_args");
|
116907 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeDenominations_args");
|
| 116724 |
|
116908 |
|
| 116725 |
private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
116909 |
private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 116726 |
private static final org.apache.thrift.protocol.TField CIRCLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("circleName", org.apache.thrift.protocol.TType.STRING, (short)2);
|
116910 |
private static final org.apache.thrift.protocol.TField CIRCLE_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("circleCode", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| 116727 |
private static final org.apache.thrift.protocol.TField DENOMINATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("denominationType", org.apache.thrift.protocol.TType.I32, (short)3);
|
116911 |
private static final org.apache.thrift.protocol.TField DENOMINATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("denominationType", org.apache.thrift.protocol.TType.I32, (short)3);
|
| 116728 |
|
116912 |
|
| 116729 |
private long operatorId; // required
|
116913 |
private long operatorId; // required
|
| 116730 |
private String circleName; // required
|
116914 |
private String circleCode; // required
|
| 116731 |
private DenominationType denominationType; // required
|
116915 |
private DenominationType denominationType; // required
|
| 116732 |
|
116916 |
|
| 116733 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
116917 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 116734 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
116918 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 116735 |
OPERATOR_ID((short)1, "operatorId"),
|
116919 |
OPERATOR_ID((short)1, "operatorId"),
|
| 116736 |
CIRCLE_NAME((short)2, "circleName"),
|
116920 |
CIRCLE_CODE((short)2, "circleCode"),
|
| 116737 |
/**
|
116921 |
/**
|
| 116738 |
*
|
116922 |
*
|
| 116739 |
* @see DenominationType
|
116923 |
* @see DenominationType
|
| 116740 |
*/
|
116924 |
*/
|
| 116741 |
DENOMINATION_TYPE((short)3, "denominationType");
|
116925 |
DENOMINATION_TYPE((short)3, "denominationType");
|
| Line 116753... |
Line 116937... |
| 116753 |
*/
|
116937 |
*/
|
| 116754 |
public static _Fields findByThriftId(int fieldId) {
|
116938 |
public static _Fields findByThriftId(int fieldId) {
|
| 116755 |
switch(fieldId) {
|
116939 |
switch(fieldId) {
|
| 116756 |
case 1: // OPERATOR_ID
|
116940 |
case 1: // OPERATOR_ID
|
| 116757 |
return OPERATOR_ID;
|
116941 |
return OPERATOR_ID;
|
| 116758 |
case 2: // CIRCLE_NAME
|
116942 |
case 2: // CIRCLE_CODE
|
| 116759 |
return CIRCLE_NAME;
|
116943 |
return CIRCLE_CODE;
|
| 116760 |
case 3: // DENOMINATION_TYPE
|
116944 |
case 3: // DENOMINATION_TYPE
|
| 116761 |
return DENOMINATION_TYPE;
|
116945 |
return DENOMINATION_TYPE;
|
| 116762 |
default:
|
116946 |
default:
|
| 116763 |
return null;
|
116947 |
return null;
|
| 116764 |
}
|
116948 |
}
|
| Line 116805... |
Line 116989... |
| 116805 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
116989 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 116806 |
static {
|
116990 |
static {
|
| 116807 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
116991 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 116808 |
tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
116992 |
tmpMap.put(_Fields.OPERATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("operatorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 116809 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
116993 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 116810 |
tmpMap.put(_Fields.CIRCLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("circleName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
116994 |
tmpMap.put(_Fields.CIRCLE_CODE, new org.apache.thrift.meta_data.FieldMetaData("circleCode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 116811 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
116995 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 116812 |
tmpMap.put(_Fields.DENOMINATION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("denominationType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
116996 |
tmpMap.put(_Fields.DENOMINATION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("denominationType", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 116813 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DenominationType.class)));
|
116997 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DenominationType.class)));
|
| 116814 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
116998 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 116815 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeDenominations_args.class, metaDataMap);
|
116999 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeDenominations_args.class, metaDataMap);
|
| Line 116818... |
Line 117002... |
| 116818 |
public getRechargeDenominations_args() {
|
117002 |
public getRechargeDenominations_args() {
|
| 116819 |
}
|
117003 |
}
|
| 116820 |
|
117004 |
|
| 116821 |
public getRechargeDenominations_args(
|
117005 |
public getRechargeDenominations_args(
|
| 116822 |
long operatorId,
|
117006 |
long operatorId,
|
| 116823 |
String circleName,
|
117007 |
String circleCode,
|
| 116824 |
DenominationType denominationType)
|
117008 |
DenominationType denominationType)
|
| 116825 |
{
|
117009 |
{
|
| 116826 |
this();
|
117010 |
this();
|
| 116827 |
this.operatorId = operatorId;
|
117011 |
this.operatorId = operatorId;
|
| 116828 |
setOperatorIdIsSet(true);
|
117012 |
setOperatorIdIsSet(true);
|
| 116829 |
this.circleName = circleName;
|
117013 |
this.circleCode = circleCode;
|
| 116830 |
this.denominationType = denominationType;
|
117014 |
this.denominationType = denominationType;
|
| 116831 |
}
|
117015 |
}
|
| 116832 |
|
117016 |
|
| 116833 |
/**
|
117017 |
/**
|
| 116834 |
* Performs a deep copy on <i>other</i>.
|
117018 |
* Performs a deep copy on <i>other</i>.
|
| 116835 |
*/
|
117019 |
*/
|
| 116836 |
public getRechargeDenominations_args(getRechargeDenominations_args other) {
|
117020 |
public getRechargeDenominations_args(getRechargeDenominations_args other) {
|
| 116837 |
__isset_bit_vector.clear();
|
117021 |
__isset_bit_vector.clear();
|
| 116838 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
117022 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 116839 |
this.operatorId = other.operatorId;
|
117023 |
this.operatorId = other.operatorId;
|
| 116840 |
if (other.isSetCircleName()) {
|
117024 |
if (other.isSetCircleCode()) {
|
| 116841 |
this.circleName = other.circleName;
|
117025 |
this.circleCode = other.circleCode;
|
| 116842 |
}
|
117026 |
}
|
| 116843 |
if (other.isSetDenominationType()) {
|
117027 |
if (other.isSetDenominationType()) {
|
| 116844 |
this.denominationType = other.denominationType;
|
117028 |
this.denominationType = other.denominationType;
|
| 116845 |
}
|
117029 |
}
|
| 116846 |
}
|
117030 |
}
|
| Line 116851... |
Line 117035... |
| 116851 |
|
117035 |
|
| 116852 |
@Override
|
117036 |
@Override
|
| 116853 |
public void clear() {
|
117037 |
public void clear() {
|
| 116854 |
setOperatorIdIsSet(false);
|
117038 |
setOperatorIdIsSet(false);
|
| 116855 |
this.operatorId = 0;
|
117039 |
this.operatorId = 0;
|
| 116856 |
this.circleName = null;
|
117040 |
this.circleCode = null;
|
| 116857 |
this.denominationType = null;
|
117041 |
this.denominationType = null;
|
| 116858 |
}
|
117042 |
}
|
| 116859 |
|
117043 |
|
| 116860 |
public long getOperatorId() {
|
117044 |
public long getOperatorId() {
|
| 116861 |
return this.operatorId;
|
117045 |
return this.operatorId;
|
| Line 116877... |
Line 117061... |
| 116877 |
|
117061 |
|
| 116878 |
public void setOperatorIdIsSet(boolean value) {
|
117062 |
public void setOperatorIdIsSet(boolean value) {
|
| 116879 |
__isset_bit_vector.set(__OPERATORID_ISSET_ID, value);
|
117063 |
__isset_bit_vector.set(__OPERATORID_ISSET_ID, value);
|
| 116880 |
}
|
117064 |
}
|
| 116881 |
|
117065 |
|
| 116882 |
public String getCircleName() {
|
117066 |
public String getCircleCode() {
|
| 116883 |
return this.circleName;
|
117067 |
return this.circleCode;
|
| 116884 |
}
|
117068 |
}
|
| 116885 |
|
117069 |
|
| 116886 |
public void setCircleName(String circleName) {
|
117070 |
public void setCircleCode(String circleCode) {
|
| 116887 |
this.circleName = circleName;
|
117071 |
this.circleCode = circleCode;
|
| 116888 |
}
|
117072 |
}
|
| 116889 |
|
117073 |
|
| 116890 |
public void unsetCircleName() {
|
117074 |
public void unsetCircleCode() {
|
| 116891 |
this.circleName = null;
|
117075 |
this.circleCode = null;
|
| 116892 |
}
|
117076 |
}
|
| 116893 |
|
117077 |
|
| 116894 |
/** Returns true if field circleName is set (has been assigned a value) and false otherwise */
|
117078 |
/** Returns true if field circleCode is set (has been assigned a value) and false otherwise */
|
| 116895 |
public boolean isSetCircleName() {
|
117079 |
public boolean isSetCircleCode() {
|
| 116896 |
return this.circleName != null;
|
117080 |
return this.circleCode != null;
|
| 116897 |
}
|
117081 |
}
|
| 116898 |
|
117082 |
|
| 116899 |
public void setCircleNameIsSet(boolean value) {
|
117083 |
public void setCircleCodeIsSet(boolean value) {
|
| 116900 |
if (!value) {
|
117084 |
if (!value) {
|
| 116901 |
this.circleName = null;
|
117085 |
this.circleCode = null;
|
| 116902 |
}
|
117086 |
}
|
| 116903 |
}
|
117087 |
}
|
| 116904 |
|
117088 |
|
| 116905 |
/**
|
117089 |
/**
|
| 116906 |
*
|
117090 |
*
|
| Line 116941... |
Line 117125... |
| 116941 |
} else {
|
117125 |
} else {
|
| 116942 |
setOperatorId((Long)value);
|
117126 |
setOperatorId((Long)value);
|
| 116943 |
}
|
117127 |
}
|
| 116944 |
break;
|
117128 |
break;
|
| 116945 |
|
117129 |
|
| 116946 |
case CIRCLE_NAME:
|
117130 |
case CIRCLE_CODE:
|
| 116947 |
if (value == null) {
|
117131 |
if (value == null) {
|
| 116948 |
unsetCircleName();
|
117132 |
unsetCircleCode();
|
| 116949 |
} else {
|
117133 |
} else {
|
| 116950 |
setCircleName((String)value);
|
117134 |
setCircleCode((String)value);
|
| 116951 |
}
|
117135 |
}
|
| 116952 |
break;
|
117136 |
break;
|
| 116953 |
|
117137 |
|
| 116954 |
case DENOMINATION_TYPE:
|
117138 |
case DENOMINATION_TYPE:
|
| 116955 |
if (value == null) {
|
117139 |
if (value == null) {
|
| Line 116965... |
Line 117149... |
| 116965 |
public Object getFieldValue(_Fields field) {
|
117149 |
public Object getFieldValue(_Fields field) {
|
| 116966 |
switch (field) {
|
117150 |
switch (field) {
|
| 116967 |
case OPERATOR_ID:
|
117151 |
case OPERATOR_ID:
|
| 116968 |
return Long.valueOf(getOperatorId());
|
117152 |
return Long.valueOf(getOperatorId());
|
| 116969 |
|
117153 |
|
| 116970 |
case CIRCLE_NAME:
|
117154 |
case CIRCLE_CODE:
|
| 116971 |
return getCircleName();
|
117155 |
return getCircleCode();
|
| 116972 |
|
117156 |
|
| 116973 |
case DENOMINATION_TYPE:
|
117157 |
case DENOMINATION_TYPE:
|
| 116974 |
return getDenominationType();
|
117158 |
return getDenominationType();
|
| 116975 |
|
117159 |
|
| 116976 |
}
|
117160 |
}
|
| Line 116984... |
Line 117168... |
| 116984 |
}
|
117168 |
}
|
| 116985 |
|
117169 |
|
| 116986 |
switch (field) {
|
117170 |
switch (field) {
|
| 116987 |
case OPERATOR_ID:
|
117171 |
case OPERATOR_ID:
|
| 116988 |
return isSetOperatorId();
|
117172 |
return isSetOperatorId();
|
| 116989 |
case CIRCLE_NAME:
|
117173 |
case CIRCLE_CODE:
|
| 116990 |
return isSetCircleName();
|
117174 |
return isSetCircleCode();
|
| 116991 |
case DENOMINATION_TYPE:
|
117175 |
case DENOMINATION_TYPE:
|
| 116992 |
return isSetDenominationType();
|
117176 |
return isSetDenominationType();
|
| 116993 |
}
|
117177 |
}
|
| 116994 |
throw new IllegalStateException();
|
117178 |
throw new IllegalStateException();
|
| 116995 |
}
|
117179 |
}
|
| Line 117014... |
Line 117198... |
| 117014 |
return false;
|
117198 |
return false;
|
| 117015 |
if (this.operatorId != that.operatorId)
|
117199 |
if (this.operatorId != that.operatorId)
|
| 117016 |
return false;
|
117200 |
return false;
|
| 117017 |
}
|
117201 |
}
|
| 117018 |
|
117202 |
|
| 117019 |
boolean this_present_circleName = true && this.isSetCircleName();
|
117203 |
boolean this_present_circleCode = true && this.isSetCircleCode();
|
| 117020 |
boolean that_present_circleName = true && that.isSetCircleName();
|
117204 |
boolean that_present_circleCode = true && that.isSetCircleCode();
|
| 117021 |
if (this_present_circleName || that_present_circleName) {
|
117205 |
if (this_present_circleCode || that_present_circleCode) {
|
| 117022 |
if (!(this_present_circleName && that_present_circleName))
|
117206 |
if (!(this_present_circleCode && that_present_circleCode))
|
| 117023 |
return false;
|
117207 |
return false;
|
| 117024 |
if (!this.circleName.equals(that.circleName))
|
117208 |
if (!this.circleCode.equals(that.circleCode))
|
| 117025 |
return false;
|
117209 |
return false;
|
| 117026 |
}
|
117210 |
}
|
| 117027 |
|
117211 |
|
| 117028 |
boolean this_present_denominationType = true && this.isSetDenominationType();
|
117212 |
boolean this_present_denominationType = true && this.isSetDenominationType();
|
| 117029 |
boolean that_present_denominationType = true && that.isSetDenominationType();
|
117213 |
boolean that_present_denominationType = true && that.isSetDenominationType();
|
| Line 117058... |
Line 117242... |
| 117058 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId);
|
117242 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId);
|
| 117059 |
if (lastComparison != 0) {
|
117243 |
if (lastComparison != 0) {
|
| 117060 |
return lastComparison;
|
117244 |
return lastComparison;
|
| 117061 |
}
|
117245 |
}
|
| 117062 |
}
|
117246 |
}
|
| 117063 |
lastComparison = Boolean.valueOf(isSetCircleName()).compareTo(typedOther.isSetCircleName());
|
117247 |
lastComparison = Boolean.valueOf(isSetCircleCode()).compareTo(typedOther.isSetCircleCode());
|
| 117064 |
if (lastComparison != 0) {
|
117248 |
if (lastComparison != 0) {
|
| 117065 |
return lastComparison;
|
117249 |
return lastComparison;
|
| 117066 |
}
|
117250 |
}
|
| 117067 |
if (isSetCircleName()) {
|
117251 |
if (isSetCircleCode()) {
|
| 117068 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circleName, typedOther.circleName);
|
117252 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circleCode, typedOther.circleCode);
|
| 117069 |
if (lastComparison != 0) {
|
117253 |
if (lastComparison != 0) {
|
| 117070 |
return lastComparison;
|
117254 |
return lastComparison;
|
| 117071 |
}
|
117255 |
}
|
| 117072 |
}
|
117256 |
}
|
| 117073 |
lastComparison = Boolean.valueOf(isSetDenominationType()).compareTo(typedOther.isSetDenominationType());
|
117257 |
lastComparison = Boolean.valueOf(isSetDenominationType()).compareTo(typedOther.isSetDenominationType());
|
| Line 117103... |
Line 117287... |
| 117103 |
setOperatorIdIsSet(true);
|
117287 |
setOperatorIdIsSet(true);
|
| 117104 |
} else {
|
117288 |
} else {
|
| 117105 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
117289 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 117106 |
}
|
117290 |
}
|
| 117107 |
break;
|
117291 |
break;
|
| 117108 |
case 2: // CIRCLE_NAME
|
117292 |
case 2: // CIRCLE_CODE
|
| 117109 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
117293 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 117110 |
this.circleName = iprot.readString();
|
117294 |
this.circleCode = iprot.readString();
|
| 117111 |
} else {
|
117295 |
} else {
|
| 117112 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
117296 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 117113 |
}
|
117297 |
}
|
| 117114 |
break;
|
117298 |
break;
|
| 117115 |
case 3: // DENOMINATION_TYPE
|
117299 |
case 3: // DENOMINATION_TYPE
|
| Line 117133... |
Line 117317... |
| 117133 |
|
117317 |
|
| 117134 |
oprot.writeStructBegin(STRUCT_DESC);
|
117318 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 117135 |
oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC);
|
117319 |
oprot.writeFieldBegin(OPERATOR_ID_FIELD_DESC);
|
| 117136 |
oprot.writeI64(this.operatorId);
|
117320 |
oprot.writeI64(this.operatorId);
|
| 117137 |
oprot.writeFieldEnd();
|
117321 |
oprot.writeFieldEnd();
|
| 117138 |
if (this.circleName != null) {
|
117322 |
if (this.circleCode != null) {
|
| 117139 |
oprot.writeFieldBegin(CIRCLE_NAME_FIELD_DESC);
|
117323 |
oprot.writeFieldBegin(CIRCLE_CODE_FIELD_DESC);
|
| 117140 |
oprot.writeString(this.circleName);
|
117324 |
oprot.writeString(this.circleCode);
|
| 117141 |
oprot.writeFieldEnd();
|
117325 |
oprot.writeFieldEnd();
|
| 117142 |
}
|
117326 |
}
|
| 117143 |
if (this.denominationType != null) {
|
117327 |
if (this.denominationType != null) {
|
| 117144 |
oprot.writeFieldBegin(DENOMINATION_TYPE_FIELD_DESC);
|
117328 |
oprot.writeFieldBegin(DENOMINATION_TYPE_FIELD_DESC);
|
| 117145 |
oprot.writeI32(this.denominationType.getValue());
|
117329 |
oprot.writeI32(this.denominationType.getValue());
|
| Line 117156... |
Line 117340... |
| 117156 |
|
117340 |
|
| 117157 |
sb.append("operatorId:");
|
117341 |
sb.append("operatorId:");
|
| 117158 |
sb.append(this.operatorId);
|
117342 |
sb.append(this.operatorId);
|
| 117159 |
first = false;
|
117343 |
first = false;
|
| 117160 |
if (!first) sb.append(", ");
|
117344 |
if (!first) sb.append(", ");
|
| 117161 |
sb.append("circleName:");
|
117345 |
sb.append("circleCode:");
|
| 117162 |
if (this.circleName == null) {
|
117346 |
if (this.circleCode == null) {
|
| 117163 |
sb.append("null");
|
117347 |
sb.append("null");
|
| 117164 |
} else {
|
117348 |
} else {
|
| 117165 |
sb.append(this.circleName);
|
117349 |
sb.append(this.circleCode);
|
| 117166 |
}
|
117350 |
}
|
| 117167 |
first = false;
|
117351 |
first = false;
|
| 117168 |
if (!first) sb.append(", ");
|
117352 |
if (!first) sb.append(", ");
|
| 117169 |
sb.append("denominationType:");
|
117353 |
sb.append("denominationType:");
|
| 117170 |
if (this.denominationType == null) {
|
117354 |
if (this.denominationType == null) {
|