public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       CThostFtdcJNI.delete_CThostFtdcInputOrderActionField(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       CThostFtdcJNI.delete_CThostFtdcExchangeMarginRateField(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       CThostFtdcJNI.delete_CThostFtdcBrokerUserFunctionField(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
 public char getBrokerFunctionCode() {
   return CThostFtdcJNI.CThostFtdcBrokerUserFunctionField_BrokerFunctionCode_get(swigCPtr, this);
 }
 public String getUserID() {
   return CThostFtdcJNI.CThostFtdcBrokerUserFunctionField_UserID_get(swigCPtr, this);
 }
 public void setShortMarginRatioByVolume(double value) {
   CThostFtdcJNI.CThostFtdcExchangeMarginRateField_ShortMarginRatioByVolume_set(
       swigCPtr, this, value);
 }
 public void setLongMarginRatioByMoney(double value) {
   CThostFtdcJNI.CThostFtdcExchangeMarginRateField_LongMarginRatioByMoney_set(
       swigCPtr, this, value);
 }
 public void setHedgeFlag(char value) {
   CThostFtdcJNI.CThostFtdcExchangeMarginRateField_HedgeFlag_set(swigCPtr, this, value);
 }
 public void setSessionID(int value) {
   CThostFtdcJNI.CThostFtdcInputOrderActionField_SessionID_set(swigCPtr, this, value);
 }
 public int getRequestID() {
   return CThostFtdcJNI.CThostFtdcInputOrderActionField_RequestID_get(swigCPtr, this);
 }
 public void setRequestID(int value) {
   CThostFtdcJNI.CThostFtdcInputOrderActionField_RequestID_set(swigCPtr, this, value);
 }
 public String getOrderRef() {
   return CThostFtdcJNI.CThostFtdcInputOrderActionField_OrderRef_get(swigCPtr, this);
 }
 public void setOrderRef(String value) {
   CThostFtdcJNI.CThostFtdcInputOrderActionField_OrderRef_set(swigCPtr, this, value);
 }
 public String getInvestorID() {
   return CThostFtdcJNI.CThostFtdcInputOrderActionField_InvestorID_get(swigCPtr, this);
 }
 public void setInvestorID(String value) {
   CThostFtdcJNI.CThostFtdcInputOrderActionField_InvestorID_set(swigCPtr, this, value);
 }
 public void setInstrumentID(String value) {
   CThostFtdcJNI.CThostFtdcExchangeMarginRateField_InstrumentID_set(swigCPtr, this, value);
 }
 public String getInstrumentID() {
   return CThostFtdcJNI.CThostFtdcExchangeMarginRateField_InstrumentID_get(swigCPtr, this);
 }
 public int getSessionID() {
   return CThostFtdcJNI.CThostFtdcInputOrderActionField_SessionID_get(swigCPtr, this);
 }
 public char getHedgeFlag() {
   return CThostFtdcJNI.CThostFtdcExchangeMarginRateField_HedgeFlag_get(swigCPtr, this);
 }
 public void setExchangeID(String value) {
   CThostFtdcJNI.CThostFtdcInputOrderActionField_ExchangeID_set(swigCPtr, this, value);
 }
 public double getLongMarginRatioByMoney() {
   return CThostFtdcJNI.CThostFtdcExchangeMarginRateField_LongMarginRatioByMoney_get(
       swigCPtr, this);
 }
 public String getExchangeID() {
   return CThostFtdcJNI.CThostFtdcInputOrderActionField_ExchangeID_get(swigCPtr, this);
 }
 public double getShortMarginRatioByVolume() {
   return CThostFtdcJNI.CThostFtdcExchangeMarginRateField_ShortMarginRatioByVolume_get(
       swigCPtr, this);
 }
 public CThostFtdcExchangeMarginRateField() {
   this(CThostFtdcJNI.new_CThostFtdcExchangeMarginRateField(), true);
 }
 public void setUserID(String value) {
   CThostFtdcJNI.CThostFtdcBrokerUserFunctionField_UserID_set(swigCPtr, this, value);
 }
 public void setBrokerID(String value) {
   CThostFtdcJNI.CThostFtdcExchangeMarginRateField_BrokerID_set(swigCPtr, this, value);
 }
 public void setBrokerFunctionCode(char value) {
   CThostFtdcJNI.CThostFtdcBrokerUserFunctionField_BrokerFunctionCode_set(swigCPtr, this, value);
 }
 public String getBrokerID() {
   return CThostFtdcJNI.CThostFtdcExchangeMarginRateField_BrokerID_get(swigCPtr, this);
 }
 public CThostFtdcBrokerUserFunctionField() {
   this(CThostFtdcJNI.new_CThostFtdcBrokerUserFunctionField(), true);
 }
 public CThostFtdcInputOrderActionField() {
   this(CThostFtdcJNI.new_CThostFtdcInputOrderActionField(), true);
 }