org.apache.cayenne.access.translator

## Class DbAttributeBinding

- java.lang.Object
- - org.apache.cayenne.access.translator.ParameterBinding
  - - org.apache.cayenne.access.translator.DbAttributeBinding

-     public class DbAttributeBinding
      extends ParameterBinding

  Describes a PreparedStatement parameter binding mapped to a DbAttribute.
  Since:
    4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DbAttributeBinding(DbAttribute attribute)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DbAttribute` | `getAttribute()`
    `Integer` | `getJdbcType()`
    `int` | `getScale()`

    - ### Methods inherited from class org.apache.cayenne.access.translator.ParameterBinding

      `exclude, getExtendedType, getStatementPosition, getValue, include, isExcluded, setExtendedType, setJdbcType, setScale, setStatementPosition, setValue`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DbAttributeBinding

          public DbAttributeBinding(DbAttribute attribute)

  - ### Method Detail

    - #### getAttribute

          public DbAttribute getAttribute()

    - #### getJdbcType

          public Integer getJdbcType()

      Overrides:
        `getJdbcType` in class `ParameterBinding`

    - #### getScale

          public int getScale()

      Overrides:
        `getScale` in class `ParameterBinding`

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