Skip to content

InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/ParamConfig.java

Packages

Name
com.inscoper.api

Classes

Name
class com.inscoper.api.ParamConfig
ParamConfig class provides required information for parameter configuration.

Source code

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

package com.inscoper.api;
import com.inscoper.api.logging.*;

public class ParamConfig {
  private transient long swigCPtr;
  private transient boolean swigCMemOwn;

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

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

  protected void swigSetCMemOwn(boolean own) {
    swigCMemOwn = own;
  }

  @SuppressWarnings({"deprecation", "removal"})
  protected void finalize() {
    delete();
  }

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

  public ParamConfig() {
    this(InscoperJNI.new_ParamConfig(), true);
  }

  public void fromXML(XMLNode paramNode) throws com.inscoper.api.InscoperException {
    InscoperJNI.ParamConfig_fromXML(swigCPtr, this, XMLNode.getCPtr(paramNode), paramNode);
  }

  public void toXML(XMLNode xmlParent) throws com.inscoper.api.InscoperException {
    InscoperJNI.ParamConfig_toXML(swigCPtr, this, XMLNode.getCPtr(xmlParent), xmlParent);
  }

  public int getTag() {
    return InscoperJNI.ParamConfig_getTag(swigCPtr, this);
  }

  public void setTag(int tag) {
    InscoperJNI.ParamConfig_setTag(swigCPtr, this, tag);
  }

  public boolean isFixed() {
    return InscoperJNI.ParamConfig_isFixed(swigCPtr, this);
  }

  public void setFixed(boolean fixed) {
    InscoperJNI.ParamConfig_setFixed(swigCPtr, this, fixed);
  }

  public String getDefaultValue() {
    return InscoperJNI.ParamConfig_getDefaultValue(swigCPtr, this);
  }

  public void setDefaultValue(String defaultValue) {
    InscoperJNI.ParamConfig_setDefaultValue(swigCPtr, this, defaultValue);
  }

  public String getMin() {
    return InscoperJNI.ParamConfig_getMin(swigCPtr, this);
  }

  public void setMin(String min) {
    InscoperJNI.ParamConfig_setMin(swigCPtr, this, min);
  }

  public String getMax() {
    return InscoperJNI.ParamConfig_getMax(swigCPtr, this);
  }

  public void setMax(String max) {
    InscoperJNI.ParamConfig_setMax(swigCPtr, this, max);
  }

  public String getStep() {
    return InscoperJNI.ParamConfig_getStep(swigCPtr, this);
  }

  public void setStep(String step) {
    InscoperJNI.ParamConfig_setStep(swigCPtr, this, step);
  }

}

Updated on 2026-09-03 at 12:14:19 +0200