1 56 package org.objectstyle.cayenne.access.jdbc; 57 58 64 public class ParameterBinding { 65 protected int jdbcType; 66 protected int precision; 67 protected Object value; 68 69 public ParameterBinding(Object value, int jdbcType, int precision) { 70 this.value = value; 71 this.jdbcType = jdbcType; 72 this.precision = precision; 73 } 74 75 public int getJdbcType() { 76 return jdbcType; 77 } 78 79 public int getPrecision() { 80 return precision; 81 } 82 83 public Object getValue() { 84 return value; 85 } 86 87 public void setJdbcType(int i) { 88 jdbcType = i; 89 } 90 91 public void setPrecision(int i) { 92 precision = i; 93 } 94 95 public void setValue(Object object) { 96 value = object; 97 } 98 } 99 | Popular Tags |