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 |
SQLStatementParameter(String name,
org.datanucleus.store.mapped.mapping.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. |
SQLStatementParameter
public SQLStatementParameter(String name,
org.datanucleus.store.mapped.mapping.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
getName
public String getName()
getMapping
public org.datanucleus.store.mapped.mapping.JavaTypeMapping getMapping()
setMapping
public void setMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
getColumnNumber
public int getColumnNumber()
getValue
public Object getValue()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.