22#include <com/sun/star/beans/XPropertySet.hpp>
31 class OConnectionLineData;
52 const TTableWindowData::value_type& _pReferencedTable,
53 const OUString& rConnName = OUString() );
57 virtual std::shared_ptr<OTableConnectionData>
NewInstance()
const override {
return std::make_shared<ORelationTableConnectionData>(); }
63 virtual bool Update()
override;
ORelationTableConnectionData & operator=(const ORelationTableConnectionData &rConnData)
sal_Int32 GetUpdateRules() const
sal_Int32 GetDeleteRules() const
void IsConnectionPossible()
void SetUpdateRules(sal_Int32 nAttr)
virtual ~ORelationTableConnectionData() override
Cardinality m_nCardinality
bool IsSourcePrimKey() const
friend bool operator==(const ORelationTableConnectionData &lhs, const ORelationTableConnectionData &rhs)
virtual bool Update() override
Update create a new relation.
virtual std::shared_ptr< OTableConnectionData > NewInstance() const override
deliver a new instance of my own type
void SetDeleteRules(sal_Int32 nAttr)
bool IsDestPrimKey() const
Cardinality GetCardinality() const
bool checkPrimaryKey(const css::uno::Reference< css::beans::XPropertySet > &i_xTable, EConnectionSide _eEConnectionSide) const
ORelationTableConnectionData()
virtual void CopyFrom(const OTableConnectionData &rSource) override
initialise from a source (more comfortable than a virtual assignment operator)
Contains all connection data which exists between two windows.
const TTableWindowData::value_type & getReferencingTable() const
const TTableWindowData::value_type & getReferencedTable() const