LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
dbaccess::OTableColumnDescriptor Class Reference

provides the properties for description. More...

#include <definitioncolumn.hxx>

Inheritance diagram for dbaccess::OTableColumnDescriptor:
[legend]
Collaboration diagram for dbaccess::OTableColumnDescriptor:
[legend]

Public Member Functions

 OTableColumnDescriptor (const bool _bActAsDescriptor)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
- Public Member Functions inherited from connectivity::OColumn
 OColumn ()
 
 OColumn (OUString _aTableName, const OUString &_aColumnName, sal_Int32 _aNullable, sal_Int32 _aColumnDisplaySize, sal_Int32 _aPrecision, sal_Int32 _aScale, sal_Int32 _aColumnType)
 
bool isAutoIncrement () const
 
bool isCaseSensitive () const
 
bool isSearchable () const
 
bool isCurrency () const
 
bool isSigned () const
 
bool isReadOnly () const
 
bool isWritable () const
 
bool isDefinitelyWritable () const
 
sal_Int32 isNullable () const
 
sal_Int32 getColumnDisplaySize () const
 
sal_Int32 getPrecision () const
 
sal_Int32 getScale () const
 
sal_Int32 getColumnType () const
 
const OUString & getColumnLabel () const
 
const OUString & getColumnName () const
 
const OUString & getTableName () const
 
- Public Member Functions inherited from dbaccess::OColumnSettings
 OColumnSettings ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Attributes

OUString m_aTypeName
 
OUString m_aDescription
 
OUString m_aDefaultValue
 
OUString m_aAutoIncrementValue
 
sal_Int32 m_nType
 
sal_Int32 m_nPrecision
 
sal_Int32 m_nScale
 
sal_Int32 m_nIsNullable
 
bool m_bAutoIncrement
 
bool m_bRowVersion
 
bool m_bCurrency
 

Private Member Functions

void impl_registerProperties ()
 

Private Attributes

css::uno::Reference< css::uno::XInterface > m_xParent
 
const bool m_bActAsDescriptor
 

Additional Inherited Members

- Static Public Member Functions inherited from dbaccess::OColumnSettings
static bool hasDefaultSettings (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn)
 check if the persistent settings have their default value More...
 
- Protected Member Functions inherited from dbaccess::OColumnSettings
virtual ~OColumnSettings ()
 
void registerProperties (IPropertyContainer &_rPropertyContainer)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Static Protected Member Functions inherited from dbaccess::OColumnSettings
static bool isColumnSettingProperty (const sal_Int32 _nPropertyHandle)
 determines whether the property with the given handle is handled by the class More...
 
static bool isDefaulted (const sal_Int32 _nPropertyHandle, const css::uno::Any &_rPropertyValue)
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >
static std::mutextheMutex ()
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

provides the properties for description.

A descriptor could be used to create a new table column.

Definition at line 42 of file definitioncolumn.hxx.

Constructor & Destructor Documentation

◆ OTableColumnDescriptor()

dbaccess::OTableColumnDescriptor::OTableColumnDescriptor ( const bool  _bActAsDescriptor)
inline

Definition at line 66 of file definitioncolumn.hxx.

References impl_registerProperties().

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OTableColumnDescriptor::createArrayHelper ( ) const
overridevirtual

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL dbaccess::OTableColumnDescriptor::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString OTableColumnDescriptor::getImplementationName ( )
overridevirtual

Reimplemented in dbaccess::OTableColumn, and dbaccess::OQueryColumn.

Definition at line 86 of file definitioncolumn.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OTableColumnDescriptor::getInfoHelper ( )
override

◆ getParent()

Reference< XInterface > SAL_CALL OTableColumnDescriptor::getParent ( )
overridevirtual

Definition at line 117 of file definitioncolumn.cxx.

References m_aMutex, and m_xParent.

◆ getSupportedServiceNames()

Sequence< OUString > OTableColumnDescriptor::getSupportedServiceNames ( )
overridevirtual

◆ impl_registerProperties()

void OTableColumnDescriptor::impl_registerProperties ( )
private

◆ setFastPropertyValue_NoBroadcast()

void OTableColumnDescriptor::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

Definition at line 111 of file definitioncolumn.cxx.

References m_xParent, nHandle, and dbaccess::notifyDataSourceModified().

◆ setParent()

void SAL_CALL OTableColumnDescriptor::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 123 of file definitioncolumn.cxx.

References m_aMutex, and m_xParent.

Member Data Documentation

◆ m_aAutoIncrementValue

OUString dbaccess::OTableColumnDescriptor::m_aAutoIncrementValue
protected

Definition at line 55 of file definitioncolumn.hxx.

◆ m_aDefaultValue

OUString dbaccess::OTableColumnDescriptor::m_aDefaultValue
protected

Definition at line 54 of file definitioncolumn.hxx.

◆ m_aDescription

OUString dbaccess::OTableColumnDescriptor::m_aDescription
protected

Definition at line 53 of file definitioncolumn.hxx.

◆ m_aTypeName

OUString dbaccess::OTableColumnDescriptor::m_aTypeName
protected

Definition at line 52 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_bActAsDescriptor

const bool dbaccess::OTableColumnDescriptor::m_bActAsDescriptor
private

Definition at line 48 of file definitioncolumn.hxx.

Referenced by getSupportedServiceNames().

◆ m_bAutoIncrement

bool dbaccess::OTableColumnDescriptor::m_bAutoIncrement
protected

Definition at line 60 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_bCurrency

bool dbaccess::OTableColumnDescriptor::m_bCurrency
protected

Definition at line 62 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_bRowVersion

bool dbaccess::OTableColumnDescriptor::m_bRowVersion
protected

Definition at line 61 of file definitioncolumn.hxx.

◆ m_nIsNullable

sal_Int32 dbaccess::OTableColumnDescriptor::m_nIsNullable
protected

Definition at line 59 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_nPrecision

sal_Int32 dbaccess::OTableColumnDescriptor::m_nPrecision
protected

Definition at line 57 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_nScale

sal_Int32 dbaccess::OTableColumnDescriptor::m_nScale
protected

Definition at line 58 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_nType

sal_Int32 dbaccess::OTableColumnDescriptor::m_nType
protected

Definition at line 56 of file definitioncolumn.hxx.

Referenced by dbaccess::OQueryColumn::OQueryColumn().

◆ m_xParent

css::uno::Reference< css::uno::XInterface > dbaccess::OTableColumnDescriptor::m_xParent
private

Definition at line 47 of file definitioncolumn.hxx.

Referenced by getParent(), setFastPropertyValue_NoBroadcast(), and setParent().


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