/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.19
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package SimbodyAPI;


public class StationParameter extends StationMeasure {
  private long swigCPtr;

  protected StationParameter(long cPtr, boolean cMemoryOwn) {
    super(ModelJNI.SWIGStationParameterToStationMeasure(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected StationParameter() {
    this(0, false);
  }

  protected void finalize() {
    delete();
  }

  public void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      ModelJNI.delete_StationParameter(swigCPtr);
      swigCMemOwn = false;
      super.delete();
    }
    swigCPtr = 0;
  }

  protected static long getCPtr(StationParameter obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  public StationParameter(String name) {
    this(ModelJNI.new_StationParameter__SWIG_0(name), true);
  }

  public StationParameter(StationParameter arg0) {
    this(ModelJNI.new_StationParameter__SWIG_1(StationParameter.getCPtr(arg0)), true);
  }

  public StationParameter assign(StationParameter arg0) {
    return new StationParameter(ModelJNI.StationParameter_assign(swigCPtr, StationParameter.getCPtr(arg0)), false);
  }

  public static boolean isInstanceOf(Feature arg0) {
    return ModelJNI.StationParameter_isInstanceOf(Feature.getCPtr(arg0));
  }

}
