Class RefRelay

  • All Implemented Interfaces:
    Relay<java.sql.Ref>, java.sql.Ref

    public class RefRelay
    extends java.lang.Object
    implements Relay<java.sql.Ref>, java.sql.Ref
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.impossibl.jdbc.spy.RefListener listener  
      java.sql.Ref target  
    • Constructor Summary

      Constructors 
      Constructor Description
      RefRelay​(java.sql.Ref target, com.impossibl.jdbc.spy.RefListener listener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBaseTypeName()  
      java.lang.Object getObject()  
      java.lang.Object getObject​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      java.sql.Ref getTarget()  
      void setObject​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        public java.sql.Ref target
      • listener

        public com.impossibl.jdbc.spy.RefListener listener
    • Constructor Detail

      • RefRelay

        public RefRelay​(java.sql.Ref target,
                        com.impossibl.jdbc.spy.RefListener listener)
    • Method Detail

      • getTarget

        public java.sql.Ref getTarget()
        Specified by:
        getTarget in interface Relay<java.sql.Ref>
      • getBaseTypeName

        public java.lang.String getBaseTypeName()
                                         throws java.sql.SQLException
        Specified by:
        getBaseTypeName in interface java.sql.Ref
        Throws:
        java.sql.SQLException
      • getObject

        public java.lang.Object getObject()
                                   throws java.sql.SQLException
        Specified by:
        getObject in interface java.sql.Ref
        Throws:
        java.sql.SQLException
      • getObject

        public java.lang.Object getObject​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                   throws java.sql.SQLException
        Specified by:
        getObject in interface java.sql.Ref
        Throws:
        java.sql.SQLException
      • setObject

        public void setObject​(java.lang.Object value)
                       throws java.sql.SQLException
        Specified by:
        setObject in interface java.sql.Ref
        Throws:
        java.sql.SQLException