/*
* Author:          Patrick-Christopher Mattulat
 * Co-Author:       Claude Sonnet 4.6 (LLM)
* Company:         Lynar Studios
* E-Mail:          webmaster@lynarstudios.com
* Created:         2023-04-07
* Changed:         2026-06-23
*
* */

#include <ls-std/core/jni/JniClassParameter.hpp>

using ls::standard::core::experimental::JniClassParameter;
using ls::standard::core::experimental::interface_type::IJniApi;
using std::shared_ptr;
using std::string;

JniClassParameter::JniClassParameter() = default;

JniClassParameter::~JniClassParameter() = default;

JNIEnv *JniClassParameter::getJavaEnvironment()
{
  return this->environment;
}

jobject JniClassParameter::getJavaObject()
{
  return this->javaObject;
}

shared_ptr<IJniApi> JniClassParameter::getJniApi() const
{
  return this->jniApi;
}

void JniClassParameter::setJavaEnvironment(JNIEnv *_environment)
{
  this->environment = _environment;
}

void JniClassParameter::setJavaObject(jobject _javaObject)
{
  this->javaObject = _javaObject;
}

void JniClassParameter::setJniApi(const shared_ptr<IJniApi> &_jniApi)
{
  this->jniApi = _jniApi;
}
