Translate German comments, fix some whitespace
This commit is contained in:
parent
ebe26f72e9
commit
e5f5ab57a1
@ -37,26 +37,26 @@ namespace connectivity
|
||||
{
|
||||
struct OTypeInfo
|
||||
{
|
||||
::rtl::OUString aTypeName; // Name des Types in der Datenbank
|
||||
::rtl::OUString aLiteralPrefix; // Prefix zum Quoten
|
||||
::rtl::OUString aLiteralSuffix; // Suffix zum Quoten
|
||||
::rtl::OUString aCreateParams; // Parameter zum Erstellen
|
||||
::rtl::OUString aTypeName; // Name of the type in the database
|
||||
::rtl::OUString aLiteralPrefix; // Prefix for quoting
|
||||
::rtl::OUString aLiteralSuffix; // Suffix for quoting
|
||||
::rtl::OUString aCreateParams; // Parameter for creating
|
||||
::rtl::OUString aLocalTypeName;
|
||||
|
||||
sal_Int32 nPrecision; // Laenge des Types
|
||||
sal_Int32 nPrecision; // Length of the type
|
||||
|
||||
sal_Int16 nMaximumScale; // Nachkommastellen
|
||||
sal_Int16 nMinimumScale; // Min Nachkommastellen
|
||||
sal_Int16 nMaximumScale; // Decimal places
|
||||
sal_Int16 nMinimumScale; // Minimum decimal places
|
||||
|
||||
sal_Int16 nType; // Datenbanktyp
|
||||
sal_Int16 nSearchType; // kann nach dem Typen gesucht werden
|
||||
sal_Int16 nType; // Database type
|
||||
sal_Int16 nSearchType; // Can we search for the type?
|
||||
sal_Int16 nNumPrecRadix; // indicating the radix, which is usually 2 or 10
|
||||
|
||||
sal_Bool bCurrency : 1, // Waehrung
|
||||
bAutoIncrement : 1, // Ist es ein automatisch incrementierendes Feld
|
||||
bNullable : 1, // Kann das Feld NULL annehmen
|
||||
bCaseSensitive : 1, // Ist der Type Casesensitive
|
||||
bUnsigned : 1, // Ist der Type Unsigned
|
||||
sal_Bool bCurrency : 1, // Currency
|
||||
bAutoIncrement : 1, // Is it an autoincrementing field?
|
||||
bNullable : 1, // Can the field be NULL?
|
||||
bCaseSensitive : 1, // Is the type case sensitive?
|
||||
bUnsigned : 1, // Is the type unsigned?
|
||||
bEmpty_1 : 1, // for later use
|
||||
bEmpty_2 : 1;
|
||||
|
||||
|
@ -66,19 +66,17 @@ namespace connectivity
|
||||
};
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Template-Klasse WpOLEBase<class T>
|
||||
// Template class WpOLEBase<class T>
|
||||
// ==================================
|
||||
//
|
||||
// Objekte dieser Klasse haelt einen Zeiger auf ein Interface vom Typ T.
|
||||
// Es gibt Konstruktoren und Zuweisungsoperator die sicherstellen, dass
|
||||
// AddRef() und Release() entsprechend den COM-Konventionen gerufen werden.
|
||||
// Ein Objekt kann auch keinen Zeiger halten (Nullzeiger), dann ergibt
|
||||
// der Aufruf von IsValid() FALSE.
|
||||
// Objects of this class contain a pointer to an interface of the type T.
|
||||
// The ctors and operator= make sure, that AddRef() and Release() are being
|
||||
// called adhering to COM conventions.
|
||||
// An object can also hold no pointer (null pointer), calling IsValid() then
|
||||
// returns false.
|
||||
//
|
||||
// Um effizientes pass-by-value machen zu koennen, ist diese (ebenso wie die
|
||||
// abgeleiteten Klassen) eine ganz schmale Wrapper-Klasse unter Vermeidung
|
||||
// virtueller Methoden und mit Inlining.
|
||||
|
||||
// In order to do efficient pass-by-value, this class (as all derived classes)
|
||||
// is a thin wrapper class, avoiding virtual methods and inlining.
|
||||
//------------------------------------------------------------------------
|
||||
template<class T> class WpOLEBase : public WpBase
|
||||
{
|
||||
@ -124,29 +122,28 @@ namespace connectivity
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Template-Klasse WpOLECollection<class Ts, class T, class WrapT>
|
||||
// Template class WpOLECollection<class Ts, class T, class WrapT>
|
||||
// ===============================================================
|
||||
//
|
||||
// Diese Klasse, welche sich von WpOLEBase<Ts> ableitet, abstrahiert die
|
||||
// den DAO-Collections gemeinsamen Eigenschaften:
|
||||
// This class (derived from WpOLEBase<Ts>), abstracts away the properties
|
||||
// common to DAO collections:
|
||||
//
|
||||
// Sie werden ueber ein Interface Ts (etwa: DAOFields) angesprochen
|
||||
// und koennen ueber get_Item (hier:GetItem) Items des Typs T (genauer:
|
||||
// mit Interface T, etwa DAOField) herausgeben.
|
||||
// They are accessed via an interface Ts (e.g. DAOFields) and can return
|
||||
// Items of the Type T (actually: with the interface T, e.g. DAOField)
|
||||
// via get_Item (here GetItem).
|
||||
//
|
||||
// Diese Wrapperklasse gibt aber nicht ein Interface T heraus,
|
||||
// sondern ein Objekt der Klasse WrapT. Dieses muss eine Konstruktion
|
||||
// durch T zulassen, vorzugsweise ist es von WpOLEBase<T> abgeleitet.
|
||||
// This wrapper class does not expose an interface T, however,
|
||||
// it exposes an object of the class WrapT. This must allow a construction
|
||||
// by T, preferably it is derived from WpOLEBase<T>.
|
||||
//
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
template<class Ts, class T, class WrapT> class WpOLECollection : public WpOLEBase<Ts>
|
||||
{
|
||||
public:
|
||||
using WpOLEBase<Ts>::pInterface;
|
||||
using WpOLEBase<Ts>::IsValid;
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpOLECollection(Ts* pInt=NULL):WpOLEBase<Ts>(pInt){}
|
||||
WpOLECollection(const WpOLECollection& rhs){operator=(rhs);}
|
||||
inline WpOLECollection& operator=(const WpOLECollection& rhs)
|
||||
@ -219,8 +216,8 @@ namespace connectivity
|
||||
{
|
||||
|
||||
public:
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
using WpOLEBase<Ts>::pInterface;
|
||||
WpOLEAppendCollection(Ts* pInt=NULL):WpOLECollection<Ts,T,WrapT>(pInt){}
|
||||
WpOLEAppendCollection(const WpOLEAppendCollection& rhs){ operator=(rhs); }
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
|
||||
// Includes fuer ADO
|
||||
// Includes for ADO
|
||||
#include "ado_pre_sys_include.h"
|
||||
#include <oledb.h>
|
||||
#include <ocidl.h>
|
||||
@ -152,8 +152,8 @@ namespace connectivity
|
||||
{
|
||||
public:
|
||||
WpADOCommand(){}
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADOCommand(ADOCommand* pInt) : WpOLEBase<ADOCommand>(pInt){}
|
||||
|
||||
WpADOCommand(const WpADOCommand& rhs){operator=(rhs);}
|
||||
@ -181,7 +181,7 @@ namespace connectivity
|
||||
ADOParameters* get_Parameters() const;
|
||||
sal_Bool put_CommandType( /* [in] */ CommandTypeEnum lCmdType);
|
||||
CommandTypeEnum get_CommandType( ) const ;
|
||||
// gibt den Namen des Feldes zur"ueck
|
||||
// Returns the field's name
|
||||
::rtl::OUString GetName() const ;
|
||||
sal_Bool put_Name(const ::rtl::OUString& _Name);
|
||||
sal_Bool Cancel();
|
||||
@ -191,9 +191,8 @@ namespace connectivity
|
||||
{
|
||||
public:
|
||||
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADOError(ADOError* pInt):WpOLEBase<ADOError>(pInt){}
|
||||
|
||||
WpADOError(const WpADOError& rhs){operator=(rhs);}
|
||||
@ -218,8 +217,8 @@ namespace connectivity
|
||||
// friend class WpADOFields;
|
||||
public:
|
||||
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADOField(ADOField* pInt=NULL):WpOLEBase<ADOField>(pInt){}
|
||||
WpADOField(const WpADOField& rhs){operator=(rhs);}
|
||||
|
||||
@ -232,7 +231,7 @@ namespace connectivity
|
||||
sal_Int32 GetAttributes() const ;
|
||||
sal_Int32 GetStatus() const ;
|
||||
sal_Int32 GetDefinedSize() const ;
|
||||
// gibt den Namen des Feldes zur"ueck
|
||||
// Returns the field's name
|
||||
::rtl::OUString GetName() const ;
|
||||
DataTypeEnum GetADOType() const ;
|
||||
void get_Value(OLEVariant& aValVar) const ;
|
||||
@ -266,8 +265,8 @@ namespace connectivity
|
||||
class WpADOProperty: public WpOLEBase<ADOProperty>
|
||||
{
|
||||
public:
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADOProperty(ADOProperty* pInt=NULL):WpOLEBase<ADOProperty>(pInt){}
|
||||
WpADOProperty(const WpADOProperty& rhs){operator=(rhs);}
|
||||
WpADOProperty& operator=(const WpADOProperty& rhs)
|
||||
@ -288,8 +287,8 @@ namespace connectivity
|
||||
{
|
||||
|
||||
public:
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADORecordset(ADORecordset* pInt=NULL):WpOLEBase<ADORecordset>(pInt){}
|
||||
WpADORecordset(const WpADORecordset& rhs){operator=(rhs);}
|
||||
WpADORecordset& operator=(const WpADORecordset& rhs)
|
||||
@ -353,8 +352,8 @@ namespace connectivity
|
||||
class WpADOParameter:public WpOLEBase<ADOParameter>
|
||||
{
|
||||
public:
|
||||
// Konstruktoren, operator=
|
||||
// diese rufen nur die Oberklasse
|
||||
// Ctors, operator=
|
||||
// They only call the superclass
|
||||
WpADOParameter(ADOParameter* pInt):WpOLEBase<ADOParameter>(pInt){}
|
||||
WpADOParameter(const WpADOParameter& rhs):WpOLEBase<ADOParameter>(rhs){}
|
||||
WpADOParameter& operator=(const WpADOParameter& rhs)
|
||||
|
@ -46,7 +46,7 @@ namespace connectivity
|
||||
class ADOS
|
||||
{
|
||||
public:
|
||||
// Auch hier: BSTR mit SysFreeString() freigeben!
|
||||
// Also here: Free BSTR with SysFreeString()!
|
||||
static OLEString& GetKeyStr();
|
||||
|
||||
static const CLSID CLSID_ADOCATALOG_25;
|
||||
|
@ -78,29 +78,28 @@ namespace connectivity
|
||||
class java_lang_Class;
|
||||
class java_lang_Object
|
||||
{
|
||||
// Zuweisungsoperator und Copy Konstruktor sind verboten
|
||||
// operator= and the copy ctor are forbidden
|
||||
java_lang_Object& operator= (java_lang_Object&);
|
||||
java_lang_Object(java_lang_Object&);
|
||||
|
||||
// nur zum Zerstoeren des C++ Pointers in vom JSbxObject
|
||||
// abgeleiteten Java Objekten
|
||||
// Only to destroy the C++ pointer of Java objects derived from JSbxObject
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
|
||||
|
||||
protected:
|
||||
// der JAVA Handle zu dieser Klasse
|
||||
// The Java handle to this class
|
||||
jobject object;
|
||||
// Klassendefinition
|
||||
|
||||
// neu in SJ2:
|
||||
static jclass theClass; // die Klasse braucht nur einmal angefordert werden !
|
||||
// Class definiton
|
||||
// New in SJ2:
|
||||
static jclass theClass; // The class needs to be requested only once!
|
||||
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
public:
|
||||
// der Konstruktor, der fuer die abgeleiteten Klassen verwendet
|
||||
// werden soll.
|
||||
// Ctor that should be used for the derived classes
|
||||
java_lang_Object( JNIEnv * pEnv, jobject myObj );
|
||||
// der eigentliche Konstruktor
|
||||
|
||||
// The actual ctor
|
||||
java_lang_Object(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory=NULL);
|
||||
|
||||
virtual ~java_lang_Object();
|
||||
|
@ -42,12 +42,12 @@ namespace connectivity
|
||||
public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XArray>
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_Array();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Array( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
|
||||
|
||||
// XArray
|
||||
|
@ -43,13 +43,13 @@ namespace connectivity
|
||||
public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XBlob>
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
virtual ~java_sql_Blob();
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Blob( JNIEnv * pEnv, jobject myObj );
|
||||
|
||||
// XBlob
|
||||
|
@ -44,7 +44,7 @@ namespace connectivity
|
||||
public ::com::sun::star::sdbc::XOutParameters
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
virtual void createStatement(JNIEnv* _pEnv);
|
||||
|
||||
@ -53,7 +53,7 @@ namespace connectivity
|
||||
DECLARE_SERVICE_INFO();
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_CallableStatement( JNIEnv * pEnv, java_sql_Connection& _rCon, const ::rtl::OUString& sql );
|
||||
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
@ -43,13 +43,13 @@ namespace connectivity
|
||||
public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XClob>
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
virtual ~java_sql_Clob();
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Clob( JNIEnv * pEnv, jobject myObj );
|
||||
|
||||
// XClob
|
||||
|
@ -85,7 +85,7 @@ namespace connectivity
|
||||
::rtl::OUString impl_getJavaDriverClassPath_nothrow(const ::rtl::OUString& _sDriverClass);
|
||||
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
virtual ~java_sql_Connection();
|
||||
@ -94,7 +94,7 @@ namespace connectivity
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
DECLARE_SERVICE_INFO();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Connection( const java_sql_Driver& _rDriver );
|
||||
sal_Bool construct( const ::rtl::OUString& url,
|
||||
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info);
|
||||
|
@ -46,13 +46,13 @@ namespace connectivity
|
||||
java_sql_Connection* m_pConnection;
|
||||
java::sql::ConnectionLog m_aLogger;
|
||||
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_DatabaseMetaData();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_DatabaseMetaData( JNIEnv * pEnv, jobject myObj, java_sql_Connection& _rConnection );
|
||||
|
||||
private:
|
||||
|
@ -41,12 +41,12 @@ namespace connectivity
|
||||
class java_sql_DriverPropertyInfo : public java_lang_Object
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_DriverPropertyInfo();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_DriverPropertyInfo( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
|
||||
operator ::com::sun::star::sdbc::DriverPropertyInfo();
|
||||
|
||||
|
@ -100,7 +100,7 @@ namespace connectivity
|
||||
::cppu::OBroadcastHelper& rBHelper;
|
||||
|
||||
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
// OPropertyArrayUsageHelper
|
||||
@ -135,7 +135,7 @@ namespace connectivity
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Statement_Base( JNIEnv * pEnv, java_sql_Connection& _rCon );
|
||||
|
||||
sal_Int32 getStatementObjectID() const { return m_aLogger.getObjectID(); }
|
||||
@ -194,7 +194,7 @@ namespace connectivity
|
||||
public ::com::sun::star::lang::XServiceInfo
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
virtual void createStatement(JNIEnv* _pEnv);
|
||||
@ -204,7 +204,7 @@ namespace connectivity
|
||||
DECLARE_SERVICE_INFO();
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Statement( JNIEnv * pEnv, java_sql_Connection& _rCon ) : OStatement_BASE2( pEnv, _rCon){};
|
||||
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
@ -49,7 +49,7 @@ namespace connectivity
|
||||
public ::com::sun::star::lang::XServiceInfo
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
virtual void createStatement(JNIEnv* _pEnv);
|
||||
@ -58,7 +58,7 @@ namespace connectivity
|
||||
DECLARE_SERVICE_INFO();
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_PreparedStatement( JNIEnv * pEnv, java_sql_Connection& _rCon,const ::rtl::OUString& sql );
|
||||
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
@ -42,13 +42,13 @@ namespace connectivity
|
||||
public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XRef>
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
virtual ~java_sql_Ref();
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Ref( JNIEnv * pEnv, jobject myObj );
|
||||
|
||||
// XRef
|
||||
|
@ -83,7 +83,7 @@ namespace connectivity
|
||||
void setFetchDirection(sal_Int32 _par0) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
|
||||
void setFetchSize(sal_Int32 _par0) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
|
||||
// OPropertyArrayUsageHelper
|
||||
@ -110,7 +110,7 @@ namespace connectivity
|
||||
public:
|
||||
DECLARE_SERVICE_INFO();
|
||||
virtual jclass getMyClass() const;
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_ResultSet( JNIEnv * pEnv, jobject myObj, const java::sql::ConnectionLog& _rParentLogger,java_sql_Connection& _rConnection,
|
||||
java_sql_Statement_Base* pStmt = NULL );
|
||||
|
||||
|
@ -47,13 +47,13 @@ namespace connectivity
|
||||
java_sql_Connection* m_pConnection;
|
||||
sal_Int32 m_nColumnCount;
|
||||
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
virtual ~java_sql_ResultSetMetaData();
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_ResultSetMetaData( JNIEnv * pEnv, jobject myObj, const java::sql::ConnectionLog& _rResultSetLogger, java_sql_Connection& _rCon );
|
||||
|
||||
virtual sal_Int32 SAL_CALL getColumnCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
|
||||
|
@ -41,7 +41,7 @@ namespace connectivity
|
||||
class java_sql_SQLException : public starsdbc::SQLException
|
||||
{
|
||||
public:
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_SQLException(){}
|
||||
java_sql_SQLException( const java_sql_SQLException_BASE& _rException,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> & _rContext);
|
||||
};
|
||||
@ -49,12 +49,12 @@ namespace connectivity
|
||||
class java_sql_SQLException_BASE : public java_lang_Exception
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_SQLException_BASE();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_SQLException_BASE( JNIEnv * pEnv, jobject myObj );
|
||||
|
||||
::rtl::OUString getSQLState() const;
|
||||
|
@ -41,12 +41,12 @@ namespace connectivity
|
||||
class java_sql_SQLWarning_BASE : public java_sql_SQLException_BASE
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_SQLWarning_BASE();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_SQLWarning_BASE( JNIEnv * pEnv, jobject myObj ) : java_sql_SQLException_BASE( pEnv, myObj ){}
|
||||
|
||||
};
|
||||
|
@ -47,7 +47,7 @@ namespace connectivity
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_Date();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Date( JNIEnv * pEnv, jobject myObj ) : java_util_Date(pEnv,myObj){}
|
||||
java_sql_Date( const ::com::sun::star::util::Date& _rOut );
|
||||
|
||||
@ -68,7 +68,7 @@ namespace connectivity
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_Time();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Time( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){}
|
||||
java_sql_Time( const ::com::sun::star::util::Time& _rOut );
|
||||
operator ::com::sun::star::util::Time();
|
||||
@ -86,7 +86,7 @@ namespace connectivity
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_sql_Timestamp();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_sql_Timestamp( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){}
|
||||
java_sql_Timestamp( const ::com::sun::star::util::DateTime& _rOut);
|
||||
operator ::com::sun::star::util::DateTime();
|
||||
|
@ -42,12 +42,12 @@ namespace connectivity
|
||||
class java_util_Date : public java_lang_Object
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_util_Date();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_util_Date( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
|
||||
};
|
||||
}
|
||||
|
@ -35,12 +35,12 @@ namespace connectivity
|
||||
class java_util_Properties : public java_lang_Object
|
||||
{
|
||||
protected:
|
||||
// statische Daten fuer die Klasse
|
||||
// Static data for the class
|
||||
static jclass theClass;
|
||||
public:
|
||||
virtual jclass getMyClass() const;
|
||||
virtual ~java_util_Properties();
|
||||
// ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
|
||||
// A ctor that is needed for returning the object
|
||||
java_util_Properties( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
|
||||
java_util_Properties( );
|
||||
void setProperty(const ::rtl::OUString key, const ::rtl::OUString& value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user