Class DbAttributeBinding
java.lang.Object
org.apache.cayenne.access.translator.ParameterBinding
org.apache.cayenne.access.translator.DbAttributeBinding
Describes a PreparedStatement parameter binding mapped to a DbAttribute.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ParameterBinding
exclude, getExtendedType, getStatementPosition, getValue, include, isExcluded, setExtendedType, setJdbcType, setScale, setStatementPosition, setValueModifier and TypeMethodDescriptionvoidexclude()Marks the binding object as excluded for the current iteration.intgetValue()voidinclude(int statementPosition, Object value, ExtendedType extendedType) Sets the value of the binding and initializes statement position var, thus "including" this binding in the current iteration.booleanvoidsetExtendedType(ExtendedType extendedType) voidsetJdbcType(Integer type) voidsetScale(int scale) voidsetStatementPosition(int statementPosition) void
-
Constructor Details
-
DbAttributeBinding
-
-
Method Details
-
getAttribute
-
getJdbcType
- Overrides:
getJdbcTypein classParameterBinding
-
getScale
public int getScale()- Overrides:
getScalein classParameterBinding
-