org.apache.cayenne.access.jdbc
Class ParameterBinding

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

public class ParameterBinding
extends java.lang.Object

Describes PreparedStatement parameter binding.

Since:
1.1
Author:
Andrei Adamchik

Field Summary
protected  int jdbcType
           
protected  int precision
           
protected  java.lang.Object value
           
 
Constructor Summary
ParameterBinding(java.lang.Object value, int jdbcType, int precision)
           
 
Method Summary
 int getJdbcType()
           
 int getPrecision()
           
 java.lang.Object getValue()
           
 void setJdbcType(int i)
           
 void setPrecision(int i)
           
 void setValue(java.lang.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 java.lang.Object value
Constructor Detail

ParameterBinding

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

getJdbcType

public int getJdbcType()

getPrecision

public int getPrecision()

getValue

public java.lang.Object getValue()

setJdbcType

public void setJdbcType(int i)

setPrecision

public void setPrecision(int i)

setValue

public void setValue(java.lang.Object object)


Copyright © 2001-2006 Apache.org All Rights Reserved.