LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
connectivity::java_sql_Date Class Reference

#include <Timestamp.hxx>

Inheritance diagram for connectivity::java_sql_Date:
[legend]
Collaboration diagram for connectivity::java_sql_Date:
[legend]

Public Member Functions

virtual jclass getMyClass () const override
 
virtual ~java_sql_Date () override
 
 java_sql_Date (JNIEnv *pEnv, jobject myObj)
 
 java_sql_Date (const css::util::Date &_rOut)
 
 operator css::util::Date ()
 
- Public Member Functions inherited from connectivity::java_util_Date
virtual jclass getMyClass () const override
 
virtual ~java_util_Date () override
 
 java_util_Date (JNIEnv *pEnv, jobject myObj)
 
- Public Member Functions inherited from connectivity::java_lang_Object
 java_lang_Object (JNIEnv *pEnv, jobject myObj)
 
 java_lang_Object ()
 
virtual ~java_lang_Object () COVERITY_NOEXCEPT_FALSE
 
void saveRef (JNIEnv *pEnv, jobject myObj)
 
jobject getJavaObject () const
 
void clearObject (JNIEnv &rEnv)
 
void clearObject ()
 
OUString toString () const
 
static ::rtl::Reference< jvmaccess::VirtualMachinegetVM (const css::uno::Reference< css::uno::XComponentContext > &_rxContext=nullptr)
 
void obtainMethodId_throwSQL (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
void obtainMethodId_throwRuntime (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
bool callBooleanMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
bool callBooleanMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
jobject callResultSetMethod (JNIEnv &_rEnv, const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
sal_Int32 callIntMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
sal_Int32 callIntMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const
 
OUString callStringMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
OUString callStringMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
void callVoidMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
void callVoidMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethodWithBoolArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const
 
void callVoidMethodWithBoolArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const
 
void callVoidMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const
 
jobject callObjectMethod (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
jobject callObjectMethodWithIntArg (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
template<typename T >
callMethodWithIntArg (T(JNIEnv::*pCallMethod)(jobject obj, jmethodID methodID,...), const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
template<typename T >
void callVoidMethod_ThrowSQL (const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument, const T &_aValue) const
 

Static Public Member Functions

static jclass st_getMyClass ()
 
- Static Public Member Functions inherited from connectivity::java_lang_Object
static void ThrowSQLException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext)
 
static void ThrowLoggedSQLException (const ::comphelper::EventLogger &_rLogger, JNIEnv *pEnvironment, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
static void ThrowRuntimeException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext)
 
static jclass findMyClass (const char *_pClassName)
 

Static Protected Attributes

static jclass theClass = nullptr
 
- Static Protected Attributes inherited from connectivity::java_util_Date
static jclass theClass = nullptr
 
- Static Protected Attributes inherited from connectivity::java_lang_Object
static jclass theClass = nullptr
 

Additional Inherited Members

virtual jclass getMyClass () const
 
- Protected Attributes inherited from connectivity::java_lang_Object
jobject object
 

Detailed Description

Definition at line 33 of file Timestamp.hxx.

Constructor & Destructor Documentation

◆ ~java_sql_Date()

java_sql_Date::~java_sql_Date ( )
overridevirtual

Definition at line 58 of file Timestamp.cxx.

◆ java_sql_Date() [1/2]

connectivity::java_sql_Date::java_sql_Date ( JNIEnv *  pEnv,
jobject  myObj 
)
inline

Definition at line 42 of file Timestamp.hxx.

◆ java_sql_Date() [2/2]

java_sql_Date::java_sql_Date ( const css::util::Date &  _rOut)

Member Function Documentation

◆ getMyClass()

jclass java_sql_Date::getMyClass ( ) const
overridevirtual

Reimplemented from connectivity::java_util_Date.

Definition at line 61 of file Timestamp.cxx.

References st_getMyClass().

Referenced by java_sql_Date().

◆ operator css::util::Date()

java_sql_Date::operator css::util::Date ( )

Definition at line 74 of file Timestamp.cxx.

References dbtools::DBTypeConversion::toDate(), and toString().

◆ st_getMyClass()

jclass java_sql_Date::st_getMyClass ( )
static

Member Data Documentation

◆ theClass

jclass java_sql_Date::theClass = nullptr
staticprotected

Definition at line 37 of file Timestamp.hxx.

Referenced by st_getMyClass().


The documentation for this class was generated from the following files: