org.melati.poem.dbms.test.sql
Class ThrowingRefJdbc3

Package class diagram package ThrowingRefJdbc3
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingRefJdbc3
All Implemented Interfaces:
Ref
Direct Known Subclasses:
ThrowingRef

public class ThrowingRefJdbc3
extends Thrower
implements Ref

The JDBC3 methods of a Ref, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingRefJdbc3()
           
 
Method Summary
 String getBaseTypeName()
          
 Object getObject()
          
 Object getObject(Map<String,Class<?>> map)
          
 void setObject(Object value)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower
shouldThrow, startThrowing, startThrowingAfter, stopThrowing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowingRefJdbc3

public ThrowingRefJdbc3()
Method Detail

getBaseTypeName

public String getBaseTypeName()
                       throws SQLException

Specified by:
getBaseTypeName in interface Ref
Throws:
SQLException
See Also:
Ref.getBaseTypeName()

getObject

public Object getObject()
                 throws SQLException

Specified by:
getObject in interface Ref
Throws:
SQLException
See Also:
Ref.getObject()

getObject

public Object getObject(Map<String,Class<?>> map)
                 throws SQLException

Specified by:
getObject in interface Ref
Throws:
SQLException
See Also:
Ref.getObject(java.util.Map)

setObject

public void setObject(Object value)
               throws SQLException

Specified by:
setObject in interface Ref
Throws:
SQLException
See Also:
Ref.setObject(java.lang.Object)


Copyright © 2000-2010 PanEris. All Rights Reserved.