net.sf.farrago.jdbc.param
Class FarragoJdbcBinaryParamDef

java.lang.Object
  extended by net.sf.farrago.jdbc.param.FarragoJdbcParamDef
      extended by net.sf.farrago.jdbc.param.FarragoJdbcBinaryParamDef

 class FarragoJdbcBinaryParamDef
extends FarragoJdbcParamDef

FarragoJdbcEngineBinaryParamDef defines a binary parameter. Only accepts byte-array values. This class is JDK 1.4 compatible.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/param/FarragoJdbcBinaryParamDef.java#7 $
Author:
Julian Hyde

Field Summary
private  int maxByteCount
           
 
Fields inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
paramMetaData, paramName
 
Constructor Summary
FarragoJdbcBinaryParamDef(String paramName, FarragoParamFieldMetaData paramMetaData)
           
 
Method Summary
 Object scrubValue(Object x)
           
 
Methods inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
checkNullable, checkRange, checkRange, checkRange, getParamMetaData, getParamName, newInvalidFormat, newInvalidType, newNotNullable, newValueOutOfRange, newValueTooLong, scrubValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxByteCount

private final int maxByteCount
Constructor Detail

FarragoJdbcBinaryParamDef

public FarragoJdbcBinaryParamDef(String paramName,
                                 FarragoParamFieldMetaData paramMetaData)
Method Detail

scrubValue

public Object scrubValue(Object x)
Overrides:
scrubValue in class FarragoJdbcParamDef