com.jdbwc.core
Class WCParameterMetaData

java.lang.Object
  extended by com.jdbwc.core.WCParameterMetaData
All Implemented Interfaces:
java.sql.ParameterMetaData, java.sql.Wrapper

public class WCParameterMetaData
extends java.lang.Object
implements java.sql.ParameterMetaData

Version:
2008-05-29, 2010-04-11
Author:
Tim Gall (Oz-DevWorX)

Field Summary
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
protected WCParameterMetaData(WCConnection connection, com.ozdevworx.dtype.DataHandler prepStatement)
          Constructs a new instance of this.
 
Method Summary
 java.lang.String getParameterClassName(int param)
           
 int getParameterCount()
           
 int getParameterMode(int param)
           
 int getParameterType(int param)
           
 java.lang.String getParameterTypeName(int param)
           
 int getPrecision(int param)
           
 int getScale(int param)
           
 int isNullable(int param)
           
 boolean isSigned(int param)
           
 boolean isWrapperFor(java.lang.Class<?> iface)
           
<T> T
unwrap(java.lang.Class<T> iface)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WCParameterMetaData

protected WCParameterMetaData(WCConnection connection,
                              com.ozdevworx.dtype.DataHandler prepStatement)
                       throws java.sql.SQLException
Constructs a new instance of this.

Throws:
java.sql.SQLException
Method Detail

getParameterClassName

public java.lang.String getParameterClassName(int param)
                                       throws java.sql.SQLException
Specified by:
getParameterClassName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getParameterClassName(int)

getParameterCount

public int getParameterCount()
                      throws java.sql.SQLException
Specified by:
getParameterCount in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getParameterCount()

getParameterMode

public int getParameterMode(int param)
                     throws java.sql.SQLException
Specified by:
getParameterMode in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getParameterMode(int)

getParameterType

public int getParameterType(int param)
                     throws java.sql.SQLException
Specified by:
getParameterType in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getParameterType(int)

getParameterTypeName

public java.lang.String getParameterTypeName(int param)
                                      throws java.sql.SQLException
Specified by:
getParameterTypeName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getParameterTypeName(int)

getPrecision

public int getPrecision(int param)
                 throws java.sql.SQLException
Specified by:
getPrecision in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getPrecision(int)

getScale

public int getScale(int param)
             throws java.sql.SQLException
Specified by:
getScale in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.getScale(int)

isNullable

public int isNullable(int param)
               throws java.sql.SQLException
Specified by:
isNullable in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.isNullable(int)

isSigned

public boolean isSigned(int param)
                 throws java.sql.SQLException
Specified by:
isSigned in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException
See Also:
ParameterMetaData.isSigned(int)

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws java.sql.SQLException
Specified by:
isWrapperFor in interface java.sql.Wrapper
Throws:
java.sql.SQLException
See Also:
Wrapper.isWrapperFor(java.lang.Class)

unwrap

public <T> T unwrap(java.lang.Class<T> iface)
         throws java.sql.SQLException
Specified by:
unwrap in interface java.sql.Wrapper
Throws:
java.sql.SQLException
See Also:
Wrapper.unwrap(java.lang.Class)