LibreOffice Module dbaccess (master) 1
|
provides the properties for description. More...
#include <definitioncolumn.hxx>
Public Member Functions | |
OTableColumnDescriptorWrapper (const css::uno::Reference< css::beans::XPropertySet > &rCol, const bool _bPureWrap, const bool _bIsDescriptor) | |
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 ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) 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::OIdPropertyArrayUsageHelper< OTableColumnDescriptorWrapper > | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (sal_Int32 nId) |
Protected Member Functions | |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
Protected Member Functions inherited from dbaccess::OColumnWrapper | |
OColumnWrapper (const css::uno::Reference< css::beans::XPropertySet > &_rCol, const bool _bNameIsReadOnly) | |
virtual | ~OColumnWrapper () override |
OUString | impl_getPropertyNameFromHandle (const sal_Int32 _nHandle) const |
Protected Member Functions inherited from dbaccess::OColumnSettings | |
virtual | ~OColumnSettings () |
void | registerProperties (IPropertyContainer &_rPropertyContainer) |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const =0 |
Private Attributes | |
const bool | m_bPureWrap |
const bool | m_bIsDescriptor |
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... | |
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) |
Protected Attributes inherited from dbaccess::OColumnWrapper | |
css::uno::Reference< css::beans::XPropertySet > | m_xAggregate |
sal_Int32 | m_nColTypeID |
provides the properties for description.
A descriptor could be used to create a new table column.
Definition at line 221 of file definitioncolumn.hxx.
OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper | ( | const css::uno::Reference< css::beans::XPropertySet > & | rCol, |
const bool | _bPureWrap, | ||
const bool | _bIsDescriptor | ||
) |
Definition at line 417 of file definitioncolumn.cxx.
References dbaccess::OColumnSettings::registerProperties().
|
overridevirtual |
Reimplemented from dbaccess::OColumnWrapper.
Definition at line 525 of file definitioncolumn.cxx.
References dbaccess::OColumnWrapper::convertFastPropertyValue(), dbaccess::OColumnWrapper::impl_getPropertyNameFromHandle(), m_bPureWrap, dbaccess::OColumnWrapper::m_xAggregate, and nHandle.
|
overridevirtual |
Implements comphelper::OIdPropertyArrayUsageHelper< OTableColumnDescriptorWrapper >.
Reimplemented in dbaccess::OTableColumnWrapper.
Definition at line 441 of file definitioncolumn.cxx.
References count, m_bIsDescriptor, nId, nPos, PROPERTY_AUTOINCREMENTCREATION(), PROPERTY_CATALOGNAME(), PROPERTY_DEFAULTVALUE(), PROPERTY_DESCRIPTION(), PROPERTY_ID_AUTOINCREMENTCREATION, PROPERTY_ID_CATALOGNAME, 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_SCHEMANAME, PROPERTY_ID_TABLENAME, PROPERTY_ID_TYPE, PROPERTY_ID_TYPENAME, PROPERTY_ISAUTOINCREMENT(), PROPERTY_ISCURRENCY(), PROPERTY_ISNULLABLE(), PROPERTY_ISROWVERSION(), PROPERTY_PRECISION(), PROPERTY_SCALE(), PROPERTY_SCHEMANAME(), PROPERTY_TABLENAME(), PROPERTY_TYPE(), and PROPERTY_TYPENAME().
Referenced by dbaccess::OTableColumnWrapper::createArrayHelper().
|
overridevirtual |
Reimplemented from dbaccess::OColumnWrapper.
Definition at line 513 of file definitioncolumn.cxx.
References dbaccess::OColumnWrapper::getFastPropertyValue(), dbaccess::OColumnWrapper::impl_getPropertyNameFromHandle(), m_bPureWrap, dbaccess::OColumnWrapper::m_xAggregate, and nHandle.
|
overrideprotectedvirtual |
Reimplemented from dbaccess::OColumnWrapper.
Definition at line 196 of file definitioncolumn.cxx.
|
overridevirtual |
Reimplemented in dbaccess::OTableColumnWrapper.
|
overridevirtual |
Reimplemented in dbaccess::OTableColumnWrapper.
Definition at line 430 of file definitioncolumn.cxx.
|
override |
Definition at line 508 of file definitioncolumn.cxx.
References comphelper::OIdPropertyArrayUsageHelper< OTableColumnDescriptorWrapper >::getArrayHelper(), and dbaccess::OColumnWrapper::m_nColTypeID.
|
overridevirtual |
Reimplemented in dbaccess::OTableColumnWrapper.
Definition at line 435 of file definitioncolumn.cxx.
References SERVICE_SDB_COLUMNSETTINGS, and SERVICE_SDBCX_COLUMNDESCRIPTOR.
|
overridevirtual |
Reimplemented from dbaccess::OColumnWrapper.
Definition at line 549 of file definitioncolumn.cxx.
References dbaccess::OColumnWrapper::impl_getPropertyNameFromHandle(), m_bPureWrap, dbaccess::OColumnWrapper::m_xAggregate, nHandle, and dbaccess::OColumnWrapper::setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 226 of file definitioncolumn.hxx.
Referenced by createArrayHelper().
|
private |
Definition at line 225 of file definitioncolumn.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().