LibreOffice Module dbaccess (master) 1
|
provides the properties for description. More...
#include <definitioncolumn.hxx>
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::IPropertyArrayHelper * | createArrayHelper () 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::IPropertyArrayHelper * | getArrayHelper () |
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::IPropertyArrayHelper * | createArrayHelper () 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::mutex & | theMutex () |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
provides the properties for description.
A descriptor could be used to create a new table column.
Definition at line 42 of file definitioncolumn.hxx.
|
inline |
Definition at line 66 of file definitioncolumn.hxx.
References impl_registerProperties().
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >.
Reimplemented in dbaccess::OTableColumn, and dbaccess::OQueryColumn.
Definition at line 98 of file definitioncolumn.cxx.
Referenced by dbaccess::OTableColumn::createArrayHelper(), and dbaccess::OQueryColumn::createArrayHelper().
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Reimplemented in dbaccess::OTableColumn, and dbaccess::OQueryColumn.
|
overridevirtual |
Reimplemented in dbaccess::OTableColumn, and dbaccess::OQueryColumn.
Definition at line 86 of file definitioncolumn.cxx.
|
override |
Definition at line 106 of file definitioncolumn.cxx.
References comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >::getArrayHelper().
|
overridevirtual |
Definition at line 117 of file definitioncolumn.cxx.
|
overridevirtual |
Definition at line 91 of file definitioncolumn.cxx.
References m_bActAsDescriptor, SERVICE_SDB_COLUMNSETTINGS, SERVICE_SDBCX_COLUMN, and SERVICE_SDBCX_COLUMNDESCRIPTOR.
|
private |
Definition at line 61 of file definitioncolumn.cxx.
References m_aDefaultValue, PROPERTY_AUTOINCREMENTCREATION(), PROPERTY_DEFAULTVALUE(), PROPERTY_DESCRIPTION(), PROPERTY_ID_AUTOINCREMENTCREATION, PROPERTY_ID_DEFAULTVALUE, PROPERTY_ID_DESCRIPTION, PROPERTY_ID_ISAUTOINCREMENT, PROPERTY_ID_ISCURRENCY, PROPERTY_ID_ISNULLABLE, PROPERTY_ID_ISROWVERSION, PROPERTY_ID_PRECISION, PROPERTY_ID_SCALE, PROPERTY_ID_TYPE, PROPERTY_ID_TYPENAME, PROPERTY_ISAUTOINCREMENT(), PROPERTY_ISCURRENCY(), PROPERTY_ISNULLABLE(), PROPERTY_ISROWVERSION(), PROPERTY_PRECISION(), PROPERTY_SCALE(), PROPERTY_TYPE(), and PROPERTY_TYPENAME().
Referenced by OTableColumnDescriptor().
|
overridevirtual |
Definition at line 111 of file definitioncolumn.cxx.
References m_xParent, nHandle, and dbaccess::notifyDataSourceModified().
|
overridevirtual |
Definition at line 123 of file definitioncolumn.cxx.
|
protected |
Definition at line 55 of file definitioncolumn.hxx.
|
protected |
Definition at line 54 of file definitioncolumn.hxx.
|
protected |
Definition at line 53 of file definitioncolumn.hxx.
|
protected |
Definition at line 52 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
private |
Definition at line 48 of file definitioncolumn.hxx.
Referenced by getSupportedServiceNames().
|
protected |
Definition at line 60 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
protected |
Definition at line 62 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
protected |
Definition at line 61 of file definitioncolumn.hxx.
|
protected |
Definition at line 59 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
protected |
Definition at line 57 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
protected |
Definition at line 58 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
protected |
Definition at line 56 of file definitioncolumn.hxx.
Referenced by dbaccess::OQueryColumn::OQueryColumn().
|
private |
Definition at line 47 of file definitioncolumn.hxx.
Referenced by getParent(), setFastPropertyValue_NoBroadcast(), and setParent().