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

📄 defaulttable.html

📁 dfdfddfskfjdsklfjksdljflksjfsjlkfdjlksfjkdsjfsdjkflsjkf
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="DefaultTable(org.dbunit.dataset.ITableMetaData, java.util.List)"><!-- --></A><H3>
DefaultTable</H3>
<PRE>
public <B>DefaultTable</B>(<A HREF="../../../org/dbunit/dataset/ITableMetaData.html" title="interface in org.dbunit.dataset">ITableMetaData</A>&nbsp;metaData,                    java.util.List&nbsp;list)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use public mutators to initialize table values instead</I>
<P>
<DD>Creates a new empty table with specified metadata and values.
<P>
</DL>
<HR>

<A NAME="DefaultTable(java.lang.String)"><!-- --></A><H3>
DefaultTable</H3>
<PRE>
public <B>DefaultTable</B>(java.lang.String&nbsp;tableName)</PRE>
<DL>
<DD>Creates a new empty table having the specified name.
<P>
</DL>
<HR>

<A NAME="DefaultTable(java.lang.String, org.dbunit.dataset.Column[], java.util.List)"><!-- --></A><H3>
DefaultTable</H3>
<PRE>
public <B>DefaultTable</B>(java.lang.String&nbsp;tableName,                    <A HREF="../../../org/dbunit/dataset/Column.html" title="class in org.dbunit.dataset">Column</A>[]&nbsp;columns,                    java.util.List&nbsp;list)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use public mutators to initialize table values instead</I>
<P>
<DD>Creates a new empty table with specified metadata and values.
<P>
</DL>
<HR>

<A NAME="DefaultTable(java.lang.String, org.dbunit.dataset.Column[])"><!-- --></A><H3>
DefaultTable</H3>
<PRE>
public <B>DefaultTable</B>(java.lang.String&nbsp;tableName,                    <A HREF="../../../org/dbunit/dataset/Column.html" title="class in org.dbunit.dataset">Column</A>[]&nbsp;columns)</PRE>
<DL>
<DD>Creates a new empty table with specified metadata.
<P>
</DL>
<HR>

<A NAME="DefaultTable(org.dbunit.dataset.ITableMetaData)"><!-- --></A><H3>
DefaultTable</H3>
<PRE>
public <B>DefaultTable</B>(<A HREF="../../../org/dbunit/dataset/ITableMetaData.html" title="interface in org.dbunit.dataset">ITableMetaData</A>&nbsp;metaData)</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="addRow()"><!-- --></A><H3>
addRow</H3>
<PRE>
public void <B>addRow</B>()            throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Inserts a new empty row. You can add values with <A HREF="../../../org/dbunit/dataset/DefaultTable.html#setValue(int, java.lang.String, java.lang.Object)"><CODE>setValue(int, java.lang.String, java.lang.Object)</CODE></A>.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="addRow(java.lang.Object[])"><!-- --></A><H3>
addRow</H3>
<PRE>
public void <B>addRow</B>(java.lang.Object[]&nbsp;values)            throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Inserts a new row initialized with specified array of values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>values</CODE> - The array of values. Each value correspond to the column at the same index from <A HREF="../../../org/dbunit/dataset/ITableMetaData.html#getColumns()"><CODE>ITableMetaData.getColumns()</CODE></A>.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../org/dbunit/dataset/DefaultTable.html#getTableMetaData()"><CODE>getTableMetaData()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addTableRows(org.dbunit.dataset.ITable)"><!-- --></A><H3>
addTableRows</H3>
<PRE>
public void <B>addTableRows</B>(<A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>&nbsp;table)                  throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Inserts all rows from the specified table.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>table</CODE> - The source table.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setValue(int, java.lang.String, java.lang.Object)"><!-- --></A><H3>
setValue</H3>
<PRE>
public java.lang.Object <B>setValue</B>(int&nbsp;row,                                 java.lang.String&nbsp;column,                                 java.lang.Object&nbsp;value)                          throws <A HREF="../../../org/dbunit/dataset/RowOutOfBoundsException.html" title="class in org.dbunit.dataset">RowOutOfBoundsException</A>,                                 <A HREF="../../../org/dbunit/dataset/NoSuchColumnException.html" title="class in org.dbunit.dataset">NoSuchColumnException</A>,                                 <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Replaces the value at the specified position in this table with the specified value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>row</CODE> - The row index<DD><CODE>column</CODE> - The column name<DD><CODE>value</CODE> - The value to store at the specified location<DT><B>Returns:</B><DD>the value previously at the specified location<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/RowOutOfBoundsException.html" title="class in org.dbunit.dataset">RowOutOfBoundsException</A></CODE> - if the row index is out of range<DD><CODE><A HREF="../../../org/dbunit/dataset/NoSuchColumnException.html" title="class in org.dbunit.dataset">NoSuchColumnException</A></CODE> - if the column does not exist<DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE> - if an unexpected error occurs</DL>
</DD>
</DL>
<HR>

<A NAME="getTableMetaData()"><!-- --></A><H3>
getTableMetaData</H3>
<PRE>
public <A HREF="../../../org/dbunit/dataset/ITableMetaData.html" title="interface in org.dbunit.dataset">ITableMetaData</A> <B>getTableMetaData</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A></CODE></B></DD>
<DD>Returns this table metadata.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRowCount()"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A></CODE></B></DD>
<DD>Returns this table row count.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getValue(int, java.lang.String)"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.Object <B>getValue</B>(int&nbsp;row,                                 java.lang.String&nbsp;column)                          throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A></CODE></B></DD>
<DD>Returns this table value for the specified row and column.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <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="class-use/DefaultTable.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../org/dbunit/dataset/DefaultDataSet.html" title="class in org.dbunit.dataset"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/dbunit/dataset/DefaultTableIterator.html" title="class in org.dbunit.dataset"><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="DefaultTable.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&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>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2002-2004 DbUnit.org. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

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