1 19 20 package org.apache.cayenne.access.jdbc; 21 22 28 public class ParameterBinding { 29 protected int jdbcType; 30 protected int precision; 31 protected Object value; 32 33 public ParameterBinding(Object value, int jdbcType, int precision) { 34 this.value = value; 35 this.jdbcType = jdbcType; 36 this.precision = precision; 37 } 38 39 public int getJdbcType() { 40 return jdbcType; 41 } 42 43 public int getPrecision() { 44 return precision; 45 } 46 47 public Object getValue() { 48 return value; 49 } 50 51 public void setJdbcType(int i) { 52 jdbcType = i; 53 } 54 55 public void setPrecision(int i) { 56 precision = i; 57 } 58 59 public void setValue(Object object) { 60 value = object; 61 } 62 } 63 | Popular Tags |