org.apache.cayenne.access.jdbc
Class ParameterBinding

java.lang.Object
  extended by org.apache.cayenne.access.jdbc.ParameterBinding

public class ParameterBinding
extends Object

Describes PreparedStatement parameter binding.

Since:
1.1
Author:
Andrus Adamchik

Field Summary
protected  int jdbcType
           
protected  int precision
           
protected  Object value
           
 
Constructor Summary
ParameterBinding(Object value, int jdbcType, int precision)
           
 
Method Summary
 int getJdbcType()
           
 int getPrecision()
           
 Object getValue()
           
 void setJdbcType(int i)
           
 void setPrecision(int i)
           
 void setValue(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdbcType

protected int jdbcType

precision

protected int precision

value

protected Object value
Constructor Detail

ParameterBinding

public ParameterBinding(Object value,
                        int jdbcType,
                        int precision)
Method Detail

getJdbcType

public int getJdbcType()

getPrecision

public int getPrecision()

getValue

public Object getValue()

setJdbcType

public void setJdbcType(int i)

setPrecision

public void setPrecision(int i)

setValue

public void setValue(Object object)


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.