Package org.datanucleus.store.rdbms.sql
Class SQLStatementParameter
java.lang.Object
org.datanucleus.store.rdbms.sql.SQLStatementParameter
Representation of an SQLStatement parameter.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
Optional number to define the column of the mapping that this represents.(package private) JavaTypeMapping
Mapping for the value of the parameter.(package private) final String
Name of the parameter (either its name, or its position).(package private) final Object
Value to use for the parameter. -
Constructor Summary
ConstructorsConstructorDescriptionSQLStatementParameter
(String name, JavaTypeMapping mapping, Object value, int columnNumber) Constructor for a parameter using the mapping where there are multiple columns and we are representing a particular column here. -
Method Summary
Modifier and TypeMethodDescriptionint
getName()
getValue()
void
setMapping
(JavaTypeMapping mapping) toString()
-
Field Details
-
name
Name of the parameter (either its name, or its position). -
mapping
JavaTypeMapping mappingMapping for the value of the parameter. -
columnNumber
final int columnNumberOptional number to define the column of the mapping that this represents. -
value
Value to use for the parameter.
-
-
Constructor Details
-
SQLStatementParameter
Constructor for a parameter using the mapping where there are multiple columns and we are representing a particular column here.- Parameters:
name
- Name of the parametermapping
- Mapping for the parametervalue
- The value of the parametercolumnNumber
- NUmber of the column for the mapping
-
-
Method Details