org.apache.cayenne.access.jdbc

## Class ParameterBinding

- java.lang.Object
- - org.apache.cayenne.access.jdbc.ParameterBinding

-     public class ParameterBinding
      extends Object

  Describes PreparedStatement parameter binding.
  Since:
    1.1

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int` | `jdbcType`
    `protected int` | `scale`
    `protected Object` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParameterBinding(Object value, int jdbcType, int scale)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getJdbcType()`
    `int` | `getScale()`
    `Object` | `getValue()`
    `void` | `setJdbcType(int i)`
    `void` | `setScale(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

    - #### scale

          protected int scale

    - #### value

          protected Object value

  - ### Constructor Detail

    - #### ParameterBinding

          public ParameterBinding(Object value,
                                  int jdbcType,
                                  int scale)

  - ### Method Detail

    - #### getJdbcType

          public int getJdbcType()

    - #### getScale

          public int getScale()

      Since:
        3.0

    - #### getValue

          public Object getValue()

    - #### setJdbcType

          public void setJdbcType(int i)

    - #### setScale

          public void setScale(int i)

      Since:
        3.0

    - #### setValue

          public void setValue(Object object)

Copyright © 2001–2018 Apache Cayenne. All rights reserved.