/[classpath]/classpath/java/sql/SQLData.java
ViewVC logotype

Diff of /classpath/java/sql/SQLData.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.5 by bryce, Fri Jun 21 05:34:12 2002 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.sql;  package java.sql;
40    
41  /**  /**
42    * This interface is used for mapping SQL data to user defined datatypes.   * This interface is used for mapping SQL data to user defined datatypes.
43    *   *
44    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
45    */   */
46  public interface SQLData  public interface SQLData
47  {  {
48      /**
49  /**     * This method returns the user defined datatype name for this object.
50    * This method returns the user defined datatype name for this object.     *
51    *     * @return The user defined data type name for this object.
52    * @return The user defined data type name for this object.     * @exception SQLException If an error occurs.
53    *     */
54    * @exception SQLException If an error occurs.    public String getSQLTypeName() throws SQLException;
55    */  
56  public abstract String    /**
57  getSQLTypeName() throws SQLException;     * This method populates the data in the object from the specified stream.
58       *
59  /*************************************************************************/     * @param stream The stream to read the data from.
60       * @param name The data type name of the data on the stream.
61  /**     * @exception SQLException If an error occurs.
62    * This method populates the data in the object from the specified stream.     */
63    *    public void readSQL(SQLInput stream, String typeName) throws SQLException;
64    * @param stream The stream to read the data from.  
65    * @param name The data type name of the data on the stream.    /**
66    *     * This method writes the data in this object to the specified stream.
67    * @exception SQLException If an error occurs.     *
68    */     * @param stream The stream to write the data to.
69  public abstract void     * @exception SQLException If an error occurs.
70  readSQL(SQLInput stream, String name) throws SQLException;     */
71      public void writeSQL(SQLOutput stream) throws SQLException;
72  /*************************************************************************/  }
   
 /**  
   * This method writes the data in this object to the specified stream.  
   *  
   * @param stream The stream to write the data to.  
   *  
   * @exception SQLException If an error occurs.  
   */  
 public abstract void  
 writeSQL(SQLOutput stream) throws SQLException;  
   
 } // interface SQLData  
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26