org.apache.derby.impl.jdbc
Class EmbedParameterMetaData40

java.lang.Object
  extended by org.apache.derby.impl.jdbc.EmbedParameterSetMetaData
      extended by org.apache.derby.impl.jdbc.EmbedParameterMetaData30
          extended by org.apache.derby.impl.jdbc.EmbedParameterMetaData40
All Implemented Interfaces:
java.sql.ParameterMetaData, java.sql.Wrapper, EngineParameterMetaData

public class EmbedParameterMetaData40
extends EmbedParameterMetaData30


Field Summary
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
protected EmbedParameterMetaData40(ParameterValueSet pvs, DataTypeDescriptor[] types)
          Calls the superclass constructors with the parameters passed
 
Method Summary
 boolean isWrapperFor(java.lang.Class<?> interfaces)
          Returns false unless interfaces is implemented
<T> T
unwrap(java.lang.Class<T> interfaces)
          Returns this if this class implements the interface
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedParameterSetMetaData
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.ParameterMetaData
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 

Constructor Detail

EmbedParameterMetaData40

protected EmbedParameterMetaData40(ParameterValueSet pvs,
                                   DataTypeDescriptor[] types)
Calls the superclass constructors with the parameters passed

Parameters:
pvs - ParameterValueSet pvs
types - DataTypeDescriptor
Method Detail

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> interfaces)
                     throws java.sql.SQLException
Returns false unless interfaces is implemented

Parameters:
interfaces - a Class defining an interface.
Returns:
true if this implements the interface or directly or indirectly wraps an object that does.
Throws:
java.sql.SQLException - if an error occurs while determining whether this is a wrapper for an object with the given interface.

unwrap

public <T> T unwrap(java.lang.Class<T> interfaces)
         throws java.sql.SQLException
Returns this if this class implements the interface

Parameters:
interfaces - a Class defining an interface
Returns:
an object that implements the interface
Throws:
java.sql.SQLExption - if no object if found that implements the interface
java.sql.SQLException

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.