⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbdynamicconstraint.html

📁 Medi 这是一个基于Java的媒体文件归档器工具
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Wed Jan 15 11:28:11 CET 2003 --><TITLE>DbDynamicConstraint</TITLE><META NAME="keywords" CONTENT="javatools.db.DbDynamicConstraint,DbDynamicConstraint class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><SCRIPT>function asd(){parent.document.title="DbDynamicConstraint";}</SCRIPT><BODY BGCOLOR="white" onload="asd();"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javatools/db/DbDeleter.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javatools/db/DbExpr.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DbDynamicConstraint.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javatools.db.DbConstraint">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">javatools.db</FONT><BR>Class DbDynamicConstraint</H2><PRE>java.lang.Object  |  +--<A HREF="../../javatools/db/DbConstraint.html">javatools.db.DbConstraint</A>        |        +--<B>javatools.db.DbDynamicConstraint</B></PRE><HR><DL><DT>public class <B>DbDynamicConstraint</B><DT>extends <A HREF="../../javatools/db/DbConstraint.html">DbConstraint</A></DL><P>It is a class representing a "dynamic" constraint, i.e. a constraint that changes references dynamically.<P><P><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_javatools.db.DbConstraint"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class javatools.db.<A HREF="../../javatools/db/DbConstraint.html">DbConstraint</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javatools/db/DbConstraint.html#automaticChecking">automaticChecking</A>, <A HREF="../../javatools/db/DbConstraint.html#canDoUpdate">canDoUpdate</A>, <A HREF="../../javatools/db/DbConstraint.html#CASCADE">CASCADE</A>, <A HREF="../../javatools/db/DbConstraint.html#cloned">cloned</A>, <A HREF="../../javatools/db/DbConstraint.html#constraintEmulation">constraintEmulation</A>, <A HREF="../../javatools/db/DbConstraint.html#constraints">constraints</A>, <A HREF="../../javatools/db/DbConstraint.html#currentOperation">currentOperation</A>, <A HREF="../../javatools/db/DbConstraint.html#defaultValues">defaultValues</A>, <A HREF="../../javatools/db/DbConstraint.html#DELETE_OPERATION">DELETE_OPERATION</A>, <A HREF="../../javatools/db/DbConstraint.html#deleteCascadeChildren">deleteCascadeChildren</A>, <A HREF="../../javatools/db/DbConstraint.html#deleteOperations">deleteOperations</A>, <A HREF="../../javatools/db/DbConstraint.html#DO_NOTHING">DO_NOTHING</A>, <A HREF="../../javatools/db/DbConstraint.html#fatherColsChildren">fatherColsChildren</A>, <A HREF="../../javatools/db/DbConstraint.html#fatherRecords">fatherRecords</A>, <A HREF="../../javatools/db/DbConstraint.html#fatherTables">fatherTables</A>, <A HREF="../../javatools/db/DbConstraint.html#fatherTablesColumns">fatherTablesColumns</A>, <A HREF="../../javatools/db/DbConstraint.html#fromList">fromList</A>, <A HREF="../../javatools/db/DbConstraint.html#INSERT_OPERATION">INSERT_OPERATION</A>, <A HREF="../../javatools/db/DbConstraint.html#intoList">intoList</A>, <A HREF="../../javatools/db/DbConstraint.html#refColsChildren">refColsChildren</A>, <A HREF="../../javatools/db/DbConstraint.html#refColumns">refColumns</A>, <A HREF="../../javatools/db/DbConstraint.html#refs">refs</A>, <A HREF="../../javatools/db/DbConstraint.html#searchSets">searchSets</A>, <A HREF="../../javatools/db/DbConstraint.html#selector">selector</A>, <A HREF="../../javatools/db/DbConstraint.html#SET_DEFAULT">SET_DEFAULT</A>, <A HREF="../../javatools/db/DbConstraint.html#SET_NULL">SET_NULL</A>, <A HREF="../../javatools/db/DbConstraint.html#sonIndexes">sonIndexes</A>, <A HREF="../../javatools/db/DbConstraint.html#sonsWhere">sonsWhere</A>, <A HREF="../../javatools/db/DbConstraint.html#sonTables">sonTables</A>, <A HREF="../../javatools/db/DbConstraint.html#table">table</A>, <A HREF="../../javatools/db/DbConstraint.html#UPDATE_CASCADE">UPDATE_CASCADE</A>, <A HREF="../../javatools/db/DbConstraint.html#UPDATE_OPERATION">UPDATE_OPERATION</A>, <A HREF="../../javatools/db/DbConstraint.html#updateCascadeChildren">updateCascadeChildren</A>, <A HREF="../../javatools/db/DbConstraint.html#updateFromLists">updateFromLists</A>, <A HREF="../../javatools/db/DbConstraint.html#updateIntoLists">updateIntoLists</A>, <A HREF="../../javatools/db/DbConstraint.html#updateOperations">updateOperations</A>, <A HREF="../../javatools/db/DbConstraint.html#where">where</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#DbDynamicConstraint(javatools.db.DbAbstractTable)">DbDynamicConstraint</A></B>(<A HREF="../../javatools/db/DbAbstractTable.html">DbAbstractTable</A>&nbsp;tbl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates new DbDynamicConstraint</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#addFatherTable(javatools.db.DbAbstractTable, javatools.db.DbColumn[], javatools.db.DbColumn[], int, int)">addFatherTable</A></B>(<A HREF="../../javatools/db/DbAbstractTable.html">DbAbstractTable</A>&nbsp;fatherTable,               <A HREF="../../javatools/db/DbColumn.html">DbColumn</A>[]&nbsp;fatherColumns,               <A HREF="../../javatools/db/DbColumn.html">DbColumn</A>[]&nbsp;pRefColumns,               int&nbsp;updateOperation,               int&nbsp;deleteOperation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new father table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#addSonTable(javatools.db.DbAbstractTable, int)">addSonTable</A></B>(<A HREF="../../javatools/db/DbAbstractTable.html">DbAbstractTable</A>&nbsp;sonTable,            int&nbsp;fatherIndex)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a son table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#build()">build</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds all static lists.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#check(int)">check</A></B>(int&nbsp;operation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs checking in the table, after setting all dynamic and "static" data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#checkFathers()">checkFathers</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks the fathers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#checkThis(int)">checkThis</A></B>(int&nbsp;operation)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs base checking.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getDefaultValues(int)">getDefaultValues</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default values of referenced father table whose index is specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getDeleteOperation(int)">getDeleteOperation</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the delete operation that should be done for the father table whose index is specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javatools/db/DbColumn.html">DbColumn</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getFatherColumns(int)">getFatherColumns</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The referenced columns of father table whose index is specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javatools/db/DbAbstractTable.html">DbAbstractTable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getFatherTable(int)">getFatherTable</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a father table whose index is specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getFatherTablesCount()">getFatherTablesCount</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of referenced father tables.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../javatools/db/DbColumn.html">DbColumn</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../javatools/db/DbDynamicConstraint.html#getRefColumns(int)">getRefColumns</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the referencing columns of THIS table to the father table whose index is specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -