Class ParameterBinding
java.lang.Object
org.apache.cayenne.access.translator.ParameterBinding
- Direct Known Subclasses:
DbAttributeBinding
,ProcedureParameterBinding
Describes a PreparedStatement parameter generic binding.
- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exclude()
Marks the binding object as excluded for the current iteration.int
getScale()
int
getValue()
void
include
(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.boolean
void
setExtendedType
(ExtendedType extendedType) void
setJdbcType
(Integer type) void
setScale
(int scale) void
setStatementPosition
(int statementPosition) void
-
Constructor Details
-
ParameterBinding
-
ParameterBinding
public ParameterBinding()
-
-
Method Details
-
getValue
-
setValue
-
getStatementPosition
public int getStatementPosition() -
setStatementPosition
public void setStatementPosition(int statementPosition) -
isExcluded
public boolean isExcluded() -
getExtendedType
-
setExtendedType
-
exclude
public void exclude()Marks the binding object as excluded for the current iteration. -
include
Sets the value of the binding and initializes statement position var, thus "including" this binding in the current iteration. -
getJdbcType
-
setJdbcType
-
getScale
public int getScale() -
setScale
public void setScale(int scale)
-