src/share/classes/javax/sql/rowset/serial/SerialDatalink.java

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


  31 
  32 
  33 /**
  34  * A serialized mapping in the Java programming language of an SQL
  35  * <code>DATALINK</code> value. A <code>DATALINK</code> value
  36  * references a file outside of the underlying data source that the
  37  * data source manages.
  38  * <P>
  39  * <code>RowSet</code> implementations can use the method <code>RowSet.getURL</code>
  40  * to retrieve a <code>java.net.URL</code> object, which can be used
  41  * to manipulate the external data.
  42  * <pre>
  43  *      java.net.URL url = rowset.getURL(1);
  44  * </pre>
  45  *
  46  * <h3> Thread safety </h3>
  47  *
  48  * A SerialDatalink is not safe for use by multiple concurrent threads.  If a
  49  * SerialDatalink is to be used by more than one thread then access to the
  50  * SerialDatalink should be controlled by appropriate synchronization.


  51  */
  52 public class SerialDatalink implements Serializable, Cloneable {
  53 
  54     /**
  55      * The extracted URL field retrieved from the DATALINK field.
  56      * @serial
  57      */
  58     private URL url;
  59 
  60     /**
  61      * The SQL type of the elements in this <code>SerialDatalink</code>
  62      * object.  The type is expressed as one of the contants from the
  63      * class <code>java.sql.Types</code>.
  64      * @serial
  65      */
  66     private int baseType;
  67 
  68     /**
  69      * The type name used by the DBMS for the elements in the SQL
  70      * <code>DATALINK</code> value that this SerialDatalink object




  31 
  32 
  33 /**
  34  * A serialized mapping in the Java programming language of an SQL
  35  * <code>DATALINK</code> value. A <code>DATALINK</code> value
  36  * references a file outside of the underlying data source that the
  37  * data source manages.
  38  * <P>
  39  * <code>RowSet</code> implementations can use the method <code>RowSet.getURL</code>
  40  * to retrieve a <code>java.net.URL</code> object, which can be used
  41  * to manipulate the external data.
  42  * <pre>
  43  *      java.net.URL url = rowset.getURL(1);
  44  * </pre>
  45  *
  46  * <h3> Thread safety </h3>
  47  *
  48  * A SerialDatalink is not safe for use by multiple concurrent threads.  If a
  49  * SerialDatalink is to be used by more than one thread then access to the
  50  * SerialDatalink should be controlled by appropriate synchronization.
  51  *
  52  * @since 1.5
  53  */
  54 public class SerialDatalink implements Serializable, Cloneable {
  55 
  56     /**
  57      * The extracted URL field retrieved from the DATALINK field.
  58      * @serial
  59      */
  60     private URL url;
  61 
  62     /**
  63      * The SQL type of the elements in this <code>SerialDatalink</code>
  64      * object.  The type is expressed as one of the contants from the
  65      * class <code>java.sql.Types</code>.
  66      * @serial
  67      */
  68     private int baseType;
  69 
  70     /**
  71      * The type name used by the DBMS for the elements in the SQL
  72      * <code>DATALINK</code> value that this SerialDatalink object