/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.38
 * 
 * This file is not intended to be easily readable and contains a number of 
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG 
 * interface file instead. 
 * ----------------------------------------------------------------------------- */

#define SWIGJAVA


#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
  struct SwigMovePointer {
    T *ptr;
    SwigMovePointer(T *p) : ptr(p) { }
    ~SwigMovePointer() { delete ptr; }
    SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
  } pointer;
  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
  SwigValueWrapper() : pointer(0) { }
  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
  operator T&() const { return *pointer.ptr; }
  T *operator&() { return pointer.ptr; }
};

template <typename T> T SwigValueInit() {
  return T();
}
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__)) 
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__)) 
# else
#   define SWIGUNUSED 
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif 
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#  ifndef GCC_HASCLASSVISIBILITY
#    define GCC_HASCLASSVISIBILITY
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif 
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif



/* Fix for jlong on some versions of gcc on Windows */
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
  typedef long long __int64;
#endif

/* Fix for jlong on 64-bit x86 Solaris */
#if defined(__x86_64)
# ifdef _LP64
#   undef _LP64
# endif
#endif

#include <jni.h>
#include <stdlib.h>
#include <string.h>


/* Support for throwing Java exceptions */
typedef enum {
  SWIG_JavaOutOfMemoryError = 1, 
  SWIG_JavaIOException, 
  SWIG_JavaRuntimeException, 
  SWIG_JavaIndexOutOfBoundsException,
  SWIG_JavaArithmeticException,
  SWIG_JavaIllegalArgumentException,
  SWIG_JavaNullPointerException,
  SWIG_JavaDirectorPureVirtual,
  SWIG_JavaUnknownError
} SWIG_JavaExceptionCodes;

typedef struct {
  SWIG_JavaExceptionCodes code;
  const char *java_exception;
} SWIG_JavaExceptions_t;


