/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 3.0.7
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */
package com.ctp.field;

import com.ctp.swig.ctpJNI;

public class CThostFtdcQryTransferSerialField
{
	private transient long swigCPtr;
	protected transient boolean swigCMemOwn;

	protected CThostFtdcQryTransferSerialField(long cPtr, boolean cMemoryOwn)
	{
		swigCMemOwn = cMemoryOwn;
		swigCPtr = cPtr;
	}

	public static long getCPtr(CThostFtdcQryTransferSerialField obj)
	{
		return (obj == null) ? 0 : obj.swigCPtr;
	}

	protected void finalize()
	{
		delete();
	}

	public synchronized void delete()
	{
		if (swigCPtr != 0)
		{
			if (swigCMemOwn)
			{
				swigCMemOwn = false;
				ctpJNI.delete_CThostFtdcQryTransferSerialField(swigCPtr);
			}
			swigCPtr = 0;
		}
	}

	public void setBrokerID(String value)
	{
		ctpJNI.CThostFtdcQryTransferSerialField_BrokerID_set(swigCPtr, this, value);
	}

	public String getBrokerID()
	{
		return ctpJNI.CThostFtdcQryTransferSerialField_BrokerID_get(swigCPtr, this);
	}

	public void setAccountID(String value)
	{
		ctpJNI.CThostFtdcQryTransferSerialField_AccountID_set(swigCPtr, this, value);
	}

	public String getAccountID()
	{
		return ctpJNI.CThostFtdcQryTransferSerialField_AccountID_get(swigCPtr, this);
	}

	public void setBankID(String value)
	{
		ctpJNI.CThostFtdcQryTransferSerialField_BankID_set(swigCPtr, this, value);
	}

	public String getBankID()
	{
		return ctpJNI.CThostFtdcQryTransferSerialField_BankID_get(swigCPtr, this);
	}

	public void setCurrencyID(String value)
	{
		ctpJNI.CThostFtdcQryTransferSerialField_CurrencyID_set(swigCPtr, this, value);
	}

	public String getCurrencyID()
	{
		return ctpJNI.CThostFtdcQryTransferSerialField_CurrencyID_get(swigCPtr, this);
	}

	public CThostFtdcQryTransferSerialField()
	{
		this(ctpJNI.new_CThostFtdcQryTransferSerialField(), true);
	}
}
