All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clickzetta.client.jdbc.core.CZParameterBinding Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.clickzetta.client.jdbc.core;

class CZParameterBinding {
  private int javaType;

  /** Value is a String object if it's a single bind, otherwise is an array of String */
  private Object value;

  CZParameterBinding(int type, Object value) {
    this.javaType = type;
    this.value = value;
  }

  Object getValue() {
    return value;
  }

  int getType() {
    return javaType;
  }

  void setType(int type) {
    this.javaType = type;
  }

  void setValue(Object value) {
    this.value = value;
  }

  public String toString() {
    return String.format("V: %d, %s", javaType, value.toString());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy