com.alibaba.druid.mock
Class MockRef

java.lang.Object
  extended by com.alibaba.druid.mock.MockRef
All Implemented Interfaces:
Ref

public class MockRef
extends Object
implements Ref


Constructor Summary
MockRef()
           
 
Method Summary
 String getBaseTypeName()
           
 Object getObject()
           
 Object getObject(Map<String,Class<?>> map)
           
 void setBaseTypeName(String baseTypeName)
           
 void setObject(Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockRef

public MockRef()
Method Detail

setBaseTypeName

public void setBaseTypeName(String baseTypeName)

getBaseTypeName

public String getBaseTypeName()
                       throws SQLException
Specified by:
getBaseTypeName in interface Ref
Throws:
SQLException

getObject

public Object getObject(Map<String,Class<?>> map)
                 throws SQLException
Specified by:
getObject in interface Ref
Throws:
SQLException

getObject

public Object getObject()
                 throws SQLException
Specified by:
getObject in interface Ref
Throws:
SQLException

setObject

public void setObject(Object value)
               throws SQLException
Specified by:
setObject in interface Ref
Throws:
SQLException


Copyright © 2012 Alibaba Group. All Rights Reserved.