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
73 * represents.
74 * @serial
75 */
76 private String baseTypeName;
77
78 /**
79 * Constructs a new <code>SerialDatalink</code> object from the given
80 * <code>java.net.URL</code> object.
81 *
82 * @param url the {@code URL} to create the {@code SerialDataLink} from
83 * @throws SerialException if url parameter is a null
84 */
|
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 constants 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
73 * represents.
74 * @serial
75 */
76 private String baseTypeName;
77
78 /**
79 * Constructs a new <code>SerialDatalink</code> object from the given
80 * <code>java.net.URL</code> object.
81 *
82 * @param url the {@code URL} to create the {@code SerialDataLink} from
83 * @throws SerialException if url parameter is a null
84 */
|