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

package org.opalvoip;

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

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

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

  protected void finalize() {
    delete();
  }

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

  public void setM_protocol(String value) {
    OPALJNI.OpalParamRegistration_m_protocol_set(swigCPtr, this, value);
  }

  public String getM_protocol() {
    return OPALJNI.OpalParamRegistration_m_protocol_get(swigCPtr, this);
  }

  public void setM_identifier(String value) {
    OPALJNI.OpalParamRegistration_m_identifier_set(swigCPtr, this, value);
  }

  public String getM_identifier() {
    return OPALJNI.OpalParamRegistration_m_identifier_get(swigCPtr, this);
  }

  public void setM_hostName(String value) {
    OPALJNI.OpalParamRegistration_m_hostName_set(swigCPtr, this, value);
  }

  public String getM_hostName() {
    return OPALJNI.OpalParamRegistration_m_hostName_get(swigCPtr, this);
  }

  public void setM_authUserName(String value) {
    OPALJNI.OpalParamRegistration_m_authUserName_set(swigCPtr, this, value);
  }

  public String getM_authUserName() {
    return OPALJNI.OpalParamRegistration_m_authUserName_get(swigCPtr, this);
  }

  public void setM_password(String value) {
    OPALJNI.OpalParamRegistration_m_password_set(swigCPtr, this, value);
  }

  public String getM_password() {
    return OPALJNI.OpalParamRegistration_m_password_get(swigCPtr, this);
  }

  public void setM_adminEntity(String value) {
    OPALJNI.OpalParamRegistration_m_adminEntity_set(swigCPtr, this, value);
  }

  public String getM_adminEntity() {
    return OPALJNI.OpalParamRegistration_m_adminEntity_get(swigCPtr, this);
  }

  public void setM_timeToLive(long value) {
    OPALJNI.OpalParamRegistration_m_timeToLive_set(swigCPtr, this, value);
  }

  public long getM_timeToLive() {
    return OPALJNI.OpalParamRegistration_m_timeToLive_get(swigCPtr, this);
  }

  public void setM_restoreTime(long value) {
    OPALJNI.OpalParamRegistration_m_restoreTime_set(swigCPtr, this, value);
  }

  public long getM_restoreTime() {
    return OPALJNI.OpalParamRegistration_m_restoreTime_get(swigCPtr, this);
  }

  public void setM_eventPackage(String value) {
    OPALJNI.OpalParamRegistration_m_eventPackage_set(swigCPtr, this, value);
  }

  public String getM_eventPackage() {
    return OPALJNI.OpalParamRegistration_m_eventPackage_get(swigCPtr, this);
  }

  public OpalParamRegistration() {
    this(OPALJNI.new_OpalParamRegistration(), true);
  }

}
