LibreOffice Module dbaccess (master) 1
|
a column of a Query, with additional information obtained from parsing the query statement More...
#include <definitioncolumn.hxx>
Public Member Functions | |
OQueryColumn (const css::uno::Reference< css::beans::XPropertySet > &_rxParserColumn, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, OUString i_sLabel) | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
Public Member Functions inherited from dbaccess::OTableColumnDescriptor | |
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 |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual | ~OQueryColumn () override |
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 | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const=0 |
Private Member Functions | |
css::uno::Reference< css::beans::XPropertySet > | impl_determineOriginalTableColumn (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection) |
Private Attributes | |
OUString | m_sCatalogName |
OUString | m_sSchemaName |
OUString | m_sTableName |
OUString | m_sRealName |
OUString | m_sLabel |
css::uno::Reference< css::beans::XPropertySet > | m_xOriginalTableColumn |
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) |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor > | |
static std::mutex & | theMutex () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from dbaccess::OTableColumnDescriptor | |
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 |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
a column of a Query, with additional information obtained from parsing the query statement
Definition at line 134 of file definitioncolumn.hxx.
|
overrideprotectedvirtual |
Definition at line 230 of file definitioncolumn.cxx.
OQueryColumn::OQueryColumn | ( | const css::uno::Reference< css::beans::XPropertySet > & | _rxParserColumn, |
const css::uno::Reference< css::sdbc::XConnection > & | _rxConnection, | ||
OUString | i_sLabel | ||
) |
Definition at line 160 of file definitioncolumn.cxx.
References dbaccess::OTableColumnDescriptor::m_aTypeName, dbaccess::OTableColumnDescriptor::m_bAutoIncrement, dbaccess::OTableColumnDescriptor::m_bCurrency, dbaccess::OTableColumnDescriptor::m_nIsNullable, dbaccess::OTableColumnDescriptor::m_nPrecision, dbaccess::OTableColumnDescriptor::m_nScale, dbaccess::OTableColumnDescriptor::m_nType, m_sCatalogName, m_sLabel, m_sName, m_sRealName, m_sSchemaName, m_sTableName, PROPERTY_CATALOGNAME(), PROPERTY_ID_CATALOGNAME, PROPERTY_ID_LABEL, PROPERTY_ID_REALNAME, PROPERTY_ID_SCHEMANAME, PROPERTY_ID_TABLENAME, PROPERTY_ISAUTOINCREMENT(), PROPERTY_ISCURRENCY(), PROPERTY_ISNULLABLE(), PROPERTY_LABEL(), PROPERTY_NAME(), PROPERTY_PRECISION(), PROPERTY_REALNAME(), PROPERTY_SCALE(), PROPERTY_SCHEMANAME(), PROPERTY_TABLENAME(), PROPERTY_TYPE(), PROPERTY_TYPENAME(), and SAL_WARN.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< class TYPE >.
Definition at line 294 of file definitioncolumn.cxx.
References dbaccess::OTableColumnDescriptor::createArrayHelper().
|
overridevirtual |
Definition at line 299 of file definitioncolumn.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, cppu::IPropertyArrayHelper::fillPropertyMembersByHandle(), getInfoHelper(), dbaccess::OColumnSettings::isColumnSettingProperty(), dbaccess::OColumnSettings::isDefaulted(), m_xOriginalTableColumn, and nAttributes.
|
overridevirtual |
Reimplemented from dbaccess::OTableColumnDescriptor.
|
overridevirtual |
Reimplemented from dbaccess::OTableColumnDescriptor.
Definition at line 284 of file definitioncolumn.cxx.
|
override |
Definition at line 289 of file definitioncolumn.cxx.
References comphelper::OPropertyArrayUsageHelper< class TYPE >::getArrayHelper().
Referenced by getFastPropertyValue().
|
private |
Definition at line 234 of file definitioncolumn.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getPropertyValue(), PROPERTY_CATALOGNAME(), PROPERTY_REALNAME(), PROPERTY_SCHEMANAME(), PROPERTY_TABLENAME(), SAL_WARN, sCatalog, and sSchema.
|
private |
Definition at line 138 of file definitioncolumn.hxx.
Referenced by OQueryColumn().
|
private |
Definition at line 142 of file definitioncolumn.hxx.
Referenced by OQueryColumn().
|
private |
Definition at line 141 of file definitioncolumn.hxx.
Referenced by OQueryColumn().
|
private |
Definition at line 139 of file definitioncolumn.hxx.
Referenced by OQueryColumn().
|
private |
Definition at line 140 of file definitioncolumn.hxx.
Referenced by OQueryColumn().
|
private |
Definition at line 145 of file definitioncolumn.hxx.
Referenced by getFastPropertyValue().