src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java

Print this page
rev 10065 : 8046389: Add missing @since tag under javax.sql.**
Reviewed-by:


  31 
  32 import java.lang.reflect.*;
  33 
  34 /**
  35  * Provides implementations for the methods that set and get
  36  * metadata information about a <code>RowSet</code> object's columns.
  37  * A <code>RowSetMetaDataImpl</code> object keeps track of the
  38  * number of columns in the rowset and maintains an internal array
  39  * of column attributes for each column.
  40  * <P>
  41  * A <code>RowSet</code> object creates a <code>RowSetMetaDataImpl</code>
  42  * object internally in order to set and retrieve information about
  43  * its columns.
  44  * <P>
  45  * NOTE: All metadata in a <code>RowSetMetaDataImpl</code> object
  46  * should be considered as unavailable until the <code>RowSet</code> object
  47  * that it describes is populated.
  48  * Therefore, any <code>RowSetMetaDataImpl</code> method that retrieves information
  49  * is defined as having unspecified behavior when it is called
  50  * before the <code>RowSet</code> object contains data.


  51  */
  52 public class RowSetMetaDataImpl implements RowSetMetaData,  Serializable {
  53 
  54     /**
  55      * The number of columns in the <code>RowSet</code> object that created
  56      * this <code>RowSetMetaDataImpl</code> object.
  57      * @serial
  58      */
  59     private int colCount;
  60 
  61     /**
  62      * An array of <code>ColInfo</code> objects used to store information
  63      * about each column in the <code>RowSet</code> object for which
  64      * this <code>RowSetMetaDataImpl</code> object was created. The first
  65      * <code>ColInfo</code> object in this array contains information about
  66      * the first column in the <code>RowSet</code> object, the second element
  67      * contains information about the second column, and so on.
  68      * @serial
  69      */
  70     private ColInfo[] colInfo;




  31 
  32 import java.lang.reflect.*;
  33 
  34 /**
  35  * Provides implementations for the methods that set and get
  36  * metadata information about a <code>RowSet</code> object's columns.
  37  * A <code>RowSetMetaDataImpl</code> object keeps track of the
  38  * number of columns in the rowset and maintains an internal array
  39  * of column attributes for each column.
  40  * <P>
  41  * A <code>RowSet</code> object creates a <code>RowSetMetaDataImpl</code>
  42  * object internally in order to set and retrieve information about
  43  * its columns.
  44  * <P>
  45  * NOTE: All metadata in a <code>RowSetMetaDataImpl</code> object
  46  * should be considered as unavailable until the <code>RowSet</code> object
  47  * that it describes is populated.
  48  * Therefore, any <code>RowSetMetaDataImpl</code> method that retrieves information
  49  * is defined as having unspecified behavior when it is called
  50  * before the <code>RowSet</code> object contains data.
  51  *
  52  * @since 1.5
  53  */
  54 public class RowSetMetaDataImpl implements RowSetMetaData,  Serializable {
  55 
  56     /**
  57      * The number of columns in the <code>RowSet</code> object that created
  58      * this <code>RowSetMetaDataImpl</code> object.
  59      * @serial
  60      */
  61     private int colCount;
  62 
  63     /**
  64      * An array of <code>ColInfo</code> objects used to store information
  65      * about each column in the <code>RowSet</code> object for which
  66      * this <code>RowSetMetaDataImpl</code> object was created. The first
  67      * <code>ColInfo</code> object in this array contains information about
  68      * the first column in the <code>RowSet</code> object, the second element
  69      * contains information about the second column, and so on.
  70      * @serial
  71      */
  72     private ColInfo[] colInfo;