27 #include "../../datatype/Property.h" 76 for(
size_t i = 0; i < size; ++i)
87 for(
size_t i = 0; i < size; ++i)
99 for(std::size_t i = 0; i < size; ++i)
110 for(std::size_t i = 0; i < size; ++i)
std::vector< te::dt::Property * > m_properties
The properties that are part of the foreign key constraint.
FKActionType m_onDelete
The action to be performed when a referenced element value in the referenced DataSetType is being del...
ForeignKey & operator=(const ForeignKey &rhs)
Assignment operator.
void replace(te::dt::Property *p, te::dt::Property *pp)
It changes a reference to property p to pp.
bool has(te::dt::Property *p)
It verifies if Property takes part of the foreign key.
ForeignKey(unsigned int id=0)
Constructor.
Constraint & operator=(const Constraint &rhs)
Assignment operator not allowed.
DataSetType * m_refDt
The referenced DataSetType of this foreign key constraint.
It models a property definition.
FKActionType m_onUpdate
The action to be performed when a referenced element value in the referenced DataSetType is being upd...
bool isReferenced(te::dt::Property *p)
It verifies if Property is referenced by the foreign key.
It models a foreign key constraint for a DataSetType.
It models a foreign key constraint for a DataSetType.
A class that models the description of a dataset.
std::vector< te::dt::Property * > m_refProperties
The referenced properties (on the referenced DataSetType) of this foreign key constraint.
Constraint * clone()
It returns a clone of the object.