module com { module sun { module star { module sdbc {
/** determines the rules for foreign key constraints.
*/
published constants KeyRule
{
/** a possible value for the column's <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> inthe com::sun::star::sdbc::XResultSet objectsreturnedbythemethods com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys(), com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys(), andcom::sun::star::sdbc::XDatabaseMetaData::getCrossReference(). <P> Forthecolumn <code>UPDATE_RULE</code> , itindicatesthat whentheprimarykeyisupdated,theforeignkey(importedkey) ischangedtoagreewithit. </P> <P> Forthecolumn <code>DELETE_RULE</code> , itindicatesthat whentheprimarykeyisdeleted,rowsthatimportedthatkey aredeleted. </P>
*/ constlong CASCADE = 0;
/** a possible value for the column's <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> inthe com::sun::star::sdbc::XResultSet objectsreturnedbythemethods com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys(), com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys(), andcom::sun::star::sdbc::XDatabaseMetaData::getCrossReference(). <P> Forthecolumn <code>UPDATE_RULE</code> ,itindicatesthat aprimarykeymaynotbeupdatedifithasbeenimportedby anothertableasaforeignkey. </P> <P> Forthecolumn <code>DELETE_RULE</code> ,itindicatesthat aprimarykeymaynotbedeletedifithasbeenimportedby anothertableasaforeignkey. </P>
*/ constlong RESTRICT = 1;
/** a possible value for the column's <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> inthe com::sun::star::sdbc::XResultSet objectsreturnedbythemethods com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys(), com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys(), andcom::sun::star::sdbc::XDatabaseMetaData::getCrossReference(). <P> Forthecolumns <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> , itindicatesthat whentheprimarykeyisupdatedordeleted,theforeignkey(importedkey) ischangedto<code>NULL</code>. </P>
*/ constlong SET_NULL = 2;
/** a possible value for the column's <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> inthe com::sun::star::sdbc::XResultSet objectsreturnedbythemethods com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys(), com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys(), andcom::sun::star::sdbc::XDatabaseMetaData::getCrossReference(). <P> Forthecolumns <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> , itindicatesthatiftheprimarykeyhasbeenimported,itcannotbeupdatedordeleted. </P>
*/ constlong NO_ACTION = 3;
/** a possible value for the column's <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> inthe com::sun::star::sdbc::XResultSet objectsreturnedbythemethods com::sun::star::sdbc::XDatabaseMetaData::getImportedKeys(), com::sun::star::sdbc::XDatabaseMetaData::getExportedKeys(), andcom::sun::star::sdbc::XDatabaseMetaData::getCrossReference(). <P> Forthecolumns <code>UPDATE_RULE</code> and <code>DELETE_RULE</code> , itindicatesthat iftheprimarykeyisupdatedordeleted,theforeignkey(importedkey) issettothedefaultvalue. </P>
*/ constlong SET_DEFAULT = 4;
};
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet am 2026-10-11)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.