jxDBCon 0.9z

org.sourceforge.jxdbcon
Class DefaultStruct

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.DefaultStruct
All Implemented Interfaces:
Struct

public class DefaultStruct
extends Object
implements Struct

DefaultStruct is a default implementation of Struct

Version:
$Revision: 1.5 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
(package private)  ConversionContext ctx
           
(package private)  Object elements
           
(package private)  AbstractType[] elementTypes
           
(package private)  String typeName
           
 
Constructor Summary
DefaultStruct(String typeName, AbstractType[] elementTypes, Object elements, ConversionContext ctx)
           
 
Method Summary
 Object[] getAttributes()
           
 Object[] getAttributes(Map map)
           
 String getSQLTypeName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ctx

final ConversionContext ctx

elements

final Object elements

elementTypes

final AbstractType[] elementTypes

typeName

final String typeName
Constructor Detail

DefaultStruct

public DefaultStruct(String typeName,
                     AbstractType[] elementTypes,
                     Object elements,
                     ConversionContext ctx)
Method Detail

getAttributes

public Object[] getAttributes()
                       throws SQLException
Specified by:
getAttributes in interface Struct
SQLException

getAttributes

public Object[] getAttributes(Map map)
                       throws SQLException
Specified by:
getAttributes in interface Struct
SQLException

getSQLTypeName

public final String getSQLTypeName()
Specified by:
getSQLTypeName in interface Struct

toString

public String toString()
Overrides:
toString in class Object

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.