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

Diff of /classpath/java/sql/Struct.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 1  Line 1 
1  /* Struct.java -- Mapping for a SQL structured type.  /* Struct.java -- Mapping for a SQL structured type.
2     Copyright (C) 1999, 2000 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 41  package java.sql; Line 41  package java.sql;
41  import java.util.Map;  import java.util.Map;
42    
43  /**  /**
44    * This interface implements the standard type mapping for a SQL   * This interface implements the standard type mapping for a SQL
45    * structured type.   * structured type.
46    *   *
47    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
48    */   */
49  public interface Struct  public interface Struct
50  {  {
51      /**
52  /**     * This method returns the name of the SQL structured type for this
53    * This method returns the name of the SQL structured type for this     * object.
54    * object.     *
55    *     * @return The SQL structured type name.
56    * @return The SQL structured type name.     * @exception SQLException If an error occurs.
57    *     */
58    * @exception SQLException If an error occurs.    public String getSQLTypeName() throws SQLException;
59    */  
60  public abstract String    /**
61  getSQLTypeName() throws SQLException;     * This method returns the attributes of this SQL structured type.
62       *
63  /*************************************************************************/     * @return The attributes of this structure type.
64       * @exception SQLException If an error occurs.
65  /**     */
66    * This method returns the attributes of this SQL structured type.    public Object[] getAttributes() throws SQLException;
67    *  
68    * @return The attributes of this structure type.    /**
69    *     * This method returns the attributes of this SQL structured type.
70    * @exception SQLException If an error occurs.     * The specified map of type mappings overrides the default mappings.
71    */     *
72  public abstract Object[]     * @param map The map of SQL type mappings.
73  getAttributes() throws SQLException;     * @return The attributes of this structure type.
74       * @exception SQLException If a error occurs.
75  /*************************************************************************/     */
76      public Object[] getAttributes(Map map) throws SQLException;
77  /**  }
   * This method returns the attributes of this SQL structured type.  
   * The specified map of type mappings overrides the default mappings.  
   *  
   * @param map The map of SQL type mappings.  
   *  
   * @return The attributes of this structure type.  
   *  
   * @exception SQLException If a error occurs.  
   */  
 public abstract Object[]  
 getAttributes(Map map) throws SQLException;  
   
 } // interface Struct  
   

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