net.sf.farrago.jdbc.param
Class FarragoJdbcStringParamDef

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

 class FarragoJdbcStringParamDef
extends FarragoJdbcParamDef

FarragoJdbcEngineStringParamDef defines a string parameter. Values which are not strings are converted into strings. Strings are not padded, even for CHAR columns. This class is JDK 1.4 compatible.

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

Field Summary
private  int maxCharCount
           
 
Fields inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef
paramMetaData, paramName
 
Constructor Summary
FarragoJdbcStringParamDef(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

maxCharCount

private final int maxCharCount
Constructor Detail

FarragoJdbcStringParamDef

public FarragoJdbcStringParamDef(String paramName,
                                 FarragoParamFieldMetaData paramMetaData)
Method Detail

scrubValue

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