java.sql
Interface Struct


public interface Struct

This interface implements the standard type mapping for a SQL structured type.


Method Summary
 Object[] getAttributes()
          This method returns the attributes of this SQL structured type.
 Object[] getAttributes(Map<String,Class<?>> map)
          This method returns the attributes of this SQL structured type.
 String getSQLTypeName()
          This method returns the name of the SQL structured type for this object.
 

Method Detail

getSQLTypeName

String getSQLTypeName()
                      throws SQLException
This method returns the name of the SQL structured type for this object.

Returns:
The SQL structured type name.
Throws:
SQLException - If an error occurs.

getAttributes

Object[] getAttributes()
                       throws SQLException
This method returns the attributes of this SQL structured type.

Returns:
The attributes of this structure type.
Throws:
SQLException - If an error occurs.

getAttributes

Object[] getAttributes(Map<String,Class<?>> map)
                       throws SQLException
This method returns the attributes of this SQL structured type. The specified map of type mappings overrides the default mappings.

Parameters:
map - The map of SQL type mappings.
Returns:
The attributes of this structure type.
Throws:
SQLException - If a error occurs.