Package org.datanucleus.store.rdbms.sql
Class SQLStatementParameter
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.SQLStatementParameter
-
public class SQLStatementParameter extends Object
Representation of an SQLStatement parameter.
-
-
Constructor Summary
Constructors Constructor Description SQLStatementParameter(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnNumber()
JavaTypeMapping
getMapping()
String
getName()
Object
getValue()
void
setMapping(JavaTypeMapping mapping)
String
toString()
-
-
-
Constructor Detail
-
SQLStatementParameter
public SQLStatementParameter(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.- Parameters:
name
- Name of the parametermapping
- Mapping for the parametervalue
- The value of the parametercolumnNumber
- NUmber of the column for the mapping
-
-
Method Detail
-
getName
public String getName()
-
getMapping
public JavaTypeMapping getMapping()
-
setMapping
public void setMapping(JavaTypeMapping mapping)
-
getColumnNumber
public int getColumnNumber()
-
getValue
public Object getValue()
-
-