21#include <com/sun/star/beans/PropertyAttribute.hpp>
32OUString SAL_CALL OKeyColumn::getImplementationName( )
35 return "com.sun.star.sdbcx.VKeyColumnDescriptor";
36 return "com.sun.star.sdbcx.VKeyColumn";
39css::uno::Sequence< OUString > SAL_CALL OKeyColumn::getSupportedServiceNames( )
41 return {
isNew()?OUString(
"com.sun.star.sdbcx.KeyColumnDescriptor"):OUString(
"com.sun.star.sdbcx.KeyColumn") };
44sal_Bool SAL_CALL OKeyColumn::supportsService(
const OUString& _rServiceName )
56 const OUString& TypeName,
57 const OUString& DefaultValue,
63 const OUString& CatalogName,
64 const OUString& SchemaName,
65 const OUString& TableName
81 , m_ReferencedColumn(
std::move(ReferencedColumn))
102 sal_Int32 nAttrib =
isNew() ? 0 : PropertyAttribute::READONLY;
::cppu::IPropertyArrayHelper * getArrayHelper(sal_Int32 nId)
void registerProperty(const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
::cppu::IPropertyArrayHelper * doCreateArrayHelper() const
helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper
OUString m_ReferencedColumn
virtual void construct() override
virtual ~OKeyColumn() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper(sal_Int32 _nId) const override
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
#define PROPERTY_ID_RELATEDCOLUMN