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

package proteowizard.pwiz.RAMPAdapter;

public class InstrumentStruct {
  private long swigCPtr;
  protected boolean swigCMemOwn;

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

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

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      pwiz_swigbindingsJNI.delete_InstrumentStruct(swigCPtr);
    }
    swigCPtr = 0;
  }

  public void setManufacturer(String value) {
    pwiz_swigbindingsJNI.InstrumentStruct_manufacturer_set(swigCPtr, this, value);
  }

  public String getManufacturer() {
    return pwiz_swigbindingsJNI.InstrumentStruct_manufacturer_get(swigCPtr, this);
  }

  public void setModel(String value) {
    pwiz_swigbindingsJNI.InstrumentStruct_model_set(swigCPtr, this, value);
  }

  public String getModel() {
    return pwiz_swigbindingsJNI.InstrumentStruct_model_get(swigCPtr, this);
  }

  public void setIonisation(String value) {
    pwiz_swigbindingsJNI.InstrumentStruct_ionisation_set(swigCPtr, this, value);
  }

  public String getIonisation() {
    return pwiz_swigbindingsJNI.InstrumentStruct_ionisation_get(swigCPtr, this);
  }

  public void setAnalyzer(String value) {
    pwiz_swigbindingsJNI.InstrumentStruct_analyzer_set(swigCPtr, this, value);
  }

  public String getAnalyzer() {
    return pwiz_swigbindingsJNI.InstrumentStruct_analyzer_get(swigCPtr, this);
  }

  public void setDetector(String value) {
    pwiz_swigbindingsJNI.InstrumentStruct_detector_set(swigCPtr, this, value);
  }

  public String getDetector() {
    return pwiz_swigbindingsJNI.InstrumentStruct_detector_get(swigCPtr, this);
  }

  public InstrumentStruct() {
    this(pwiz_swigbindingsJNI.new_InstrumentStruct(), true);
  }

}