static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
  jclass excep;
  static const SWIG_JavaExceptions_t java_exceptions[] = {
    { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
    { SWIG_JavaIOException, "java/io/IOException" },
    { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
    { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
    { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
    { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
    { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
    { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
    { SWIG_JavaUnknownError,  "java/lang/UnknownError" },
    { (SWIG_JavaExceptionCodes)0,  "java/lang/UnknownError" } };
  const SWIG_JavaExceptions_t *except_ptr = java_exceptions;

  while (except_ptr->code != code && except_ptr->code)
    except_ptr++;

  jenv->ExceptionClear();
  excep = jenv->FindClass(except_ptr->java_exception);
  if (excep)
    jenv->ThrowNew(excep, msg);
}


/* Contract support */

#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else


#include "libsbml.h"
#ifdef USE_LAYOUT
#include "../swig/layout.h"
#endif /* USE_LAYOUT */
#include "local.cpp"


#include <string>


#include <iostream>
#include <fstream>
#include <sstream>



  class LIBLAX_EXTERN OStream 
  {
  protected:
    std::ostream* Stream;

  public:
    enum StdOSType {COUT,CERR,CLOG};

    /**
     * Creates a new OStream object with one of standard output stream objects.
     */
    OStream (StdOSType sot = COUT) 
    {
      switch (sot) {
        case COUT:
          Stream = &std::cout;
          break;
        case CERR:
          Stream = &std::cerr;
          break;
        case CLOG:
          Stream = &std::clog;
          break;
        default:
          Stream = &std::cout;
      }
    }

    virtual ~OStream () 
    {
    }
  
    /**
     * Returns stream object.
     */
    virtual std::ostream* get_ostream ()  
    { 
      return Stream;
    }

    void endl ()
    {
      std::endl(*Stream);
    }
  
  };
  
  class LIBLAX_EXTERN OFStream : public OStream 
  {
  public:
    /**
     * Creates a new OFStream object and opens a given file with 
     * append flag (default is false) and associates its content 
     * with stream object (Stream).
     */
    OFStream (const std::string& filename, bool is_append = false) 
    {
      if (is_append) {
        Stream = new std::ofstream(filename.c_str(),ios_base::app);
      }
      else {
        Stream = new std::ofstream(filename.c_str(),ios_base::out);
      }
    }
  
    /**
     * Opens a given file with append flag (default is false) and associates
     * its content with existing stream object (Stream).
     */
    void open (const std::string& filename, bool is_append = false) 
    { 
      if (is_append) {
        static_cast<std::ofstream*>(Stream)->open(filename.c_str(),ios_base::app);
      }
      else {
        static_cast<std::ofstream*>(Stream)->open(filename.c_str(),ios_base::out);
      }
    }  
  
    /**
     * Closes the file currently associated with stream object.
     */
    void close ()
    {
      static_cast<std::ofstream*>(Stream)->close();
    }
  
    /**
     * Returns true if stream object is currently associated with a file
     */
    bool is_open () 
    { 
      return static_cast<std::ofstream*>(Stream)->is_open(); 
    }
  
    virtual ~OFStream ()
    {
      delete Stream;
    }
  
  };
  
  class LIBLAX_EXTERN OStringStream : public OStream 
  {
  public:
    /**
     * Creates a new OStringStream object
     */
    OStringStream () 
    {
      Stream = new std::ostringstream();
    }
  
    /**
     * Returns the copy of the string object currently assosiated 
     * with the stream buffer.
     */
    std::string str () 
    {
      return static_cast<std::ostringstream*>(Stream)->str();
    }
  
    /**
     * Sets string s to the string object currently assosiated with 
     * the stream buffer.
     */
    void str (const std::string& s)
    {
      static_cast<std::ostringstream*>(Stream)->str(s.c_str());
    }
  
    virtual ~OStringStream () 
    {
      delete Stream;
    }
  
  };


#ifdef __cplusplus
extern "C" {
#endif

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1OStream_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jlong jresult = 0 ;
  OStream::StdOSType arg1 ;
  OStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (OStream::StdOSType)jarg1; 
  result = (OStream *)new OStream(arg1);
  *(OStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1OStream_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  OStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (OStream *)new OStream();
  *(OStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1OStream(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  OStream *arg1 = (OStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(OStream **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_OStream_1get_1ostream(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  OStream *arg1 = (OStream *) 0 ;
  std::ostream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OStream **)&jarg1; 
  result = (std::ostream *)(arg1)->get_ostream();
  *(std::ostream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_OStream_1endl(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OStream *arg1 = (OStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OStream **)&jarg1; 
  (arg1)->endl();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1OFStream_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jboolean jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  bool arg2 ;
  char const *arg_pstr1 ;
  std::string arg_str1 ;
  OFStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  arg_pstr1 = (char const *)jenv->GetStringUTFChars(jarg1, 0);
  if (!arg_pstr1) return 0;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr1);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg1, arg_pstr1);
    return 0;
  }
  
  arg_str1.assign(mbstr);
  delete[] mbstr;
#else
  arg_str1.assign(arg_pstr1);
#endif
  arg1 = &arg_str1;
  jenv->ReleaseStringUTFChars(jarg1, arg_pstr1);
  
  
  arg2 = jarg2 ? true : false; 
  result = (OFStream *)new OFStream((std::string const &)*arg1,arg2);
  *(OFStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1OFStream_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  char const *arg_pstr1 ;
  std::string arg_str1 ;
  OFStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  arg_pstr1 = (char const *)jenv->GetStringUTFChars(jarg1, 0);
  if (!arg_pstr1) return 0;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr1);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg1, arg_pstr1);
    return 0;
  }
  
  arg_str1.assign(mbstr);
  delete[] mbstr;
#else
  arg_str1.assign(arg_pstr1);
#endif
  arg1 = &arg_str1;
  jenv->ReleaseStringUTFChars(jarg1, arg_pstr1);
  
  
  result = (OFStream *)new OFStream((std::string const &)*arg1);
  *(OFStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_OFStream_1open_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
  OFStream *arg1 = (OFStream *) 0 ;
  std::string *arg2 = 0 ;
  bool arg3 ;
  char const *arg_pstr2 ;
  std::string arg_str2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OFStream **)&jarg1; 
  
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  arg_pstr2 = (char const *)jenv->GetStringUTFChars(jarg2, 0);
  if (!arg_pstr2) return ;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr2);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
    return ;
  }
  
  arg_str2.assign(mbstr);
  delete[] mbstr;
#else
  arg_str2.assign(arg_pstr2);
#endif
  arg2 = &arg_str2;
  jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
  
  
  arg3 = jarg3 ? true : false; 
  (arg1)->open((std::string const &)*arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_OFStream_1open_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  OFStream *arg1 = (OFStream *) 0 ;
  std::string *arg2 = 0 ;
  char const *arg_pstr2 ;
  std::string arg_str2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OFStream **)&jarg1; 
  
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  arg_pstr2 = (char const *)jenv->GetStringUTFChars(jarg2, 0);
  if (!arg_pstr2) return ;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr2);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
    return ;
  }
  
  arg_str2.assign(mbstr);
  delete[] mbstr;
#else
  arg_str2.assign(arg_pstr2);
#endif
  arg2 = &arg_str2;
  jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
  
  
  (arg1)->open((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_OFStream_1close(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OFStream *arg1 = (OFStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OFStream **)&jarg1; 
  (arg1)->close();
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_OFStream_1is_1open(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  OFStream *arg1 = (OFStream *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OFStream **)&jarg1; 
  result = (bool)(arg1)->is_open();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1OFStream(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  OFStream *arg1 = (OFStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(OFStream **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1OStringStream(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  OStringStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (OStringStream *)new OStringStream();
  *(OStringStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_OStringStream_1str_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  OStringStream *arg1 = (OStringStream *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OStringStream **)&jarg1; 
  result = (arg1)->str();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_OStringStream_1str_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  OStringStream *arg1 = (OStringStream *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OStringStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->str((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1OStringStream(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  OStringStream *arg1 = (OStringStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(OStringStream **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_getLibSBMLVersion(JNIEnv *jenv, jclass jcls) {
  jint jresult = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  result = (int)getLibSBMLVersion();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_getLibSBMLDottedVersion(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *)getLibSBMLDottedVersion();
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_getLibSBMLVersionString(JNIEnv *jenv, jclass jcls) {
  jstring jresult = 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (char *)getLibSBMLVersionString();
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLReader(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBMLReader *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBMLReader *)new SBMLReader();
  *(SBMLReader **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBMLReader(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBMLReader *arg1 = (SBMLReader *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBMLReader **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLReader_1readSBML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  SBMLReader *arg1 = (SBMLReader *) 0 ;
  std::string *arg2 = 0 ;
  char const *arg_pstr2 ;
  std::string arg_str2 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLReader **)&jarg1; 
  
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  arg_pstr2 = (char const *)jenv->GetStringUTFChars(jarg2, 0);
  if (!arg_pstr2) return 0;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr2);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
    return 0;
  }
  
  arg_str2.assign(mbstr);
  delete[] mbstr;
#else
  arg_str2.assign(arg_pstr2);
#endif
  arg2 = &arg_str2;
  jenv->ReleaseStringUTFChars(jarg2, arg_pstr2);
  
  
  result = (SBMLDocument *)(arg1)->readSBML((std::string const &)*arg2);
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLReader_1readSBMLFromString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  SBMLReader *arg1 = (SBMLReader *) 0 ;
  std::string *arg2 = 0 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLReader **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SBMLDocument *)(arg1)->readSBMLFromString((std::string const &)*arg2);
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLReader_1hasZlib(JNIEnv *jenv, jclass jcls) {
  jboolean jresult = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  result = (bool)SBMLReader::hasZlib();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLReader_1hasBzip2(JNIEnv *jenv, jclass jcls) {
  jboolean jresult = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  result = (bool)SBMLReader::hasBzip2();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_readSBML(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  char const *arg_pstr1 ;
  SBMLDocument_t *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  
  if (jarg1) {
    arg_pstr1 = (char const *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg_pstr1) return 0;
  }
  else
  {
    arg_pstr1 = 0;
  }
#ifdef WIN32
  arg1 = convertUTF8ToACP(arg_pstr1);
  if (!arg1)
  {
    jenv->ReleaseStringUTFChars(jarg1, (const char*)arg_pstr1);
    return 0;
  }
  jenv->ReleaseStringUTFChars(jarg1, (const char*)arg_pstr1);
#else
  arg1 = (char*)arg_pstr1;
#endif
  
  result = (SBMLDocument_t *)readSBML((char const *)arg1);
  *(SBMLDocument_t **)&jresult = result; 
  
#ifdef WIN32
  delete[] arg1;
#else
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char*)arg1);
#endif
  
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_readSBMLFromString(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  SBMLDocument_t *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  result = (SBMLDocument_t *)readSBMLFromString((char const *)arg1);
  *(SBMLDocument_t **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLWriter(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBMLWriter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBMLWriter *)new SBMLWriter();
  *(SBMLWriter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBMLWriter(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBMLWriter **)&jarg1; 
  delete arg1;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1setProgramName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLWriter **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setProgramName((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1setProgramVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLWriter **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setProgramVersion((std::string const &)*arg2);
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1writeSBML_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jstring jarg3) {
  jboolean jresult = 0 ;
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  std::string *arg3 = 0 ;
  char const *arg_pstr3 ;
  std::string arg_str3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLWriter **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  arg_pstr3 = (char const *)jenv->GetStringUTFChars(jarg3, 0);
  if (!arg_pstr3) return 0;
#ifdef WIN32
  char*  mbstr = convertUTF8ToACP(arg_pstr3);
  if (!mbstr)
  {
    jenv->ReleaseStringUTFChars(jarg3, arg_pstr3);
    return 0;
  }
  
  arg_str3.assign(mbstr);
  delete[] mbstr;
#else
  arg_str3.assign(arg_pstr3);
#endif
  arg3 = &arg_str3;
  jenv->ReleaseStringUTFChars(jarg3, arg_pstr3);
  
  
  result = (bool)(arg1)->writeSBML((SBMLDocument const *)arg2,(std::string const &)*arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1writeSBML_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
  jboolean jresult = 0 ;
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  std::ostream *arg3 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(SBMLWriter **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  arg3 = *(std::ostream **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  result = (bool)(arg1)->writeSBML((SBMLDocument const *)arg2,*arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1writeToString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jstring jresult = 0 ;
  SBMLWriter *arg1 = (SBMLWriter *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLWriter **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  result = (char *)(arg1)->writeToString((SBMLDocument const *)arg2);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  free(result);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1hasZlib(JNIEnv *jenv, jclass jcls) {
  jboolean jresult = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  result = (bool)SBMLWriter::hasZlib();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLWriter_1hasBzip2(JNIEnv *jenv, jclass jcls) {
  jboolean jresult = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  result = (bool)SBMLWriter::hasBzip2();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_writeSBML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  SBMLDocument_t *arg1 = (SBMLDocument_t *) 0 ;
  char *arg2 = (char *) 0 ;
  char const *arg_pstr2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument_t **)&jarg1; 
  
  if (jarg2) {
    arg_pstr2 = (char const *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg_pstr2) return 0;
  }
  else
  {
    arg_pstr2 = 0;
  }
#ifdef WIN32
  arg2 = convertUTF8ToACP(arg_pstr2);
  if (!arg2)
  {
    jenv->ReleaseStringUTFChars(jarg2, (const char*)arg_pstr2);
    return 0;
  }
  jenv->ReleaseStringUTFChars(jarg2, (const char*)arg_pstr2);
#else
  arg2 = (char*)arg_pstr2;
#endif
  
  result = (int)writeSBML((SBMLDocument const *)arg1,(char const *)arg2);
  jresult = (jint)result; 
  
#ifdef WIN32
  delete[] arg2;
#else
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char*)arg2);
#endif
  
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_writeSBMLToString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBMLDocument_t *arg1 = (SBMLDocument_t *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument_t **)&jarg1; 
  result = (char *)writeSBMLToString((SBMLDocument const *)arg1);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  free(result);
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLTypeCode_1toString(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jstring jresult = 0 ;
  SBMLTypeCode_t arg1 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (SBMLTypeCode_t)jarg1; 
  result = (char *)SBMLTypeCode_toString(arg1);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBase(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBase **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (SBase *)((SBase const *)arg1)->clone();
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getMetaId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  {
    std::string const &_result_ref = ((SBase const *)arg1)->getMetaId();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  {
    std::string const &_result_ref = ((SBase const *)arg1)->getId();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  {
    std::string const &_result_ref = ((SBase const *)arg1)->getName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getNotes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNode *)(arg1)->getNotes();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getNotesString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (arg1)->getNotesString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNode *)(arg1)->getAnnotation();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getAnnotationString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (arg1)->getAnnotationString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNamespaces *)((SBase const *)arg1)->getNamespaces();
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getSBMLDocument_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (SBMLDocument *)((SBase const *)arg1)->getSBMLDocument();
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (SBase *)(arg1)->getParentSBMLObject();
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getAncestorOfType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  SBMLTypeCode_t arg2 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = (SBMLTypeCode_t)jarg2; 
  result = (SBase *)(arg1)->getAncestorOfType(arg2);
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getSBOTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (int)((SBase const *)arg1)->getSBOTerm();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getSBOTermID(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = ((SBase const *)arg1)->getSBOTermID();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (unsigned int)((SBase const *)arg1)->getLine();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getColumn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (unsigned int)((SBase const *)arg1)->getColumn();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetMetaId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetMetaId();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetId();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetName();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetNotes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetNotes();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetAnnotation();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1isSetSBOTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (bool)((SBase const *)arg1)->isSetSBOTerm();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setMetaId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setMetaId((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setId((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setName((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->setAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setAnnotation((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1appendAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->appendAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1appendAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->appendAnnotation((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setNotes_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->setNotes((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setNotes_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setNotes((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1appendNotes_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->appendNotes((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1appendNotes_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->appendNotes((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setSBOTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  SBase *arg1 = (SBase *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->setSBOTerm(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1setNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLNamespaces *arg2 = (XMLNamespaces *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLNamespaces **)&jarg2; 
  (arg1)->setNamespaces(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetMetaId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetMetaId();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetId();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetName();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetNotes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetNotes();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetAnnotation();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetSBOTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetSBOTerm();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1addCVTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  CVTerm *arg2 = (CVTerm *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(CVTerm **)&jarg2; 
  (arg1)->addCVTerm(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getNumCVTerms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (unsigned int)(arg1)->getNumCVTerms();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getCVTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int arg2 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (CVTerm *)(arg1)->getCVTerm(arg2);
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1unsetCVTerms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBase *arg1 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  (arg1)->unsetCVTerms();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getResourceBiologicalQualifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string arg2 ;
  BiolQualifierType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (BiolQualifierType_t)(arg1)->getResourceBiologicalQualifier(arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getResourceModelQualifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string arg2 ;
  ModelQualifierType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (ModelQualifierType_t)(arg1)->getResourceModelQualifier(arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getModel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (Model *)((SBase const *)arg1)->getModel();
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getLevel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (unsigned int)((SBase const *)arg1)->getLevel();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (unsigned int)((SBase const *)arg1)->getVersion();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (SBMLTypeCode_t)((SBase const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  {
    std::string const &_result_ref = ((SBase const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1toSBML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (char *)(arg1)->toSBML();
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  free(result);
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1read(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLInputStream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLInputStream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLInputStream & reference is null");
    return ;
  } 
  (arg1)->read(*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBase_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBase *arg1 = (SBase *) 0 ;
  XMLOutputStream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBase **)&jarg1; 
  arg2 = *(XMLOutputStream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLOutputStream & reference is null");
    return ;
  } 
  ((SBase const *)arg1)->write(*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOf_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOf *)new ListOf();
  *(ListOf **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOf(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOf *arg1 = (ListOf *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOf **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOf_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOf *arg1 = 0 ;
  ListOf *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ListOf const & reference is null");
    return 0;
  } 
  result = (ListOf *)new ListOf((ListOf const &)*arg1);
  *(ListOf **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  result = (SBase *)((ListOf const *)arg1)->clone();
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1append(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ListOf *arg1 = (ListOf *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->append((SBase const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1appendAndOwn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ListOf *arg1 = (ListOf *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->appendAndOwn(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  unsigned int arg2 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBase *)((ListOf const *)arg1)->get(arg2);
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  std::string *arg2 = 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SBase *)((ListOf const *)arg1)->get((std::string const &)*arg2);
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1clear_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  ListOf *arg1 = (ListOf *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->clear(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1clear_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ListOf *arg1 = (ListOf *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  (arg1)->clear();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  unsigned int arg2 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBase *)(arg1)->remove(arg2);
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  std::string *arg2 = 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SBase *)(arg1)->remove((std::string const &)*arg2);
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1size(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  result = (unsigned int)((ListOf const *)arg1)->size();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ListOf *arg1 = (ListOf *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ListOf *arg1 = (ListOf *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ListOf **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOf const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOf const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOf_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOf *arg1 = (ListOf *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOf **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOf const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Model *)new Model((std::string const &)*arg1,(std::string const &)*arg2);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Model *)new Model((std::string const &)*arg1);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Model *)new Model();
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Model *)new Model(arg1,arg2,arg3);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Model *)new Model(arg1,arg2);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Model(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Model *arg1 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Model **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Model_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Model const & reference is null");
    return 0;
  } 
  result = (Model *)new Model((Model const &)*arg1);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Model *)((Model const *)arg1)->clone();
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getModelHistory_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ModelHistory *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ModelHistory *)((Model const *)arg1)->getModelHistory();
  *(ModelHistory **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1isSetModelHistory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (bool)(arg1)->isSetModelHistory();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1setModelHistory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  ModelHistory *arg2 = (ModelHistory *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(ModelHistory **)&jarg2; 
  (arg1)->setModelHistory(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1unsetModelHistory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Model *arg1 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  (arg1)->unsetModelHistory();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addFunctionDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  FunctionDefinition *arg2 = (FunctionDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(FunctionDefinition **)&jarg2; 
  (arg1)->addFunctionDefinition((FunctionDefinition const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  UnitDefinition *arg2 = (UnitDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(UnitDefinition **)&jarg2; 
  (arg1)->addUnitDefinition((UnitDefinition const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  CompartmentType *arg2 = (CompartmentType *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(CompartmentType **)&jarg2; 
  (arg1)->addCompartmentType((CompartmentType const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  SpeciesType *arg2 = (SpeciesType *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(SpeciesType **)&jarg2; 
  (arg1)->addSpeciesType((SpeciesType const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Compartment *arg2 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Compartment **)&jarg2; 
  (arg1)->addCompartment((Compartment const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Species *arg2 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Species **)&jarg2; 
  (arg1)->addSpecies((Species const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Parameter *arg2 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Parameter **)&jarg2; 
  (arg1)->addParameter((Parameter const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addInitialAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  InitialAssignment *arg2 = (InitialAssignment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(InitialAssignment **)&jarg2; 
  (arg1)->addInitialAssignment((InitialAssignment const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addRule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Rule *arg2 = (Rule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Rule **)&jarg2; 
  (arg1)->addRule((Rule const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Constraint *arg2 = (Constraint *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Constraint **)&jarg2; 
  (arg1)->addConstraint((Constraint const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addReaction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Reaction *arg2 = (Reaction *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Reaction **)&jarg2; 
  (arg1)->addReaction((Reaction const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1addEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  Event *arg2 = (Event *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(Event **)&jarg2; 
  (arg1)->addEvent((Event const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createFunctionDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (FunctionDefinition *)(arg1)->createFunctionDefinition();
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (UnitDefinition *)(arg1)->createUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createUnit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Unit *)(arg1)->createUnit();
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (CompartmentType *)(arg1)->createCompartmentType();
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (SpeciesType *)(arg1)->createSpeciesType();
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Compartment *)(arg1)->createCompartment();
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Species *)(arg1)->createSpecies();
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Parameter *)(arg1)->createParameter();
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createInitialAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (InitialAssignment *)(arg1)->createInitialAssignment();
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createAlgebraicRule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (AlgebraicRule *)(arg1)->createAlgebraicRule();
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createAssignmentRule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (AssignmentRule *)(arg1)->createAssignmentRule();
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createRateRule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (RateRule *)(arg1)->createRateRule();
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createConstraint(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Constraint *)(arg1)->createConstraint();
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createReaction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Reaction *)(arg1)->createReaction();
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createReactant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (SpeciesReference *)(arg1)->createReactant();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createProduct(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (SpeciesReference *)(arg1)->createProduct();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createModifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ModifierSpeciesReference *)(arg1)->createModifier();
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createKineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (KineticLaw *)(arg1)->createKineticLaw();
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createKineticLawParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Parameter *)(arg1)->createKineticLawParameter();
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createEvent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (Event *)(arg1)->createEvent();
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1createEventAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (EventAssignment *)(arg1)->createEventAssignment();
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1setAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->setAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1setAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setAnnotation((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1appendAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->appendAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1appendAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->appendAnnotation((std::string const &)*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfFunctionDefinitions_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfFunctionDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfFunctionDefinitions *)((Model const *)arg1)->getListOfFunctionDefinitions();
  *(ListOfFunctionDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfUnitDefinitions_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfUnitDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfUnitDefinitions *)((Model const *)arg1)->getListOfUnitDefinitions();
  *(ListOfUnitDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfCompartmentTypes_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfCompartmentTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfCompartmentTypes *)((Model const *)arg1)->getListOfCompartmentTypes();
  *(ListOfCompartmentTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfSpeciesTypes_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfSpeciesTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfSpeciesTypes *)((Model const *)arg1)->getListOfSpeciesTypes();
  *(ListOfSpeciesTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfCompartments_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfCompartments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfCompartments *)((Model const *)arg1)->getListOfCompartments();
  *(ListOfCompartments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfSpecies_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfSpecies *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfSpecies *)((Model const *)arg1)->getListOfSpecies();
  *(ListOfSpecies **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfParameters_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfParameters *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfParameters *)((Model const *)arg1)->getListOfParameters();
  *(ListOfParameters **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfInitialAssignments_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfInitialAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfInitialAssignments *)((Model const *)arg1)->getListOfInitialAssignments();
  *(ListOfInitialAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfRules_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfRules *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfRules *)((Model const *)arg1)->getListOfRules();
  *(ListOfRules **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfConstraints_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfConstraints *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfConstraints *)((Model const *)arg1)->getListOfConstraints();
  *(ListOfConstraints **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfReactions_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfReactions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfReactions *)((Model const *)arg1)->getListOfReactions();
  *(ListOfReactions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getListOfEvents_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ListOfEvents *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (ListOfEvents *)((Model const *)arg1)->getListOfEvents();
  *(ListOfEvents **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getFunctionDefinition_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (FunctionDefinition *)((Model const *)arg1)->getFunctionDefinition(arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getFunctionDefinition_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (FunctionDefinition *)((Model const *)arg1)->getFunctionDefinition((std::string const &)*arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getUnitDefinition_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (UnitDefinition *)((Model const *)arg1)->getUnitDefinition(arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getUnitDefinition_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (UnitDefinition *)((Model const *)arg1)->getUnitDefinition((std::string const &)*arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getCompartmentType_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (CompartmentType *)((Model const *)arg1)->getCompartmentType(arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getCompartmentType_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (CompartmentType *)((Model const *)arg1)->getCompartmentType((std::string const &)*arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getSpeciesType_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesType *)((Model const *)arg1)->getSpeciesType(arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getSpeciesType_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesType *)((Model const *)arg1)->getSpeciesType((std::string const &)*arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getCompartment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Compartment *)((Model const *)arg1)->getCompartment(arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getCompartment_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Compartment *)((Model const *)arg1)->getCompartment((std::string const &)*arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getSpecies_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Species *)((Model const *)arg1)->getSpecies(arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getSpecies_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Species *)((Model const *)arg1)->getSpecies((std::string const &)*arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getParameter_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Parameter *)((Model const *)arg1)->getParameter(arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getParameter_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Parameter *)((Model const *)arg1)->getParameter((std::string const &)*arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getInitialAssignment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (InitialAssignment *)((Model const *)arg1)->getInitialAssignment(arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getInitialAssignment_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (InitialAssignment *)((Model const *)arg1)->getInitialAssignment((std::string const &)*arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getRule_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Rule *)((Model const *)arg1)->getRule(arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getRule_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Rule *)((Model const *)arg1)->getRule((std::string const &)*arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getConstraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Constraint *)((Model const *)arg1)->getConstraint(arg2);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getReaction_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Reaction *)((Model const *)arg1)->getReaction(arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getReaction_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Reaction *)((Model const *)arg1)->getReaction((std::string const &)*arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getEvent_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int arg2 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Event *)((Model const *)arg1)->getEvent(arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getEvent_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *arg2 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Event *)((Model const *)arg1)->getEvent((std::string const &)*arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumFunctionDefinitions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumFunctionDefinitions();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumUnitDefinitions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumUnitDefinitions();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumCompartmentTypes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumCompartmentTypes();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumSpeciesTypes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumSpeciesTypes();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumCompartments(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumCompartments();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumSpecies();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumSpeciesWithBoundaryCondition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumSpeciesWithBoundaryCondition();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumParameters();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumInitialAssignments(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumInitialAssignments();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumRules(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumRules();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumConstraints();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumReactions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumReactions();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getNumEvents(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (unsigned int)((Model const *)arg1)->getNumEvents();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1convertToL1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Model *arg1 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  (arg1)->convertToL1();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1convertToL2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Model *arg1 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  (arg1)->convertToL2();
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1isBoolean(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  result = (bool)((Model const *)arg1)->isBoolean((ASTNode const *)arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Model *arg1 = (Model *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Model **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (SBMLTypeCode_t)((Model const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  {
    std::string const &_result_ref = ((Model const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1populateListFormulaUnitsData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Model *arg1 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  (arg1)->populateListFormulaUnitsData();
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Model_1isPopulatedListFormulaUnitsData(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (bool)(arg1)->isPopulatedListFormulaUnitsData();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getDefaultLevel(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  result = (unsigned int)SBMLDocument::getDefaultLevel();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getDefaultVersion(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  result = (unsigned int)SBMLDocument::getDefaultVersion();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLDocument_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBMLDocument *)new SBMLDocument(arg1,arg2);
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLDocument_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (SBMLDocument *)new SBMLDocument(arg1);
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLDocument_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBMLDocument *)new SBMLDocument();
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBMLDocument **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLDocument_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = 0 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "SBMLDocument const & reference is null");
    return 0;
  } 
  result = (SBMLDocument *)new SBMLDocument((SBMLDocument const &)*arg1);
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  SBMLDocument *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (SBMLDocument *)((SBMLDocument const *)arg1)->clone();
  *(SBMLDocument **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getModel_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (Model *)((SBMLDocument const *)arg1)->getModel();
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1setLevelAndVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
  jboolean jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (bool)(arg1)->setLevelAndVersion(arg2,arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1setModel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  Model *arg2 = (Model *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = *(Model **)&jarg2; 
  (arg1)->setModel((Model const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1createModel_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  std::string *arg2 = 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Model *)(arg1)->createModel((std::string const &)*arg2);
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1createModel_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  Model *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (Model *)(arg1)->createModel();
  *(Model **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1setConsistencyChecks(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jboolean jarg3) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  SBMLErrorCategory_t arg2 ;
  bool arg3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = (SBMLErrorCategory_t)jarg2; 
  arg3 = jarg3 ? true : false; 
  (arg1)->setConsistencyChecks(arg2,arg3);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkConsistency(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkConsistency();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkInternalConsistency(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkInternalConsistency();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkL1Compatibility(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkL1Compatibility();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkL2v1Compatibility(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkL2v1Compatibility();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkL2v2Compatibility(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkL2v2Compatibility();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkL2v3Compatibility(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkL2v3Compatibility();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1checkL2v4Compatibility(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)(arg1)->checkL2v4Compatibility();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int arg2 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBMLError *)((SBMLDocument const *)arg1)->getError(arg2);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getNumErrors(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (unsigned int)((SBMLDocument const *)arg1)->getNumErrors();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1printErrors_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  std::ostream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = *(std::ostream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return ;
  } 
  ((SBMLDocument const *)arg1)->printErrors(*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1printErrors_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  ((SBMLDocument const *)arg1)->printErrors();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLDocument **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (SBMLTypeCode_t)((SBMLDocument const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  {
    std::string const &_result_ref = ((SBMLDocument const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  SBMLErrorLog *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (SBMLErrorLog *)(arg1)->getErrorLog();
  *(SBMLErrorLog **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLDocument_1getNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLDocument *arg1 = (SBMLDocument *) 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLDocument **)&jarg1; 
  result = (XMLNamespaces *)((SBMLDocument const *)arg1)->getNamespaces();
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (FunctionDefinition *)new FunctionDefinition((std::string const &)*arg1,(std::string const &)*arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (FunctionDefinition *)new FunctionDefinition((std::string const &)*arg1);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (FunctionDefinition *)new FunctionDefinition();
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (FunctionDefinition *)new FunctionDefinition(arg1,arg2,arg3);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (FunctionDefinition *)new FunctionDefinition(arg1,arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = *(ASTNode **)&jarg2; 
  result = (FunctionDefinition *)new FunctionDefinition((std::string const &)*arg1,(ASTNode const *)arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1FunctionDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(FunctionDefinition **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1FunctionDefinition_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "FunctionDefinition const & reference is null");
    return 0;
  } 
  result = (FunctionDefinition *)new FunctionDefinition((FunctionDefinition const &)*arg1);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (FunctionDefinition *)((FunctionDefinition const *)arg1)->clone();
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (ASTNode *)((FunctionDefinition const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (bool)((FunctionDefinition const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getArgument_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  unsigned int arg2 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (ASTNode *)((FunctionDefinition const *)arg1)->getArgument(arg2);
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getArgument_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  std::string *arg2 = 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (ASTNode *)((FunctionDefinition const *)arg1)->getArgument((std::string const &)*arg2);
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getBody_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (ASTNode *)((FunctionDefinition const *)arg1)->getBody();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getNumArguments(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (unsigned int)((FunctionDefinition const *)arg1)->getNumArguments();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  result = (SBMLTypeCode_t)((FunctionDefinition const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_FunctionDefinition_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  FunctionDefinition *arg1 = (FunctionDefinition *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(FunctionDefinition **)&jarg1; 
  {
    std::string const &_result_ref = ((FunctionDefinition const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  ListOfFunctionDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  result = (ListOfFunctionDefinitions *)((ListOfFunctionDefinitions const *)arg1)->clone();
  *(ListOfFunctionDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfFunctionDefinitions const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfFunctionDefinitions const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfFunctionDefinitions const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  unsigned int arg2 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (FunctionDefinition *)(arg1)->get(arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  std::string *arg2 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (FunctionDefinition *)(arg1)->get((std::string const &)*arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  unsigned int arg2 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (FunctionDefinition *)(arg1)->remove(arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfFunctionDefinitions_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  std::string *arg2 = 0 ;
  FunctionDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (FunctionDefinition *)(arg1)->remove((std::string const &)*arg2);
  *(FunctionDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfFunctionDefinitions(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfFunctionDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfFunctionDefinitions *)new ListOfFunctionDefinitions();
  *(ListOfFunctionDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfFunctionDefinitions(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfFunctionDefinitions *arg1 = (ListOfFunctionDefinitions *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfFunctionDefinitions **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitKind_1equals(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) {
  jint jresult = 0 ;
  UnitKind_t arg1 ;
  UnitKind_t arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  arg2 = (UnitKind_t)jarg2; 
  result = (int)UnitKind_equals(arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitKind_1forName(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  UnitKind_t result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  result = (UnitKind_t)UnitKind_forName((char const *)arg1);
  jresult = (jint)result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitKind_1toString(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jstring jresult = 0 ;
  UnitKind_t arg1 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  result = (char *)UnitKind_toString(arg1);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitKind_1isValidUnitKindString(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jlong jarg3) {
  jint jresult = 0 ;
  char *arg1 = (char *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (int)UnitKind_isValidUnitKindString((char const *)arg1,arg2,arg3);
  jresult = (jint)result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jint jarg3, jdouble jarg4) {
  jlong jresult = 0 ;
  UnitKind_t arg1 ;
  int arg2 ;
  int arg3 ;
  double arg4 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  arg4 = (double)jarg4; 
  result = (Unit *)new Unit(arg1,arg2,arg3,arg4);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2, jint jarg3) {
  jlong jresult = 0 ;
  UnitKind_t arg1 ;
  int arg2 ;
  int arg3 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  result = (Unit *)new Unit(arg1,arg2,arg3);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) {
  jlong jresult = 0 ;
  UnitKind_t arg1 ;
  int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  arg2 = (int)jarg2; 
  result = (Unit *)new Unit(arg1,arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jlong jresult = 0 ;
  UnitKind_t arg1 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (UnitKind_t)jarg1; 
  result = (Unit *)new Unit(arg1);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_14(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Unit *)new Unit();
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jint jarg3, jdouble jarg4) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  int arg2 ;
  int arg3 ;
  double arg4 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  arg4 = (double)jarg4; 
  result = (Unit *)new Unit((std::string const &)*arg1,arg2,arg3,arg4);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2, jint jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  int arg2 ;
  int arg3 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  result = (Unit *)new Unit((std::string const &)*arg1,arg2,arg3);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (int)jarg2; 
  result = (Unit *)new Unit((std::string const &)*arg1,arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Unit *)new Unit((std::string const &)*arg1);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Unit *)new Unit(arg1,arg2,arg3);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Unit *)new Unit(arg1,arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Unit(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Unit *arg1 = (Unit *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Unit **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Unit_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Unit *arg1 = 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Unit const & reference is null");
    return 0;
  } 
  result = (Unit *)new Unit((Unit const &)*arg1);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (Unit *)((Unit const *)arg1)->clone();
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Unit *arg1 = (Unit *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getKind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  UnitKind_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (UnitKind_t)((Unit const *)arg1)->getKind();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getExponent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (int)((Unit const *)arg1)->getExponent();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getScale(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (int)((Unit const *)arg1)->getScale();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getMultiplier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (double)((Unit const *)arg1)->getMultiplier();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (double)((Unit const *)arg1)->getOffset();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isAmpere(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isAmpere();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isBecquerel(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isBecquerel();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isCandela(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isCandela();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isCelsius(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isCelsius();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isCoulomb(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isCoulomb();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isDimensionless(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isDimensionless();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isFarad(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isFarad();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isGram(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isGram();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isGray(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isGray();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isHenry(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isHenry();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isHertz(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isHertz();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isItem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isItem();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isJoule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isJoule();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isKatal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isKatal();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isKelvin(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isKelvin();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isKilogram(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isKilogram();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isLitre(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isLitre();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isLumen(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isLumen();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isLux(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isLux();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isMetre(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isMetre();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isMole(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isMole();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isNewton(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isNewton();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isOhm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isOhm();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isPascal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isPascal();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isRadian(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isRadian();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isSecond(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isSecond();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isSiemens(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isSiemens();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isSievert(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isSievert();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isSteradian(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isSteradian();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isTesla(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isTesla();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isVolt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isVolt();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isWatt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isWatt();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isWeber(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isWeber();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isSetKind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (bool)((Unit const *)arg1)->isSetKind();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1setKind(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  Unit *arg1 = (Unit *) 0 ;
  UnitKind_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = (UnitKind_t)jarg2; 
  (arg1)->setKind(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1setExponent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  Unit *arg1 = (Unit *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->setExponent(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1setScale(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  Unit *arg1 = (Unit *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->setScale(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1setMultiplier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Unit *arg1 = (Unit *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setMultiplier(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1setOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Unit *arg1 = (Unit *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setOffset(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (SBMLTypeCode_t)((Unit const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  {
    std::string const &_result_ref = ((Unit const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isBuiltIn(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
  jboolean jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  result = (bool)Unit::isBuiltIn((std::string const &)*arg1,arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1isUnitKind(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jlong jarg3) {
  jboolean jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (bool)Unit::isUnitKind((std::string const &)*arg1,arg2,arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1areIdentical(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  Unit *arg2 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = *(Unit **)&jarg2; 
  result = (bool)Unit::areIdentical(arg1,arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1areEquivalent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  Unit *arg2 = (Unit *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = *(Unit **)&jarg2; 
  result = (bool)Unit::areEquivalent(arg1,arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1removeScale(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Unit *arg1 = (Unit *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  Unit::removeScale(arg1);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1merge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Unit *arg1 = (Unit *) 0 ;
  Unit *arg2 = (Unit *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Unit **)&jarg1; 
  arg2 = *(Unit **)&jarg2; 
  Unit::merge(arg1,arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Unit_1convertToSI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Unit *arg1 = (Unit *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Unit **)&jarg1; 
  result = (UnitDefinition *)Unit::convertToSI((Unit const *)arg1);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  ListOfUnits *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  result = (ListOfUnits *)((ListOfUnits const *)arg1)->clone();
  *(ListOfUnits **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfUnits const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfUnits const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfUnits const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  unsigned int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Unit *)(arg1)->get(arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnits_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  unsigned int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnits **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Unit *)(arg1)->remove(arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfUnits(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfUnits *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfUnits *)new ListOfUnits();
  *(ListOfUnits **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfUnits(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfUnits *arg1 = (ListOfUnits *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfUnits **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (UnitDefinition *)new UnitDefinition((std::string const &)*arg1,(std::string const &)*arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (UnitDefinition *)new UnitDefinition((std::string const &)*arg1);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (UnitDefinition *)new UnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (UnitDefinition *)new UnitDefinition(arg1,arg2,arg3);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (UnitDefinition *)new UnitDefinition(arg1,arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1UnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(UnitDefinition **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1UnitDefinition_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "UnitDefinition const & reference is null");
    return 0;
  } 
  result = (UnitDefinition *)new UnitDefinition((UnitDefinition const &)*arg1);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (UnitDefinition *)((UnitDefinition const *)arg1)->clone();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfArea(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfArea();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfLength();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfSubstance(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfSubstance();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfTime();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfVolume();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfDimensionless(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfDimensionless();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfMass(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfMass();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1isVariantOfSubstancePerTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (bool)((UnitDefinition const *)arg1)->isVariantOfSubstancePerTime();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1addUnit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  Unit *arg2 = (Unit *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(Unit **)&jarg2; 
  (arg1)->addUnit((Unit const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1createUnit(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (Unit *)(arg1)->createUnit();
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1getListOfUnits_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  ListOfUnits *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (ListOfUnits *)((UnitDefinition const *)arg1)->getListOfUnits();
  *(ListOfUnits **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1getUnit_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  unsigned int arg2 ;
  Unit *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Unit *)(arg1)->getUnit(arg2);
  *(Unit **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1getNumUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (unsigned int)((UnitDefinition const *)arg1)->getNumUnits();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (SBMLTypeCode_t)((UnitDefinition const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  {
    std::string const &_result_ref = ((UnitDefinition const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1simplify(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  UnitDefinition::simplify(arg1);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1reorder(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  UnitDefinition::reorder(arg1);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1convertToSI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = (UnitDefinition *)UnitDefinition::convertToSI((UnitDefinition const *)arg1);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1areIdentical(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  UnitDefinition *arg2 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(UnitDefinition **)&jarg2; 
  result = (bool)UnitDefinition::areIdentical((UnitDefinition const *)arg1,(UnitDefinition const *)arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1areEquivalent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  UnitDefinition *arg2 = (UnitDefinition *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(UnitDefinition **)&jarg2; 
  result = (bool)UnitDefinition::areEquivalent((UnitDefinition const *)arg1,(UnitDefinition const *)arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1combine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  UnitDefinition *arg2 = (UnitDefinition *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = *(UnitDefinition **)&jarg2; 
  result = (UnitDefinition *)UnitDefinition::combine(arg1,arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1printUnits_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  jstring jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  bool arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  result = UnitDefinition::printUnits((UnitDefinition const *)arg1,arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_UnitDefinition_1printUnits_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  UnitDefinition *arg1 = (UnitDefinition *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(UnitDefinition **)&jarg1; 
  result = UnitDefinition::printUnits((UnitDefinition const *)arg1);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  ListOfUnitDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  result = (ListOfUnitDefinitions *)((ListOfUnitDefinitions const *)arg1)->clone();
  *(ListOfUnitDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfUnitDefinitions const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfUnitDefinitions const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfUnitDefinitions const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  unsigned int arg2 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (UnitDefinition *)(arg1)->get(arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  std::string *arg2 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (UnitDefinition *)(arg1)->get((std::string const &)*arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  unsigned int arg2 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (UnitDefinition *)(arg1)->remove(arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfUnitDefinitions_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  std::string *arg2 = 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (UnitDefinition *)(arg1)->remove((std::string const &)*arg2);
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfUnitDefinitions(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfUnitDefinitions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfUnitDefinitions *)new ListOfUnitDefinitions();
  *(ListOfUnitDefinitions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfUnitDefinitions(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfUnitDefinitions *arg1 = (ListOfUnitDefinitions *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfUnitDefinitions **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (CompartmentType *)new CompartmentType((std::string const &)*arg1,(std::string const &)*arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (CompartmentType *)new CompartmentType((std::string const &)*arg1);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (CompartmentType *)new CompartmentType();
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (CompartmentType *)new CompartmentType(arg1,arg2,arg3);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (CompartmentType *)new CompartmentType(arg1,arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1CompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  CompartmentType *arg1 = (CompartmentType *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(CompartmentType **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CompartmentType_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CompartmentType *arg1 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CompartmentType **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "CompartmentType const & reference is null");
    return 0;
  } 
  result = (CompartmentType *)new CompartmentType((CompartmentType const &)*arg1);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_CompartmentType_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CompartmentType *arg1 = (CompartmentType *) 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CompartmentType **)&jarg1; 
  result = (CompartmentType *)((CompartmentType const *)arg1)->clone();
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_CompartmentType_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  CompartmentType *arg1 = (CompartmentType *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CompartmentType **)&jarg1; 
  result = (SBMLTypeCode_t)((CompartmentType const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_CompartmentType_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  CompartmentType *arg1 = (CompartmentType *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CompartmentType **)&jarg1; 
  {
    std::string const &_result_ref = ((CompartmentType const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  ListOfCompartmentTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  result = (ListOfCompartmentTypes *)((ListOfCompartmentTypes const *)arg1)->clone();
  *(ListOfCompartmentTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfCompartmentTypes const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfCompartmentTypes const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfCompartmentTypes const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  unsigned int arg2 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (CompartmentType *)(arg1)->get(arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  std::string *arg2 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (CompartmentType *)(arg1)->get((std::string const &)*arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  unsigned int arg2 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (CompartmentType *)(arg1)->remove(arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartmentTypes_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  std::string *arg2 = 0 ;
  CompartmentType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (CompartmentType *)(arg1)->remove((std::string const &)*arg2);
  *(CompartmentType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfCompartmentTypes(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfCompartmentTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfCompartmentTypes *)new ListOfCompartmentTypes();
  *(ListOfCompartmentTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfCompartmentTypes(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfCompartmentTypes *arg1 = (ListOfCompartmentTypes *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfCompartmentTypes **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesType *)new SpeciesType((std::string const &)*arg1,(std::string const &)*arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (SpeciesType *)new SpeciesType((std::string const &)*arg1);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SpeciesType *)new SpeciesType();
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (SpeciesType *)new SpeciesType(arg1,arg2,arg3);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesType *)new SpeciesType(arg1,arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SpeciesType *arg1 = (SpeciesType *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SpeciesType **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesType_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SpeciesType *arg1 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesType **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "SpeciesType const & reference is null");
    return 0;
  } 
  result = (SpeciesType *)new SpeciesType((SpeciesType const &)*arg1);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesType_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SpeciesType *arg1 = (SpeciesType *) 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesType **)&jarg1; 
  result = (SpeciesType *)((SpeciesType const *)arg1)->clone();
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesType_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SpeciesType *arg1 = (SpeciesType *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesType **)&jarg1; 
  result = (SBMLTypeCode_t)((SpeciesType const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesType_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SpeciesType *arg1 = (SpeciesType *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesType **)&jarg1; 
  {
    std::string const &_result_ref = ((SpeciesType const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  ListOfSpeciesTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  result = (ListOfSpeciesTypes *)((ListOfSpeciesTypes const *)arg1)->clone();
  *(ListOfSpeciesTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpeciesTypes const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpeciesTypes const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfSpeciesTypes const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  unsigned int arg2 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesType *)(arg1)->get(arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  std::string *arg2 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesType *)(arg1)->get((std::string const &)*arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  unsigned int arg2 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesType *)(arg1)->remove(arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesTypes_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  std::string *arg2 = 0 ;
  SpeciesType *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesType *)(arg1)->remove((std::string const &)*arg2);
  *(SpeciesType **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfSpeciesTypes(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfSpeciesTypes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfSpeciesTypes *)new ListOfSpeciesTypes();
  *(ListOfSpeciesTypes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfSpeciesTypes(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfSpeciesTypes *arg1 = (ListOfSpeciesTypes *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfSpeciesTypes **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Compartment *)new Compartment((std::string const &)*arg1,(std::string const &)*arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Compartment *)new Compartment((std::string const &)*arg1);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Compartment *)new Compartment();
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Compartment *)new Compartment(arg1,arg2,arg3);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Compartment *)new Compartment(arg1,arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Compartment(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Compartment **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Compartment_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Compartment *arg1 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Compartment const & reference is null");
    return 0;
  } 
  result = (Compartment *)new Compartment((Compartment const &)*arg1);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (Compartment *)((Compartment const *)arg1)->clone();
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  {
    std::string const &_result_ref = ((Compartment const *)arg1)->getCompartmentType();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getSpatialDimensions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (unsigned int)((Compartment const *)arg1)->getSpatialDimensions();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (double)((Compartment const *)arg1)->getSize();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (double)((Compartment const *)arg1)->getVolume();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  {
    std::string const &_result_ref = ((Compartment const *)arg1)->getUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getOutside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  {
    std::string const &_result_ref = ((Compartment const *)arg1)->getOutside();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->getConstant();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1isSetCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->isSetCompartmentType();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1isSetSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->isSetSize();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1isSetVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->isSetVolume();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1isSetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->isSetUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1isSetOutside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (bool)((Compartment const *)arg1)->isSetOutside();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setCompartmentType((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setSpatialDimensions(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setSpatialDimensions(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setSize(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setVolume(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setOutside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setOutside((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1setConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Compartment *arg1 = (Compartment *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setConstant(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1unsetCompartmentType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->unsetCompartmentType();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1unsetSize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->unsetSize();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1unsetVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->unsetVolume();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1unsetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->unsetUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1unsetOutside(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Compartment *arg1 = (Compartment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  (arg1)->unsetOutside();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  result = (SBMLTypeCode_t)((Compartment const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Compartment_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Compartment *arg1 = (Compartment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Compartment **)&jarg1; 
  {
    std::string const &_result_ref = ((Compartment const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  ListOfCompartments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  result = (ListOfCompartments *)((ListOfCompartments const *)arg1)->clone();
  *(ListOfCompartments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfCompartments const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfCompartments const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfCompartments const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  unsigned int arg2 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Compartment *)(arg1)->get(arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  std::string *arg2 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Compartment *)(arg1)->get((std::string const &)*arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  unsigned int arg2 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Compartment *)(arg1)->remove(arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfCompartments_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  std::string *arg2 = 0 ;
  Compartment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfCompartments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Compartment *)(arg1)->remove((std::string const &)*arg2);
  *(Compartment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfCompartments(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfCompartments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfCompartments *)new ListOfCompartments();
  *(ListOfCompartments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfCompartments(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfCompartments *arg1 = (ListOfCompartments *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfCompartments **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Species *)new Species((std::string const &)*arg1,(std::string const &)*arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Species *)new Species((std::string const &)*arg1);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Species *)new Species();
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Species *)new Species(arg1,arg2,arg3);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Species *)new Species(arg1,arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Species(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Species **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Species_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Species *arg1 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Species const & reference is null");
    return 0;
  } 
  result = (Species *)new Species((Species const &)*arg1);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (Species *)((Species const *)arg1)->clone();
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getSpeciesType();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getCompartment();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getInitialAmount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (double)((Species const *)arg1)->getInitialAmount();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getInitialConcentration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (double)((Species const *)arg1)->getInitialConcentration();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getSubstanceUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getSpatialSizeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getSpatialSizeUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getHasOnlySubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->getHasOnlySubstanceUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getBoundaryCondition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->getBoundaryCondition();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getCharge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (int)((Species const *)arg1)->getCharge();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->getConstant();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetSpeciesType();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetCompartment();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetInitialAmount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetInitialAmount();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetInitialConcentration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetInitialConcentration();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetSubstanceUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetSpatialSizeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetSpatialSizeUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1isSetCharge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (bool)((Species const *)arg1)->isSetCharge();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Species *arg1 = (Species *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSpeciesType((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Species *arg1 = (Species *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setCompartment((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setInitialAmount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Species *arg1 = (Species *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setInitialAmount(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setInitialConcentration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Species *arg1 = (Species *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setInitialConcentration(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Species *arg1 = (Species *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSubstanceUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setSpatialSizeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Species *arg1 = (Species *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSpatialSizeUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Species *arg1 = (Species *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setHasOnlySubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Species *arg1 = (Species *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setHasOnlySubstanceUnits(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setBoundaryCondition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Species *arg1 = (Species *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setBoundaryCondition(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setCharge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  Species *arg1 = (Species *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->setCharge(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1setConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Species *arg1 = (Species *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setConstant(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetSpeciesType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetSpeciesType();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetInitialAmount(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetInitialAmount();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetInitialConcentration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetInitialConcentration();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetSubstanceUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetSpatialSizeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetSpatialSizeUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1unsetCharge(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Species *arg1 = (Species *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  (arg1)->unsetCharge();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  result = (SBMLTypeCode_t)((Species const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Species_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Species *arg1 = (Species *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Species **)&jarg1; 
  {
    std::string const &_result_ref = ((Species const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  ListOfSpecies *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  result = (ListOfSpecies *)((ListOfSpecies const *)arg1)->clone();
  *(ListOfSpecies **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpecies const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpecies const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfSpecies const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  unsigned int arg2 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Species *)(arg1)->get(arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  std::string *arg2 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Species *)(arg1)->get((std::string const &)*arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  unsigned int arg2 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Species *)(arg1)->remove(arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpecies_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  std::string *arg2 = 0 ;
  Species *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpecies **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Species *)(arg1)->remove((std::string const &)*arg2);
  *(Species **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfSpecies(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfSpecies *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfSpecies *)new ListOfSpecies();
  *(ListOfSpecies **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfSpecies *arg1 = (ListOfSpecies *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfSpecies **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Parameter *)new Parameter((std::string const &)*arg1,(std::string const &)*arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Parameter *)new Parameter((std::string const &)*arg1);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Parameter *)new Parameter();
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jdouble jarg2, jstring jarg3, jboolean jarg4) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  double arg2 ;
  std::string *arg3 = 0 ;
  bool arg4 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (double)jarg2; 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  arg4 = jarg4 ? true : false; 
  result = (Parameter *)new Parameter((std::string const &)*arg1,arg2,(std::string const &)*arg3,arg4);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1, jdouble jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  double arg2 ;
  std::string *arg3 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (double)jarg2; 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (Parameter *)new Parameter((std::string const &)*arg1,arg2,(std::string const &)*arg3);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jstring jarg1, jdouble jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  double arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (double)jarg2; 
  result = (Parameter *)new Parameter((std::string const &)*arg1,arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Parameter *)new Parameter(arg1,arg2,arg3);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Parameter *)new Parameter(arg1,arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Parameter(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Parameter *arg1 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Parameter **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Parameter_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Parameter *arg1 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Parameter const & reference is null");
    return 0;
  } 
  result = (Parameter *)new Parameter((Parameter const &)*arg1);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (Parameter *)((Parameter const *)arg1)->clone();
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Parameter *arg1 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (double)((Parameter const *)arg1)->getValue();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  {
    std::string const &_result_ref = ((Parameter const *)arg1)->getUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (bool)((Parameter const *)arg1)->getConstant();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1isSetValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (bool)((Parameter const *)arg1)->isSetValue();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1isSetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (bool)((Parameter const *)arg1)->isSetUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1setValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  Parameter *arg1 = (Parameter *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setValue(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1setUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Parameter *arg1 = (Parameter *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1setConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Parameter *arg1 = (Parameter *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setConstant(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1unsetValue(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Parameter *arg1 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  (arg1)->unsetValue();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1unsetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Parameter *arg1 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  (arg1)->unsetUnits();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  result = (SBMLTypeCode_t)((Parameter const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Parameter_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Parameter *arg1 = (Parameter *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Parameter **)&jarg1; 
  {
    std::string const &_result_ref = ((Parameter const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  ListOfParameters *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  result = (ListOfParameters *)((ListOfParameters const *)arg1)->clone();
  *(ListOfParameters **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfParameters const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfParameters const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfParameters const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  unsigned int arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Parameter *)(arg1)->get(arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  std::string *arg2 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Parameter *)(arg1)->get((std::string const &)*arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  unsigned int arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Parameter *)(arg1)->remove(arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfParameters_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  std::string *arg2 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfParameters **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Parameter *)(arg1)->remove((std::string const &)*arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfParameters(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfParameters *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfParameters *)new ListOfParameters();
  *(ListOfParameters **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfParameters(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfParameters *arg1 = (ListOfParameters *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfParameters **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1InitialAssignment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (InitialAssignment *)new InitialAssignment((std::string const &)*arg1);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1InitialAssignment_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (InitialAssignment *)new InitialAssignment();
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1InitialAssignment_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (InitialAssignment *)new InitialAssignment(arg1,arg2,arg3);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1InitialAssignment_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (InitialAssignment *)new InitialAssignment(arg1,arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1InitialAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(InitialAssignment **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1InitialAssignment_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  InitialAssignment *arg1 = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "InitialAssignment const & reference is null");
    return 0;
  } 
  result = (InitialAssignment *)new InitialAssignment((InitialAssignment const &)*arg1);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (InitialAssignment *)((InitialAssignment const *)arg1)->clone();
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1getSymbol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  {
    std::string const &_result_ref = ((InitialAssignment const *)arg1)->getSymbol();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (ASTNode *)((InitialAssignment const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1isSetSymbol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (bool)((InitialAssignment const *)arg1)->isSetSymbol();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (bool)((InitialAssignment const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1setSymbol(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSymbol((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(InitialAssignment **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  result = (SBMLTypeCode_t)((InitialAssignment const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_InitialAssignment_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  InitialAssignment *arg1 = (InitialAssignment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(InitialAssignment **)&jarg1; 
  {
    std::string const &_result_ref = ((InitialAssignment const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  ListOfInitialAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  result = (ListOfInitialAssignments *)((ListOfInitialAssignments const *)arg1)->clone();
  *(ListOfInitialAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfInitialAssignments const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfInitialAssignments const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfInitialAssignments const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  unsigned int arg2 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (InitialAssignment *)(arg1)->get(arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  std::string *arg2 = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (InitialAssignment *)(arg1)->get((std::string const &)*arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  unsigned int arg2 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (InitialAssignment *)(arg1)->remove(arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfInitialAssignments_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  std::string *arg2 = 0 ;
  InitialAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (InitialAssignment *)(arg1)->remove((std::string const &)*arg2);
  *(InitialAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfInitialAssignments(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfInitialAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfInitialAssignments *)new ListOfInitialAssignments();
  *(ListOfInitialAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfInitialAssignments(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfInitialAssignments *arg1 = (ListOfInitialAssignments *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfInitialAssignments **)&jarg1; 
  delete arg1;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Rule(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Rule *arg1 = (Rule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Rule **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Rule(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Rule *arg1 = 0 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Rule const & reference is null");
    return 0;
  } 
  result = (Rule *)new Rule((Rule const &)*arg1);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (Rule *)((Rule const *)arg1)->clone();
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  {
    std::string const &_result_ref = ((Rule const *)arg1)->getFormula();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (ASTNode *)((Rule const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  {
    std::string const &_result_ref = ((Rule const *)arg1)->getVariable();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  {
    std::string const &_result_ref = ((Rule const *)arg1)->getUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isSetFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isSetFormula();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isSetVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isSetVariable();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isSetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isSetUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1setFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Rule *arg1 = (Rule *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setFormula((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Rule *arg1 = (Rule *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Rule **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1setVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Rule *arg1 = (Rule *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setVariable((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1setUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Rule *arg1 = (Rule *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1unsetUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Rule *arg1 = (Rule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  (arg1)->unsetUnits();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  RuleType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (RuleType_t)((Rule const *)arg1)->getType();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isAlgebraic(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isAlgebraic();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isAssignment();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isCompartmentVolume(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isCompartmentVolume();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isParameter();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isRate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isRate();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isScalar(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isScalar();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1isSpeciesConcentration(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (bool)((Rule const *)arg1)->isSpeciesConcentration();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (SBMLTypeCode_t)((Rule const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getL1TypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  result = (SBMLTypeCode_t)((Rule const *)arg1)->getL1TypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Rule *arg1 = (Rule *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  {
    std::string const &_result_ref = ((Rule const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Rule_1setL1TypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  Rule *arg1 = (Rule *) 0 ;
  SBMLTypeCode_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Rule **)&jarg1; 
  arg2 = (SBMLTypeCode_t)jarg2; 
  (arg1)->setL1TypeCode(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AlgebraicRule_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (AlgebraicRule *)new AlgebraicRule((std::string const &)*arg1);
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AlgebraicRule_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (AlgebraicRule *)new AlgebraicRule();
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AlgebraicRule_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (AlgebraicRule *)new AlgebraicRule((ASTNode const *)arg1);
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AlgebraicRule_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (AlgebraicRule *)new AlgebraicRule(arg1,arg2,arg3);
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AlgebraicRule_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (AlgebraicRule *)new AlgebraicRule(arg1,arg2);
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1AlgebraicRule(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  AlgebraicRule *arg1 = (AlgebraicRule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(AlgebraicRule **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_AlgebraicRule_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  AlgebraicRule *arg1 = (AlgebraicRule *) 0 ;
  AlgebraicRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(AlgebraicRule **)&jarg1; 
  result = (AlgebraicRule *)((AlgebraicRule const *)arg1)->clone();
  *(AlgebraicRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_AlgebraicRule_1setInternalIdOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  AlgebraicRule *arg1 = (AlgebraicRule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(AlgebraicRule **)&jarg1; 
  (arg1)->setInternalIdOnly();
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_AlgebraicRule_1getInternalIdOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  AlgebraicRule *arg1 = (AlgebraicRule *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(AlgebraicRule **)&jarg1; 
  result = (bool)((AlgebraicRule const *)arg1)->getInternalIdOnly();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (AssignmentRule *)new AssignmentRule((std::string const &)*arg1,(std::string const &)*arg2);
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (AssignmentRule *)new AssignmentRule((std::string const &)*arg1);
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (AssignmentRule *)new AssignmentRule();
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = *(ASTNode **)&jarg2; 
  result = (AssignmentRule *)new AssignmentRule((std::string const &)*arg1,(ASTNode const *)arg2);
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (AssignmentRule *)new AssignmentRule(arg1,arg2,arg3);
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1AssignmentRule_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (AssignmentRule *)new AssignmentRule(arg1,arg2);
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1AssignmentRule(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  AssignmentRule *arg1 = (AssignmentRule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(AssignmentRule **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_AssignmentRule_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  AssignmentRule *arg1 = (AssignmentRule *) 0 ;
  AssignmentRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(AssignmentRule **)&jarg1; 
  result = (AssignmentRule *)((AssignmentRule const *)arg1)->clone();
  *(AssignmentRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (RateRule *)new RateRule((std::string const &)*arg1,(std::string const &)*arg2);
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (RateRule *)new RateRule((std::string const &)*arg1);
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (RateRule *)new RateRule();
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = *(ASTNode **)&jarg2; 
  result = (RateRule *)new RateRule((std::string const &)*arg1,(ASTNode const *)arg2);
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (RateRule *)new RateRule(arg1,arg2,arg3);
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RateRule_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (RateRule *)new RateRule(arg1,arg2);
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1RateRule(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  RateRule *arg1 = (RateRule *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(RateRule **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RateRule_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  RateRule *arg1 = (RateRule *) 0 ;
  RateRule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(RateRule **)&jarg1; 
  result = (RateRule *)((RateRule const *)arg1)->clone();
  *(RateRule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  ListOfRules *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  result = (ListOfRules *)((ListOfRules const *)arg1)->clone();
  *(ListOfRules **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfRules const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfRules const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfRules const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  unsigned int arg2 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Rule *)(arg1)->get(arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  std::string *arg2 = 0 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Rule *)(arg1)->get((std::string const &)*arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  unsigned int arg2 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Rule *)(arg1)->remove(arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfRules_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  std::string *arg2 = 0 ;
  Rule *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfRules **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Rule *)(arg1)->remove((std::string const &)*arg2);
  *(Rule **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfRules(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfRules *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfRules *)new ListOfRules();
  *(ListOfRules **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfRules(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfRules *arg1 = (ListOfRules *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfRules **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Constraint_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (Constraint *)new Constraint((ASTNode const *)arg1);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Constraint_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Constraint *)new Constraint();
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Constraint_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Constraint *)new Constraint(arg1,arg2,arg3);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Constraint_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Constraint *)new Constraint(arg1,arg2);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Constraint(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Constraint *arg1 = (Constraint *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Constraint **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Constraint_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Constraint *arg1 = 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Constraint const & reference is null");
    return 0;
  } 
  result = (Constraint *)new Constraint((Constraint const &)*arg1);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (Constraint *)((Constraint const *)arg1)->clone();
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1getMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (XMLNode *)((Constraint const *)arg1)->getMessage();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1getMessageString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = ((Constraint const *)arg1)->getMessageString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (ASTNode *)((Constraint const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1isSetMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (bool)((Constraint const *)arg1)->isSetMessage();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (bool)((Constraint const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1setMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Constraint *arg1 = (Constraint *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Constraint **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->setMessage((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Constraint *arg1 = (Constraint *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Constraint **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1unsetMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Constraint *arg1 = (Constraint *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  (arg1)->unsetMessage();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  result = (SBMLTypeCode_t)((Constraint const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Constraint_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Constraint *arg1 = (Constraint *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Constraint **)&jarg1; 
  {
    std::string const &_result_ref = ((Constraint const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  ListOfConstraints *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  result = (ListOfConstraints *)((ListOfConstraints const *)arg1)->clone();
  *(ListOfConstraints **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfConstraints const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfConstraints const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfConstraints const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  unsigned int arg2 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Constraint *)(arg1)->get(arg2);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfConstraints_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  unsigned int arg2 ;
  Constraint *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfConstraints **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Constraint *)(arg1)->remove(arg2);
  *(Constraint **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfConstraints(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfConstraints *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfConstraints *)new ListOfConstraints();
  *(ListOfConstraints **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfConstraints(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfConstraints *arg1 = (ListOfConstraints *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfConstraints **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jlong jarg3, jobject jarg3_, jboolean jarg4) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  KineticLaw *arg3 = (KineticLaw *) 0 ;
  bool arg4 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = *(KineticLaw **)&jarg3; 
  arg4 = jarg4 ? true : false; 
  result = (Reaction *)new Reaction((std::string const &)*arg1,(std::string const &)*arg2,(KineticLaw const *)arg3,arg4);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  KineticLaw *arg3 = (KineticLaw *) 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = *(KineticLaw **)&jarg3; 
  result = (Reaction *)new Reaction((std::string const &)*arg1,(std::string const &)*arg2,(KineticLaw const *)arg3);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Reaction *)new Reaction((std::string const &)*arg1,(std::string const &)*arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Reaction *)new Reaction((std::string const &)*arg1);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_14(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Reaction *)new Reaction();
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Reaction *)new Reaction(arg1,arg2,arg3);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Reaction *)new Reaction(arg1,arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Reaction(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Reaction *arg1 = (Reaction *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Reaction **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Reaction_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Reaction const & reference is null");
    return 0;
  } 
  result = (Reaction *)new Reaction((Reaction const &)*arg1);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (Reaction *)((Reaction const *)arg1)->clone();
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Reaction *arg1 = (Reaction *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getKineticLaw_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (KineticLaw *)((Reaction const *)arg1)->getKineticLaw();
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getReversible(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (bool)((Reaction const *)arg1)->getReversible();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getFast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (bool)((Reaction const *)arg1)->getFast();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1isSetKineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (bool)((Reaction const *)arg1)->isSetKineticLaw();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1isSetFast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (bool)((Reaction const *)arg1)->isSetFast();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1setKineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  KineticLaw *arg2 = (KineticLaw *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(KineticLaw **)&jarg2; 
  (arg1)->setKineticLaw((KineticLaw const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1setReversible(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Reaction *arg1 = (Reaction *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setReversible(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1setFast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Reaction *arg1 = (Reaction *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setFast(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1unsetKineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Reaction *arg1 = (Reaction *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  (arg1)->unsetKineticLaw();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1unsetFast(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Reaction *arg1 = (Reaction *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  (arg1)->unsetFast();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1addReactant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  SpeciesReference *arg2 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(SpeciesReference **)&jarg2; 
  (arg1)->addReactant((SpeciesReference const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1addProduct(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  SpeciesReference *arg2 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(SpeciesReference **)&jarg2; 
  (arg1)->addProduct((SpeciesReference const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1addModifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  ModifierSpeciesReference *arg2 = (ModifierSpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(ModifierSpeciesReference **)&jarg2; 
  (arg1)->addModifier((ModifierSpeciesReference const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1createReactant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (SpeciesReference *)(arg1)->createReactant();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1createProduct(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (SpeciesReference *)(arg1)->createProduct();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1createModifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (ModifierSpeciesReference *)(arg1)->createModifier();
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1createKineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (KineticLaw *)(arg1)->createKineticLaw();
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getListOfReactants_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  ListOfSpeciesReferences *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (ListOfSpeciesReferences *)((Reaction const *)arg1)->getListOfReactants();
  *(ListOfSpeciesReferences **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getListOfProducts_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  ListOfSpeciesReferences *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (ListOfSpeciesReferences *)((Reaction const *)arg1)->getListOfProducts();
  *(ListOfSpeciesReferences **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getListOfModifiers_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  ListOfSpeciesReferences *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (ListOfSpeciesReferences *)((Reaction const *)arg1)->getListOfModifiers();
  *(ListOfSpeciesReferences **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getReactant_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int arg2 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesReference *)((Reaction const *)arg1)->getReactant(arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getReactant_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  std::string *arg2 = 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesReference *)((Reaction const *)arg1)->getReactant((std::string const &)*arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getProduct_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int arg2 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesReference *)((Reaction const *)arg1)->getProduct(arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getProduct_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  std::string *arg2 = 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SpeciesReference *)((Reaction const *)arg1)->getProduct((std::string const &)*arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getModifier_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int arg2 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (ModifierSpeciesReference *)((Reaction const *)arg1)->getModifier(arg2);
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getModifier_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  std::string *arg2 = 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (ModifierSpeciesReference *)((Reaction const *)arg1)->getModifier((std::string const &)*arg2);
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getNumReactants(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (unsigned int)((Reaction const *)arg1)->getNumReactants();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getNumProducts(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (unsigned int)((Reaction const *)arg1)->getNumProducts();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getNumModifiers(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (unsigned int)((Reaction const *)arg1)->getNumModifiers();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Reaction *arg1 = (Reaction *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Reaction **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  result = (SBMLTypeCode_t)((Reaction const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Reaction_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Reaction *arg1 = (Reaction *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Reaction **)&jarg1; 
  {
    std::string const &_result_ref = ((Reaction const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  ListOfReactions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  result = (ListOfReactions *)((ListOfReactions const *)arg1)->clone();
  *(ListOfReactions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfReactions const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfReactions const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfReactions const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  unsigned int arg2 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Reaction *)(arg1)->get(arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  std::string *arg2 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Reaction *)(arg1)->get((std::string const &)*arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  unsigned int arg2 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Reaction *)(arg1)->remove(arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfReactions_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  std::string *arg2 = 0 ;
  Reaction *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfReactions **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Reaction *)(arg1)->remove((std::string const &)*arg2);
  *(Reaction **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfReactions(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfReactions *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfReactions *)new ListOfReactions();
  *(ListOfReactions **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfReactions(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfReactions *arg1 = (ListOfReactions *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfReactions **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (KineticLaw *)new KineticLaw((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (KineticLaw *)new KineticLaw((std::string const &)*arg1,(std::string const &)*arg2);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (KineticLaw *)new KineticLaw((std::string const &)*arg1);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_13(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (KineticLaw *)new KineticLaw();
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (KineticLaw *)new KineticLaw((ASTNode const *)arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  std::string *arg2 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (KineticLaw *)new KineticLaw((ASTNode const *)arg1,(std::string const &)*arg2);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (KineticLaw *)new KineticLaw((ASTNode const *)arg1);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (KineticLaw *)new KineticLaw(arg1,arg2,arg3);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (KineticLaw *)new KineticLaw(arg1,arg2);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1KineticLaw(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(KineticLaw **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1KineticLaw_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "KineticLaw const & reference is null");
    return 0;
  } 
  result = (KineticLaw *)new KineticLaw((KineticLaw const &)*arg1);
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  KineticLaw *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (KineticLaw *)((KineticLaw const *)arg1)->clone();
  *(KineticLaw **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  {
    std::string const &_result_ref = ((KineticLaw const *)arg1)->getFormula();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (ASTNode *)((KineticLaw const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  {
    std::string const &_result_ref = ((KineticLaw const *)arg1)->getTimeUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  {
    std::string const &_result_ref = ((KineticLaw const *)arg1)->getSubstanceUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1isSetFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (bool)((KineticLaw const *)arg1)->isSetFormula();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (bool)((KineticLaw const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1isSetTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (bool)((KineticLaw const *)arg1)->isSetTimeUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1isSetSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (bool)((KineticLaw const *)arg1)->isSetSubstanceUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setFormula(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setFormula((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(KineticLaw **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setTimeUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSubstanceUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1unsetTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  (arg1)->unsetTimeUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1unsetSubstanceUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  (arg1)->unsetSubstanceUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1addParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  Parameter *arg2 = (Parameter *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(KineticLaw **)&jarg1; 
  arg2 = *(Parameter **)&jarg2; 
  (arg1)->addParameter((Parameter const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1createParameter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (Parameter *)(arg1)->createParameter();
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getListOfParameters_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  ListOfParameters *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (ListOfParameters *)((KineticLaw const *)arg1)->getListOfParameters();
  *(ListOfParameters **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getParameter_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  unsigned int arg2 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Parameter *)((KineticLaw const *)arg1)->getParameter(arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getParameter_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *arg2 = 0 ;
  Parameter *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Parameter *)((KineticLaw const *)arg1)->getParameter((std::string const &)*arg2);
  *(Parameter **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getNumParameters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (unsigned int)((KineticLaw const *)arg1)->getNumParameters();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(KineticLaw **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(KineticLaw **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  result = (SBMLTypeCode_t)((KineticLaw const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_KineticLaw_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  KineticLaw *arg1 = (KineticLaw *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(KineticLaw **)&jarg1; 
  {
    std::string const &_result_ref = ((KineticLaw const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SimpleSpeciesReference(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SimpleSpeciesReference *arg1 = (SimpleSpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SimpleSpeciesReference **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SimpleSpeciesReference_1getSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SimpleSpeciesReference *arg1 = (SimpleSpeciesReference *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SimpleSpeciesReference **)&jarg1; 
  {
    std::string const &_result_ref = ((SimpleSpeciesReference const *)arg1)->getSpecies();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SimpleSpeciesReference_1isSetSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SimpleSpeciesReference *arg1 = (SimpleSpeciesReference *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SimpleSpeciesReference **)&jarg1; 
  result = (bool)((SimpleSpeciesReference const *)arg1)->isSetSpecies();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SimpleSpeciesReference_1setSpecies(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SimpleSpeciesReference *arg1 = (SimpleSpeciesReference *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SimpleSpeciesReference **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setSpecies((std::string const &)*arg2);
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SimpleSpeciesReference_1isModifier(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SimpleSpeciesReference *arg1 = (SimpleSpeciesReference *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SimpleSpeciesReference **)&jarg1; 
  result = (bool)((SimpleSpeciesReference const *)arg1)->isModifier();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jdouble jarg2, jint jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  double arg2 ;
  int arg3 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (double)jarg2; 
  arg3 = (int)jarg3; 
  result = (SpeciesReference *)new SpeciesReference((std::string const &)*arg1,arg2,arg3);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jdouble jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  double arg2 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (double)jarg2; 
  result = (SpeciesReference *)new SpeciesReference((std::string const &)*arg1,arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (SpeciesReference *)new SpeciesReference((std::string const &)*arg1);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_13(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SpeciesReference *)new SpeciesReference();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (SpeciesReference *)new SpeciesReference(arg1,arg2,arg3);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SpeciesReference *)new SpeciesReference(arg1,arg2);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SpeciesReference(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SpeciesReference **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SpeciesReference_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SpeciesReference *arg1 = 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "SpeciesReference const & reference is null");
    return 0;
  } 
  result = (SpeciesReference *)new SpeciesReference((SpeciesReference const &)*arg1);
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  SpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (SpeciesReference *)((SpeciesReference const *)arg1)->clone();
  *(SpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1initDefaults(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  (arg1)->initDefaults();
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1getStoichiometry(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (double)((SpeciesReference const *)arg1)->getStoichiometry();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1getStoichiometryMath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (StoichiometryMath *)((SpeciesReference const *)arg1)->getStoichiometryMath();
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1getDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (int)((SpeciesReference const *)arg1)->getDenominator();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1isSetStoichiometryMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (bool)((SpeciesReference const *)arg1)->isSetStoichiometryMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1setStoichiometry(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setStoichiometry(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1setStoichiometryMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  StoichiometryMath *arg2 = (StoichiometryMath *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SpeciesReference **)&jarg1; 
  arg2 = *(StoichiometryMath **)&jarg2; 
  (arg1)->setStoichiometryMath((StoichiometryMath const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1setDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->setDenominator(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1unsetStoichiometryMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  (arg1)->unsetStoichiometryMath();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1setAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SpeciesReference **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->setAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1setAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setAnnotation((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1appendAnnotation_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SpeciesReference **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->appendAnnotation((XMLNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1appendAnnotation_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->appendAnnotation((std::string const &)*arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  result = (SBMLTypeCode_t)((SpeciesReference const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  {
    std::string const &_result_ref = ((SpeciesReference const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SpeciesReference_1sortMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SpeciesReference *arg1 = (SpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SpeciesReference **)&jarg1; 
  (arg1)->sortMath();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModifierSpeciesReference_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (ModifierSpeciesReference *)new ModifierSpeciesReference((std::string const &)*arg1);
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModifierSpeciesReference_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ModifierSpeciesReference *)new ModifierSpeciesReference();
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModifierSpeciesReference_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (ModifierSpeciesReference *)new ModifierSpeciesReference(arg1,arg2,arg3);
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModifierSpeciesReference_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (ModifierSpeciesReference *)new ModifierSpeciesReference(arg1,arg2);
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ModifierSpeciesReference(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ModifierSpeciesReference *arg1 = (ModifierSpeciesReference *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ModifierSpeciesReference **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModifierSpeciesReference_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModifierSpeciesReference *arg1 = (ModifierSpeciesReference *) 0 ;
  ModifierSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModifierSpeciesReference **)&jarg1; 
  result = (ModifierSpeciesReference *)((ModifierSpeciesReference const *)arg1)->clone();
  *(ModifierSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModifierSpeciesReference_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ModifierSpeciesReference *arg1 = (ModifierSpeciesReference *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModifierSpeciesReference **)&jarg1; 
  result = (SBMLTypeCode_t)((ModifierSpeciesReference const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModifierSpeciesReference_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModifierSpeciesReference *arg1 = (ModifierSpeciesReference *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModifierSpeciesReference **)&jarg1; 
  {
    std::string const &_result_ref = ((ModifierSpeciesReference const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfSpeciesReferences(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfSpeciesReferences *)new ListOfSpeciesReferences();
  *(ListOfSpeciesReferences **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  ListOfSpeciesReferences *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  result = (ListOfSpeciesReferences *)((ListOfSpeciesReferences const *)arg1)->clone();
  *(ListOfSpeciesReferences **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpeciesReferences const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfSpeciesReferences const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfSpeciesReferences const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  unsigned int arg2 ;
  SimpleSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SimpleSpeciesReference *)(arg1)->get(arg2);
  *(SimpleSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  std::string *arg2 = 0 ;
  SimpleSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SimpleSpeciesReference *)(arg1)->get((std::string const &)*arg2);
  *(SimpleSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  unsigned int arg2 ;
  SimpleSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SimpleSpeciesReference *)(arg1)->remove(arg2);
  *(SimpleSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfSpeciesReferences_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  std::string *arg2 = 0 ;
  SimpleSpeciesReference *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (SimpleSpeciesReference *)(arg1)->remove((std::string const &)*arg2);
  *(SimpleSpeciesReference **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfSpeciesReferences(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfSpeciesReferences *arg1 = (ListOfSpeciesReferences *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfSpeciesReferences **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Event *)new Event((std::string const &)*arg1,(std::string const &)*arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Event *)new Event((std::string const &)*arg1);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Event *)new Event();
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Event *)new Event(arg1,arg2,arg3);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Event *)new Event(arg1,arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Event(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Event *arg1 = (Event *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Event **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Event_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Event const & reference is null");
    return 0;
  } 
  result = (Event *)new Event((Event const &)*arg1);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (Event *)((Event const *)arg1)->clone();
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getTrigger_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (Trigger *)((Event const *)arg1)->getTrigger();
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getDelay_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (Delay *)((Event const *)arg1)->getDelay();
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  {
    std::string const &_result_ref = ((Event const *)arg1)->getTimeUnits();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getUseValuesFromTriggerTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (bool)((Event const *)arg1)->getUseValuesFromTriggerTime();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1isSetTrigger(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (bool)((Event const *)arg1)->isSetTrigger();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1isSetDelay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (bool)((Event const *)arg1)->isSetDelay();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1isSetTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (bool)((Event const *)arg1)->isSetTimeUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setTrigger(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Event *arg1 = (Event *) 0 ;
  Trigger *arg2 = (Trigger *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Event **)&jarg1; 
  arg2 = *(Trigger **)&jarg2; 
  (arg1)->setTrigger((Trigger const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setDelay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Event *arg1 = (Event *) 0 ;
  Delay *arg2 = (Delay *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Event **)&jarg1; 
  arg2 = *(Delay **)&jarg2; 
  (arg1)->setDelay((Delay const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Event *arg1 = (Event *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setTimeUnits((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setUseValuesFromTriggerTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  Event *arg1 = (Event *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setUseValuesFromTriggerTime(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1unsetDelay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Event *arg1 = (Event *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  (arg1)->unsetDelay();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1unsetTimeUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Event *arg1 = (Event *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  (arg1)->unsetTimeUnits();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1addEventAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Event *arg1 = (Event *) 0 ;
  EventAssignment *arg2 = (EventAssignment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Event **)&jarg1; 
  arg2 = *(EventAssignment **)&jarg2; 
  (arg1)->addEventAssignment((EventAssignment const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1createEventAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (EventAssignment *)(arg1)->createEventAssignment();
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getListOfEventAssignments_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  ListOfEventAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (ListOfEventAssignments *)((Event const *)arg1)->getListOfEventAssignments();
  *(ListOfEventAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getEventAssignment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  unsigned int arg2 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (EventAssignment *)((Event const *)arg1)->getEventAssignment(arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getEventAssignment_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  std::string *arg2 = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (EventAssignment *)((Event const *)arg1)->getEventAssignment((std::string const &)*arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getNumEventAssignments(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (unsigned int)((Event const *)arg1)->getNumEventAssignments();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Event *arg1 = (Event *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Event **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Event *arg1 = (Event *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Event **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  result = (SBMLTypeCode_t)((Event const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Event *arg1 = (Event *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  {
    std::string const &_result_ref = ((Event const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Event_1setInternalIdOnly(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  Event *arg1 = (Event *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Event **)&jarg1; 
  (arg1)->setInternalIdOnly();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  ListOfEvents *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  result = (ListOfEvents *)((ListOfEvents const *)arg1)->clone();
  *(ListOfEvents **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfEvents const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfEvents const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfEvents const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  unsigned int arg2 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Event *)(arg1)->get(arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  std::string *arg2 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Event *)(arg1)->get((std::string const &)*arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  unsigned int arg2 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Event *)(arg1)->remove(arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEvents_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  std::string *arg2 = 0 ;
  Event *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEvents **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (Event *)(arg1)->remove((std::string const &)*arg2);
  *(Event **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfEvents(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfEvents *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfEvents *)new ListOfEvents();
  *(ListOfEvents **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfEvents(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfEvents *arg1 = (ListOfEvents *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfEvents **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = *(ASTNode **)&jarg2; 
  result = (EventAssignment *)new EventAssignment((std::string const &)*arg1,(ASTNode const *)arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (EventAssignment *)new EventAssignment((std::string const &)*arg1);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_12(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (EventAssignment *)new EventAssignment();
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (EventAssignment *)new EventAssignment(arg1,arg2,arg3);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (EventAssignment *)new EventAssignment(arg1,arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1EventAssignment(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(EventAssignment **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1EventAssignment_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  EventAssignment *arg1 = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "EventAssignment const & reference is null");
    return 0;
  } 
  result = (EventAssignment *)new EventAssignment((EventAssignment const &)*arg1);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (EventAssignment *)((EventAssignment const *)arg1)->clone();
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1getVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  {
    std::string const &_result_ref = ((EventAssignment const *)arg1)->getVariable();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (ASTNode *)((EventAssignment const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1isSetVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (bool)((EventAssignment const *)arg1)->isSetVariable();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (bool)((EventAssignment const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1setVariable(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setVariable((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(EventAssignment **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  result = (SBMLTypeCode_t)((EventAssignment const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_EventAssignment_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  EventAssignment *arg1 = (EventAssignment *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(EventAssignment **)&jarg1; 
  {
    std::string const &_result_ref = ((EventAssignment const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  ListOfEventAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  result = (ListOfEventAssignments *)((ListOfEventAssignments const *)arg1)->clone();
  *(ListOfEventAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfEventAssignments const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1getItemTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  result = (SBMLTypeCode_t)((ListOfEventAssignments const *)arg1)->getItemTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  {
    std::string const &_result_ref = ((ListOfEventAssignments const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1get_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  unsigned int arg2 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (EventAssignment *)(arg1)->get(arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1get_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  std::string *arg2 = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (EventAssignment *)(arg1)->get((std::string const &)*arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  unsigned int arg2 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (EventAssignment *)(arg1)->remove(arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ListOfEventAssignments_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  std::string *arg2 = 0 ;
  EventAssignment *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (EventAssignment *)(arg1)->remove((std::string const &)*arg2);
  *(EventAssignment **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ListOfEventAssignments(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ListOfEventAssignments *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ListOfEventAssignments *)new ListOfEventAssignments();
  *(ListOfEventAssignments **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ListOfEventAssignments(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ListOfEventAssignments *arg1 = (ListOfEventAssignments *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ListOfEventAssignments **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Trigger_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (Trigger *)new Trigger((ASTNode const *)arg1);
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Trigger_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Trigger *)new Trigger();
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Trigger_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Trigger *)new Trigger(arg1,arg2,arg3);
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Trigger_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Trigger *)new Trigger(arg1,arg2);
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Trigger(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Trigger *arg1 = (Trigger *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Trigger **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Trigger_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Trigger *arg1 = 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Trigger const & reference is null");
    return 0;
  } 
  result = (Trigger *)new Trigger((Trigger const &)*arg1);
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Trigger *arg1 = (Trigger *) 0 ;
  Trigger *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1; 
  result = (Trigger *)((Trigger const *)arg1)->clone();
  *(Trigger **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Trigger *arg1 = (Trigger *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1; 
  result = (ASTNode *)((Trigger const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Trigger *arg1 = (Trigger *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1; 
  result = (bool)((Trigger const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Trigger *arg1 = (Trigger *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Trigger **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Trigger *arg1 = (Trigger *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Trigger **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Trigger *arg1 = (Trigger *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Trigger **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Trigger *arg1 = (Trigger *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1; 
  result = (SBMLTypeCode_t)((Trigger const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Trigger_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Trigger *arg1 = (Trigger *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Trigger **)&jarg1; 
  {
    std::string const &_result_ref = ((Trigger const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Delay_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (Delay *)new Delay((ASTNode const *)arg1);
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Delay_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Delay *)new Delay();
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Delay_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (Delay *)new Delay(arg1,arg2,arg3);
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Delay_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Delay *)new Delay(arg1,arg2);
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Delay(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Delay *arg1 = (Delay *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Delay **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Delay_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Delay *arg1 = 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Delay const & reference is null");
    return 0;
  } 
  result = (Delay *)new Delay((Delay const &)*arg1);
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  Delay *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (Delay *)((Delay const *)arg1)->clone();
  *(Delay **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (ASTNode *)((Delay const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (bool)((Delay const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Delay *arg1 = (Delay *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Delay **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Delay *arg1 = (Delay *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Delay **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  Delay *arg1 = (Delay *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(Delay **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  result = (SBMLTypeCode_t)((Delay const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Delay_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Delay *arg1 = (Delay *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Delay **)&jarg1; 
  {
    std::string const &_result_ref = ((Delay const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1readTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jint jresult = 0 ;
  XMLAttributes *arg1 = 0 ;
  SBMLErrorLog *arg2 = (SBMLErrorLog *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg2 = *(SBMLErrorLog **)&jarg2; 
  result = (int)SBO::readTerm((XMLAttributes const &)*arg1,arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1writeTerm(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLOutputStream *arg1 = 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLOutputStream & reference is null");
    return ;
  } 
  arg2 = (int)jarg2; 
  SBO::writeTerm(*arg1,arg2);
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isQuantitativeParameter(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isQuantitativeParameter(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isParticipantRole(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isParticipantRole(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isModellingFramework(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isModellingFramework(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isMathematicalExpression(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isMathematicalExpression(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isKineticConstant(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isKineticConstant(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isReactant(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isReactant(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isProduct(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isProduct(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isModifier(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isModifier(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isRateLaw(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isRateLaw(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isEvent(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isEvent(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isPhysicalParticipant(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isPhysicalParticipant(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isParticipant(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isParticipant(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isInteraction(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isInteraction(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isEntity(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isEntity(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isFunctionalEntity(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isFunctionalEntity(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isMaterialEntity(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isMaterialEntity(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isConservationLaw(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isConservationLaw(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isSteadyStateExpression(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isSteadyStateExpression(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isFunctionalCompartment(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isFunctionalCompartment(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isContinuousFramework(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isContinuousFramework(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isDiscreteFramework(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isDiscreteFramework(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isLogicalFramework(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isLogicalFramework(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1isObselete(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jboolean jresult = 0 ;
  unsigned int arg1 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (bool)SBO::isObselete(arg1);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBO_1intToString(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jstring jresult = 0 ;
  int arg1 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  result = SBO::intToString(arg1);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBO(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBO *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBO *)new SBO();
  *(SBO **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBO(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBO *arg1 = (SBO *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBO **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1StoichiometryMath_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (StoichiometryMath *)new StoichiometryMath((ASTNode const *)arg1);
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1StoichiometryMath_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (StoichiometryMath *)new StoichiometryMath();
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1StoichiometryMath_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  XMLNamespaces *arg3 = (XMLNamespaces *) 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg3_;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNamespaces **)&jarg3; 
  result = (StoichiometryMath *)new StoichiometryMath(arg1,arg2,arg3);
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1StoichiometryMath_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (StoichiometryMath *)new StoichiometryMath(arg1,arg2);
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1StoichiometryMath(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(StoichiometryMath **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1StoichiometryMath_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  StoichiometryMath *arg1 = 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "StoichiometryMath const & reference is null");
    return 0;
  } 
  result = (StoichiometryMath *)new StoichiometryMath((StoichiometryMath const &)*arg1);
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  StoichiometryMath *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (StoichiometryMath *)((StoichiometryMath const *)arg1)->clone();
  *(StoichiometryMath **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1getMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (ASTNode *)((StoichiometryMath const *)arg1)->getMath();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1isSetMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (bool)((StoichiometryMath const *)arg1)->isSetMath();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1setMath(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->setMath((ASTNode const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1getDerivedUnitDefinition(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  UnitDefinition *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (UnitDefinition *)(arg1)->getDerivedUnitDefinition();
  *(UnitDefinition **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1containsUndeclaredUnits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (bool)(arg1)->containsUndeclaredUnits();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1setSBMLDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  SBMLDocument *arg2 = (SBMLDocument *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  arg2 = *(SBMLDocument **)&jarg2; 
  (arg1)->setSBMLDocument(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1getTypeCode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  SBMLTypeCode_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  result = (SBMLTypeCode_t)((StoichiometryMath const *)arg1)->getTypeCode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_StoichiometryMath_1getElementName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  StoichiometryMath *arg1 = (StoichiometryMath *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(StoichiometryMath **)&jarg1; 
  {
    std::string const &_result_ref = ((StoichiometryMath const *)arg1)->getElementName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_readMathMLFromString(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  ASTNode_t *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  result = (ASTNode_t *)readMathMLFromString((char const *)arg1);
  *(ASTNode_t **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_writeMathMLToString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ASTNode_t *arg1 = (ASTNode_t *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode_t **)&jarg1; 
  result = (char *)writeMathMLToString((ASTNode const *)arg1);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  free(result);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ASTNode_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jlong jresult = 0 ;
  ASTNodeType_t arg1 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (ASTNodeType_t)jarg1; 
  result = (ASTNode *)new ASTNode(arg1);
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ASTNode_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ASTNode *)new ASTNode();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ASTNode_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ASTNode const & reference is null");
    return 0;
  } 
  result = (ASTNode *)new ASTNode((ASTNode const &)*arg1);
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ASTNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ASTNode **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1canonicalize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)(arg1)->canonicalize();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1addChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->addChild(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1prependChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->prependChild(arg2);
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1removeChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (int)(arg1)->removeChild(arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1replaceChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int arg2 ;
  ASTNode *arg3 = (ASTNode *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg3_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(ASTNode **)&jarg3; 
  result = (int)(arg1)->replaceChild(arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1insertChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int arg2 ;
  ASTNode *arg3 = (ASTNode *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg3_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(ASTNode **)&jarg3; 
  result = (int)(arg1)->insertChild(arg2,arg3);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1deepCopy(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (ASTNode *)((ASTNode const *)arg1)->deepCopy();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int arg2 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (ASTNode *)((ASTNode const *)arg1)->getChild(arg2);
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getLeftChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (ASTNode *)((ASTNode const *)arg1)->getLeftChild();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getRightChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (ASTNode *)((ASTNode const *)arg1)->getRightChild();
  *(ASTNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getNumChildren(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (unsigned int)((ASTNode const *)arg1)->getNumChildren();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1addSemanticsAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  XMLNode *arg2 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2; 
  (arg1)->addSemanticsAnnotation(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getNumSemanticsAnnotations(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (unsigned int)((ASTNode const *)arg1)->getNumSemanticsAnnotations();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getSemanticsAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  unsigned int arg2 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (XMLNode *)((ASTNode const *)arg1)->getSemanticsAnnotation(arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jchar JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jchar jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  char result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (char)((ASTNode const *)arg1)->getCharacter();
  jresult = (jchar)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getInteger(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  long result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (long)((ASTNode const *)arg1)->getInteger();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (char *)((ASTNode const *)arg1)->getName();
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getNumerator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  long result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (long)((ASTNode const *)arg1)->getNumerator();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getDenominator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  long result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (long)((ASTNode const *)arg1)->getDenominator();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getReal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (double)((ASTNode const *)arg1)->getReal();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jdouble JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getMantissa(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jdouble jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  double result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (double)((ASTNode const *)arg1)->getMantissa();
  jresult = (jdouble)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getExponent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  long result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (long)((ASTNode const *)arg1)->getExponent();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getPrecedence(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (int)((ASTNode const *)arg1)->getPrecedence();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNodeType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (ASTNodeType_t)((ASTNode const *)arg1)->getType();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isBoolean(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isBoolean();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isConstant(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isConstant();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isFunction(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isFunction();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isInfinity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isInfinity();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isInteger(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isInteger();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isLambda(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isLambda();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isLog10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isLog10();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isLogical(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isLogical();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isName();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isNaN(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isNaN();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isNegInfinity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isNegInfinity();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isNumber(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isNumber();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isOperator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isOperator();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isPiecewise(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isPiecewise();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isRational(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isRational();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isReal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isReal();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isRelational(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isRelational();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isSqrt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isSqrt();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isUMinus(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isUMinus();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1isUnknown(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (bool)((ASTNode const *)arg1)->isUnknown();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setCharacter(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jchar jarg2) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  char arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (char)jarg2; 
  (arg1)->setCharacter(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  char *arg2 = (char *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return ;
  }
  (arg1)->setName((char const *)arg2);
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  long arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (long)jarg2; 
  (arg1)->setValue(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  long arg2 ;
  long arg3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (long)jarg2; 
  arg3 = (long)jarg3; 
  (arg1)->setValue(arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setValue_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  double arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (double)jarg2; 
  (arg1)->setValue(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setValue_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jdouble jarg2, jint jarg3) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  double arg2 ;
  long arg3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (double)jarg2; 
  arg3 = (long)jarg3; 
  (arg1)->setValue(arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNodeType_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = (ASTNodeType_t)jarg2; 
  (arg1)->setType(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1swapChildren(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  ASTNode *arg2 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = *(ASTNode **)&jarg2; 
  (arg1)->swapChildren(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getDefinitionURL(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (XMLAttributes *)((ASTNode const *)arg1)->getDefinitionURL();
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1replaceArgument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  std::string arg2 ;
  ASTNode *arg3 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg3_;
  arg1 = *(ASTNode **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = *(ASTNode **)&jarg3; 
  (arg1)->replaceArgument(arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1ReplaceArgument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jlong jarg3, jobject jarg3_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  std::string arg2 ;
  ASTNode *arg3 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg3_;
  arg1 = *(ASTNode **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = *(ASTNode **)&jarg3; 
  (arg1)->ReplaceArgument(arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1setParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  SBase *arg2 = (SBase *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ASTNode **)&jarg1; 
  arg2 = *(SBase **)&jarg2; 
  (arg1)->setParentSBMLObject(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1getParentSBMLObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ASTNode *arg1 = (ASTNode *) 0 ;
  SBase *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  result = (SBase *)((ASTNode const *)arg1)->getParentSBMLObject();
  *(SBase **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1ReduceToBinary(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  (arg1)->ReduceToBinary();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ASTNode_1reduceToBinary(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ASTNode *arg1 = (ASTNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode **)&jarg1; 
  (arg1)->reduceToBinary();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_parseFormula(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  ASTNode_t *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  result = (ASTNode_t *)SBML_parseFormula((char const *)arg1);
  *(ASTNode_t **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_formulaToString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ASTNode_t *arg1 = (ASTNode_t *) 0 ;
  char *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ASTNode_t **)&jarg1; 
  result = (char *)SBML_formulaToString((ASTNode const *)arg1);
  if(result) jresult = jenv->NewStringUTF((const char *)result);
  free(result);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLAttributes_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLAttributes *)new XMLAttributes();
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLAttributes(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLAttributes **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLAttributes_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLAttributes *arg1 = 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  result = (XMLAttributes *)new XMLAttributes((XMLAttributes const &)*arg1);
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  result = (XMLAttributes *)((XMLAttributes const *)arg1)->clone();
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  std::string *arg4 = 0 ;
  std::string *arg5 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return ;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  (arg1)->add((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  std::string *arg4 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return ;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  (arg1)->add((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1add_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->add((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1add_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jstring jarg3) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLTriple *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->add((XMLTriple const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1addResource(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->addResource((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1removeResource(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->removeResource(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->remove(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->remove((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1remove_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->remove((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1remove_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->remove((XMLTriple const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  (arg1)->clear();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getIndex_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLAttributes const *)arg1)->getIndex((std::string const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getIndex_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jint jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (int)((XMLAttributes const *)arg1)->getIndex((std::string const &)*arg2,(std::string const &)*arg3);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getIndex_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jint jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLTriple *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (int)((XMLAttributes const *)arg1)->getIndex((XMLTriple const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  result = (int)((XMLAttributes const *)arg1)->getLength();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLAttributes const *)arg1)->getName(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLAttributes const *)arg1)->getPrefix(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getPrefixedName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLAttributes const *)arg1)->getPrefixedName(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLAttributes const *)arg1)->getURI(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLAttributes const *)arg1)->getValue(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLAttributes const *)arg1)->getValue(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getValue_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string arg2 ;
  std::string arg3 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = ((XMLAttributes const *)arg1)->getValue(arg2,arg3);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1getValue_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jstring jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLTriple *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = ((XMLAttributes const *)arg1)->getValue((XMLTriple const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1hasAttribute_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jboolean jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  int arg2 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (bool)((XMLAttributes const *)arg1)->hasAttribute(arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1hasAttribute_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jboolean jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string arg2 ;
  std::string arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (bool)((XMLAttributes const *)arg1)->hasAttribute(arg2,arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1hasAttribute_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  std::string arg2 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLAttributes const *)arg1)->hasAttribute(arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1hasAttribute_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLTriple *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (bool)((XMLAttributes const *)arg1)->hasAttribute((XMLTriple const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLAttributes **)&jarg1; 
  result = (bool)((XMLAttributes const *)arg1)->isEmpty();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLOutputStream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLOutputStream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLOutputStream & reference is null");
    return ;
  } 
  ((XMLAttributes const *)arg1)->write(*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLAttributes_1setErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLAttributes *arg1 = (XMLAttributes *) 0 ;
  XMLErrorLog *arg2 = (XMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLAttributes **)&jarg1; 
  arg2 = *(XMLErrorLog **)&jarg2; 
  (arg1)->setErrorLog(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNamespaces_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLNamespaces *)new XMLNamespaces();
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLNamespaces **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNamespaces_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNamespaces *arg1 = 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  result = (XMLNamespaces *)new XMLNamespaces((XMLNamespaces const &)*arg1);
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  result = (XMLNamespaces *)((XMLNamespaces const *)arg1)->clone();
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->add((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->add((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1remove_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->remove(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1remove_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->remove((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  (arg1)->clear();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLNamespaces const *)arg1)->getIndex(arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getIndexByPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLNamespaces const *)arg1)->getIndexByPrefix(arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  result = (int)((XMLNamespaces const *)arg1)->getLength();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getPrefix_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLNamespaces const *)arg1)->getPrefix(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getPrefix_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLNamespaces const *)arg1)->getPrefix((std::string const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getURI_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLNamespaces const *)arg1)->getURI(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getURI_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLNamespaces const *)arg1)->getURI((std::string const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1getURI_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  result = ((XMLNamespaces const *)arg1)->getURI();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  result = (bool)((XMLNamespaces const *)arg1)->isEmpty();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1hasURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLNamespaces const *)arg1)->hasURI((std::string const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1hasPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLNamespaces const *)arg1)->hasPrefix((std::string const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNamespaces_1hasNS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jboolean jresult = 0 ;
  XMLNamespaces *arg1 = (XMLNamespaces *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNamespaces **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (bool)((XMLNamespaces const *)arg1)->hasNS((std::string const &)*arg2,(std::string const &)*arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLToken *)new XMLToken();
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3,arg4,arg5);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  unsigned int arg4 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  arg4 = (unsigned int)jarg4; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3,arg4);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,arg3,arg4);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  unsigned int arg3 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = (unsigned int)jarg3; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,arg3);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,arg2,arg3);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  unsigned int arg2 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = (unsigned int)jarg2; 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1,arg2);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (XMLToken *)new XMLToken((XMLTriple const &)*arg1);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (XMLToken *)new XMLToken((std::string const &)*arg1,arg2,arg3);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  result = (XMLToken *)new XMLToken((std::string const &)*arg1,arg2);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_112(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (XMLToken *)new XMLToken((std::string const &)*arg1);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLToken(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLToken **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLToken_1_1SWIG_113(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return 0;
  } 
  result = (XMLToken *)new XMLToken((XMLToken const &)*arg1);
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (XMLToken *)((XMLToken const *)arg1)->clone();
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttributes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    XMLAttributes const &_result_ref = ((XMLToken const *)arg1)->getAttributes();
    result = (XMLAttributes *) &_result_ref;
  }
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1setAttributes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLAttributes *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return ;
  } 
  (arg1)->setAttributes((XMLAttributes const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addAttr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  std::string *arg4 = 0 ;
  std::string *arg5 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return ;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  (arg1)->addAttr((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addAttr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  std::string *arg4 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return ;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  (arg1)->addAttr((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addAttr_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->addAttr((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addAttr_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jstring jarg3) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->addAttr((XMLTriple const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeAttr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->removeAttr(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeAttr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->removeAttr((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeAttr_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->removeAttr((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeAttr_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->removeAttr((XMLTriple const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1clearAttributes(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  (arg1)->clearAttributes();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrIndex_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (int)((XMLToken const *)arg1)->getAttrIndex((std::string const &)*arg2,(std::string const &)*arg3);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrIndex_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLToken const *)arg1)->getAttrIndex((std::string const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrIndex_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (int)((XMLToken const *)arg1)->getAttrIndex((XMLTriple const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttributesLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (int)((XMLToken const *)arg1)->getAttributesLength();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getAttrName(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getAttrPrefix(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrPrefixedName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getAttrPrefixedName(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getAttrURI(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrValue_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getAttrValue(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrValue_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string arg2 ;
  std::string arg3 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = ((XMLToken const *)arg1)->getAttrValue(arg2,arg3);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrValue_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLToken const *)arg1)->getAttrValue(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getAttrValue_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = ((XMLToken const *)arg1)->getAttrValue((XMLTriple const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasAttr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = (bool)((XMLToken const *)arg1)->hasAttr(arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasAttr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string arg2 ;
  std::string arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (bool)((XMLToken const *)arg1)->hasAttr(arg2,arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasAttr_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string arg2 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLToken const *)arg1)->hasAttr(arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasAttr_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (bool)((XMLToken const *)arg1)->hasAttr((XMLTriple const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isAttributesEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isAttributesEmpty();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLNamespaces *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    XMLNamespaces const &_result_ref = ((XMLToken const *)arg1)->getNamespaces();
    result = (XMLNamespaces *) &_result_ref;
  }
  *(XMLNamespaces **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1setNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLNamespaces *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLNamespaces **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return ;
  } 
  (arg1)->setNamespaces((XMLNamespaces const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addNamespace_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->addNamespace((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1addNamespace_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->addNamespace((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeNamespace_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->removeNamespace(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1removeNamespace_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->removeNamespace((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1clearNamespaces(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  (arg1)->clearNamespaces();
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaceIndex(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLToken const *)arg1)->getNamespaceIndex((std::string const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaceIndexByPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (int)((XMLToken const *)arg1)->getNamespaceIndexByPrefix((std::string const &)*arg2);
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespacesLength(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (int)((XMLToken const *)arg1)->getNamespacesLength();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespacePrefix_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getNamespacePrefix(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespacePrefix_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLToken const *)arg1)->getNamespacePrefix((std::string const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaceURI_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = (int)jarg2; 
  result = ((XMLToken const *)arg1)->getNamespaceURI(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaceURI_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = ((XMLToken const *)arg1)->getNamespaceURI((std::string const &)*arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getNamespaceURI_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = ((XMLToken const *)arg1)->getNamespaceURI();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isNamespacesEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isNamespacesEmpty();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasNamespaceURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLToken const *)arg1)->hasNamespaceURI((std::string const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasNamespacePrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (bool)((XMLToken const *)arg1)->hasNamespacePrefix((std::string const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1hasNamespaceNS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (bool)((XMLToken const *)arg1)->hasNamespaceNS((std::string const &)*arg2,(std::string const &)*arg3);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1setTriple(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->setTriple((XMLTriple const &)*arg2);
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLToken const *)arg1)->getName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLToken const *)arg1)->getPrefix();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLToken const *)arg1)->getURI();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getCharacters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLToken const *)arg1)->getCharacters();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1append(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->append((std::string const &)*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getColumn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (unsigned int)((XMLToken const *)arg1)->getColumn();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1getLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (unsigned int)((XMLToken const *)arg1)->getLine();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isElement();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isEnd(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isEnd();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isEndFor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLToken *arg2 = 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return 0;
  } 
  result = (bool)((XMLToken const *)arg1)->isEndFor((XMLToken const &)*arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isEOF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isEOF();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isStart(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isStart();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1isText(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (bool)((XMLToken const *)arg1)->isText();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1setEnd(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  (arg1)->setEnd();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1setEOF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  (arg1)->setEOF();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1unsetEnd(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  (arg1)->unsetEnd();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLToken *arg1 = (XMLToken *) 0 ;
  XMLOutputStream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLToken **)&jarg1; 
  arg2 = *(XMLOutputStream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLOutputStream & reference is null");
    return ;
  } 
  ((XMLToken const *)arg1)->write(*arg2);
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLToken_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLToken *arg1 = (XMLToken *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1; 
  result = (arg1)->toString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLNode *)new XMLNode();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLToken *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLToken **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode((XMLToken const &)*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3,arg4,arg5);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  unsigned int arg4 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  arg4 = (unsigned int)jarg4; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3,arg4);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNamespaces *arg3 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  (void)jarg3_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = *(XMLNamespaces **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNamespaces const & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,(XMLNamespaces const &)*arg3);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,arg3,arg4);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  unsigned int arg3 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  arg3 = (unsigned int)jarg3; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2,arg3);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLAttributes *arg2 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = *(XMLAttributes **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLAttributes const & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,(XMLAttributes const &)*arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,arg2,arg3);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  unsigned int arg2 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  arg2 = (unsigned int)jarg2; 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1,arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode((XMLTriple const &)*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (XMLNode *)new XMLNode((std::string const &)*arg1,arg2,arg3);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_112(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  unsigned int arg2 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (unsigned int)jarg2; 
  result = (XMLNode *)new XMLNode((std::string const &)*arg1,arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_113(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (XMLNode *)new XMLNode((std::string const &)*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_114(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLInputStream *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLInputStream & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode(*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLNode(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLNode *arg1 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLNode **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLNode_1_1SWIG_115(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNode const & reference is null");
    return 0;
  } 
  result = (XMLNode *)new XMLNode((XMLNode const &)*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = (XMLNode *)((XMLNode const *)arg1)->clone();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1addChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLNode *arg1 = (XMLNode *) 0 ;
  XMLNode *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLNode **)&jarg1; 
  arg2 = *(XMLNode **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNode const & reference is null");
    return ;
  } 
  (arg1)->addChild((XMLNode const &)*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1insertChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jobject jarg3_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  unsigned int arg2 ;
  XMLNode *arg3 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg3_;
  arg1 = *(XMLNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = *(XMLNode **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLNode const & reference is null");
    return 0;
  } 
  {
    XMLNode &_result_ref = (arg1)->insertChild(arg2,(XMLNode const &)*arg3);
    result = (XMLNode *) &_result_ref;
  }
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1removeChild(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  unsigned int arg2 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (XMLNode *)(arg1)->removeChild(arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1removeChildren(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLNode *arg1 = (XMLNode *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  (arg1)->removeChildren();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1getChild_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  unsigned int arg2 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  {
    XMLNode &_result_ref = (arg1)->getChild(arg2);
    result = (XMLNode *) &_result_ref;
  }
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1getNumChildren(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = (unsigned int)((XMLNode const *)arg1)->getNumChildren();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1write(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLNode *arg1 = (XMLNode *) 0 ;
  XMLOutputStream *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLNode **)&jarg1; 
  arg2 = *(XMLOutputStream **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLOutputStream & reference is null");
    return ;
  } 
  ((XMLNode const *)arg1)->write(*arg2);
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1toXMLString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = ((XMLNode const *)arg1)->toXMLString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1convertXMLNodeToString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = XMLNode::convertXMLNodeToString((XMLNode const *)arg1);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1convertStringToXMLNode_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jlong jarg2, jobject jarg2_) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  XMLNamespaces *arg2 = (XMLNamespaces *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = *(XMLNamespaces **)&jarg2; 
  result = (XMLNode *)XMLNode::convertStringToXMLNode((std::string const &)*arg1,(XMLNamespaces const *)arg2);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLNode_1convertStringToXMLNode_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (XMLNode *)XMLNode::convertStringToXMLNode((std::string const &)*arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTriple_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLTriple *)new XMLTriple();
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTriple_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jstring jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (XMLTriple *)new XMLTriple((std::string const &)*arg1,(std::string const &)*arg2,(std::string const &)*arg3);
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTriple_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1, jchar jarg2) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  char arg2 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  arg2 = (char)jarg2; 
  result = (XMLTriple *)new XMLTriple((std::string const &)*arg1,arg2);
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTriple_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string *arg1 = 0 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  std::string arg1_str(arg1_pstr);
  arg1 = &arg1_str;
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (XMLTriple *)new XMLTriple((std::string const &)*arg1);
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTriple_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = 0 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return 0;
  } 
  result = (XMLTriple *)new XMLTriple((XMLTriple const &)*arg1);
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  XMLTriple *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  result = (XMLTriple *)((XMLTriple const *)arg1)->clone();
  *(XMLTriple **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1getName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLTriple const *)arg1)->getName();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1getPrefix(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLTriple const *)arg1)->getPrefix();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1getURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLTriple const *)arg1)->getURI();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1getPrefixedName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  result = ((XMLTriple const *)arg1)->getPrefixedName();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTriple_1isEmpty(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTriple **)&jarg1; 
  result = (bool)((XMLTriple const *)arg1)->isEmpty();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLTriple(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLTriple *arg1 = (XMLTriple *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLTriple **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLInputStream_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jstring jarg1, jboolean jarg2, jstring jarg3, jlong jarg4, jobject jarg4_) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  bool arg2 ;
  std::string arg3 ;
  XMLErrorLog *arg4 = (XMLErrorLog *) 0 ;
  XMLInputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg4_;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = jarg2 ? true : false; 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  arg4 = *(XMLErrorLog **)&jarg4; 
  result = (XMLInputStream *)new XMLInputStream((char const *)arg1,arg2,arg3,arg4);
  *(XMLInputStream **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLInputStream_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jstring jarg1, jboolean jarg2, jstring jarg3) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  bool arg2 ;
  std::string arg3 ;
  XMLInputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = jarg2 ? true : false; 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return 0;
  (&arg3)->assign(arg3_pstr);
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  result = (XMLInputStream *)new XMLInputStream((char const *)arg1,arg2,arg3);
  *(XMLInputStream **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLInputStream_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jstring jarg1, jboolean jarg2) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  bool arg2 ;
  XMLInputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  arg2 = jarg2 ? true : false; 
  result = (XMLInputStream *)new XMLInputStream((char const *)arg1,arg2);
  *(XMLInputStream **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLInputStream_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  char *arg1 = (char *) 0 ;
  XMLInputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = 0;
  if (jarg1) {
    arg1 = (char *)jenv->GetStringUTFChars(jarg1, 0);
    if (!arg1) return 0;
  }
  result = (XMLInputStream *)new XMLInputStream((char const *)arg1);
  *(XMLInputStream **)&jresult = result; 
  if (arg1) jenv->ReleaseStringUTFChars(jarg1, (const char *)arg1);
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLInputStream(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLInputStream **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1getEncoding(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  {
    std::string const &_result_ref = (arg1)->getEncoding();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1getVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  {
    std::string const &_result_ref = (arg1)->getVersion();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1getErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  XMLErrorLog *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (XMLErrorLog *)(arg1)->getErrorLog();
  *(XMLErrorLog **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1isEOF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (bool)((XMLInputStream const *)arg1)->isEOF();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1isError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (bool)((XMLInputStream const *)arg1)->isError();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1isGood(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (bool)((XMLInputStream const *)arg1)->isGood();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  XMLToken result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (arg1)->next();
  *(XMLToken **)&jresult = new XMLToken((const XMLToken &)result); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1peek(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  {
    XMLToken const &_result_ref = (arg1)->peek();
    result = (XMLToken *) &_result_ref;
  }
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1skipPastEnd(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLInputStream **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->skipPastEnd((XMLToken const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1skipText(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  (arg1)->skipText();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1setErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  XMLErrorLog *arg2 = (XMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLInputStream **)&jarg1; 
  arg2 = *(XMLErrorLog **)&jarg2; 
  (arg1)->setErrorLog(arg2);
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLInputStream_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLInputStream *arg1 = (XMLInputStream *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLInputStream **)&jarg1; 
  result = (arg1)->toString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLOutputStream_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3, jstring jarg4, jstring jarg5) {
  jlong jresult = 0 ;
  std::ostream *arg1 = 0 ;
  std::string *arg2 = 0 ;
  bool arg3 ;
  std::string *arg4 = 0 ;
  std::string *arg5 = 0 ;
  XMLOutputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::ostream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = jarg3 ? true : false; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return 0;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  result = (XMLOutputStream *)new XMLOutputStream(*arg1,(std::string const &)*arg2,arg3,(std::string const &)*arg4,(std::string const &)*arg5);
  *(XMLOutputStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLOutputStream_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  std::ostream *arg1 = 0 ;
  std::string *arg2 = 0 ;
  bool arg3 ;
  std::string *arg4 = 0 ;
  XMLOutputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::ostream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = jarg3 ? true : false; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  result = (XMLOutputStream *)new XMLOutputStream(*arg1,(std::string const &)*arg2,arg3,(std::string const &)*arg4);
  *(XMLOutputStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLOutputStream_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
  jlong jresult = 0 ;
  std::ostream *arg1 = 0 ;
  std::string *arg2 = 0 ;
  bool arg3 ;
  XMLOutputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::ostream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = jarg3 ? true : false; 
  result = (XMLOutputStream *)new XMLOutputStream(*arg1,(std::string const &)*arg2,arg3);
  *(XMLOutputStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLOutputStream_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  std::ostream *arg1 = 0 ;
  std::string *arg2 = 0 ;
  XMLOutputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::ostream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (XMLOutputStream *)new XMLOutputStream(*arg1,(std::string const &)*arg2);
  *(XMLOutputStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLOutputStream_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  std::ostream *arg1 = 0 ;
  XMLOutputStream *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(std::ostream **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "std::ostream & reference is null");
    return 0;
  } 
  result = (XMLOutputStream *)new XMLOutputStream(*arg1);
  *(XMLOutputStream **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1endElement_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->endElement((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1endElement_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->endElement((XMLTriple const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1setAutoIndent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  bool arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = jarg2 ? true : false; 
  (arg1)->setAutoIndent(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1startElement_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->startElement((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1startElement_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->startElement((XMLTriple const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1startEndElement_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->startEndElement((std::string const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1startEndElement_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  (arg1)->startEndElement((XMLTriple const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->writeAttribute((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jstring jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->writeAttribute((XMLTriple const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  bool *arg3 = 0 ;
  bool temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  temp3 = jarg3 ? true : false; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((std::string const &)*arg2,(bool const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jboolean jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  bool *arg3 = 0 ;
  bool temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  temp3 = jarg3 ? true : false; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((XMLTriple const &)*arg2,(bool const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jdouble jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  double *arg3 = 0 ;
  double temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  temp3 = (double)jarg3; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((std::string const &)*arg2,(double const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jdouble jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  double *arg3 = 0 ;
  double temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  temp3 = (double)jarg3; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((XMLTriple const &)*arg2,(double const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  long *arg3 = 0 ;
  long temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  temp3 = (long)jarg3; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((std::string const &)*arg2,(long const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeAttribute_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jint jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  XMLTriple *arg2 = 0 ;
  long *arg3 = 0 ;
  long temp3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  arg2 = *(XMLTriple **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLTriple const & reference is null");
    return ;
  } 
  temp3 = (long)jarg3; 
  arg3 = &temp3; 
  (arg1)->writeAttribute((XMLTriple const &)*arg2,(long const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeXMLDecl(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  (arg1)->writeXMLDecl();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1writeComment(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->writeComment((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1downIndent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  (arg1)->downIndent();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1upIndent(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  (arg1)->upIndent();
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLOutputStream_1getStringStream(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLOutputStream **)&jarg1; 
  result = (bool)(arg1)->getStringStream();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLOutputStream(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLOutputStream *arg1 = (XMLOutputStream *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLOutputStream **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  int arg1 ;
  std::string *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  result = (XMLError *)new XMLError(arg1,(std::string const &)*arg2,arg3,arg4,arg5,arg6);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  int arg1 ;
  std::string *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  result = (XMLError *)new XMLError(arg1,(std::string const &)*arg2,arg3,arg4,arg5);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  int arg1 ;
  std::string *arg2 = 0 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  result = (XMLError *)new XMLError(arg1,(std::string const &)*arg2,arg3,arg4);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  int arg1 ;
  std::string *arg2 = 0 ;
  unsigned int arg3 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  arg3 = (unsigned int)jarg3; 
  result = (XMLError *)new XMLError(arg1,(std::string const &)*arg2,arg3);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jint jarg1, jstring jarg2) {
  jlong jresult = 0 ;
  int arg1 ;
  std::string *arg2 = 0 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (XMLError *)new XMLError(arg1,(std::string const &)*arg2);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jlong jresult = 0 ;
  int arg1 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  result = (XMLError *)new XMLError(arg1);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_16(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLError *)new XMLError();
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLError_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = 0 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLError const & reference is null");
    return 0;
  } 
  result = (XMLError *)new XMLError((XMLError const &)*arg1);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLError(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLError *arg1 = (XMLError *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLError **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getErrorId(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (unsigned int)((XMLError const *)arg1)->getErrorId();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLError const *)arg1)->getMessage();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getShortMessage(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLError const *)arg1)->getShortMessage();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (unsigned int)((XMLError const *)arg1)->getLine();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getColumn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (unsigned int)((XMLError const *)arg1)->getColumn();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getSeverity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (unsigned int)((XMLError const *)arg1)->getSeverity();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getSeverityAsString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLError const *)arg1)->getSeverityAsString();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getCategory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (unsigned int)((XMLError const *)arg1)->getCategory();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getCategoryAsString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  {
    std::string const &_result_ref = ((XMLError const *)arg1)->getCategoryAsString();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isInfo(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isInfo();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isWarning(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isWarning();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isError();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isFatal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isFatal();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isInternal(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isInternal();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isSystem(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isSystem();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1isXML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLError *arg1 = (XMLError *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  result = (bool)((XMLError const *)arg1)->isXML();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1setLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setLine(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1setColumn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  XMLError *arg1 = (XMLError *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLError **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setColumn(arg2);
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLError_1getStandardMessage(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jstring jresult = 0 ;
  int arg1 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  arg1 = (int)jarg1; 
  result = XMLError::getStandardMessage(arg1);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLErrorLog_1getNumErrors(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLErrorLog **)&jarg1; 
  result = (unsigned int)((XMLErrorLog const *)arg1)->getNumErrors();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLErrorLog_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  unsigned int arg2 ;
  XMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (XMLError *)((XMLErrorLog const *)arg1)->getError(arg2);
  *(XMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLErrorLog_1clearLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLErrorLog **)&jarg1; 
  (arg1)->clearLog();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLErrorLog(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLErrorLog *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLErrorLog *)new XMLErrorLog();
  *(XMLErrorLog **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLErrorLog **)&jarg1; 
  delete arg1;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLErrorLog_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  XMLError *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLErrorLog **)&jarg1; 
  arg2 = *(XMLError **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLError const & reference is null");
    return ;
  } 
  (arg1)->add((XMLError const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLErrorLog_1setParser(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLErrorLog *arg1 = (XMLErrorLog *) 0 ;
  XMLParser *arg2 = (XMLParser *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLErrorLog **)&jarg1; 
  arg2 = *(XMLParser **)&jarg2; 
  (arg1)->setParser((XMLParser const *)arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLHandler(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLHandler *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLHandler *)new XMLHandler();
  *(XMLHandler **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLHandler(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLHandler **)&jarg1; 
  delete arg1;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1startDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLHandler **)&jarg1; 
  (arg1)->startDocument();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1XML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLHandler **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->XML((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1startElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLHandler **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->startElement((XMLToken const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1endDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLHandler **)&jarg1; 
  (arg1)->endDocument();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1endElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLHandler **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->endElement((XMLToken const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLHandler_1characters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLHandler *arg1 = (XMLHandler *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLHandler **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->characters((XMLToken const &)*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1create_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jlong jresult = 0 ;
  XMLHandler *arg1 = 0 ;
  std::string arg2 ;
  XMLParser *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLHandler **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLHandler & reference is null");
    return 0;
  } 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return 0;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  result = (XMLParser *)XMLParser::create(*arg1,arg2);
  *(XMLParser **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1create_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLHandler *arg1 = 0 ;
  XMLParser *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLHandler **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLHandler & reference is null");
    return 0;
  } 
  result = (XMLParser *)XMLParser::create(*arg1);
  *(XMLParser **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLParser(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLParser *arg1 = (XMLParser *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLParser **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parse_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
  jboolean jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = jarg3 ? true : false; 
  result = (bool)(arg1)->parse((char const *)arg2,arg3);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parse_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  result = (bool)(arg1)->parse((char const *)arg2);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parseFirst_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jboolean jarg3) {
  jboolean jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool arg3 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  arg3 = jarg3 ? true : false; 
  result = (bool)(arg1)->parseFirst((char const *)arg2,arg3);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parseFirst_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  result = (bool)(arg1)->parseFirst((char const *)arg2);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parseNext(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  result = (bool)(arg1)->parseNext();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1parseReset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLParser *arg1 = (XMLParser *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  (arg1)->parseReset();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1getColumn(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  result = (unsigned int)((XMLParser const *)arg1)->getColumn();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1getLine(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  result = (unsigned int)((XMLParser const *)arg1)->getLine();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1getErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLParser *arg1 = (XMLParser *) 0 ;
  XMLErrorLog *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLParser **)&jarg1; 
  result = (XMLErrorLog *)(arg1)->getErrorLog();
  *(XMLErrorLog **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLParser_1setErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLParser *arg1 = (XMLParser *) 0 ;
  XMLErrorLog *arg2 = (XMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLParser **)&jarg1; 
  arg2 = *(XMLErrorLog **)&jarg2; 
  (arg1)->setErrorLog(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1XMLTokenizer(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLTokenizer *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLTokenizer *)new XMLTokenizer();
  *(XMLTokenizer **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1XMLTokenizer(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(XMLTokenizer **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1getEncoding(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  {
    std::string const &_result_ref = (arg1)->getEncoding();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1getVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  {
    std::string const &_result_ref = (arg1)->getVersion();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1hasNext(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  result = (bool)((XMLTokenizer const *)arg1)->hasNext();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1isEOF(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  result = (bool)((XMLTokenizer const *)arg1)->isEOF();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1next(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  XMLToken result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  result = (arg1)->next();
  *(XMLToken **)&jresult = new XMLToken((const XMLToken &)result); 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1peek(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  XMLToken *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  {
    XMLToken const &_result_ref = (arg1)->peek();
    result = (XMLToken *) &_result_ref;
  }
  *(XMLToken **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1toString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  result = (arg1)->toString();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1XML(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  std::string *arg2 = 0 ;
  std::string *arg3 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  std::string arg2_str(arg2_pstr);
  arg2 = &arg2_str;
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  if(!jarg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg3_pstr = (const char *)jenv->GetStringUTFChars(jarg3, 0); 
  if (!arg3_pstr) return ;
  std::string arg3_str(arg3_pstr);
  arg3 = &arg3_str;
  jenv->ReleaseStringUTFChars(jarg3, arg3_pstr); 
  (arg1)->XML((std::string const &)*arg2,(std::string const &)*arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1startElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->startElement((XMLToken const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1endDocument(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  (arg1)->endDocument();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1endElement(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->endElement((XMLToken const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_XMLTokenizer_1characters(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  XMLTokenizer *arg1 = (XMLTokenizer *) 0 ;
  XMLToken *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(XMLTokenizer **)&jarg1; 
  arg2 = *(XMLToken **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "XMLToken const & reference is null");
    return ;
  } 
  (arg1)->characters((XMLToken const &)*arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1getError(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBMLError *)((SBMLErrorLog const *)arg1)->getError(arg2);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1getNumFailsWithSeverity(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (unsigned int)(arg1)->getNumFailsWithSeverity(arg2);
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLErrorLog(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBMLErrorLog *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBMLErrorLog *)new SBMLErrorLog();
  *(SBMLErrorLog **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBMLErrorLog(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  delete arg1;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  std::string *arg5 = 0 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  unsigned int arg8 ;
  unsigned int arg9 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  arg8 = (unsigned int)jarg8; 
  arg9 = (unsigned int)jarg9; 
  (arg1)->logError(arg2,arg3,arg4,(std::string const &)*arg5,arg6,arg7,arg8,arg9);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5, jlong jarg6, jlong jarg7, jlong jarg8) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  std::string *arg5 = 0 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  unsigned int arg8 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  arg8 = (unsigned int)jarg8; 
  (arg1)->logError(arg2,arg3,arg4,(std::string const &)*arg5,arg6,arg7,arg8);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5, jlong jarg6, jlong jarg7) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  std::string *arg5 = 0 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  (arg1)->logError(arg2,arg3,arg4,(std::string const &)*arg5,arg6,arg7);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5, jlong jarg6) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  std::string *arg5 = 0 ;
  unsigned int arg6 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  arg6 = (unsigned int)jarg6; 
  (arg1)->logError(arg2,arg3,arg4,(std::string const &)*arg5,arg6);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4, jstring jarg5) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  std::string *arg5 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  if(!jarg5) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  }
  const char *arg5_pstr = (const char *)jenv->GetStringUTFChars(jarg5, 0); 
  if (!arg5_pstr) return ;
  std::string arg5_str(arg5_pstr);
  arg5 = &arg5_str;
  jenv->ReleaseStringUTFChars(jarg5, arg5_pstr); 
  (arg1)->logError(arg2,arg3,arg4,(std::string const &)*arg5);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  (arg1)->logError(arg2,arg3,arg4);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  (arg1)->logError(arg2,arg3);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->logError(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1logError_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  (arg1)->logError();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1add(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  SBMLError *arg2 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = *(SBMLError **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "SBMLError const & reference is null");
    return ;
  } 
  (arg1)->add((SBMLError const &)*arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_SBMLErrorLog_1remove(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  SBMLErrorLog *arg1 = (SBMLErrorLog *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLErrorLog **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->remove(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  std::string *arg4 = 0 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  unsigned int arg8 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  arg8 = (unsigned int)jarg8; 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3,(std::string const &)*arg4,arg5,arg6,arg7,arg8);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jlong jarg5, jlong jarg6, jlong jarg7) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  std::string *arg4 = 0 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3,(std::string const &)*arg4,arg5,arg6,arg7);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  std::string *arg4 = 0 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3,(std::string const &)*arg4,arg5,arg6);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  std::string *arg4 = 0 ;
  unsigned int arg5 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  arg5 = (unsigned int)jarg5; 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3,(std::string const &)*arg4,arg5);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jstring jarg4) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  std::string *arg4 = 0 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  if(!jarg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  }
  const char *arg4_pstr = (const char *)jenv->GetStringUTFChars(jarg4, 0); 
  if (!arg4_pstr) return 0;
  std::string arg4_str(arg4_pstr);
  arg4 = &arg4_str;
  jenv->ReleaseStringUTFChars(jarg4, arg4_pstr); 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3,(std::string const &)*arg4);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (SBMLError *)new SBMLError(arg1,arg2,arg3);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (SBMLError *)new SBMLError(arg1,arg2);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (SBMLError *)new SBMLError(arg1);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_18(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (SBMLError *)new SBMLError();
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1SBMLError_1_1SWIG_19(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBMLError *arg1 = 0 ;
  SBMLError *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBMLError **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "SBMLError const & reference is null");
    return 0;
  } 
  result = (SBMLError *)new SBMLError((SBMLError const &)*arg1);
  *(SBMLError **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1SBMLError(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  SBMLError *arg1 = (SBMLError *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(SBMLError **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CVTerm_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jint jarg1) {
  jlong jresult = 0 ;
  QualifierType_t arg1 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (QualifierType_t)jarg1; 
  result = (CVTerm *)new CVTerm(arg1);
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CVTerm_1_1SWIG_11(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (CVTerm *)new CVTerm();
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CVTerm_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode arg1 ;
  XMLNode const *argp1 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  argp1 = *(XMLNode **)&jarg1; 
  if (!argp1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null XMLNode const");
    return 0;
  }
  arg1 = *argp1; 
  result = (CVTerm *)new CVTerm(arg1);
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1CVTerm(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(CVTerm **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1CVTerm_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CVTerm *arg1 = 0 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "CVTerm const & reference is null");
    return 0;
  } 
  result = (CVTerm *)new CVTerm((CVTerm const &)*arg1);
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  CVTerm *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (CVTerm *)((CVTerm const *)arg1)->clone();
  *(CVTerm **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  QualifierType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (QualifierType_t)(arg1)->getQualifierType();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getModelQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  ModelQualifierType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (ModelQualifierType_t)(arg1)->getModelQualifierType();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getBiologicalQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  BiolQualifierType_t result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (BiolQualifierType_t)(arg1)->getBiologicalQualifierType();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getResources_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  XMLAttributes *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (XMLAttributes *)(arg1)->getResources();
  *(XMLAttributes **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getNumResources(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  result = (unsigned int)(arg1)->getNumResources();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1getResourceURI(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jstring jresult = 0 ;
  CVTerm *arg1 = (CVTerm *) 0 ;
  unsigned int arg2 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (arg1)->getResourceURI(arg2);
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1setQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  QualifierType_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  arg2 = (QualifierType_t)jarg2; 
  (arg1)->setQualifierType(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1setModelQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  ModelQualifierType_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  arg2 = (ModelQualifierType_t)jarg2; 
  (arg1)->setModelQualifierType(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1setBiologicalQualifierType(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  BiolQualifierType_t arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  arg2 = (BiolQualifierType_t)jarg2; 
  (arg1)->setBiologicalQualifierType(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1addResource(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->addResource(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_CVTerm_1removeResource(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  CVTerm *arg1 = (CVTerm *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(CVTerm **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->removeResource(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8, jlong jarg9) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  unsigned int arg8 ;
  unsigned int arg9 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  arg8 = (unsigned int)jarg8; 
  arg9 = (unsigned int)jarg9; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7, jlong jarg8) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  unsigned int arg8 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  arg8 = (unsigned int)jarg8; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6, jlong jarg7) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  unsigned int arg7 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  arg7 = (unsigned int)jarg7; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5, jlong jarg6) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  unsigned int arg6 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  arg6 = (unsigned int)jarg6; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4,arg5,arg6);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4, jlong jarg5) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  unsigned int arg5 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  arg5 = (unsigned int)jarg5; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4,arg5);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_15(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3, jlong jarg4) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  unsigned int arg4 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  arg4 = (unsigned int)jarg4; 
  result = (Date *)new Date(arg1,arg2,arg3,arg4);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_16(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2, jlong jarg3) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int arg3 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  arg3 = (unsigned int)jarg3; 
  result = (Date *)new Date(arg1,arg2,arg3);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_17(JNIEnv *jenv, jclass jcls, jlong jarg1, jlong jarg2) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  unsigned int arg2 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Date *)new Date(arg1,arg2);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_18(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  jlong jresult = 0 ;
  unsigned int arg1 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = (unsigned int)jarg1; 
  result = (Date *)new Date(arg1);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_19(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (Date *)new Date();
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_110(JNIEnv *jenv, jclass jcls, jstring jarg1) {
  jlong jresult = 0 ;
  std::string arg1 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  if(!jarg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return 0;
  } 
  const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0); 
  if (!arg1_pstr) return 0;
  (&arg1)->assign(arg1_pstr);
  jenv->ReleaseStringUTFChars(jarg1, arg1_pstr); 
  result = (Date *)new Date(arg1);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1Date(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  Date *arg1 = (Date *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(Date **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1Date_1_1SWIG_111(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = 0 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Date const & reference is null");
    return 0;
  } 
  result = (Date *)new Date((Date const &)*arg1);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (Date *)((Date const *)arg1)->clone();
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getYear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getYear();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getMonth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getMonth();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getDay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getDay();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getHour(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getHour();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getMinute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getMinute();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getSecond(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getSecond();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getSignOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getSignOffset();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getHoursOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getHoursOffset();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getMinutesOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  result = (unsigned int)(arg1)->getMinutesOffset();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1getDateAsString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  Date *arg1 = (Date *) 0 ;
  std::string *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  {
    std::string const &_result_ref = (arg1)->getDateAsString();
    result = (std::string *) &_result_ref;
  }
  jresult = jenv->NewStringUTF(result->c_str()); 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setYear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setYear(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setMonth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setMonth(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setDay(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setDay(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setHour(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setHour(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setMinute(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setMinute(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setSecond(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setSecond(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setSignOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setSignOffset(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setHoursOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setHoursOffset(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setMinutesOffset(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  Date *arg1 = (Date *) 0 ;
  unsigned int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  (arg1)->setMinutesOffset(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_Date_1setDateAsString(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  Date *arg1 = (Date *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Date **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setDateAsString(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModelCreator_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ModelCreator *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ModelCreator *)new ModelCreator();
  *(ModelCreator **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModelCreator_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode arg1 ;
  XMLNode const *argp1 ;
  ModelCreator *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  argp1 = *(XMLNode **)&jarg1; 
  if (!argp1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null XMLNode const");
    return 0;
  }
  arg1 = *argp1; 
  result = (ModelCreator *)new ModelCreator(arg1);
  *(ModelCreator **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ModelCreator(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ModelCreator **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModelCreator_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelCreator *arg1 = 0 ;
  ModelCreator *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ModelCreator const & reference is null");
    return 0;
  } 
  result = (ModelCreator *)new ModelCreator((ModelCreator const &)*arg1);
  *(ModelCreator **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  ModelCreator *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (ModelCreator *)((ModelCreator const *)arg1)->clone();
  *(ModelCreator **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1getFamilyName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (arg1)->getFamilyName();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1getGivenName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (arg1)->getGivenName();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1getEmail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (arg1)->getEmail();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1getOrganization(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (arg1)->getOrganization();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jstring JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1getOrganisation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jstring jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (arg1)->getOrganisation();
  jresult = jenv->NewStringUTF((&result)->c_str()); 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1isSetFamilyName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (bool)(arg1)->isSetFamilyName();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1isSetGivenName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (bool)(arg1)->isSetGivenName();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1isSetEmail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (bool)(arg1)->isSetEmail();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1isSetOrganization(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (bool)(arg1)->isSetOrganization();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1isSetOrganisation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  result = (bool)(arg1)->isSetOrganisation();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1setFamilyName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setFamilyName(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1setGivenName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setGivenName(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1setEmail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setEmail(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1setOrganization(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setOrganization(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1setOrganisation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  std::string arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  if(!jarg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "null std::string");
    return ;
  } 
  const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0); 
  if (!arg2_pstr) return ;
  (&arg2)->assign(arg2_pstr);
  jenv->ReleaseStringUTFChars(jarg2, arg2_pstr); 
  (arg1)->setOrganisation(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1unsetFamilyName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  (arg1)->unsetFamilyName();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1unsetGivenName(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  (arg1)->unsetGivenName();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1unsetEmail(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  (arg1)->unsetEmail();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1unsetOrganization(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  (arg1)->unsetOrganization();
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelCreator_1unsetOrganisation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  ModelCreator *arg1 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelCreator **)&jarg1; 
  (arg1)->unsetOrganisation();
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModelHistory_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  ModelHistory *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (ModelHistory *)new ModelHistory();
  *(ModelHistory **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1ModelHistory(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(ModelHistory **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1ModelHistory_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = 0 ;
  ModelHistory *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1;
  if(!arg1) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "ModelHistory const & reference is null");
    return 0;
  } 
  result = (ModelHistory *)new ModelHistory((ModelHistory const &)*arg1);
  *(ModelHistory **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1cloneObject(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  ModelHistory *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (ModelHistory *)((ModelHistory const *)arg1)->clone();
  *(ModelHistory **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getCreatedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (Date *)(arg1)->getCreatedDate();
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getModifiedDate_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (Date *)(arg1)->getModifiedDate();
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1isSetCreatedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (bool)(arg1)->isSetCreatedDate();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1isSetModifiedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (bool)(arg1)->isSetModifiedDate();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1setCreatedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  Date *arg2 = (Date *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = *(Date **)&jarg2; 
  (arg1)->setCreatedDate(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1setModifiedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  Date *arg2 = (Date *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = *(Date **)&jarg2; 
  (arg1)->setModifiedDate(arg2);
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1addModifiedDate(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  Date *arg2 = (Date *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = *(Date **)&jarg2; 
  (arg1)->addModifiedDate(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getModifiedDate_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  unsigned int arg2 ;
  Date *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (Date *)(arg1)->getModifiedDate(arg2);
  *(Date **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getNumModifiedDates(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (unsigned int)(arg1)->getNumModifiedDates();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1addCreator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  ModelCreator *arg2 = (ModelCreator *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = *(ModelCreator **)&jarg2; 
  (arg1)->addCreator(arg2);
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getCreator(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  unsigned int arg2 ;
  ModelCreator *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  arg2 = (unsigned int)jarg2; 
  result = (ModelCreator *)(arg1)->getCreator(arg2);
  *(ModelCreator **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_ModelHistory_1getNumCreators(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  ModelHistory *arg1 = (ModelHistory *) 0 ;
  unsigned int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(ModelHistory **)&jarg1; 
  result = (unsigned int)(arg1)->getNumCreators();
  jresult = (jlong)result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1parseRDFAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  ModelHistory *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = (ModelHistory *)RDFAnnotationParser::parseRDFAnnotation((XMLNode const *)arg1);
  *(ModelHistory **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1createAnnotation(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLNode *)RDFAnnotationParser::createAnnotation();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1createRDFAnnotation(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (XMLNode *)RDFAnnotationParser::createRDFAnnotation();
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1deleteRDFAnnotation(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  XMLNode *arg1 = (XMLNode *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(XMLNode **)&jarg1; 
  result = (XMLNode *)RDFAnnotationParser::deleteRDFAnnotation((XMLNode const *)arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1createRDFDescription(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNode *)RDFAnnotationParser::createRDFDescription((SBase const *)arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1createCVTerms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNode *)RDFAnnotationParser::createCVTerms((SBase const *)arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1parseCVTerms(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  SBase *arg1 = (SBase *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(SBase **)&jarg1; 
  result = (XMLNode *)RDFAnnotationParser::parseCVTerms((SBase const *)arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_RDFAnnotationParser_1parseModelHistory(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jlong jresult = 0 ;
  Model *arg1 = (Model *) 0 ;
  XMLNode *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(Model **)&jarg1; 
  result = (XMLNode *)RDFAnnotationParser::parseModelHistory((Model const *)arg1);
  *(XMLNode **)&jresult = result; 
  return jresult;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_new_1RDFAnnotationParser(JNIEnv *jenv, jclass jcls) {
  jlong jresult = 0 ;
  RDFAnnotationParser *result = 0 ;
  
  (void)jenv;
  (void)jcls;
  result = (RDFAnnotationParser *)new RDFAnnotationParser();
  *(RDFAnnotationParser **)&jresult = result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_org_sbml_libsbml_libsbmlJNI_delete_1RDFAnnotationParser(JNIEnv *jenv, jclass jcls, jlong jarg1) {
  RDFAnnotationParser *arg1 = (RDFAnnotationParser *) 0 ;
  
  (void)jenv;
  (void)jcls;
  arg1 = *(RDFAnnotationParser **)&jarg1; 
  delete arg1;
}


SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGOFStreamUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(OStream **)&baseptr = *(OFStream **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGOStringStreamUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(OStream **)&baseptr = *(OStringStream **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(ListOf **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGModelUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Model **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSBMLDocumentUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(SBMLDocument **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGFunctionDefinitionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(FunctionDefinition **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfFunctionDefinitionsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfFunctionDefinitions **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGUnitUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Unit **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfUnitsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfUnits **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGUnitDefinitionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(UnitDefinition **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfUnitDefinitionsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfUnitDefinitions **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGCompartmentTypeUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(CompartmentType **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfCompartmentTypesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfCompartmentTypes **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSpeciesTypeUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(SpeciesType **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfSpeciesTypesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfSpeciesTypes **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGCompartmentUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Compartment **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfCompartmentsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfCompartments **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSpeciesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Species **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfSpeciesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfSpecies **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGParameterUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Parameter **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfParametersUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfParameters **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGInitialAssignmentUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(InitialAssignment **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfInitialAssignmentsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfInitialAssignments **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGRuleUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Rule **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGAlgebraicRuleUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(Rule **)&baseptr = *(AlgebraicRule **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGAssignmentRuleUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(Rule **)&baseptr = *(AssignmentRule **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGRateRuleUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(Rule **)&baseptr = *(RateRule **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfRulesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfRules **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGConstraintUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Constraint **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfConstraintsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfConstraints **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGReactionUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Reaction **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfReactionsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfReactions **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGKineticLawUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(KineticLaw **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSimpleSpeciesReferenceUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(SimpleSpeciesReference **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSpeciesReferenceUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SimpleSpeciesReference **)&baseptr = *(SpeciesReference **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGModifierSpeciesReferenceUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SimpleSpeciesReference **)&baseptr = *(ModifierSpeciesReference **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfSpeciesReferencesUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfSpeciesReferences **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGEventUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Event **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfEventsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfEvents **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGEventAssignmentUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(EventAssignment **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGListOfEventAssignmentsUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(ListOf **)&baseptr = *(ListOfEventAssignments **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGTriggerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Trigger **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGDelayUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(Delay **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGStoichiometryMathUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(SBase **)&baseptr = *(StoichiometryMath **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGXMLNodeUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(XMLToken **)&baseptr = *(XMLNode **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGXMLTokenizerUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(XMLHandler **)&baseptr = *(XMLTokenizer **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSBMLErrorLogUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(XMLErrorLog **)&baseptr = *(SBMLErrorLog **)&jarg1;
    return baseptr;
}

SWIGEXPORT jlong JNICALL Java_org_sbml_libsbml_libsbmlJNI_SWIGSBMLErrorUpcast(JNIEnv *jenv, jclass jcls, jlong jarg1) {
    jlong baseptr = 0;
    (void)jenv;
    (void)jcls;
    *(XMLError **)&baseptr = *(SBMLError **)&jarg1;
    return baseptr;
}

#ifdef __cplusplus
}
#endif

