net.sf.farrago.jdbc.param
Class FarragoParamFieldMetaData

java.lang.Object
  extended by net.sf.farrago.jdbc.param.FarragoParamFieldMetaData
All Implemented Interfaces:
Serializable

public class FarragoParamFieldMetaData
extends Object
implements Serializable

This defines the per parameter field metadata required by the client-side driver to implement the JDBC ParameterMetaData API. This class is JDK 1.4 compatible.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/param/FarragoParamFieldMetaData.java#8 $
Author:
Angel Chang
See Also:
FarragoParamFieldMetaDataFactory, Serialized Form

Field Summary
 String className
          SQL className.
 int mode
          indicate the parameter mode.
 int nullable
          indicates whether this parameter field is nullable.
 String paramTypeStr
          String describing the parameter type Usually of the form: typeName (precision, scale)
 int precision
          precision of this field.
 int scale
          scale of this field.
private static long serialVersionUID
          SerialVersionUID created with JDK 1.5 serialver tool.
 boolean signed
          indicates whether this field is signed.
 int type
          SQL paramMetaData of this field.
 String typeName
          SQL typename of this field.
 
Constructor Summary
FarragoParamFieldMetaData()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
SerialVersionUID created with JDK 1.5 serialver tool.

See Also:
Constant Field Values

type

public int type
SQL paramMetaData of this field.


className

public String className
SQL className.


typeName

public String typeName
SQL typename of this field.


precision

public int precision
precision of this field.


scale

public int scale
scale of this field.


nullable

public int nullable
indicates whether this parameter field is nullable. One of {ParameterMetaData.parameterNoNulls, ParameterMetaData.parameterNullable, ParameterMetaData.parameterNullableUnknown}.


signed

public boolean signed
indicates whether this field is signed.


mode

public int mode
indicate the parameter mode. One of {ParameterMetaData.parameterModeUnknown, ParameterMetaData.parameterModeIn, ParameterMetaData.parameterModeOut, ParameterMetaData.parameterModeInOut.


paramTypeStr

public String paramTypeStr
String describing the parameter type Usually of the form: typeName (precision, scale)

Constructor Detail

FarragoParamFieldMetaData

public FarragoParamFieldMetaData()