Public Member Functions | |
ForeignKeyInfo (LEX_STRING *in_foreign_id, LEX_STRING *in_referenced_db, LEX_STRING *in_referenced_table, LEX_STRING *in_update_method, LEX_STRING *in_delete_method, LEX_STRING *in_referenced_key_name, List< LEX_STRING > in_foreign_fields, List< LEX_STRING > in_referenced_fields) | |
This is the constructor with all properties set. | |
ForeignKeyInfo () | |
This is the default constructor. All properties are set to default values for their types. | |
const LEX_STRING * | getForeignId () const |
Gets the foreign id. | |
const LEX_STRING * | getReferencedDb () const |
Gets the name of the referenced database. | |
const LEX_STRING * | getReferencedTable () const |
Gets the name of the referenced table. | |
const LEX_STRING * | getUpdateMethod () const |
Gets the update method. | |
const LEX_STRING * | getDeleteMethod () const |
Gets the delete method. | |
const LEX_STRING * | getReferencedKeyName () const |
Gets the name of the referenced key. | |
const List< LEX_STRING > & | getForeignFields () const |
Gets the foreign fields. | |
const List< LEX_STRING > & | getReferencedFields () const |
Gets the referenced fields. | |
Private Attributes | |
LEX_STRING * | foreign_id |
LEX_STRING * | referenced_db |
LEX_STRING * | referenced_table |
LEX_STRING * | update_method |
LEX_STRING * | delete_method |
LEX_STRING * | referenced_key_name |
List< LEX_STRING > | foreign_fields |
List< LEX_STRING > | referenced_fields |
drizzled::ForeignKeyInfo::ForeignKeyInfo | ( | LEX_STRING * | in_foreign_id, |
LEX_STRING * | in_referenced_db, | ||
LEX_STRING * | in_referenced_table, | ||
LEX_STRING * | in_update_method, | ||
LEX_STRING * | in_delete_method, | ||
LEX_STRING * | in_referenced_key_name, | ||
List< LEX_STRING > | in_foreign_fields, | ||
List< LEX_STRING > | in_referenced_fields | ||
) | [inline] |
This is the constructor with all properties set.
[in] | in_foreign_id | The id of the foreign key |
[in] | in_referenced_db | The referenced database name of the foreign key |
[in] | in_referenced_table | The referenced table name of the foreign key |
[in] | in_update_method | The update method of the foreign key. |
[in] | in_delete_method | The delete method of the foreign key. |
[in] | in_referenced_key_name | The name of referenced key |
[in] | in_foreign_fields | The foreign fields |
[in] | in_referenced_fields | The referenced fields |
const LEX_STRING* drizzled::ForeignKeyInfo::getDeleteMethod | ( | ) | const [inline] |
Gets the delete method.
@ retval the delete method
Definition at line 739 of file table.h.
References delete_method.
const List<LEX_STRING>& drizzled::ForeignKeyInfo::getForeignFields | ( | ) | const [inline] |
Gets the foreign fields.
@ retval the foreign fields
Definition at line 761 of file table.h.
References foreign_fields.
const LEX_STRING* drizzled::ForeignKeyInfo::getForeignId | ( | ) | const [inline] |
Gets the foreign id.
@ retval the foreign id
Definition at line 695 of file table.h.
References foreign_id.
const LEX_STRING* drizzled::ForeignKeyInfo::getReferencedDb | ( | ) | const [inline] |
Gets the name of the referenced database.
@ retval the name of the referenced database
Definition at line 706 of file table.h.
References referenced_db.
const List<LEX_STRING>& drizzled::ForeignKeyInfo::getReferencedFields | ( | ) | const [inline] |
Gets the referenced fields.
@ retval the referenced fields
Definition at line 772 of file table.h.
References referenced_fields.
const LEX_STRING* drizzled::ForeignKeyInfo::getReferencedKeyName | ( | ) | const [inline] |
Gets the name of the referenced key.
@ retval the name of the referenced key
Definition at line 750 of file table.h.
References referenced_key_name.
const LEX_STRING* drizzled::ForeignKeyInfo::getReferencedTable | ( | ) | const [inline] |
Gets the name of the referenced table.
@ retval the name of the referenced table
Definition at line 717 of file table.h.
References referenced_table.
const LEX_STRING* drizzled::ForeignKeyInfo::getUpdateMethod | ( | ) | const [inline] |
Gets the update method.
@ retval the update method
Definition at line 728 of file table.h.
References update_method.
LEX_STRING* drizzled::ForeignKeyInfo::foreign_id [private] |
The name of the reference database.
Definition at line 784 of file table.h.
Referenced by getReferencedDb().
The name of the referenced key.
Definition at line 800 of file table.h.
Referenced by getReferencedKeyName().
The name of the reference table.
Definition at line 788 of file table.h.
Referenced by getReferencedTable().